git: 7501ef4ccdc4 - main - net/libngtcp2-gnutls: Add libngtcp2-gnutls 1.7.0
Date: Wed, 25 Sep 2024 06:17:38 UTC
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=7501ef4ccdc4d2e59a6f2a3327325f7d8d27b0ca commit 7501ef4ccdc4d2e59a6f2a3327325f7d8d27b0ca Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2024-09-25 06:16:25 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2024-09-25 06:16:25 +0000 net/libngtcp2-gnutls: Add libngtcp2-gnutls 1.7.0 ngtcp2 project is an effort to implement QUIC protocol which is now being discussed in IETF QUICWG for its standardization. This port provides the crypto helper library for gnutls backend. --- net/Makefile | 1 + net/libngtcp2-gnutls/Makefile | 37 ++++++++++++++++++++++++++++ net/libngtcp2-gnutls/distinfo | 3 +++ net/libngtcp2-gnutls/files/patch-Makefile.in | 13 ++++++++++ net/libngtcp2-gnutls/pkg-descr | 4 +++ net/libngtcp2-gnutls/pkg-plist | 5 ++++ 6 files changed, 63 insertions(+) diff --git a/net/Makefile b/net/Makefile index f7376242a767..417aed020e2e 100644 --- a/net/Makefile +++ b/net/Makefile @@ -396,6 +396,7 @@ SUBDIR += libnet SUBDIR += libnfs SUBDIR += libngtcp2 + SUBDIR += libngtcp2-gnutls SUBDIR += libnids SUBDIR += libnpupnp SUBDIR += libnss-cache diff --git a/net/libngtcp2-gnutls/Makefile b/net/libngtcp2-gnutls/Makefile new file mode 100644 index 000000000000..5c7f90d3e2d0 --- /dev/null +++ b/net/libngtcp2-gnutls/Makefile @@ -0,0 +1,37 @@ +PORTNAME= ngtcp2 +PORTVERSION= 1.7.0 +CATEGORIES= net +MASTER_SITES= https://github.com/ngtcp2/ngtcp2/releases/download/v${PORTVERSION}/ +PKGNAMEPREFIX= lib +PKGNAMESUFFIX= -gnutls + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Implementation of QUIC protocol (gnutls backend) +WWW= https://nghttp2.org/ngtcp2/ \ + https://github.com/ngtcp2/ngtcp2 + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/COPYING + +BUILD_DEPENDS= libngtcp2>=${PORTVERSION}<${PORTVERSION}_99:net/libngtcp2 +LIB_DEPENDS= libgnutls.so:security/gnutls +RUN_DEPENDS= libngtcp2>=${PORTVERSION}<${PORTVERSION}_99:net/libngtcp2 + +USES= libtool pathfix pkgconfig tar:xz + +CONFIGURE_ARGS= --enable-lib-only \ + --with-gnutls \ + --with-jemalloc \ + --without-boringssl \ + --without-libbrotlidec \ + --without-libbrotlienc \ + --without-libev \ + --without-libnghttp3 \ + --without-openssl \ + --without-wolfssl +GNU_CONFIGURE= yes +INSTALL_TARGET= install-strip +INSTALL_WRKSRC= ${WRKSRC}/crypto/gnutls +USE_LDCONFIG= yes + +.include <bsd.port.mk> diff --git a/net/libngtcp2-gnutls/distinfo b/net/libngtcp2-gnutls/distinfo new file mode 100644 index 000000000000..36cd15b96ea5 --- /dev/null +++ b/net/libngtcp2-gnutls/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1725559579 +SHA256 (ngtcp2-1.7.0.tar.xz) = e07c79090f96f6738fabab2129657c53f0cc05164de3662592581ca5425617b1 +SIZE (ngtcp2-1.7.0.tar.xz) = 631072 diff --git a/net/libngtcp2-gnutls/files/patch-Makefile.in b/net/libngtcp2-gnutls/files/patch-Makefile.in new file mode 100644 index 000000000000..afad6594b328 --- /dev/null +++ b/net/libngtcp2-gnutls/files/patch-Makefile.in @@ -0,0 +1,13 @@ +--- Makefile.in.orig 2022-01-16 12:35:06 UTC ++++ Makefile.in +@@ -425,8 +425,8 @@ top_srcdir = @top_srcdir@ + # LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION + # OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION + # WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. +-SUBDIRS = lib tests doc $(am__append_1) $(am__append_2) +-dist_doc_DATA = README.rst ++SUBDIRS = lib $(am__append_1) ++dist_doc_DATA = + ACLOCAL_AMFLAGS = -I m4 + EXTRA_DIST = \ + cmakeconfig.h.in \ diff --git a/net/libngtcp2-gnutls/pkg-descr b/net/libngtcp2-gnutls/pkg-descr new file mode 100644 index 000000000000..54a4f69df812 --- /dev/null +++ b/net/libngtcp2-gnutls/pkg-descr @@ -0,0 +1,4 @@ +ngtcp2 project is an effort to implement QUIC protocol which is now being +discussed in IETF QUICWG for its standardization. + +This port provides the crypto helper library for gnutls backend. diff --git a/net/libngtcp2-gnutls/pkg-plist b/net/libngtcp2-gnutls/pkg-plist new file mode 100644 index 000000000000..7348c09b91b4 --- /dev/null +++ b/net/libngtcp2-gnutls/pkg-plist @@ -0,0 +1,5 @@ +lib/libngtcp2_crypto_gnutls.a +lib/libngtcp2_crypto_gnutls.so +lib/libngtcp2_crypto_gnutls.so.8 +lib/libngtcp2_crypto_gnutls.so.8.1.1 +libdata/pkgconfig/libngtcp2_crypto_gnutls.pc