Date: Tue, 21 Apr 2026 16:33:04 +0000 From: Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org Subject: git: 691b38a3c831 - 2026Q2 - net/libngtcp2-boringssl: Add libngtcp2-boringssl Message-ID: <69e7a6c0.3b391.7c163c60@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch 2026Q2 has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=691b38a3c8310e561fd2b816b339c48418091d9e commit 691b38a3c8310e561fd2b816b339c48418091d9e Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2026-04-05 16:50:59 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2026-04-21 16:28:03 +0000 net/libngtcp2-boringssl: Add libngtcp2-boringssl 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 BoringSSL backend. (cherry picked from commit 78e392c02a614e6cea1e6933980317a7221284c6) --- net/Makefile | 1 + net/libngtcp2-boringssl/Makefile | 38 +++++++++++++++++++++++++ net/libngtcp2-boringssl/distinfo | 3 ++ net/libngtcp2-boringssl/files/patch-Makefile.in | 13 +++++++++ net/libngtcp2-boringssl/pkg-descr | 4 +++ net/libngtcp2-boringssl/pkg-plist | 2 ++ 6 files changed, 61 insertions(+) diff --git a/net/Makefile b/net/Makefile index 6a84a3e12562..36ddc845ab53 100644 --- a/net/Makefile +++ b/net/Makefile @@ -406,6 +406,7 @@ SUBDIR += libnet SUBDIR += libnfs SUBDIR += libngtcp2 + SUBDIR += libngtcp2-boringssl SUBDIR += libngtcp2-gnutls SUBDIR += libngtcp2-wolfssl SUBDIR += libnids diff --git a/net/libngtcp2-boringssl/Makefile b/net/libngtcp2-boringssl/Makefile new file mode 100644 index 000000000000..50b5ded8889a --- /dev/null +++ b/net/libngtcp2-boringssl/Makefile @@ -0,0 +1,38 @@ +PORTNAME= ngtcp2 +PORTVERSION= 1.21.0 +CATEGORIES= net +MASTER_SITES= https://github.com/ngtcp2/ngtcp2/releases/download/v${PORTVERSION}/ +PKGNAMEPREFIX= lib +PKGNAMESUFFIX= -boringssl + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Implementation of QUIC protocol (BoringSSL backend) +WWW= https://nghttp2.org/ngtcp2/ \ + https://github.com/ngtcp2/ngtcp2 + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/COPYING + +BUILD_DEPENDS= boringssl>=0:security/boringssl \ + libngtcp2>=${PORTVERSION}<${PORTVERSION}_99:net/libngtcp2 +RUN_DEPENDS= libngtcp2>=${PORTVERSION}<${PORTVERSION}_99:net/libngtcp2 + +USES= libtool pkgconfig tar:xz + +CONFIGURE_ARGS= --enable-lib-only \ + --with-boringssl \ + --with-jemalloc \ + --without-gnutls \ + --without-libbrotlidec \ + --without-libbrotlienc \ + --without-libev \ + --without-libnghttp3 \ + --without-openssl \ + --without-wolfssl +CONFIGURE_ENV= BORINGSSL_CFLAGS="-I${LOCALBASE}/include" \ + BORINGSSL_LIBS="-L${LOCALBASE}/lib -lssl" +GNU_CONFIGURE= yes +INSTALL_TARGET= install-strip +INSTALL_WRKSRC= ${WRKSRC}/crypto/boringssl + +.include <bsd.port.mk> diff --git a/net/libngtcp2-boringssl/distinfo b/net/libngtcp2-boringssl/distinfo new file mode 100644 index 000000000000..a9514d34d183 --- /dev/null +++ b/net/libngtcp2-boringssl/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1773966660 +SHA256 (ngtcp2-1.21.0.tar.xz) = 2d1c07e6aa509c017516c08307b0b707cd165a17275ab5f1caff9aaa0e3b6c7d +SIZE (ngtcp2-1.21.0.tar.xz) = 687504 diff --git a/net/libngtcp2-boringssl/files/patch-Makefile.in b/net/libngtcp2-boringssl/files/patch-Makefile.in new file mode 100644 index 000000000000..afad6594b328 --- /dev/null +++ b/net/libngtcp2-boringssl/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-boringssl/pkg-descr b/net/libngtcp2-boringssl/pkg-descr new file mode 100644 index 000000000000..7e90546167b1 --- /dev/null +++ b/net/libngtcp2-boringssl/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 BoringSSL backend. diff --git a/net/libngtcp2-boringssl/pkg-plist b/net/libngtcp2-boringssl/pkg-plist new file mode 100644 index 000000000000..ad59c211c31c --- /dev/null +++ b/net/libngtcp2-boringssl/pkg-plist @@ -0,0 +1,2 @@ +lib/libngtcp2_crypto_boringssl.a +libdata/pkgconfig/libngtcp2_crypto_boringssl.pchome | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69e7a6c0.3b391.7c163c60>
