git: 31f7782002d0 - main - devel/capnproto1: Add capnproto1 1.0.1 (copied from capnproto080)
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 27 Nov 2023 10:35:13 UTC
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=31f7782002d0bc5a8191206e72e4578773a9eaef commit 31f7782002d0bc5a8191206e72e4578773a9eaef Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2023-11-27 10:00:50 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2023-11-27 10:28:03 +0000 devel/capnproto1: Add capnproto1 1.0.1 (copied from capnproto080) --- devel/Makefile | 1 + devel/capnproto1/Makefile | 33 ++++++ devel/capnproto1/distinfo | 3 + devel/capnproto1/files/patch-src-kj-cidr.c++ | 10 ++ devel/capnproto1/pkg-descr | 2 + devel/capnproto1/pkg-plist | 144 +++++++++++++++++++++++++++ 6 files changed, 193 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index b1bca8a85779..09d222913c18 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -337,6 +337,7 @@ SUBDIR += caliper SUBDIR += capnproto SUBDIR += capnproto080 + SUBDIR += capnproto1 SUBDIR += capslock SUBDIR += capstone SUBDIR += capstone4 diff --git a/devel/capnproto1/Makefile b/devel/capnproto1/Makefile new file mode 100644 index 000000000000..54c4a249321f --- /dev/null +++ b/devel/capnproto1/Makefile @@ -0,0 +1,33 @@ +PORTNAME= capnproto +PORTVERSION= 1.0.1 +DISTVERSIONPREFIX= v +CATEGORIES= devel +PKGNAMESUFFIX= 1 + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Serialization/RPC system +WWW= https://capnproto.org/ \ + https://github.com/capnproto/capnproto + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/../LICENSE + +USES= autoreconf compiler:c++14-lang cpe gmake libtool pathfix ssl + +CONFIGURE_ARGS= ac_cv_lib_ssl_OPENSSL_init_ssl=yes +GNU_CONFIGURE= yes +INSTALL_TARGET= install-strip +TEST_TARGET= check +USE_LDCONFIG= yes + +PLIST_SUB= PORTVERSION=${PORTVERSION} +WRKSRC_SUBDIR= c++ + +USE_GITHUB= yes + +CONFLICTS_INSTALL= capnproto capnproto080 + +# databases/tiledb requires capnproto 1.0.1 +PORTSCOUT= ignore:1 + +.include <bsd.port.mk> diff --git a/devel/capnproto1/distinfo b/devel/capnproto1/distinfo new file mode 100644 index 000000000000..358b62a83505 --- /dev/null +++ b/devel/capnproto1/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1700759696 +SHA256 (capnproto-capnproto-v1.0.1_GH0.tar.gz) = 5bdb16f6b389a9e29b04214b9bae1759e8b7fe2b45049d7e3f1f286ba050a200 +SIZE (capnproto-capnproto-v1.0.1_GH0.tar.gz) = 2411361 diff --git a/devel/capnproto1/files/patch-src-kj-cidr.c++ b/devel/capnproto1/files/patch-src-kj-cidr.c++ new file mode 100644 index 000000000000..ea62c5413a1f --- /dev/null +++ b/devel/capnproto1/files/patch-src-kj-cidr.c++ @@ -0,0 +1,10 @@ +--- src/kj/cidr.c++.orig 2023-08-22 20:55:23 UTC ++++ src/kj/cidr.c++ +@@ -39,6 +39,7 @@ + #else + #include <sys/socket.h> + #include <arpa/inet.h> ++#include <netinet/in.h> + #endif + + namespace kj { diff --git a/devel/capnproto1/pkg-descr b/devel/capnproto1/pkg-descr new file mode 100644 index 000000000000..e7f136245e7a --- /dev/null +++ b/devel/capnproto1/pkg-descr @@ -0,0 +1,2 @@ +Cap'n Proto is an insanely fast data interchange format and capability-based RPC +system. Think JSON, except binary. Or think Protocol Buffers, except faster. diff --git a/devel/capnproto1/pkg-plist b/devel/capnproto1/pkg-plist new file mode 100644 index 000000000000..c9e6c4ceeddb --- /dev/null +++ b/devel/capnproto1/pkg-plist @@ -0,0 +1,144 @@ +bin/capnp +bin/capnpc +bin/capnpc-c++ +bin/capnpc-capnp +include/capnp/any.h +include/capnp/blob.h +include/capnp/c++.capnp +include/capnp/c++.capnp.h +include/capnp/capability.h +include/capnp/common.h +include/capnp/compat/json.capnp +include/capnp/compat/json.capnp.h +include/capnp/compat/json.h +include/capnp/compat/std-iterator.h +include/capnp/compat/websocket-rpc.h +include/capnp/dynamic.h +include/capnp/endian.h +include/capnp/ez-rpc.h +include/capnp/generated-header-support.h +include/capnp/layout.h +include/capnp/list.h +include/capnp/membrane.h +include/capnp/message.h +include/capnp/orphan.h +include/capnp/persistent.capnp +include/capnp/persistent.capnp.h +include/capnp/pointer-helpers.h +include/capnp/pretty-print.h +include/capnp/raw-schema.h +include/capnp/rpc-prelude.h +include/capnp/rpc-twoparty.capnp +include/capnp/rpc-twoparty.capnp.h +include/capnp/rpc-twoparty.h +include/capnp/rpc.capnp +include/capnp/rpc.capnp.h +include/capnp/rpc.h +include/capnp/schema-lite.h +include/capnp/schema-loader.h +include/capnp/schema-parser.h +include/capnp/schema.capnp +include/capnp/schema.capnp.h +include/capnp/schema.h +include/capnp/serialize-async.h +include/capnp/serialize-packed.h +include/capnp/serialize-text.h +include/capnp/serialize.h +include/capnp/stream.capnp +include/capnp/stream.capnp.h +include/kj/arena.h +include/kj/array.h +include/kj/async-inl.h +include/kj/async-io.h +include/kj/async-prelude.h +include/kj/async-queue.h +include/kj/async-unix.h +include/kj/async-win32.h +include/kj/async.h +include/kj/cidr.h +include/kj/common.h +include/kj/compat/gtest.h +include/kj/compat/gzip.h +include/kj/compat/http.h +include/kj/compat/readiness-io.h +include/kj/compat/tls.h +include/kj/compat/url.h +include/kj/debug.h +include/kj/encoding.h +include/kj/exception.h +include/kj/filesystem.h +include/kj/function.h +include/kj/hash.h +include/kj/io.h +include/kj/list.h +include/kj/main.h +include/kj/map.h +include/kj/memory.h +include/kj/mutex.h +include/kj/one-of.h +include/kj/parse/char.h +include/kj/parse/common.h +include/kj/refcount.h +include/kj/source-location.h +include/kj/std/iostream.h +include/kj/string-tree.h +include/kj/string.h +include/kj/table.h +include/kj/test.h +include/kj/thread.h +include/kj/threadlocal.h +include/kj/time.h +include/kj/timer.h +include/kj/tuple.h +include/kj/units.h +include/kj/vector.h +include/kj/win32-api-version.h +include/kj/windows-sanity.h +lib/cmake/CapnProto/CapnProtoConfig.cmake +lib/cmake/CapnProto/CapnProtoConfigVersion.cmake +lib/cmake/CapnProto/CapnProtoMacros.cmake +lib/cmake/CapnProto/CapnProtoTargets.cmake +lib/libcapnp-%%PORTVERSION%%.so +lib/libcapnp-json-%%PORTVERSION%%.so +lib/libcapnp-json.a +lib/libcapnp-json.so +lib/libcapnp-rpc-%%PORTVERSION%%.so +lib/libcapnp-rpc.a +lib/libcapnp-rpc.so +lib/libcapnp-websocket-%%PORTVERSION%%.so +lib/libcapnp-websocket.a +lib/libcapnp-websocket.so +lib/libcapnp.a +lib/libcapnp.so +lib/libcapnpc-%%PORTVERSION%%.so +lib/libcapnpc.a +lib/libcapnpc.so +lib/libkj-%%PORTVERSION%%.so +lib/libkj-async-%%PORTVERSION%%.so +lib/libkj-async.a +lib/libkj-async.so +lib/libkj-gzip-%%PORTVERSION%%.so +lib/libkj-gzip.a +lib/libkj-gzip.so +lib/libkj-http-%%PORTVERSION%%.so +lib/libkj-http.a +lib/libkj-http.so +lib/libkj-test-%%PORTVERSION%%.so +lib/libkj-test.a +lib/libkj-test.so +lib/libkj-tls-%%PORTVERSION%%.so +lib/libkj-tls.a +lib/libkj-tls.so +lib/libkj.a +lib/libkj.so +libdata/pkgconfig/capnp-json.pc +libdata/pkgconfig/capnp-rpc.pc +libdata/pkgconfig/capnp-websocket.pc +libdata/pkgconfig/capnp.pc +libdata/pkgconfig/capnpc.pc +libdata/pkgconfig/kj-async.pc +libdata/pkgconfig/kj-gzip.pc +libdata/pkgconfig/kj-http.pc +libdata/pkgconfig/kj-test.pc +libdata/pkgconfig/kj-tls.pc +libdata/pkgconfig/kj.pc