aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2017-04-25 22:23:20 +0800
committersunpoet <sunpoet@FreeBSD.org>2017-04-25 22:23:20 +0800
commit15347fc527dd080a2c01c6b920f41443f8be2c16 (patch)
tree4b623ec157627e960bc3e695c6e2fa50131fc6c8 /www
parent6c42d91ff9929e1d4f84a340ea0f6744352da3e6 (diff)
downloadfreebsd-ports-gnome-15347fc527dd080a2c01c6b920f41443f8be2c16.tar.gz
freebsd-ports-gnome-15347fc527dd080a2c01c6b920f41443f8be2c16.tar.zst
freebsd-ports-gnome-15347fc527dd080a2c01c6b920f41443f8be2c16.zip
Update to 1.22.0
Changes: https://github.com/nghttp2/nghttp2/releases
Diffstat (limited to 'www')
-rw-r--r--www/nghttp2/Makefile13
-rw-r--r--www/nghttp2/distinfo6
2 files changed, 8 insertions, 11 deletions
diff --git a/www/nghttp2/Makefile b/www/nghttp2/Makefile
index e3aaad0f29ee..0a7915493c6f 100644
--- a/www/nghttp2/Makefile
+++ b/www/nghttp2/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= nghttp2
-PORTVERSION= 1.21.1
+PORTVERSION= 1.22.0
DISTVERSIONPREFIX= v
CATEGORIES= www net
@@ -22,7 +22,7 @@ APP_DESC= Build h2load, nghttp, nghttpd and nghttpx
SPDY_DESC= Enable SPDY in h2load and nghttpx
SPDY_IMPLIES= APP
-CONFIGURE_ARGS= --disable-python-bindings
+CONFIGURE_ARGS= --disable-python-bindings --with-jemalloc
CONFIGURE_ENV= OPENSSL_CFLAGS="-I${OPENSSLINC}" \
OPENSSL_LIBS="-L${OPENSSLLIB} -lcrypto -lssl"
GNU_CONFIGURE= yes
@@ -60,15 +60,12 @@ SPDY_BUILD_DEPENDS= spdylay>=1.3.2:www/spdylay
SPDY_CONFIGURE_WITH= spdylay
SPDY_LIB_DEPENDS= libspdylay.so:www/spdylay
-.include <bsd.port.pre.mk>
-
-.if ${OPSYS} == FreeBSD
-CONFIGURE_ARGS+=--with-jemalloc
-.endif
+.include <bsd.port.options.mk>
post-patch:
@${REINPLACE_CMD} -e '/^SUBDIRS = / s| lib||' ${WRKSRC}/Makefile.am
@${REINPLACE_CMD} -e 's|$$[({]top_builddir[})]/lib/libnghttp2.la|-lnghttp2|' ${WRKSRC}/*/Makefile.am
+ @${REINPLACE_CMD} -e '1d' ${WRKSRC}/script/fetch-ocsp-response
# lib/libnghttp2.* are not available until configure phase
post-configure:
@@ -90,4 +87,4 @@ post-install-EXAMPLES-on:
${INSTALL_DATA} ${WRKSRC}/examples/*.c* ${STAGEDIR}${EXAMPLESDIR}/
cd ${WRKSRC}/examples/ && ${INSTALL_PROGRAM} client deflate libevent-client libevent-server ${STAGEDIR}${EXAMPLESDIR}/
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/www/nghttp2/distinfo b/www/nghttp2/distinfo
index 5dbb38b8a01b..bbf277041a83 100644
--- a/www/nghttp2/distinfo
+++ b/www/nghttp2/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1491848909
-SHA256 (nghttp2-nghttp2-v1.21.1_GH0.tar.gz) = 5de24bb3c2d3d37294f8f6ffa7f506769401d76a01c0f19b1a3e508550bf6bd9
-SIZE (nghttp2-nghttp2-v1.21.1_GH0.tar.gz) = 1734678
+TIMESTAMP = 1493122831
+SHA256 (nghttp2-nghttp2-v1.22.0_GH0.tar.gz) = f869dff2b0f46895e2079da1b7107e94208400d2488e6709595fedfe5774ce53
+SIZE (nghttp2-nghttp2-v1.22.0_GH0.tar.gz) = 1739006