From nobody Sun Feb 12 18:46:21 2023 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4PFGdn6bbnz3qYCB; Sun, 12 Feb 2023 18:46:21 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PFGdn6GsVz3rKR; Sun, 12 Feb 2023 18:46:21 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1676227581; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=gsW+mAiNKRkK8DuGRzteMuec02d49L3aaqbMKPL1nHY=; b=M/BHA9YotbHwF+1qy7W/DpZAGNiFN5D5ETv20L2MIdXeBjHyjMvu35Jo+Ttcbcrghm8zwO 6lMyL4V0uSk2Ougv/mO8cu57c5z1xSEE+QdQ9+v1LM3LAoNihmTOZgTaLv3dVfKgAEmC4h F6E5d0iV+rfAGV6c08nMg9M/jbR/HvhQACDBBQlkTtc8YfbZgT1z4RQmPHGDI8m/Rosipn F0pFbSylK3Yw0Mt6PiAylfYQA6u+aRAKmP89LG61wKZrRi3AeAZDmZIgqdQ6H+I333rlZT /7TPWao/bW2qPQ8w7o5+1zWnDh0tyjamihgbQuw2E4I06UHtJtDRrdsh1wQcVA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1676227581; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=gsW+mAiNKRkK8DuGRzteMuec02d49L3aaqbMKPL1nHY=; b=BFfbhKWcK4SX2ZpY9Tqed6ir6V0TGlA1XjBxJ+1kdizBM+KdCtz6qj+z1e1iZifcmx19dH 1/4/Gh6/0UVnl/0/o1V2UMr7bMtlPso6jIDvXaI65MKR75fHIs+NCFors8nUK3vk+WUTkw V3EQX72jc5OiRP7DJKiwVTsooH7+7ANqkRGXZJOf2kzUoo+Xodj5YLdtaPUIGQMGz0KEu8 5KLdcRP5meiFN8N0r8RzozG4YRIOiOk0C74uwYOP5/K6frJnk/jCHK3Sa8l+aGW+cyTBQ0 /cDB56Gk3qe0Lu8BKBZUeH3pE6rFIH2pc5KeJe87ClN8+0X3wktPVIShwBaq5w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1676227581; a=rsa-sha256; cv=none; b=q1KlN0519Q7Jm9owdiG41uMTaZzOAWiCyRO8pRd+Tn6Gg9EuE8sO7MrEkENqF84739Kxo9 3UC+TOCBpjHzoB7QxTSfJUkIZZl2xbHtJrFarIDWSGL+odxKE14ekZ8SAUzae46NeOV0qx 8di4ieUlM2zaH2rGskdT6o/eupVdyDCASmRlQBveitGyF5mKybZXp3Z/XVR54rpS3nxKlX f1O/wz1Lz/7XNcfdnA4pN5KTXkCkdLPnTZiUTJJpXjS4YaDhu8RNELZY8fmiQvdmmlYts7 nL5fmYBdwihdJsftaLOPR+x/gAUGIFzwJBFL/4hlmXy8ksoSZVLptJd1g+sSig== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4PFGdn5MSfzpl6; Sun, 12 Feb 2023 18:46:21 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 31CIkLQV097615; Sun, 12 Feb 2023 18:46:21 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 31CIkL55097614; Sun, 12 Feb 2023 18:46:21 GMT (envelope-from git) Date: Sun, 12 Feb 2023 18:46:21 GMT Message-Id: <202302121846.31CIkL55097614@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: 60e3e2a950a2 - main - www/nghttp2: Convert to cmake List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 60e3e2a950a2c54d78c5adb8802080da6bd04ec2 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=60e3e2a950a2c54d78c5adb8802080da6bd04ec2 commit 60e3e2a950a2c54d78c5adb8802080da6bd04ec2 Author: Po-Chuan Hsieh AuthorDate: 2023-02-12 18:36:45 +0000 Commit: Po-Chuan Hsieh CommitDate: 2023-02-12 18:36:45 +0000 www/nghttp2: Convert to cmake - Update manpage location (003a571d1d6585196545295efc181514f171c4c4, r523104) - Bump PORTREVISION for package change --- www/nghttp2/Makefile | 33 ++++----- www/nghttp2/files/patch-CMakeLists.txt | 11 +++ www/nghttp2/files/patch-Makefile.in | 11 --- www/nghttp2/files/patch-examples-Makefile.in | 66 ----------------- www/nghttp2/files/patch-script-fetch-ocsp-response | 7 -- www/nghttp2/files/patch-src-Makefile.in | 83 ---------------------- www/nghttp2/files/patch-tests-Makefile.in | 31 -------- www/nghttp2/pkg-plist | 13 ++-- 8 files changed, 28 insertions(+), 227 deletions(-) diff --git a/www/nghttp2/Makefile b/www/nghttp2/Makefile index e6a38583cd3d..2543a5249cf6 100644 --- a/www/nghttp2/Makefile +++ b/www/nghttp2/Makefile @@ -1,5 +1,6 @@ PORTNAME= nghttp2 PORTVERSION= 1.51.0 +PORTREVISION= 1 CATEGORIES= www net MASTER_SITES= https://github.com/nghttp2/nghttp2/releases/download/v${PORTVERSION}/ @@ -13,49 +14,41 @@ LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= libnghttp2>=${PORTVERSION}:www/libnghttp2 LIB_DEPENDS= libnghttp2.so:www/libnghttp2 -USES= compiler:c++14-lang cpe gmake libtool localbase pathfix pkgconfig ssl tar:xz +USES= cmake compiler:c++14-lang cpe localbase:ldflags pathfix pkgconfig python:env shebangfix ssl tar:xz -CONFIGURE_ARGS= --disable-python-bindings --with-jemalloc -CONFIGURE_ENV= OPENSSL_CFLAGS="-I${OPENSSLINC}" \ - OPENSSL_LIBS="-L${OPENSSLLIB} -lcrypto -lssl" -GNU_CONFIGURE= yes -INSTALL_TARGET= install-strip -USE_CXXSTD= c++14 +CMAKE_ARGS= -DCMAKE_INSTALL_MANDIR=share/man +CMAKE_OFF= ENABLE_ASIO_LIB ENABLE_DEBUG ENABLE_HTTP3 ENABLE_LIB_ONLY ENABLE_PYTHON_BINDINGS ENABLE_STATIC_CRT ENABLE_WERROR WITH_LIBBPF WITH_MRUBY WITH_NEVERBLEED +CMAKE_ON= ENABLE_DOC ENABLE_FAILMALLOC ENABLE_THREADS USE_RC_SUBR= nghttpx -OPTIONS_DEFINE= APP DOCS EXAMPLES HPACK +SHEBANG_FILES= script/fetch-ocsp-response + +OPTIONS_DEFINE= APP EXAMPLES HPACK OPTIONS_DEFAULT=APP HPACK OPTIONS_SUB= yes APP_DESC= Build h2load, nghttp, nghttpd and nghttpx APP_BUILD_DEPENDS= c-ares>=1.7.5:dns/c-ares \ libev>=4.11:devel/libev -APP_CONFIGURE_ENABLE= app -APP_CONFIGURE_OFF= --without-libxml2 +APP_CMAKE_BOOL= ENABLE_APP APP_LIB_DEPENDS= libcares.so:dns/c-ares \ libev.so:devel/libev APP_USE= GNOME=libxml2 APP_USES= gnome -EXAMPLES_CONFIGURE_ENABLE= examples +EXAMPLES_CMAKE_BOOL= ENABLE_EXAMPLES EXAMPLES_BUILD_DEPENDS= libevent>=2.0.8:devel/libevent EXAMPLES_LIB_DEPENDS= libevent_openssl.so:devel/libevent HPACK_BUILD_DEPENDS= jansson>=2.5:devel/jansson -HPACK_CONFIGURE_ENABLE= hpack-tools +HPACK_CMAKE_BOOL= ENABLE_HPACK_TOOLS HPACK_LIB_DEPENDS= libjansson.so:devel/jansson -# lib/libnghttp2.* are not available until configure phase -post-configure: - @${MKDIR} ${WRKSRC}/lib/.libs/ - @${CP} ${LOCALBASE}/lib/libnghttp2.so* ${WRKSRC}/lib/.libs/ - @cd ${WRKSRC}/lib/.libs/ && ${AR} x ${LOCALBASE}/lib/libnghttp2.a - post-install: ${MKDIR} ${STAGEDIR}${PREFIX}/etc/nghttpx/ ${INSTALL_DATA} ${FILESDIR}/nghttpx.conf.sample ${STAGEDIR}${PREFIX}/etc/nghttpx/nghttpx.conf.sample post-install-EXAMPLES-on: ${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/ - ${INSTALL_DATA} ${WRKSRC}/examples/*.c* ${STAGEDIR}${EXAMPLESDIR}/ - cd ${WRKSRC}/examples/ && ${INSTALL_PROGRAM} client deflate libevent-client libevent-server ${STAGEDIR}${EXAMPLESDIR}/ + ${INSTALL_DATA} ${WRKSRC}/examples/*.c ${STAGEDIR}${EXAMPLESDIR}/ + cd ${BUILD_WRKSRC}/examples/ && ${INSTALL_PROGRAM} client deflate libevent-client libevent-server ${STAGEDIR}${EXAMPLESDIR}/ .include diff --git a/www/nghttp2/files/patch-CMakeLists.txt b/www/nghttp2/files/patch-CMakeLists.txt new file mode 100644 index 000000000000..6332e9b92e37 --- /dev/null +++ b/www/nghttp2/files/patch-CMakeLists.txt @@ -0,0 +1,11 @@ +--- CMakeLists.txt.orig 2022-11-13 06:53:06 UTC ++++ CMakeLists.txt +@@ -505,7 +505,7 @@ set(PKGLIBDIR "${CMAKE_INSTALL_FULL_LIBDIR}/${CMAKE_PR + + install(FILES README.rst DESTINATION "${CMAKE_INSTALL_DOCDIR}") + +-add_subdirectory(lib) ++#add_subdirectory(lib) + #add_subdirectory(lib/includes) + add_subdirectory(third-party) + add_subdirectory(src) diff --git a/www/nghttp2/files/patch-Makefile.in b/www/nghttp2/files/patch-Makefile.in deleted file mode 100644 index 4bc7bac0f224..000000000000 --- a/www/nghttp2/files/patch-Makefile.in +++ /dev/null @@ -1,11 +0,0 @@ ---- Makefile.in.orig 2022-11-13 06:53:28 UTC -+++ Makefile.in -@@ -465,7 +465,7 @@ 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 third-party src bpf examples python tests integration-tests \ -+SUBDIRS = third-party src bpf examples python tests integration-tests \ - doc contrib script - - diff --git a/www/nghttp2/files/patch-examples-Makefile.in b/www/nghttp2/files/patch-examples-Makefile.in deleted file mode 100644 index 5bfb48b8f134..000000000000 --- a/www/nghttp2/files/patch-examples-Makefile.in +++ /dev/null @@ -1,66 +0,0 @@ -% sed -i .orig 's|$[({]top_builddir[})]/lib/libnghttp2.la|-lnghttp2|' */Makefile.in - ---- examples/Makefile.in.orig 2022-11-13 06:53:28 UTC -+++ examples/Makefile.in -@@ -146,7 +146,7 @@ am__asio_cl_SOURCES_DIST = asio-cl.cc - @ENABLE_ASIO_LIB_TRUE@@ENABLE_EXAMPLES_TRUE@am_asio_cl_OBJECTS = asio_cl-asio-cl.$(OBJEXT) - asio_cl_OBJECTS = $(am_asio_cl_OBJECTS) - am__DEPENDENCIES_1 = --@ENABLE_ASIO_LIB_TRUE@@ENABLE_EXAMPLES_TRUE@am__DEPENDENCIES_2 = $(top_builddir)/lib/libnghttp2.la \ -+@ENABLE_ASIO_LIB_TRUE@@ENABLE_EXAMPLES_TRUE@am__DEPENDENCIES_2 = -lnghttp2 \ - @ENABLE_ASIO_LIB_TRUE@@ENABLE_EXAMPLES_TRUE@ $(top_builddir)/src/libnghttp2_asio.la \ - @ENABLE_ASIO_LIB_TRUE@@ENABLE_EXAMPLES_TRUE@ $(top_builddir)/third-party/liburl-parser.la \ - @ENABLE_ASIO_LIB_TRUE@@ENABLE_EXAMPLES_TRUE@ $(am__DEPENDENCIES_1) \ -@@ -175,14 +175,14 @@ am__client_SOURCES_DIST = client.c - client_OBJECTS = $(am_client_OBJECTS) - client_LDADD = $(LDADD) - @ENABLE_EXAMPLES_TRUE@client_DEPENDENCIES = \ --@ENABLE_EXAMPLES_TRUE@ $(top_builddir)/lib/libnghttp2.la \ -+@ENABLE_EXAMPLES_TRUE@ -lnghttp2 \ - @ENABLE_EXAMPLES_TRUE@ $(top_builddir)/third-party/liburl-parser.la - am__deflate_SOURCES_DIST = deflate.c - @ENABLE_EXAMPLES_TRUE@am_deflate_OBJECTS = deflate.$(OBJEXT) - deflate_OBJECTS = $(am_deflate_OBJECTS) - deflate_LDADD = $(LDADD) - @ENABLE_EXAMPLES_TRUE@deflate_DEPENDENCIES = \ --@ENABLE_EXAMPLES_TRUE@ $(top_builddir)/lib/libnghttp2.la \ -+@ENABLE_EXAMPLES_TRUE@ -lnghttp2 \ - @ENABLE_EXAMPLES_TRUE@ $(top_builddir)/third-party/liburl-parser.la - am__libevent_client_SOURCES_DIST = libevent-client.c - @ENABLE_EXAMPLES_TRUE@am_libevent_client_OBJECTS = \ -@@ -190,7 +190,7 @@ am__libevent_client_SOURCES_DIST = libevent-client.c - libevent_client_OBJECTS = $(am_libevent_client_OBJECTS) - libevent_client_LDADD = $(LDADD) - @ENABLE_EXAMPLES_TRUE@libevent_client_DEPENDENCIES = \ --@ENABLE_EXAMPLES_TRUE@ $(top_builddir)/lib/libnghttp2.la \ -+@ENABLE_EXAMPLES_TRUE@ -lnghttp2 \ - @ENABLE_EXAMPLES_TRUE@ $(top_builddir)/third-party/liburl-parser.la - am__libevent_server_SOURCES_DIST = libevent-server.c - @ENABLE_EXAMPLES_TRUE@am_libevent_server_OBJECTS = \ -@@ -198,7 +198,7 @@ am__libevent_server_SOURCES_DIST = libevent-server.c - libevent_server_OBJECTS = $(am_libevent_server_OBJECTS) - libevent_server_LDADD = $(LDADD) - @ENABLE_EXAMPLES_TRUE@libevent_server_DEPENDENCIES = \ --@ENABLE_EXAMPLES_TRUE@ $(top_builddir)/lib/libnghttp2.la \ -+@ENABLE_EXAMPLES_TRUE@ -lnghttp2 \ - @ENABLE_EXAMPLES_TRUE@ $(top_builddir)/third-party/liburl-parser.la - AM_V_P = $(am__v_P_@AM_V@) - am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) -@@ -504,7 +504,7 @@ EXTRA_DIST = CMakeLists.txt - @ENABLE_EXAMPLES_TRUE@ @DEFS@ - - @ENABLE_EXAMPLES_TRUE@AM_LDFLAGS = @LIBTOOL_LDFLAGS@ --@ENABLE_EXAMPLES_TRUE@LDADD = $(top_builddir)/lib/libnghttp2.la \ -+@ENABLE_EXAMPLES_TRUE@LDADD = -lnghttp2 \ - @ENABLE_EXAMPLES_TRUE@ $(top_builddir)/third-party/liburl-parser.la \ - @ENABLE_EXAMPLES_TRUE@ @LIBEVENT_OPENSSL_LIBS@ \ - @ENABLE_EXAMPLES_TRUE@ @OPENSSL_LIBS@ \ -@@ -519,7 +519,7 @@ EXTRA_DIST = CMakeLists.txt - # nghttp2/nghttp2.h) in this package is used rather than installed - # one. - @ENABLE_ASIO_LIB_TRUE@@ENABLE_EXAMPLES_TRUE@ASIOCPPFLAGS = ${AM_CPPFLAGS} ${BOOST_CPPFLAGS} --@ENABLE_ASIO_LIB_TRUE@@ENABLE_EXAMPLES_TRUE@ASIOLDADD = $(top_builddir)/lib/libnghttp2.la \ -+@ENABLE_ASIO_LIB_TRUE@@ENABLE_EXAMPLES_TRUE@ASIOLDADD = -lnghttp2 \ - @ENABLE_ASIO_LIB_TRUE@@ENABLE_EXAMPLES_TRUE@ $(top_builddir)/src/libnghttp2_asio.la @JEMALLOC_LIBS@ \ - @ENABLE_ASIO_LIB_TRUE@@ENABLE_EXAMPLES_TRUE@ $(top_builddir)/third-party/liburl-parser.la \ - @ENABLE_ASIO_LIB_TRUE@@ENABLE_EXAMPLES_TRUE@ @OPENSSL_LIBS@ \ diff --git a/www/nghttp2/files/patch-script-fetch-ocsp-response b/www/nghttp2/files/patch-script-fetch-ocsp-response deleted file mode 100644 index e68d0f63ef0e..000000000000 --- a/www/nghttp2/files/patch-script-fetch-ocsp-response +++ /dev/null @@ -1,7 +0,0 @@ ---- script/fetch-ocsp-response.orig 2021-10-19 09:31:47 UTC -+++ script/fetch-ocsp-response -@@ -1,4 +1,3 @@ --#!/usr/bin/env python - # -*- coding: utf-8 -*- - - # nghttp2 - HTTP/2 C Library diff --git a/www/nghttp2/files/patch-src-Makefile.in b/www/nghttp2/files/patch-src-Makefile.in deleted file mode 100644 index 2af9e94c05f9..000000000000 --- a/www/nghttp2/files/patch-src-Makefile.in +++ /dev/null @@ -1,83 +0,0 @@ -% sed -i .orig 's|$[({]top_builddir[})]/lib/libnghttp2.la|-lnghttp2|' */Makefile.in - ---- src/Makefile.in.orig 2022-11-13 06:53:29 UTC -+++ src/Makefile.in -@@ -318,7 +318,7 @@ am__libnghttpx_a_SOURCES_DIST = util.cc util.h http2.c - libnghttpx_a_OBJECTS = $(am_libnghttpx_a_OBJECTS) - am__DEPENDENCIES_1 = - @ENABLE_ASIO_LIB_TRUE@libnghttp2_asio_la_DEPENDENCIES = \ --@ENABLE_ASIO_LIB_TRUE@ $(top_builddir)/lib/libnghttp2.la \ -+@ENABLE_ASIO_LIB_TRUE@ -lnghttp2 \ - @ENABLE_ASIO_LIB_TRUE@ $(top_builddir)/third-party/liburl-parser.la \ - @ENABLE_ASIO_LIB_TRUE@ $(top_builddir)/third-party/libllhttp.la \ - @ENABLE_ASIO_LIB_TRUE@ $(am__DEPENDENCIES_1) \ -@@ -394,7 +394,7 @@ am__deflatehd_SOURCES_DIST = deflatehd.cc comp_helper. - @ENABLE_HPACK_TOOLS_TRUE@ $(am__objects_4) - deflatehd_OBJECTS = $(am_deflatehd_OBJECTS) - deflatehd_LDADD = $(LDADD) --deflatehd_DEPENDENCIES = $(top_builddir)/lib/libnghttp2.la \ -+deflatehd_DEPENDENCIES = -lnghttp2 \ - $(top_builddir)/third-party/liburl-parser.la \ - $(top_builddir)/third-party/libllhttp.la - am__h2load_SOURCES_DIST = util.cc util.h http2.cc http2.h h2load.cc \ -@@ -413,7 +413,7 @@ am__h2load_SOURCES_DIST = util.cc util.h http2.cc http - @ENABLE_APP_TRUE@ $(am__objects_5) - h2load_OBJECTS = $(am_h2load_OBJECTS) - h2load_LDADD = $(LDADD) --h2load_DEPENDENCIES = $(top_builddir)/lib/libnghttp2.la \ -+h2load_DEPENDENCIES = -lnghttp2 \ - $(top_builddir)/third-party/liburl-parser.la \ - $(top_builddir)/third-party/libllhttp.la - am__inflatehd_SOURCES_DIST = inflatehd.cc comp_helper.c comp_helper.h \ -@@ -422,7 +422,7 @@ am__inflatehd_SOURCES_DIST = inflatehd.cc comp_helper. - @ENABLE_HPACK_TOOLS_TRUE@ $(am__objects_4) - inflatehd_OBJECTS = $(am_inflatehd_OBJECTS) - inflatehd_LDADD = $(LDADD) --inflatehd_DEPENDENCIES = $(top_builddir)/lib/libnghttp2.la \ -+inflatehd_DEPENDENCIES = -lnghttp2 \ - $(top_builddir)/third-party/liburl-parser.la \ - $(top_builddir)/third-party/libllhttp.la - am__nghttp_SOURCES_DIST = util.cc http2.cc timegm.c app_helper.cc \ -@@ -441,7 +441,7 @@ am__objects_7 = - @ENABLE_APP_TRUE@ $(am__objects_7) tls.$(OBJEXT) - nghttp_OBJECTS = $(am_nghttp_OBJECTS) - nghttp_LDADD = $(LDADD) --nghttp_DEPENDENCIES = $(top_builddir)/lib/libnghttp2.la \ -+nghttp_DEPENDENCIES = -lnghttp2 \ - $(top_builddir)/third-party/liburl-parser.la \ - $(top_builddir)/third-party/libllhttp.la - am__nghttpd_SOURCES_DIST = util.cc http2.cc timegm.c app_helper.cc \ -@@ -453,13 +453,13 @@ am__nghttpd_SOURCES_DIST = util.cc http2.cc timegm.c a - @ENABLE_APP_TRUE@ tls.$(OBJEXT) HttpServer.$(OBJEXT) - nghttpd_OBJECTS = $(am_nghttpd_OBJECTS) - nghttpd_LDADD = $(LDADD) --nghttpd_DEPENDENCIES = $(top_builddir)/lib/libnghttp2.la \ -+nghttpd_DEPENDENCIES = -lnghttp2 \ - $(top_builddir)/third-party/liburl-parser.la \ - $(top_builddir)/third-party/libllhttp.la - am__nghttpx_SOURCES_DIST = shrpx.cc shrpx.h - @ENABLE_APP_TRUE@am_nghttpx_OBJECTS = nghttpx-shrpx.$(OBJEXT) - nghttpx_OBJECTS = $(am_nghttpx_OBJECTS) --am__DEPENDENCIES_2 = $(top_builddir)/lib/libnghttp2.la \ -+am__DEPENDENCIES_2 = -lnghttp2 \ - $(top_builddir)/third-party/liburl-parser.la \ - $(top_builddir)/third-party/libllhttp.la - @ENABLE_APP_TRUE@nghttpx_DEPENDENCIES = libnghttpx.a \ -@@ -1150,7 +1150,7 @@ AM_CPPFLAGS = \ - @DEFS@ - - AM_LDFLAGS = @LIBTOOL_LDFLAGS@ --LDADD = $(top_builddir)/lib/libnghttp2.la \ -+LDADD = -lnghttp2 \ - $(top_builddir)/third-party/liburl-parser.la \ - $(top_builddir)/third-party/libllhttp.la \ - @JEMALLOC_LIBS@ \ -@@ -1330,7 +1330,7 @@ LDADD = $(top_builddir)/lib/libnghttp2.la \ - @ENABLE_ASIO_LIB_TRUE@libnghttp2_asio_la_CPPFLAGS = ${AM_CPPFLAGS} ${BOOST_CPPFLAGS} - @ENABLE_ASIO_LIB_TRUE@libnghttp2_asio_la_LDFLAGS = $(AM_LDFLAGS) -no-undefined -version-info 1:0:0 - @ENABLE_ASIO_LIB_TRUE@libnghttp2_asio_la_LIBADD = \ --@ENABLE_ASIO_LIB_TRUE@ $(top_builddir)/lib/libnghttp2.la \ -+@ENABLE_ASIO_LIB_TRUE@ -lnghttp2 \ - @ENABLE_ASIO_LIB_TRUE@ $(top_builddir)/third-party/liburl-parser.la \ - @ENABLE_ASIO_LIB_TRUE@ $(top_builddir)/third-party/libllhttp.la \ - @ENABLE_ASIO_LIB_TRUE@ @OPENSSL_LIBS@ \ diff --git a/www/nghttp2/files/patch-tests-Makefile.in b/www/nghttp2/files/patch-tests-Makefile.in deleted file mode 100644 index 1fe8da5ede92..000000000000 --- a/www/nghttp2/files/patch-tests-Makefile.in +++ /dev/null @@ -1,31 +0,0 @@ -% sed -i .orig 's|$[({]top_builddir[})]/lib/libnghttp2.la|-lnghttp2|' */Makefile.in - ---- tests/Makefile.in.orig 2022-11-13 06:53:29 UTC -+++ tests/Makefile.in -@@ -141,7 +141,7 @@ failmalloc_OBJECTS = $(am_failmalloc_OBJECTS) - am__DEPENDENCIES_1 = - @ENABLE_STATIC_FALSE@@HAVE_CUNIT_TRUE@am__DEPENDENCIES_2 = ${top_builddir}/lib/.libs/*.o \ - @ENABLE_STATIC_FALSE@@HAVE_CUNIT_TRUE@ $(am__DEPENDENCIES_1) --@ENABLE_STATIC_TRUE@@HAVE_CUNIT_TRUE@am__DEPENDENCIES_2 = ${top_builddir}/lib/libnghttp2.la \ -+@ENABLE_STATIC_TRUE@@HAVE_CUNIT_TRUE@am__DEPENDENCIES_2 = -lnghttp2 \ - @ENABLE_STATIC_TRUE@@HAVE_CUNIT_TRUE@ $(am__DEPENDENCIES_1) - @ENABLE_FAILMALLOC_TRUE@@HAVE_CUNIT_TRUE@failmalloc_DEPENDENCIES = $(am__DEPENDENCIES_2) - AM_V_lt = $(am__v_lt_@AM_V@) -@@ -181,7 +181,7 @@ am__objects_1 = - main_OBJECTS = $(am_main_OBJECTS) - @ENABLE_STATIC_FALSE@@HAVE_CUNIT_TRUE@main_DEPENDENCIES = ${top_builddir}/lib/.libs/*.o \ - @ENABLE_STATIC_FALSE@@HAVE_CUNIT_TRUE@ $(am__DEPENDENCIES_1) --@ENABLE_STATIC_TRUE@@HAVE_CUNIT_TRUE@main_DEPENDENCIES = ${top_builddir}/lib/libnghttp2.la \ -+@ENABLE_STATIC_TRUE@@HAVE_CUNIT_TRUE@main_DEPENDENCIES = -lnghttp2 \ - @ENABLE_STATIC_TRUE@@HAVE_CUNIT_TRUE@ $(am__DEPENDENCIES_1) - main_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ - $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ -@@ -743,7 +743,7 @@ EXTRA_DIST = CMakeLists.txt - # files directly because the tests use symbols not included in public API. - @ENABLE_STATIC_FALSE@@HAVE_CUNIT_TRUE@main_LDADD = ${top_builddir}/lib/.libs/*.o \ - @ENABLE_STATIC_FALSE@@HAVE_CUNIT_TRUE@ $(am__append_2) --@ENABLE_STATIC_TRUE@@HAVE_CUNIT_TRUE@main_LDADD = ${top_builddir}/lib/libnghttp2.la \ -+@ENABLE_STATIC_TRUE@@HAVE_CUNIT_TRUE@main_LDADD = -lnghttp2 \ - @ENABLE_STATIC_TRUE@@HAVE_CUNIT_TRUE@ $(am__append_2) - @HAVE_CUNIT_TRUE@main_LDFLAGS = -static - @ENABLE_FAILMALLOC_TRUE@@HAVE_CUNIT_TRUE@failmalloc_SOURCES = failmalloc.c failmalloc_test.c failmalloc_test.h \ diff --git a/www/nghttp2/pkg-plist b/www/nghttp2/pkg-plist index 16fccb59dac4..54550692d97e 100644 --- a/www/nghttp2/pkg-plist +++ b/www/nghttp2/pkg-plist @@ -5,15 +5,6 @@ %%APP%%bin/nghttpd %%APP%%bin/nghttpx @sample etc/nghttpx/nghttpx.conf.sample -man/man1/h2load.1.gz -man/man1/nghttp.1.gz -man/man1/nghttpd.1.gz -man/man1/nghttpx.1.gz -%%PORTDOCS%%%%DOCSDIR%%/README.rst -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/asio-cl.cc -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/asio-cl2.cc -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/asio-sv.cc -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/asio-sv2.cc %%PORTEXAMPLES%%%%EXAMPLESDIR%%/client %%PORTEXAMPLES%%%%EXAMPLESDIR%%/client.c %%PORTEXAMPLES%%%%EXAMPLESDIR%%/deflate @@ -22,4 +13,8 @@ man/man1/nghttpx.1.gz %%PORTEXAMPLES%%%%EXAMPLESDIR%%/libevent-client.c %%PORTEXAMPLES%%%%EXAMPLESDIR%%/libevent-server %%PORTEXAMPLES%%%%EXAMPLESDIR%%/libevent-server.c +share/man/man1/h2load.1.gz +share/man/man1/nghttp.1.gz +share/man/man1/nghttpd.1.gz +share/man/man1/nghttpx.1.gz %%DATADIR%%/fetch-ocsp-response