svn commit: r439387 - head/www/nghttp2
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Tue Apr 25 14:23:22 UTC 2017
Author: sunpoet
Date: Tue Apr 25 14:23:20 2017
New Revision: 439387
URL: https://svnweb.freebsd.org/changeset/ports/439387
Log:
Update to 1.22.0
Changes: https://github.com/nghttp2/nghttp2/releases
Modified:
head/www/nghttp2/Makefile
head/www/nghttp2/distinfo
Modified: head/www/nghttp2/Makefile
==============================================================================
--- head/www/nghttp2/Makefile Tue Apr 25 14:23:04 2017 (r439386)
+++ head/www/nghttp2/Makefile Tue Apr 25 14:23:20 2017 (r439387)
@@ -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
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/s
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>
Modified: head/www/nghttp2/distinfo
==============================================================================
--- head/www/nghttp2/distinfo Tue Apr 25 14:23:04 2017 (r439386)
+++ head/www/nghttp2/distinfo Tue Apr 25 14:23:20 2017 (r439387)
@@ -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
More information about the svn-ports-head
mailing list