diff options
Diffstat (limited to 'net/libngtcp2-wolfssl')
-rw-r--r-- | net/libngtcp2-wolfssl/Makefile | 37 | ||||
-rw-r--r-- | net/libngtcp2-wolfssl/distinfo | 3 | ||||
-rw-r--r-- | net/libngtcp2-wolfssl/files/patch-Makefile.in | 13 | ||||
-rw-r--r-- | net/libngtcp2-wolfssl/pkg-descr | 4 | ||||
-rw-r--r-- | net/libngtcp2-wolfssl/pkg-plist | 5 |
5 files changed, 62 insertions, 0 deletions
diff --git a/net/libngtcp2-wolfssl/Makefile b/net/libngtcp2-wolfssl/Makefile new file mode 100644 index 000000000000..48b3ec8a1648 --- /dev/null +++ b/net/libngtcp2-wolfssl/Makefile @@ -0,0 +1,37 @@ +PORTNAME= ngtcp2 +PORTVERSION= 1.12.0 +CATEGORIES= net +MASTER_SITES= https://github.com/ngtcp2/ngtcp2/releases/download/v${PORTVERSION}/ +PKGNAMEPREFIX= lib +PKGNAMESUFFIX= -wolfssl + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Implementation of QUIC protocol (wolfssl 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= libwolfssl.so:security/wolfssl +RUN_DEPENDS= libngtcp2>=${PORTVERSION}<${PORTVERSION}_99:net/libngtcp2 + +USES= libtool pathfix pkgconfig tar:xz + +CONFIGURE_ARGS= --enable-lib-only \ + --with-jemalloc \ + --with-wolfssl \ + --without-boringssl \ + --without-gnutls \ + --without-libbrotlidec \ + --without-libbrotlienc \ + --without-libev \ + --without-libnghttp3 \ + --without-openssl +GNU_CONFIGURE= yes +INSTALL_TARGET= install-strip +INSTALL_WRKSRC= ${WRKSRC}/crypto/wolfssl +USE_LDCONFIG= yes + +.include <bsd.port.mk> diff --git a/net/libngtcp2-wolfssl/distinfo b/net/libngtcp2-wolfssl/distinfo new file mode 100644 index 000000000000..e8e0cf92099c --- /dev/null +++ b/net/libngtcp2-wolfssl/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1745177912 +SHA256 (ngtcp2-1.12.0.tar.xz) = 2527a4c9305dbed610a000a88f94696526aa8959f74249a59f2b96ee73630629 +SIZE (ngtcp2-1.12.0.tar.xz) = 656116 diff --git a/net/libngtcp2-wolfssl/files/patch-Makefile.in b/net/libngtcp2-wolfssl/files/patch-Makefile.in new file mode 100644 index 000000000000..afad6594b328 --- /dev/null +++ b/net/libngtcp2-wolfssl/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-wolfssl/pkg-descr b/net/libngtcp2-wolfssl/pkg-descr new file mode 100644 index 000000000000..badfac901e6b --- /dev/null +++ b/net/libngtcp2-wolfssl/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 wolfssl backend. diff --git a/net/libngtcp2-wolfssl/pkg-plist b/net/libngtcp2-wolfssl/pkg-plist new file mode 100644 index 000000000000..c0ba6b3e66e4 --- /dev/null +++ b/net/libngtcp2-wolfssl/pkg-plist @@ -0,0 +1,5 @@ +lib/libngtcp2_crypto_wolfssl.a +lib/libngtcp2_crypto_wolfssl.so +lib/libngtcp2_crypto_wolfssl.so.5 +lib/libngtcp2_crypto_wolfssl.so.5.2.0 +libdata/pkgconfig/libngtcp2_crypto_wolfssl.pc |