svn commit: r354984 - head/www/nghttp2

Sunpoet Po-Chuan Hsieh sunpoet at FreeBSD.org
Sat May 24 06:24:03 UTC 2014


Author: sunpoet
Date: Sat May 24 06:24:01 2014
New Revision: 354984
URL: http://svnweb.freebsd.org/changeset/ports/354984
QAT: https://qat.redports.org/buildarchive/r354984/

Log:
  - Update to 0.4.0
  - Use USES=libtool
  
  Changes:	https://github.com/tatsuhiro-t/nghttp2/releases

Modified:
  head/www/nghttp2/Makefile
  head/www/nghttp2/distinfo
  head/www/nghttp2/pkg-plist

Modified: head/www/nghttp2/Makefile
==============================================================================
--- head/www/nghttp2/Makefile	Sat May 24 06:23:54 2014	(r354983)
+++ head/www/nghttp2/Makefile	Sat May 24 06:24:01 2014	(r354984)
@@ -2,8 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	nghttp2
-PORTVERSION=	0.3.2
-PORTREVISION=	1
+PORTVERSION=	0.4.0
 CATEGORIES=	www net
 MASTER_SITES=	https://github.com/tatsuhiro-t/${PORTNAME}/releases/download/v${PORTVERSION}/ \
 		LOCAL/sunpoet
@@ -21,7 +20,9 @@ OPTIONS_SUB=	yes
 
 CONFIGURE_ARGS=	--disable-python-bindings \
 		--enable-app \
-		--enable-examples
+		--enable-examples \
+		--with-jemalloc \
+		--with-spdylay
 CONFIGURE_ENV=	OPENSSL_CFLAGS="-I${OPENSSLINC}" \
 		OPENSSL_LIBS="-L${OPENSSLLIB} -lcrypto -lssl" \
 		ZLIB_CFLAGS="-I${INCLUDEDIR}" \
@@ -31,7 +32,7 @@ USE_CXXSTD=	c++11
 USE_GNOME=	libxml2
 USE_LDCONFIG=	yes
 USE_OPENSSL=	yes
-USES=		compiler:c++11-lang pathfix pkgconfig tar:xz
+USES=		compiler:c++11-lang libtool pathfix pkgconfig tar:xz
 
 PORTDOCS=	*
 
@@ -44,7 +45,10 @@ HPACK_LIB_DEPENDS=	libjansson.so:${PORTS
 IGNORE=		nghttp2 requires OpenSSL 1.0.1+
 .endif
 
+post-patch:
+	@${REINPLACE_CMD} -e '/JEMALLOC_LIBS/ s|-ljemalloc||' ${WRKSRC}/configure
+
 post-build:
-	@${STRIP_CMD} ${WRKSRC}/lib/.libs/libnghttp2.so.2
+	@${STRIP_CMD} ${WRKSRC}/lib/.libs/libnghttp2.so.3
 
 .include <bsd.port.post.mk>

Modified: head/www/nghttp2/distinfo
==============================================================================
--- head/www/nghttp2/distinfo	Sat May 24 06:23:54 2014	(r354983)
+++ head/www/nghttp2/distinfo	Sat May 24 06:24:01 2014	(r354984)
@@ -1,2 +1,2 @@
-SHA256 (nghttp2-0.3.2.tar.xz) = 74a2865139558d2c8abaceb9961c7812575d472e5ec2eb7655fd553588587718
-SIZE (nghttp2-0.3.2.tar.xz) = 699148
+SHA256 (nghttp2-0.4.0.tar.xz) = e83dcd19f07c349fe0f10f62278852be480c61501ba40235dc01bab14f192991
+SIZE (nghttp2-0.4.0.tar.xz) = 760012

Modified: head/www/nghttp2/pkg-plist
==============================================================================
--- head/www/nghttp2/pkg-plist	Sat May 24 06:23:54 2014	(r354983)
+++ head/www/nghttp2/pkg-plist	Sat May 24 06:24:01 2014	(r354984)
@@ -1,4 +1,5 @@
 %%HPACK%%bin/deflatehd
+bin/h2load
 %%HPACK%%bin/inflatehd
 bin/nghttp
 bin/nghttpd
@@ -6,10 +7,11 @@ bin/nghttpx
 include/nghttp2/nghttp2.h
 include/nghttp2/nghttp2ver.h
 lib/libnghttp2.a
-lib/libnghttp2.la
 lib/libnghttp2.so
-lib/libnghttp2.so.2
+lib/libnghttp2.so.3
+lib/libnghttp2.so.3.0.0
 libdata/pkgconfig/libnghttp2.pc
+man/man1/h2load.1.gz
 man/man1/nghttp.1.gz
 man/man1/nghttpd.1.gz
 man/man1/nghttpx.1.gz


More information about the svn-ports-all mailing list