From owner-svn-ports-head@freebsd.org Mon Feb 15 14:24:52 2016 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B7BA9AA9DC5; Mon, 15 Feb 2016 14:24:52 +0000 (UTC) (envelope-from brnrd@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 7C96811DB; Mon, 15 Feb 2016 14:24:52 +0000 (UTC) (envelope-from brnrd@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u1FEOpOx095396; Mon, 15 Feb 2016 14:24:51 GMT (envelope-from brnrd@FreeBSD.org) Received: (from brnrd@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u1FEOp5J095392; Mon, 15 Feb 2016 14:24:51 GMT (envelope-from brnrd@FreeBSD.org) Message-Id: <201602151424.u1FEOp5J095392@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: brnrd set sender to brnrd@FreeBSD.org using -f From: Bernard Spil Date: Mon, 15 Feb 2016 14:24:51 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r408929 - in head/www/nghttp2: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Feb 2016 14:24:52 -0000 Author: brnrd Date: Mon Feb 15 14:24:51 2016 New Revision: 408929 URL: https://svnweb.freebsd.org/changeset/ports/408929 Log: www/nghttp2: Update to version 1.7.1 - Convert MASTER_SITES to USE_GITHUB - Remove USES=tar:xz - Remove unneeded RUN_DEPENDS - Add USES=autoreconf - Fix pkgconfig path - Remove defunct configure jemalloc fix - Fix LDFLAGS -ldl problem Reviewed by: koobs (mentor), feld (mentor) Approved by: feld (mentor) Differential Revision: D5218 MFH: 2016Q1 Added: head/www/nghttp2/files/ head/www/nghttp2/files/patch-configure.ac (contents, props changed) Modified: head/www/nghttp2/Makefile head/www/nghttp2/distinfo head/www/nghttp2/pkg-plist Modified: head/www/nghttp2/Makefile ============================================================================== --- head/www/nghttp2/Makefile Mon Feb 15 14:21:51 2016 (r408928) +++ head/www/nghttp2/Makefile Mon Feb 15 14:24:51 2016 (r408929) @@ -2,10 +2,9 @@ # $FreeBSD$ PORTNAME= nghttp2 -PORTVERSION= 1.6.0 +PORTVERSION= 1.7.1 +DISTVERSIONPREFIX= v CATEGORIES= www net -MASTER_SITES= https://github.com/tatsuhiro-t/${PORTNAME}/releases/download/v${PORTVERSION}/ \ - LOCAL/sunpoet MAINTAINER= sunpoet@FreeBSD.org COMMENT= HTTP/2.0 C Library @@ -19,12 +18,14 @@ BUILD_DEPENDS= libev>=4.15:${PORTSDIR}/d LIB_DEPENDS= libev.so:${PORTSDIR}/devel/libev \ libevent_openssl.so:${PORTSDIR}/devel/libevent2 \ libspdylay.so:${PORTSDIR}/www/spdylay -RUN_DEPENDS:= ${BUILD_DEPENDS} OPTIONS_DEFINE= ASIO DOCS HPACK OPTIONS_DEFAULT=HPACK OPTIONS_SUB= yes +USE_GITHUB= yes +GH_ACCOUNT= tatsuhiro-t + CONFIGURE_ARGS= --disable-python-bindings \ --enable-app \ --enable-examples \ @@ -35,11 +36,12 @@ CONFIGURE_ENV= OPENSSL_CFLAGS="-I${OPENS ZLIB_LIBS="-L${LIBDIR} -lz" GNU_CONFIGURE= yes INSTALL_TARGET= install-strip +PATHFIX_MAKEFILEIN= Makefile.am USE_CXXSTD= c++11 USE_GNOME= libxml2 USE_LDCONFIG= yes USE_OPENSSL= yes -USES= compiler:c++11-lib gmake libtool localbase pathfix pkgconfig tar:xz +USES= autoreconf compiler:c++11-lib gmake libtool localbase pathfix pkgconfig PORTDATA= fetch-ocsp-response PORTDOCS= * @@ -62,7 +64,4 @@ CPPFLAGS+= -D_GLIBCXX_USE_C99 CONFIGURE_ARGS+=--with-jemalloc .endif -post-patch: - @${REINPLACE_CMD} -e '/JEMALLOC_LIBS/ s|-ljemalloc||' ${WRKSRC}/configure - .include Modified: head/www/nghttp2/distinfo ============================================================================== --- head/www/nghttp2/distinfo Mon Feb 15 14:21:51 2016 (r408928) +++ head/www/nghttp2/distinfo Mon Feb 15 14:24:51 2016 (r408929) @@ -1,2 +1,2 @@ -SHA256 (nghttp2-1.6.0.tar.xz) = cc569501d243c934ea980a1f68fadb8ccc4f133ae8a5b15dcd29f0de76f9bac3 -SIZE (nghttp2-1.6.0.tar.xz) = 1399524 +SHA256 (tatsuhiro-t-nghttp2-v1.7.1_GH0.tar.gz) = 3f939b1507b4b9b94d8c1f873b41945d0c7bcf6a21c313124526201dc6e11c3c +SIZE (tatsuhiro-t-nghttp2-v1.7.1_GH0.tar.gz) = 1561854 Added: head/www/nghttp2/files/patch-configure.ac ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/nghttp2/files/patch-configure.ac Mon Feb 15 14:24:51 2016 (r408929) @@ -0,0 +1,35 @@ +From e4b2847d3135a024c740d25f9e11da7ff0bf0fd6 Mon Sep 17 00:00:00 2001 +From: Bernard Spil +Date: Sat, 6 Feb 2016 14:36:27 +0100 +Subject: [PATCH] Don't check for dlopen/libdl on *BSD + +This makes linking fail on -ldl as there is no libdl on in /usr/lib or /usr/local/lib on *BSD +Tested (and part of the proposed nghttp2 1.7.0) on [https://reviews.freebsd.org/D5218|FreeBSD] +--- + configure.ac | 13 ++++++++++--- + 1 file changed, 10 insertions(+), 3 deletions(-) + +diff --git a/configure.ac b/configure.ac +index 09a2538..4a4defe 100644 +--- configure.ac.orig ++++ configure.ac +@@ -256,9 +256,16 @@ if test "x${have_zlib}" = "xno"; then + fi + + # dl: openssl requires libdl when it is statically linked. +-LIBS_OLD=$LIBS +-AC_SEARCH_LIBS([dlopen], [dl], [APPLDFLAGS="-ldl $APPLDFLAGS"], [], []) +-LIBS=$LIBS_OLD ++case "${host_os}" in ++ *bsd*) ++ # dlopen is in libc on *BSD ++ ;; ++ *) ++ save_LIBS=$LIBS ++ AC_SEARCH_LIBS([dlopen], [dl], [APPLDFLAGS="-ldl $APPLDFLAGS"], [], []) ++ LIBS=$save_LIBS ++ ;; ++esac + + # cunit + PKG_CHECK_MODULES([CUNIT], [cunit >= 2.1], [have_cunit=yes], [have_cunit=no]) Modified: head/www/nghttp2/pkg-plist ============================================================================== --- head/www/nghttp2/pkg-plist Mon Feb 15 14:21:51 2016 (r408928) +++ head/www/nghttp2/pkg-plist Mon Feb 15 14:24:51 2016 (r408929) @@ -12,7 +12,7 @@ include/nghttp2/nghttp2ver.h lib/libnghttp2.a lib/libnghttp2.so lib/libnghttp2.so.14 -lib/libnghttp2.so.14.4.0 +lib/libnghttp2.so.14.4.1 %%ASIO%%lib/libnghttp2_asio.a %%ASIO%%lib/libnghttp2_asio.so %%ASIO%%lib/libnghttp2_asio.so.1