Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 Feb 2023 22:17:44 +0800
From:      Po-Chuan Hsieh <sunpoet@freebsd.org>
To:        "Tobias C. Berner" <tcberner@gmail.com>
Cc:        Daniel Engberg <diizzy@freebsd.org>, ports-committers@freebsd.org,  dev-commits-ports-all@freebsd.org, dev-commits-ports-main@freebsd.org
Subject:   Re: git: 6ab07aa32fc9 - main - www/nghttp2: Change back to make
Message-ID:  <CAMHz58StLaC6=2R5JRqMw91w1inuraAC2OZHUsmgTSHYhz=c6w@mail.gmail.com>
In-Reply-To: <CAOshKtftn4X%2B4AQBSFtY4vZh%2BMaNexnxtn6wnpCaqvxv3_d8jA@mail.gmail.com>
References:  <202301301306.30UD6U79053773@gitrepo.freebsd.org> <4630ebaf16b69312bfdb0f534173edc9@FreeBSD.org> <CAOshKtftn4X%2B4AQBSFtY4vZh%2BMaNexnxtn6wnpCaqvxv3_d8jA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
--00000000000053152405f3f49643
Content-Type: text/plain; charset="UTF-8"

Hello,

I'm following the official build process [1].

[1] https://github.com/nghttp2/nghttp2/blob/master/README.rst

Regards,
sunpoet

On Wed, Feb 1, 2023 at 2:28 AM Tobias C. Berner <tcberner@gmail.com> wrote:

> Moin moin
>
> What's the reasoning behind this change?
>
>
> mfg Tobias
>
> On Mon, 30 Jan 2023 at 16:23, Daniel Engberg <diizzy@freebsd.org> wrote:
> >
> > On 2023-01-30 14:06, Po-Chuan Hsieh wrote:
> > > The branch main has been updated by sunpoet:
> > >
> > > URL:
> > >
> https://cgit.FreeBSD.org/ports/commit/?id=6ab07aa32fc9b73564a66f81feef636225bdd941
> > >
> > > commit 6ab07aa32fc9b73564a66f81feef636225bdd941
> > > Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
> > > AuthorDate: 2023-01-30 12:28:54 +0000
> > > Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
> > > CommitDate: 2023-01-30 12:59:12 +0000
> > >
> > >     www/nghttp2: Change back to make
> > >
> > >     - Bump PORTREVISION for package change
> > > ---
> > >  www/nghttp2/Makefile                               | 46 +++++++-----
> > >  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                              |  4 ++
> > >  8 files changed, 231 insertions(+), 28 deletions(-)
> > >
> > > diff --git a/www/nghttp2/Makefile b/www/nghttp2/Makefile
> > > index 8ef93d6c83f7..e6a38583cd3d 100644
> > > --- a/www/nghttp2/Makefile
> > > +++ b/www/nghttp2/Makefile
> > > @@ -1,7 +1,7 @@
> > >  PORTNAME=    nghttp2
> > > -DISTVERSION= 1.51.0
> > > +PORTVERSION= 1.51.0
> > >  CATEGORIES=  www net
> > > -MASTER_SITES=
> https://github.com/${PORTNAME}/${PORTNAME}/releases/download/v${DISTVERSION}/
> > > +MASTER_SITES=
> https://github.com/nghttp2/nghttp2/releases/download/v${PORTVERSION}/
> > >
> > >  MAINTAINER=  sunpoet@FreeBSD.org
> > >  COMMENT=     HTTP/2.0 C Library
> > > @@ -10,32 +10,44 @@ WWW=              https://nghttp2.org/
> > >  LICENSE=     MIT
> > >  LICENSE_FILE=        ${WRKSRC}/COPYING
> > >
> > > -BUILD_DEPENDS=       libnghttp2>=${DISTVERSION}:www/libnghttp2
> > > +BUILD_DEPENDS=       libnghttp2>=${PORTVERSION}:www/libnghttp2
> > >  LIB_DEPENDS= libnghttp2.so:www/libnghttp2
> > >
> > > -USES=                cmake compiler:c++14-lang cpe localbase:ldflags
> pathfix \
> > > -             pkgconfig python:env shebangfix ssl tar:xz
> > > -USE_RC_SUBR= nghttpx
> > > -SHEBANG_FILES=       script/fetch-ocsp-response
> > > +USES=                compiler:c++14-lang cpe gmake libtool localbase
> pathfix
> > > pkgconfig ssl tar:xz
> > >
> > > -CMAKE_OFF=   ENABLE_PYTHON_BINDINGS ENABLE_HTTP3
> > > -CMAKE_ARGS=  -DCMAKE_INSTALL_MANDIR:PATH=man
> > > +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
> > > +USE_RC_SUBR= nghttpx
> > >
> > >  OPTIONS_DEFINE=      APP DOCS 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_LIB_DEPENDS=     libcares.so:dns/c-ares \
> > >                       libev.so:devel/libev
> > > -APP_USES=            gnome
> > >  APP_USE=             GNOME=libxml2
> > > -APP_CMAKE_BOOL=              ENABLE_APP WITH_LIBXML2
> > > -HPACK_LIB_DEPENDS=   libjansson.so:devel/jansson
> > > -HPACK_CMAKE_BOOL=    ENABLE_HPACK_TOOLS
> > > +APP_USES=            gnome
> > > +EXAMPLES_CONFIGURE_ENABLE=   examples
> > > +EXAMPLES_BUILD_DEPENDS=      libevent>=2.0.8:devel/libevent
> > >  EXAMPLES_LIB_DEPENDS=        libevent_openssl.so:devel/libevent
> > > -EXAMPLES_CMAKE_BOOL= ENABLE_EXAMPLES
> > > +HPACK_BUILD_DEPENDS= jansson>=2.5:devel/jansson
> > > +HPACK_CONFIGURE_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/
> > > @@ -43,7 +55,7 @@ post-install:
> > >
> > >  post-install-EXAMPLES-on:
> > >       ${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/
> > > -     cd ${WRKSRC}/examples/ && ${INSTALL_DATA} client.c deflate.c
> > > libevent-client.c libevent-server.c ${STAGEDIR}${EXAMPLESDIR}/
> > > -     cd ${INSTALL_WRKSRC}/examples/ && ${INSTALL_PROGRAM} client
> deflate
> > > libevent-client libevent-server ${STAGEDIR}${EXAMPLESDIR}/
> > > +     ${INSTALL_DATA} ${WRKSRC}/examples/*.c*
> ${STAGEDIR}${EXAMPLESDIR}/
> > > +     cd ${WRKSRC}/examples/ && ${INSTALL_PROGRAM} client deflate
> > > libevent-client libevent-server ${STAGEDIR}${EXAMPLESDIR}/
> > >
> > >  .include <bsd.port.mk>
> > > diff --git a/www/nghttp2/files/patch-CMakeLists.txt
> > > b/www/nghttp2/files/patch-CMakeLists.txt
> > > deleted file mode 100644
> > > index e8cf364abae5..000000000000
> > > --- a/www/nghttp2/files/patch-CMakeLists.txt
> > > +++ /dev/null
> > > @@ -1,11 +0,0 @@
> > > ---- CMakeLists.txt.orig      2022-12-24 08:52:48 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
> > > new file mode 100644
> > > index 000000000000..4bc7bac0f224
> > > --- /dev/null
> > > +++ b/www/nghttp2/files/patch-Makefile.in
> > > @@ -0,0 +1,11 @@
> > > +--- 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
> > > new file mode 100644
> > > index 000000000000..5bfb48b8f134
> > > --- /dev/null
> > > +++ b/www/nghttp2/files/patch-examples-Makefile.in
> > > @@ -0,0 +1,66 @@
> > > +% 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
> > > new file mode 100644
> > > index 000000000000..e68d0f63ef0e
> > > --- /dev/null
> > > +++ b/www/nghttp2/files/patch-script-fetch-ocsp-response
> > > @@ -0,0 +1,7 @@
> > > +--- 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
> > > new file mode 100644
> > > index 000000000000..2af9e94c05f9
> > > --- /dev/null
> > > +++ b/www/nghttp2/files/patch-src-Makefile.in
> > > @@ -0,0 +1,83 @@
> > > +% 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
> > > new file mode 100644
> > > index 000000000000..1fe8da5ede92
> > > --- /dev/null
> > > +++ b/www/nghttp2/files/patch-tests-Makefile.in
> > > @@ -0,0 +1,31 @@
> > > +% 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 be8f7de0e846..16fccb59dac4 100644
> > > --- a/www/nghttp2/pkg-plist
> > > +++ b/www/nghttp2/pkg-plist
> > > @@ -10,6 +10,10 @@ 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
> >
> > I'm missing the benefit with this change? More patches, hacks and it
> > also takes longer to build
> >
> > Best regards,
> > Daniel
> >
>

--00000000000053152405f3f49643
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>Hello,</div><div><br></div><div>I&#39;m following the=
 official=C2=A0build process [1].</div><div><br></div><div>[1]=C2=A0<a href=
=3D"https://github.com/nghttp2/nghttp2/blob/master/README.rst">https://gith=
ub.com/nghttp2/nghttp2/blob/master/README.rst</a></div><div><br></div><div>=
Regards,</div><div>sunpoet</div><br><div class=3D"gmail_quote"><div dir=3D"=
ltr" class=3D"gmail_attr">On Wed, Feb 1, 2023 at 2:28 AM Tobias C. Berner &=
lt;<a href=3D"mailto:tcberner@gmail.com">tcberner@gmail.com</a>&gt; wrote:<=
br></div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8e=
x;border-left:1px solid rgb(204,204,204);padding-left:1ex">Moin moin<br>
<br>
What&#39;s the reasoning behind this change?<br>
<br>
<br>
mfg Tobias<br>
<br>
On Mon, 30 Jan 2023 at 16:23, Daniel Engberg &lt;<a href=3D"mailto:diizzy@f=
reebsd.org" target=3D"_blank">diizzy@freebsd.org</a>&gt; wrote:<br>
&gt;<br>
&gt; On 2023-01-30 14:06, Po-Chuan Hsieh wrote:<br>
&gt; &gt; The branch main has been updated by sunpoet:<br>
&gt; &gt;<br>
&gt; &gt; URL:<br>
&gt; &gt; <a href=3D"https://cgit.FreeBSD.org/ports/commit/?id=3D6ab07aa32f=
c9b73564a66f81feef636225bdd941" rel=3D"noreferrer" target=3D"_blank">https:=
//cgit.FreeBSD.org/ports/commit/?id=3D6ab07aa32fc9b73564a66f81feef636225bdd=
941</a><br>
&gt; &gt;<br>
&gt; &gt; commit 6ab07aa32fc9b73564a66f81feef636225bdd941<br>
&gt; &gt; Author:=C2=A0 =C2=A0 =C2=A0Po-Chuan Hsieh &lt;sunpoet@FreeBSD.org=
&gt;<br>
&gt; &gt; AuthorDate: 2023-01-30 12:28:54 +0000<br>
&gt; &gt; Commit:=C2=A0 =C2=A0 =C2=A0Po-Chuan Hsieh &lt;sunpoet@FreeBSD.org=
&gt;<br>
&gt; &gt; CommitDate: 2023-01-30 12:59:12 +0000<br>
&gt; &gt;<br>
&gt; &gt;=C2=A0 =C2=A0 =C2=A0www/nghttp2: Change back to make<br>
&gt; &gt;<br>
&gt; &gt;=C2=A0 =C2=A0 =C2=A0- Bump PORTREVISION for package change<br>
&gt; &gt; ---<br>
&gt; &gt;=C2=A0 www/nghttp2/Makefile=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0| =
46 +++++++-----<br>
&gt; &gt;=C2=A0 www/nghttp2/files/patch-CMakeLists.txt=C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0| 11 ---<br>
&gt; &gt;=C2=A0 www/nghttp2/files/patch-Makefile.in=C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 | 11 +++<br>
&gt; &gt;=C2=A0 www/nghttp2/files/patch-examples-Makefile.in=C2=A0 =C2=A0 =
=C2=A0 =C2=A0| 66<br>
&gt; &gt; +++++++++++++++++<br>
&gt; &gt;=C2=A0 www/nghttp2/files/patch-script-fetch-ocsp-response |=C2=A0 =
7 ++<br>
&gt; &gt;=C2=A0 www/nghttp2/files/patch-src-Makefile.in=C2=A0 =C2=A0 =C2=A0=
 =C2=A0 =C2=A0 =C2=A0 | 83<br>
&gt; &gt; ++++++++++++++++++++++<br>
&gt; &gt;=C2=A0 www/nghttp2/files/patch-tests-Makefile.in=C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 | 31 ++++++++<br>
&gt; &gt;=C2=A0 www/nghttp2/pkg-plist=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 |=C2=A0 =
4 ++<br>
&gt; &gt;=C2=A0 8 files changed, 231 insertions(+), 28 deletions(-)<br>
&gt; &gt;<br>
&gt; &gt; diff --git a/www/nghttp2/Makefile b/www/nghttp2/Makefile<br>
&gt; &gt; index 8ef93d6c83f7..e6a38583cd3d 100644<br>
&gt; &gt; --- a/www/nghttp2/Makefile<br>
&gt; &gt; +++ b/www/nghttp2/Makefile<br>
&gt; &gt; @@ -1,7 +1,7 @@<br>
&gt; &gt;=C2=A0 PORTNAME=3D=C2=A0 =C2=A0 nghttp2<br>
&gt; &gt; -DISTVERSION=3D 1.51.0<br>
&gt; &gt; +PORTVERSION=3D 1.51.0<br>
&gt; &gt;=C2=A0 CATEGORIES=3D=C2=A0 www net<br>
&gt; &gt; -MASTER_SITES=3D=C2=A0 =C2=A0 =C2=A0 =C2=A0 <a href=3D"https://gi=
thub.com/$%7BPORTNAME%7D/$%7BPORTNAME%7D/releases/download/v$%7BDISTVERSION=
%7D/" rel=3D"noreferrer" target=3D"_blank">https://github.com/${PORTNAME}/$=
{PORTNAME}/releases/download/v${DISTVERSION}/</a><br>
&gt; &gt; +MASTER_SITES=3D=C2=A0 =C2=A0 =C2=A0 =C2=A0 <a href=3D"https://gi=
thub.com/nghttp2/nghttp2/releases/download/v$%7BPORTVERSION%7D/" rel=3D"nor=
eferrer" target=3D"_blank">https://github.com/nghttp2/nghttp2/releases/down=
load/v${PORTVERSION}/</a><br>
&gt; &gt;<br>
&gt; &gt;=C2=A0 MAINTAINER=3D=C2=A0 sunpoet@FreeBSD.org<br>
&gt; &gt;=C2=A0 COMMENT=3D=C2=A0 =C2=A0 =C2=A0HTTP/2.0 C Library<br>
&gt; &gt; @@ -10,32 +10,44 @@ WWW=3D=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 <a href=3D"https://nghttp2.org/" rel=3D"noreferrer" target=3D"_b=
lank">https://nghttp2.org/</a><br>;
&gt; &gt;=C2=A0 LICENSE=3D=C2=A0 =C2=A0 =C2=A0MIT<br>
&gt; &gt;=C2=A0 LICENSE_FILE=3D=C2=A0 =C2=A0 =C2=A0 =C2=A0 ${WRKSRC}/COPYIN=
G<br>
&gt; &gt;<br>
&gt; &gt; -BUILD_DEPENDS=3D=C2=A0 =C2=A0 =C2=A0 =C2=A0libnghttp2&gt;=3D${DI=
STVERSION}:www/libnghttp2<br>
&gt; &gt; +BUILD_DEPENDS=3D=C2=A0 =C2=A0 =C2=A0 =C2=A0libnghttp2&gt;=3D${PO=
RTVERSION}:www/libnghttp2<br>
&gt; &gt;=C2=A0 LIB_DEPENDS=3D libnghttp2.so:www/libnghttp2<br>
&gt; &gt;<br>
&gt; &gt; -USES=3D=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 c=
make compiler:c++14-lang cpe localbase:ldflags pathfix \<br>
&gt; &gt; -=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0pkgconfig python=
:env shebangfix ssl tar:xz<br>
&gt; &gt; -USE_RC_SUBR=3D nghttpx<br>
&gt; &gt; -SHEBANG_FILES=3D=C2=A0 =C2=A0 =C2=A0 =C2=A0script/fetch-ocsp-res=
ponse<br>
&gt; &gt; +USES=3D=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 c=
ompiler:c++14-lang cpe gmake libtool localbase pathfix<br>
&gt; &gt; pkgconfig ssl tar:xz<br>
&gt; &gt;<br>
&gt; &gt; -CMAKE_OFF=3D=C2=A0 =C2=A0ENABLE_PYTHON_BINDINGS ENABLE_HTTP3<br>
&gt; &gt; -CMAKE_ARGS=3D=C2=A0 -DCMAKE_INSTALL_MANDIR:PATH=3Dman<br>
&gt; &gt; +CONFIGURE_ARGS=3D=C2=A0 =C2=A0 =C2=A0 --disable-python-bindings =
--with-jemalloc<br>
&gt; &gt; +CONFIGURE_ENV=3D=C2=A0 =C2=A0 =C2=A0 =C2=A0OPENSSL_CFLAGS=3D&quo=
t;-I${OPENSSLINC}&quot; \<br>
&gt; &gt; +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0OPENSSL_LIBS=3D&=
quot;-L${OPENSSLLIB} -lcrypto -lssl&quot;<br>
&gt; &gt; +GNU_CONFIGURE=3D=C2=A0 =C2=A0 =C2=A0 =C2=A0yes<br>
&gt; &gt; +INSTALL_TARGET=3D=C2=A0 =C2=A0 =C2=A0 install-strip<br>
&gt; &gt; +USE_CXXSTD=3D=C2=A0 c++14<br>
&gt; &gt; +USE_RC_SUBR=3D nghttpx<br>
&gt; &gt;<br>
&gt; &gt;=C2=A0 OPTIONS_DEFINE=3D=C2=A0 =C2=A0 =C2=A0 APP DOCS EXAMPLES HPA=
CK<br>
&gt; &gt;=C2=A0 OPTIONS_DEFAULT=3DAPP HPACK<br>
&gt; &gt;=C2=A0 OPTIONS_SUB=3D yes<br>
&gt; &gt; -<br>
&gt; &gt;=C2=A0 APP_DESC=3D=C2=A0 =C2=A0 Build h2load, nghttp, nghttpd and =
nghttpx<br>
&gt; &gt;<br>
&gt; &gt; +APP_BUILD_DEPENDS=3D=C2=A0 =C2=A0c-ares&gt;=3D1.7.5:dns/c-ares \=
<br>
&gt; &gt; +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0libev&gt;=3D4.11:devel/libev<br>
&gt; &gt; +APP_CONFIGURE_ENABLE=3D=C2=A0 =C2=A0 =C2=A0 =C2=A0 app<br>
&gt; &gt; +APP_CONFIGURE_OFF=3D=C2=A0 =C2=A0--without-libxml2<br>
&gt; &gt;=C2=A0 APP_LIB_DEPENDS=3D=C2=A0 =C2=A0 =C2=A0libcares.so:dns/c-are=
s \<br>
&gt; &gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0libev.so:devel/libev<br>
&gt; &gt; -APP_USES=3D=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 gnome<br>
&gt; &gt;=C2=A0 APP_USE=3D=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0G=
NOME=3Dlibxml2<br>
&gt; &gt; -APP_CMAKE_BOOL=3D=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 ENABLE_APP WITH_LIBXML2<br>
&gt; &gt; -HPACK_LIB_DEPENDS=3D=C2=A0 =C2=A0libjansson.so:devel/jansson<br>
&gt; &gt; -HPACK_CMAKE_BOOL=3D=C2=A0 =C2=A0 ENABLE_HPACK_TOOLS<br>
&gt; &gt; +APP_USES=3D=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 gnome<br>
&gt; &gt; +EXAMPLES_CONFIGURE_ENABLE=3D=C2=A0 =C2=A0examples<br>
&gt; &gt; +EXAMPLES_BUILD_DEPENDS=3D=C2=A0 =C2=A0 =C2=A0 libevent&gt;=3D2.0=
.8:devel/libevent<br>
&gt; &gt;=C2=A0 EXAMPLES_LIB_DEPENDS=3D=C2=A0 =C2=A0 =C2=A0 =C2=A0 libevent=
_openssl.so:devel/libevent<br>
&gt; &gt; -EXAMPLES_CMAKE_BOOL=3D ENABLE_EXAMPLES<br>
&gt; &gt; +HPACK_BUILD_DEPENDS=3D jansson&gt;=3D2.5:devel/jansson<br>
&gt; &gt; +HPACK_CONFIGURE_ENABLE=3D=C2=A0 =C2=A0 =C2=A0 hpack-tools<br>
&gt; &gt; +HPACK_LIB_DEPENDS=3D=C2=A0 =C2=A0libjansson.so:devel/jansson<br>
&gt; &gt; +<br>
&gt; &gt; +# lib/libnghttp2.* are not available until configure phase<br>
&gt; &gt; +post-configure:<br>
&gt; &gt; +=C2=A0 =C2=A0 =C2=A0@${MKDIR} ${WRKSRC}/lib/.libs/<br>
&gt; &gt; +=C2=A0 =C2=A0 =C2=A0@${CP} ${LOCALBASE}/lib/libnghttp2.so* ${WRK=
SRC}/lib/.libs/<br>
&gt; &gt; +=C2=A0 =C2=A0 =C2=A0@cd ${WRKSRC}/lib/.libs/ &amp;&amp; ${AR} x =
${LOCALBASE}/lib/libnghttp2.a<br>
&gt; &gt;<br>
&gt; &gt;=C2=A0 post-install:<br>
&gt; &gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0${MKDIR} ${STAGEDIR}${PREFIX}/etc/nghtt=
px/<br>
&gt; &gt; @@ -43,7 +55,7 @@ post-install:<br>
&gt; &gt;<br>
&gt; &gt;=C2=A0 post-install-EXAMPLES-on:<br>
&gt; &gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/<br>
&gt; &gt; -=C2=A0 =C2=A0 =C2=A0cd ${WRKSRC}/examples/ &amp;&amp; ${INSTALL_=
DATA} client.c deflate.c<br>
&gt; &gt; libevent-client.c libevent-server.c ${STAGEDIR}${EXAMPLESDIR}/<br=
>
&gt; &gt; -=C2=A0 =C2=A0 =C2=A0cd ${INSTALL_WRKSRC}/examples/ &amp;&amp; ${=
INSTALL_PROGRAM} client deflate<br>
&gt; &gt; libevent-client libevent-server ${STAGEDIR}${EXAMPLESDIR}/<br>
&gt; &gt; +=C2=A0 =C2=A0 =C2=A0${INSTALL_DATA} ${WRKSRC}/examples/*.c* ${ST=
AGEDIR}${EXAMPLESDIR}/<br>
&gt; &gt; +=C2=A0 =C2=A0 =C2=A0cd ${WRKSRC}/examples/ &amp;&amp; ${INSTALL_=
PROGRAM} client deflate<br>
&gt; &gt; libevent-client libevent-server ${STAGEDIR}${EXAMPLESDIR}/<br>
&gt; &gt;<br>
&gt; &gt;=C2=A0 .include &lt;<a href=3D"http://bsd.port.mk" rel=3D"noreferr=
er" target=3D"_blank">bsd.port.mk</a>&gt;<br>
&gt; &gt; diff --git a/www/nghttp2/files/patch-CMakeLists.txt<br>
&gt; &gt; b/www/nghttp2/files/patch-CMakeLists.txt<br>
&gt; &gt; deleted file mode 100644<br>
&gt; &gt; index e8cf364abae5..000000000000<br>
&gt; &gt; --- a/www/nghttp2/files/patch-CMakeLists.txt<br>
&gt; &gt; +++ /dev/null<br>
&gt; &gt; @@ -1,11 +0,0 @@<br>
&gt; &gt; ---- CMakeLists.txt.orig=C2=A0 =C2=A0 =C2=A0 2022-12-24 08:52:48 =
UTC<br>
&gt; &gt; -+++ CMakeLists.txt<br>
&gt; &gt; -@@ -505,7 +505,7 @@ set(PKGLIBDIR<br>
&gt; &gt; &quot;${CMAKE_INSTALL_FULL_LIBDIR}/${CMAKE_PR<br>
&gt; &gt; -<br>
&gt; &gt; - install(FILES README.rst DESTINATION &quot;${CMAKE_INSTALL_DOCD=
IR}&quot;)<br>
&gt; &gt; -<br>
&gt; &gt; --add_subdirectory(lib)<br>
&gt; &gt; -+#add_subdirectory(lib)<br>
&gt; &gt; - #add_subdirectory(lib/includes)<br>
&gt; &gt; - add_subdirectory(third-party)<br>
&gt; &gt; - add_subdirectory(src)<br>
&gt; &gt; diff --git a/www/nghttp2/files/patch-Makefile.in<br>
&gt; &gt; b/www/nghttp2/files/patch-Makefile.in<br>
&gt; &gt; new file mode 100644<br>
&gt; &gt; index 000000000000..4bc7bac0f224<br>
&gt; &gt; --- /dev/null<br>
&gt; &gt; +++ b/www/nghttp2/files/patch-Makefile.in<br>
&gt; &gt; @@ -0,0 +1,11 @@<br>
&gt; &gt; +--- Makefile.in.orig 2022-11-13 06:53:28 UTC<br>
&gt; &gt; ++++ Makefile.in<br>
&gt; &gt; +@@ -465,7 +465,7 @@ top_srcdir =3D @top_srcdir@<br>
&gt; &gt; + # LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN =
AN<br>
&gt; &gt; ACTION<br>
&gt; &gt; + # OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN<br=
>
&gt; &gt; CONNECTION<br>
&gt; &gt; + # WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWAR=
E.<br>
&gt; &gt; +-SUBDIRS =3D lib third-party src bpf examples python tests<br>
&gt; &gt; integration-tests \<br>
&gt; &gt; ++SUBDIRS =3D third-party src bpf examples python tests integrati=
on-tests<br>
&gt; &gt; \<br>
&gt; &gt; +=C2=A0 =C2=A0 =C2=A0doc contrib script<br>
&gt; &gt; +<br>
&gt; &gt; +<br>
&gt; &gt; diff --git a/www/nghttp2/files/patch-examples-Makefile.in<br>
&gt; &gt; b/www/nghttp2/files/patch-examples-Makefile.in<br>
&gt; &gt; new file mode 100644<br>
&gt; &gt; index 000000000000..5bfb48b8f134<br>
&gt; &gt; --- /dev/null<br>
&gt; &gt; +++ b/www/nghttp2/files/patch-examples-Makefile.in<br>
&gt; &gt; @@ -0,0 +1,66 @@<br>
&gt; &gt; +% sed -i .orig &#39;s|$[({]top_builddir[})]/lib/<a href=3D"http:=
//libnghttp2.la" rel=3D"noreferrer" target=3D"_blank">libnghttp2.la</a>|-ln=
ghttp2|&#39;<br>
&gt; &gt; */Makefile.in<br>
&gt; &gt; +<br>
&gt; &gt; +--- examples/Makefile.in.orig=C2=A0 =C2=A0 =C2=A0 =C2=A0 2022-11=
-13 06:53:28 UTC<br>
&gt; &gt; ++++ examples/Makefile.in<br>
&gt; &gt; +@@ -146,7 +146,7 @@ am__asio_cl_SOURCES_DIST =3D asio-cl.cc<br>
&gt; &gt; + @ENABLE_ASIO_LIB_TRUE@@ENABLE_EXAMPLES_TRUE@am_asio_cl_OBJECTS =
=3D<br>
&gt; &gt; asio_cl-asio-cl.$(OBJEXT)<br>
&gt; &gt; + asio_cl_OBJECTS =3D $(am_asio_cl_OBJECTS)<br>
&gt; &gt; + am__DEPENDENCIES_1 =3D<br>
&gt; &gt; +-@ENABLE_ASIO_LIB_TRUE@@ENABLE_EXAMPLES_TRUE@am__DEPENDENCIES_2 =
=3D<br>
&gt; &gt; $(top_builddir)/lib/<a href=3D"http://libnghttp2.la" rel=3D"noref=
errer" target=3D"_blank">libnghttp2.la</a> \<br>
&gt; &gt; ++@ENABLE_ASIO_LIB_TRUE@@ENABLE_EXAMPLES_TRUE@am__DEPENDENCIES_2 =
=3D<br>
&gt; &gt; -lnghttp2 \<br>
&gt; &gt; +<br>
&gt; &gt; @ENABLE_ASIO_LIB_TRUE@@ENABLE_EXAMPLES_TRUE@=C2=A0 $(top_builddir=
)/src/<a href=3D"http://libnghttp2_asio.la" rel=3D"noreferrer" target=3D"_b=
lank">libnghttp2_asio.la</a><br>
&gt; &gt; \<br>
&gt; &gt; +<br>
&gt; &gt; @ENABLE_ASIO_LIB_TRUE@@ENABLE_EXAMPLES_TRUE@=C2=A0 $(top_builddir=
)/third-party/<a href=3D"http://liburl-parser.la" rel=3D"noreferrer" target=
=3D"_blank">liburl-parser.la</a><br>
&gt; &gt; \<br>
&gt; &gt; + @ENABLE_ASIO_LIB_TRUE@@ENABLE_EXAMPLES_TRUE@=C2=A0 =C2=A0 =C2=
=A0 =C2=A0 $(am__DEPENDENCIES_1) \<br>
&gt; &gt; +@@ -175,14 +175,14 @@ am__client_SOURCES_DIST =3D client.c<br>
&gt; &gt; + client_OBJECTS =3D $(am_client_OBJECTS)<br>
&gt; &gt; + client_LDADD =3D $(LDADD)<br>
&gt; &gt; + @ENABLE_EXAMPLES_TRUE@client_DEPENDENCIES =3D=C2=A0 \<br>
&gt; &gt; +-@ENABLE_EXAMPLES_TRUE@=C2=A0 =C2=A0 =C2=A0 $(top_builddir)/lib/=
<a href=3D"http://libnghttp2.la" rel=3D"noreferrer" target=3D"_blank">libng=
http2.la</a> \<br>
&gt; &gt; ++@ENABLE_EXAMPLES_TRUE@=C2=A0 =C2=A0 =C2=A0 -lnghttp2 \<br>
&gt; &gt; + @ENABLE_EXAMPLES_TRUE@=C2=A0 =C2=A0 =C2=A0 $(top_builddir)/thir=
d-party/<a href=3D"http://liburl-parser.la" rel=3D"noreferrer" target=3D"_b=
lank">liburl-parser.la</a><br>
&gt; &gt; + am__deflate_SOURCES_DIST =3D deflate.c<br>
&gt; &gt; + @ENABLE_EXAMPLES_TRUE@am_deflate_OBJECTS =3D deflate.$(OBJEXT)<=
br>
&gt; &gt; + deflate_OBJECTS =3D $(am_deflate_OBJECTS)<br>
&gt; &gt; + deflate_LDADD =3D $(LDADD)<br>
&gt; &gt; + @ENABLE_EXAMPLES_TRUE@deflate_DEPENDENCIES =3D=C2=A0 \<br>
&gt; &gt; +-@ENABLE_EXAMPLES_TRUE@=C2=A0 =C2=A0 =C2=A0 $(top_builddir)/lib/=
<a href=3D"http://libnghttp2.la" rel=3D"noreferrer" target=3D"_blank">libng=
http2.la</a> \<br>
&gt; &gt; ++@ENABLE_EXAMPLES_TRUE@=C2=A0 =C2=A0 =C2=A0 -lnghttp2 \<br>
&gt; &gt; + @ENABLE_EXAMPLES_TRUE@=C2=A0 =C2=A0 =C2=A0 $(top_builddir)/thir=
d-party/<a href=3D"http://liburl-parser.la" rel=3D"noreferrer" target=3D"_b=
lank">liburl-parser.la</a><br>
&gt; &gt; + am__libevent_client_SOURCES_DIST =3D libevent-client.c<br>
&gt; &gt; + @ENABLE_EXAMPLES_TRUE@am_libevent_client_OBJECTS =3D=C2=A0 \<br=
>
&gt; &gt; +@@ -190,7 +190,7 @@ am__libevent_client_SOURCES_DIST =3D<br>
&gt; &gt; libevent-client.c<br>
&gt; &gt; + libevent_client_OBJECTS =3D $(am_libevent_client_OBJECTS)<br>
&gt; &gt; + libevent_client_LDADD =3D $(LDADD)<br>
&gt; &gt; + @ENABLE_EXAMPLES_TRUE@libevent_client_DEPENDENCIES =3D=C2=A0 \<=
br>
&gt; &gt; +-@ENABLE_EXAMPLES_TRUE@=C2=A0 =C2=A0 =C2=A0 $(top_builddir)/lib/=
<a href=3D"http://libnghttp2.la" rel=3D"noreferrer" target=3D"_blank">libng=
http2.la</a> \<br>
&gt; &gt; ++@ENABLE_EXAMPLES_TRUE@=C2=A0 =C2=A0 =C2=A0 -lnghttp2 \<br>
&gt; &gt; + @ENABLE_EXAMPLES_TRUE@=C2=A0 =C2=A0 =C2=A0 $(top_builddir)/thir=
d-party/<a href=3D"http://liburl-parser.la" rel=3D"noreferrer" target=3D"_b=
lank">liburl-parser.la</a><br>
&gt; &gt; + am__libevent_server_SOURCES_DIST =3D libevent-server.c<br>
&gt; &gt; + @ENABLE_EXAMPLES_TRUE@am_libevent_server_OBJECTS =3D=C2=A0 \<br=
>
&gt; &gt; +@@ -198,7 +198,7 @@ am__libevent_server_SOURCES_DIST =3D<br>
&gt; &gt; libevent-server.c<br>
&gt; &gt; + libevent_server_OBJECTS =3D $(am_libevent_server_OBJECTS)<br>
&gt; &gt; + libevent_server_LDADD =3D $(LDADD)<br>
&gt; &gt; + @ENABLE_EXAMPLES_TRUE@libevent_server_DEPENDENCIES =3D=C2=A0 \<=
br>
&gt; &gt; +-@ENABLE_EXAMPLES_TRUE@=C2=A0 =C2=A0 =C2=A0 $(top_builddir)/lib/=
<a href=3D"http://libnghttp2.la" rel=3D"noreferrer" target=3D"_blank">libng=
http2.la</a> \<br>
&gt; &gt; ++@ENABLE_EXAMPLES_TRUE@=C2=A0 =C2=A0 =C2=A0 -lnghttp2 \<br>
&gt; &gt; + @ENABLE_EXAMPLES_TRUE@=C2=A0 =C2=A0 =C2=A0 $(top_builddir)/thir=
d-party/<a href=3D"http://liburl-parser.la" rel=3D"noreferrer" target=3D"_b=
lank">liburl-parser.la</a><br>
&gt; &gt; + AM_V_P =3D $(am__v_P_@AM_V@)<br>
&gt; &gt; + am__v_P_ =3D $(am__v_P_@AM_DEFAULT_V@)<br>
&gt; &gt; +@@ -504,7 +504,7 @@ EXTRA_DIST =3D CMakeLists.txt<br>
&gt; &gt; + @ENABLE_EXAMPLES_TRUE@=C2=A0 =C2=A0 =C2=A0 @DEFS@<br>
&gt; &gt; +<br>
&gt; &gt; + @ENABLE_EXAMPLES_TRUE@AM_LDFLAGS =3D @LIBTOOL_LDFLAGS@<br>
&gt; &gt; +-@ENABLE_EXAMPLES_TRUE@LDADD =3D $(top_builddir)/lib/<a href=3D"=
http://libnghttp2.la" rel=3D"noreferrer" target=3D"_blank">libnghttp2.la</a=
> \<br>
&gt; &gt; ++@ENABLE_EXAMPLES_TRUE@LDADD =3D -lnghttp2 \<br>
&gt; &gt; + @ENABLE_EXAMPLES_TRUE@=C2=A0 =C2=A0 =C2=A0 $(top_builddir)/thir=
d-party/<a href=3D"http://liburl-parser.la" rel=3D"noreferrer" target=3D"_b=
lank">liburl-parser.la</a> \<br>
&gt; &gt; + @ENABLE_EXAMPLES_TRUE@=C2=A0 =C2=A0 =C2=A0 @LIBEVENT_OPENSSL_LI=
BS@ \<br>
&gt; &gt; + @ENABLE_EXAMPLES_TRUE@=C2=A0 =C2=A0 =C2=A0 @OPENSSL_LIBS@ \<br>
&gt; &gt; +@@ -519,7 +519,7 @@ EXTRA_DIST =3D CMakeLists.txt<br>
&gt; &gt; + # nghttp2/nghttp2.h) in this package is used rather than instal=
led<br>
&gt; &gt; + # one.<br>
&gt; &gt; + @ENABLE_ASIO_LIB_TRUE@@ENABLE_EXAMPLES_TRUE@ASIOCPPFLAGS =3D<br=
>
&gt; &gt; ${AM_CPPFLAGS} ${BOOST_CPPFLAGS}<br>
&gt; &gt; +-@ENABLE_ASIO_LIB_TRUE@@ENABLE_EXAMPLES_TRUE@ASIOLDADD =3D<br>
&gt; &gt; $(top_builddir)/lib/<a href=3D"http://libnghttp2.la" rel=3D"noref=
errer" target=3D"_blank">libnghttp2.la</a> \<br>
&gt; &gt; ++@ENABLE_ASIO_LIB_TRUE@@ENABLE_EXAMPLES_TRUE@ASIOLDADD =3D -lngh=
ttp2 \<br>
&gt; &gt; +<br>
&gt; &gt; @ENABLE_ASIO_LIB_TRUE@@ENABLE_EXAMPLES_TRUE@=C2=A0 $(top_builddir=
)/src/<a href=3D"http://libnghttp2_asio.la" rel=3D"noreferrer" target=3D"_b=
lank">libnghttp2_asio.la</a><br>
&gt; &gt; @JEMALLOC_LIBS@ \<br>
&gt; &gt; +<br>
&gt; &gt; @ENABLE_ASIO_LIB_TRUE@@ENABLE_EXAMPLES_TRUE@=C2=A0 $(top_builddir=
)/third-party/<a href=3D"http://liburl-parser.la" rel=3D"noreferrer" target=
=3D"_blank">liburl-parser.la</a><br>
&gt; &gt; \<br>
&gt; &gt; + @ENABLE_ASIO_LIB_TRUE@@ENABLE_EXAMPLES_TRUE@=C2=A0 =C2=A0 =C2=
=A0 =C2=A0 @OPENSSL_LIBS@ \<br>
&gt; &gt; diff --git a/www/nghttp2/files/patch-script-fetch-ocsp-response<b=
r>
&gt; &gt; b/www/nghttp2/files/patch-script-fetch-ocsp-response<br>
&gt; &gt; new file mode 100644<br>
&gt; &gt; index 000000000000..e68d0f63ef0e<br>
&gt; &gt; --- /dev/null<br>
&gt; &gt; +++ b/www/nghttp2/files/patch-script-fetch-ocsp-response<br>
&gt; &gt; @@ -0,0 +1,7 @@<br>
&gt; &gt; +--- script/fetch-ocsp-response.orig=C2=A0 2021-10-19 09:31:47 UT=
C<br>
&gt; &gt; ++++ script/fetch-ocsp-response<br>
&gt; &gt; +@@ -1,4 +1,3 @@<br>
&gt; &gt; +-#!/usr/bin/env python<br>
&gt; &gt; + # -*- coding: utf-8 -*-<br>
&gt; &gt; +<br>
&gt; &gt; + # nghttp2 - HTTP/2 C Library<br>
&gt; &gt; diff --git a/www/nghttp2/files/patch-src-Makefile.in<br>
&gt; &gt; b/www/nghttp2/files/patch-src-Makefile.in<br>
&gt; &gt; new file mode 100644<br>
&gt; &gt; index 000000000000..2af9e94c05f9<br>
&gt; &gt; --- /dev/null<br>
&gt; &gt; +++ b/www/nghttp2/files/patch-src-Makefile.in<br>
&gt; &gt; @@ -0,0 +1,83 @@<br>
&gt; &gt; +% sed -i .orig &#39;s|$[({]top_builddir[})]/lib/<a href=3D"http:=
//libnghttp2.la" rel=3D"noreferrer" target=3D"_blank">libnghttp2.la</a>|-ln=
ghttp2|&#39;<br>
&gt; &gt; */Makefile.in<br>
&gt; &gt; +<br>
&gt; &gt; +--- src/Makefile.in.orig=C2=A0 =C2=A0 =C2=A02022-11-13 06:53:29 =
UTC<br>
&gt; &gt; ++++ src/Makefile.in<br>
&gt; &gt; +@@ -318,7 +318,7 @@ am__libnghttpx_a_SOURCES_DIST =3D util.cc ut=
il.h<br>
&gt; &gt; http2.c<br>
&gt; &gt; + libnghttpx_a_OBJECTS =3D $(am_libnghttpx_a_OBJECTS)<br>
&gt; &gt; + am__DEPENDENCIES_1 =3D<br>
&gt; &gt; + @ENABLE_ASIO_LIB_TRUE@libnghttp2_asio_la_DEPENDENCIES =3D=C2=A0=
 \<br>
&gt; &gt; +-@ENABLE_ASIO_LIB_TRUE@=C2=A0 =C2=A0 =C2=A0 $(top_builddir)/lib/=
<a href=3D"http://libnghttp2.la" rel=3D"noreferrer" target=3D"_blank">libng=
http2.la</a> \<br>
&gt; &gt; ++@ENABLE_ASIO_LIB_TRUE@=C2=A0 =C2=A0 =C2=A0 -lnghttp2 \<br>
&gt; &gt; + @ENABLE_ASIO_LIB_TRUE@=C2=A0 =C2=A0 =C2=A0 $(top_builddir)/thir=
d-party/<a href=3D"http://liburl-parser.la" rel=3D"noreferrer" target=3D"_b=
lank">liburl-parser.la</a> \<br>
&gt; &gt; + @ENABLE_ASIO_LIB_TRUE@=C2=A0 =C2=A0 =C2=A0 $(top_builddir)/thir=
d-party/<a href=3D"http://libllhttp.la" rel=3D"noreferrer" target=3D"_blank=
">libllhttp.la</a> \<br>
&gt; &gt; + @ENABLE_ASIO_LIB_TRUE@=C2=A0 =C2=A0 =C2=A0 $(am__DEPENDENCIES_1=
) \<br>
&gt; &gt; +@@ -394,7 +394,7 @@ am__deflatehd_SOURCES_DIST =3D deflatehd.cc<=
br>
&gt; &gt; comp_helper.<br>
&gt; &gt; + @ENABLE_HPACK_TOOLS_TRUE@=C2=A0 =C2=A0$(am__objects_4)<br>
&gt; &gt; + deflatehd_OBJECTS =3D $(am_deflatehd_OBJECTS)<br>
&gt; &gt; + deflatehd_LDADD =3D $(LDADD)<br>
&gt; &gt; +-deflatehd_DEPENDENCIES =3D $(top_builddir)/lib/<a href=3D"http:=
//libnghttp2.la" rel=3D"noreferrer" target=3D"_blank">libnghttp2.la</a> \<b=
r>
&gt; &gt; ++deflatehd_DEPENDENCIES =3D -lnghttp2 \<br>
&gt; &gt; +=C2=A0 =C2=A0 =C2=A0$(top_builddir)/third-party/<a href=3D"http:=
//liburl-parser.la" rel=3D"noreferrer" target=3D"_blank">liburl-parser.la</=
a> \<br>
&gt; &gt; +=C2=A0 =C2=A0 =C2=A0$(top_builddir)/third-party/<a href=3D"http:=
//libllhttp.la" rel=3D"noreferrer" target=3D"_blank">libllhttp.la</a><br>
&gt; &gt; + am__h2load_SOURCES_DIST =3D util.cc util.h http2.cc http2.h h2l=
oad.cc \<br>
&gt; &gt; +@@ -413,7 +413,7 @@ am__h2load_SOURCES_DIST =3D util.cc util.h h=
ttp2.cc<br>
&gt; &gt; http<br>
&gt; &gt; + @ENABLE_APP_TRUE@=C2=A0 =C2=A0$(am__objects_5)<br>
&gt; &gt; + h2load_OBJECTS =3D $(am_h2load_OBJECTS)<br>
&gt; &gt; + h2load_LDADD =3D $(LDADD)<br>
&gt; &gt; +-h2load_DEPENDENCIES =3D $(top_builddir)/lib/<a href=3D"http://l=
ibnghttp2.la" rel=3D"noreferrer" target=3D"_blank">libnghttp2.la</a> \<br>
&gt; &gt; ++h2load_DEPENDENCIES =3D -lnghttp2 \<br>
&gt; &gt; +=C2=A0 =C2=A0 =C2=A0$(top_builddir)/third-party/<a href=3D"http:=
//liburl-parser.la" rel=3D"noreferrer" target=3D"_blank">liburl-parser.la</=
a> \<br>
&gt; &gt; +=C2=A0 =C2=A0 =C2=A0$(top_builddir)/third-party/<a href=3D"http:=
//libllhttp.la" rel=3D"noreferrer" target=3D"_blank">libllhttp.la</a><br>
&gt; &gt; + am__inflatehd_SOURCES_DIST =3D inflatehd.cc comp_helper.c comp_=
helper.h<br>
&gt; &gt; \<br>
&gt; &gt; +@@ -422,7 +422,7 @@ am__inflatehd_SOURCES_DIST =3D inflatehd.cc<=
br>
&gt; &gt; comp_helper.<br>
&gt; &gt; + @ENABLE_HPACK_TOOLS_TRUE@=C2=A0 =C2=A0$(am__objects_4)<br>
&gt; &gt; + inflatehd_OBJECTS =3D $(am_inflatehd_OBJECTS)<br>
&gt; &gt; + inflatehd_LDADD =3D $(LDADD)<br>
&gt; &gt; +-inflatehd_DEPENDENCIES =3D $(top_builddir)/lib/<a href=3D"http:=
//libnghttp2.la" rel=3D"noreferrer" target=3D"_blank">libnghttp2.la</a> \<b=
r>
&gt; &gt; ++inflatehd_DEPENDENCIES =3D -lnghttp2 \<br>
&gt; &gt; +=C2=A0 =C2=A0 =C2=A0$(top_builddir)/third-party/<a href=3D"http:=
//liburl-parser.la" rel=3D"noreferrer" target=3D"_blank">liburl-parser.la</=
a> \<br>
&gt; &gt; +=C2=A0 =C2=A0 =C2=A0$(top_builddir)/third-party/<a href=3D"http:=
//libllhttp.la" rel=3D"noreferrer" target=3D"_blank">libllhttp.la</a><br>
&gt; &gt; + am__nghttp_SOURCES_DIST =3D util.cc http2.cc timegm.c app_helpe=
r.cc \<br>
&gt; &gt; +@@ -441,7 +441,7 @@ am__objects_7 =3D<br>
&gt; &gt; + @ENABLE_APP_TRUE@=C2=A0 =C2=A0$(am__objects_7) tls.$(OBJEXT)<br=
>
&gt; &gt; + nghttp_OBJECTS =3D $(am_nghttp_OBJECTS)<br>
&gt; &gt; + nghttp_LDADD =3D $(LDADD)<br>
&gt; &gt; +-nghttp_DEPENDENCIES =3D $(top_builddir)/lib/<a href=3D"http://l=
ibnghttp2.la" rel=3D"noreferrer" target=3D"_blank">libnghttp2.la</a> \<br>
&gt; &gt; ++nghttp_DEPENDENCIES =3D -lnghttp2 \<br>
&gt; &gt; +=C2=A0 =C2=A0 =C2=A0$(top_builddir)/third-party/<a href=3D"http:=
//liburl-parser.la" rel=3D"noreferrer" target=3D"_blank">liburl-parser.la</=
a> \<br>
&gt; &gt; +=C2=A0 =C2=A0 =C2=A0$(top_builddir)/third-party/<a href=3D"http:=
//libllhttp.la" rel=3D"noreferrer" target=3D"_blank">libllhttp.la</a><br>
&gt; &gt; + am__nghttpd_SOURCES_DIST =3D util.cc http2.cc timegm.c app_help=
er.cc \<br>
&gt; &gt; +@@ -453,13 +453,13 @@ am__nghttpd_SOURCES_DIST =3D util.cc http2=
.cc<br>
&gt; &gt; timegm.c a<br>
&gt; &gt; + @ENABLE_APP_TRUE@=C2=A0 =C2=A0tls.$(OBJEXT) HttpServer.$(OBJEXT=
)<br>
&gt; &gt; + nghttpd_OBJECTS =3D $(am_nghttpd_OBJECTS)<br>
&gt; &gt; + nghttpd_LDADD =3D $(LDADD)<br>
&gt; &gt; +-nghttpd_DEPENDENCIES =3D $(top_builddir)/lib/<a href=3D"http://=
libnghttp2.la" rel=3D"noreferrer" target=3D"_blank">libnghttp2.la</a> \<br>
&gt; &gt; ++nghttpd_DEPENDENCIES =3D -lnghttp2 \<br>
&gt; &gt; +=C2=A0 =C2=A0 =C2=A0$(top_builddir)/third-party/<a href=3D"http:=
//liburl-parser.la" rel=3D"noreferrer" target=3D"_blank">liburl-parser.la</=
a> \<br>
&gt; &gt; +=C2=A0 =C2=A0 =C2=A0$(top_builddir)/third-party/<a href=3D"http:=
//libllhttp.la" rel=3D"noreferrer" target=3D"_blank">libllhttp.la</a><br>
&gt; &gt; + am__nghttpx_SOURCES_DIST =3D shrpx.cc shrpx.h<br>
&gt; &gt; + @ENABLE_APP_TRUE@am_nghttpx_OBJECTS =3D nghttpx-shrpx.$(OBJEXT)=
<br>
&gt; &gt; + nghttpx_OBJECTS =3D $(am_nghttpx_OBJECTS)<br>
&gt; &gt; +-am__DEPENDENCIES_2 =3D $(top_builddir)/lib/<a href=3D"http://li=
bnghttp2.la" rel=3D"noreferrer" target=3D"_blank">libnghttp2.la</a> \<br>
&gt; &gt; ++am__DEPENDENCIES_2 =3D -lnghttp2 \<br>
&gt; &gt; +=C2=A0 =C2=A0 =C2=A0$(top_builddir)/third-party/<a href=3D"http:=
//liburl-parser.la" rel=3D"noreferrer" target=3D"_blank">liburl-parser.la</=
a> \<br>
&gt; &gt; +=C2=A0 =C2=A0 =C2=A0$(top_builddir)/third-party/<a href=3D"http:=
//libllhttp.la" rel=3D"noreferrer" target=3D"_blank">libllhttp.la</a><br>
&gt; &gt; + @ENABLE_APP_TRUE@nghttpx_DEPENDENCIES =3D libnghttpx.a \<br>
&gt; &gt; +@@ -1150,7 +1150,7 @@ AM_CPPFLAGS =3D \<br>
&gt; &gt; +=C2=A0 =C2=A0 =C2=A0@DEFS@<br>
&gt; &gt; +<br>
&gt; &gt; + AM_LDFLAGS =3D @LIBTOOL_LDFLAGS@<br>
&gt; &gt; +-LDADD =3D $(top_builddir)/lib/<a href=3D"http://libnghttp2.la" =
rel=3D"noreferrer" target=3D"_blank">libnghttp2.la</a> \<br>
&gt; &gt; ++LDADD =3D -lnghttp2 \<br>
&gt; &gt; +=C2=A0 =C2=A0 =C2=A0$(top_builddir)/third-party/<a href=3D"http:=
//liburl-parser.la" rel=3D"noreferrer" target=3D"_blank">liburl-parser.la</=
a> \<br>
&gt; &gt; +=C2=A0 =C2=A0 =C2=A0$(top_builddir)/third-party/<a href=3D"http:=
//libllhttp.la" rel=3D"noreferrer" target=3D"_blank">libllhttp.la</a> \<br>
&gt; &gt; +=C2=A0 =C2=A0 =C2=A0@JEMALLOC_LIBS@ \<br>
&gt; &gt; +@@ -1330,7 +1330,7 @@ LDADD =3D $(top_builddir)/lib/<a href=3D"h=
ttp://libnghttp2.la" rel=3D"noreferrer" target=3D"_blank">libnghttp2.la</a>=
 \<br>
&gt; &gt; + @ENABLE_ASIO_LIB_TRUE@libnghttp2_asio_la_CPPFLAGS =3D ${AM_CPPF=
LAGS}<br>
&gt; &gt; ${BOOST_CPPFLAGS}<br>
&gt; &gt; + @ENABLE_ASIO_LIB_TRUE@libnghttp2_asio_la_LDFLAGS =3D $(AM_LDFLA=
GS)<br>
&gt; &gt; -no-undefined -version-info 1:0:0<br>
&gt; &gt; + @ENABLE_ASIO_LIB_TRUE@libnghttp2_asio_la_LIBADD =3D \<br>
&gt; &gt; +-@ENABLE_ASIO_LIB_TRUE@=C2=A0 =C2=A0 =C2=A0 $(top_builddir)/lib/=
<a href=3D"http://libnghttp2.la" rel=3D"noreferrer" target=3D"_blank">libng=
http2.la</a> \<br>
&gt; &gt; ++@ENABLE_ASIO_LIB_TRUE@=C2=A0 =C2=A0 =C2=A0 -lnghttp2 \<br>
&gt; &gt; + @ENABLE_ASIO_LIB_TRUE@=C2=A0 =C2=A0 =C2=A0 $(top_builddir)/thir=
d-party/<a href=3D"http://liburl-parser.la" rel=3D"noreferrer" target=3D"_b=
lank">liburl-parser.la</a> \<br>
&gt; &gt; + @ENABLE_ASIO_LIB_TRUE@=C2=A0 =C2=A0 =C2=A0 $(top_builddir)/thir=
d-party/<a href=3D"http://libllhttp.la" rel=3D"noreferrer" target=3D"_blank=
">libllhttp.la</a> \<br>
&gt; &gt; + @ENABLE_ASIO_LIB_TRUE@=C2=A0 =C2=A0 =C2=A0 @OPENSSL_LIBS@ \<br>
&gt; &gt; diff --git a/www/nghttp2/files/patch-tests-Makefile.in<br>
&gt; &gt; b/www/nghttp2/files/patch-tests-Makefile.in<br>
&gt; &gt; new file mode 100644<br>
&gt; &gt; index 000000000000..1fe8da5ede92<br>
&gt; &gt; --- /dev/null<br>
&gt; &gt; +++ b/www/nghttp2/files/patch-tests-Makefile.in<br>
&gt; &gt; @@ -0,0 +1,31 @@<br>
&gt; &gt; +% sed -i .orig &#39;s|$[({]top_builddir[})]/lib/<a href=3D"http:=
//libnghttp2.la" rel=3D"noreferrer" target=3D"_blank">libnghttp2.la</a>|-ln=
ghttp2|&#39;<br>
&gt; &gt; */Makefile.in<br>
&gt; &gt; +<br>
&gt; &gt; +--- tests/Makefile.in.orig=C2=A0 =C2=A02022-11-13 06:53:29 UTC<b=
r>
&gt; &gt; ++++ tests/Makefile.in<br>
&gt; &gt; +@@ -141,7 +141,7 @@ failmalloc_OBJECTS =3D $(am_failmalloc_OBJEC=
TS)<br>
&gt; &gt; + am__DEPENDENCIES_1 =3D<br>
&gt; &gt; + @ENABLE_STATIC_FALSE@@HAVE_CUNIT_TRUE@am__DEPENDENCIES_2 =3D<br=
>
&gt; &gt; ${top_builddir}/lib/.libs/*.o \<br>
&gt; &gt; + @ENABLE_STATIC_FALSE@@HAVE_CUNIT_TRUE@=C2=A0 =C2=A0 =C2=A0 $(am=
__DEPENDENCIES_1)<br>
&gt; &gt; +-@ENABLE_STATIC_TRUE@@HAVE_CUNIT_TRUE@am__DEPENDENCIES_2 =3D<br>
&gt; &gt; ${top_builddir}/lib/<a href=3D"http://libnghttp2.la" rel=3D"noref=
errer" target=3D"_blank">libnghttp2.la</a> \<br>
&gt; &gt; ++@ENABLE_STATIC_TRUE@@HAVE_CUNIT_TRUE@am__DEPENDENCIES_2 =3D -ln=
ghttp2 \<br>
&gt; &gt; + @ENABLE_STATIC_TRUE@@HAVE_CUNIT_TRUE@=C2=A0 =C2=A0 =C2=A0 =C2=
=A0$(am__DEPENDENCIES_1)<br>
&gt; &gt; + @ENABLE_FAILMALLOC_TRUE@@HAVE_CUNIT_TRUE@failmalloc_DEPENDENCIE=
S =3D<br>
&gt; &gt; $(am__DEPENDENCIES_2)<br>
&gt; &gt; + AM_V_lt =3D $(am__v_lt_@AM_V@)<br>
&gt; &gt; +@@ -181,7 +181,7 @@ am__objects_1 =3D<br>
&gt; &gt; + main_OBJECTS =3D $(am_main_OBJECTS)<br>
&gt; &gt; + @ENABLE_STATIC_FALSE@@HAVE_CUNIT_TRUE@main_DEPENDENCIES =3D<br>
&gt; &gt; ${top_builddir}/lib/.libs/*.o \<br>
&gt; &gt; + @ENABLE_STATIC_FALSE@@HAVE_CUNIT_TRUE@=C2=A0 =C2=A0 =C2=A0 $(am=
__DEPENDENCIES_1)<br>
&gt; &gt; +-@ENABLE_STATIC_TRUE@@HAVE_CUNIT_TRUE@main_DEPENDENCIES =3D<br>
&gt; &gt; ${top_builddir}/lib/<a href=3D"http://libnghttp2.la" rel=3D"noref=
errer" target=3D"_blank">libnghttp2.la</a> \<br>
&gt; &gt; ++@ENABLE_STATIC_TRUE@@HAVE_CUNIT_TRUE@main_DEPENDENCIES =3D -lng=
http2 \<br>
&gt; &gt; + @ENABLE_STATIC_TRUE@@HAVE_CUNIT_TRUE@=C2=A0 =C2=A0 =C2=A0 =C2=
=A0$(am__DEPENDENCIES_1)<br>
&gt; &gt; + main_LINK =3D $(LIBTOOL) $(AM_V_lt) --tag=3DCC $(AM_LIBTOOLFLAG=
S) \<br>
&gt; &gt; +=C2=A0 =C2=A0 =C2=A0$(LIBTOOLFLAGS) --mode=3Dlink $(CCLD) $(AM_C=
FLAGS) $(CFLAGS) \<br>
&gt; &gt; +@@ -743,7 +743,7 @@ EXTRA_DIST =3D CMakeLists.txt<br>
&gt; &gt; + # files directly because the tests use symbols not included in =
public<br>
&gt; &gt; API.<br>
&gt; &gt; + @ENABLE_STATIC_FALSE@@HAVE_CUNIT_TRUE@main_LDADD =3D<br>
&gt; &gt; ${top_builddir}/lib/.libs/*.o \<br>
&gt; &gt; + @ENABLE_STATIC_FALSE@@HAVE_CUNIT_TRUE@=C2=A0 =C2=A0 =C2=A0 $(am=
__append_2)<br>
&gt; &gt; +-@ENABLE_STATIC_TRUE@@HAVE_CUNIT_TRUE@main_LDADD =3D<br>
&gt; &gt; ${top_builddir}/lib/<a href=3D"http://libnghttp2.la" rel=3D"noref=
errer" target=3D"_blank">libnghttp2.la</a> \<br>
&gt; &gt; ++@ENABLE_STATIC_TRUE@@HAVE_CUNIT_TRUE@main_LDADD =3D -lnghttp2 \=
<br>
&gt; &gt; + @ENABLE_STATIC_TRUE@@HAVE_CUNIT_TRUE@=C2=A0 =C2=A0 =C2=A0 =C2=
=A0$(am__append_2)<br>
&gt; &gt; + @HAVE_CUNIT_TRUE@main_LDFLAGS =3D -static<br>
&gt; &gt; + @ENABLE_FAILMALLOC_TRUE@@HAVE_CUNIT_TRUE@failmalloc_SOURCES =3D=
<br>
&gt; &gt; failmalloc.c failmalloc_test.c failmalloc_test.h \<br>
&gt; &gt; diff --git a/www/nghttp2/pkg-plist b/www/nghttp2/pkg-plist<br>
&gt; &gt; index be8f7de0e846..16fccb59dac4 100644<br>
&gt; &gt; --- a/www/nghttp2/pkg-plist<br>
&gt; &gt; +++ b/www/nghttp2/pkg-plist<br>
&gt; &gt; @@ -10,6 +10,10 @@ man/man1/nghttp.1.gz<br>
&gt; &gt;=C2=A0 man/man1/nghttpd.1.gz<br>
&gt; &gt;=C2=A0 man/man1/nghttpx.1.gz<br>
&gt; &gt;=C2=A0 %%PORTDOCS%%%%DOCSDIR%%/README.rst<br>
&gt; &gt; +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/asio-cl.cc<br>
&gt; &gt; +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/asio-cl2.cc<br>
&gt; &gt; +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/asio-sv.cc<br>
&gt; &gt; +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/asio-sv2.cc<br>
&gt; &gt;=C2=A0 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/client<br>
&gt; &gt;=C2=A0 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/client.c<br>
&gt; &gt;=C2=A0 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/deflate<br>
&gt;<br>
&gt; I&#39;m missing the benefit with this change? More patches, hacks and =
it<br>
&gt; also takes longer to build<br>
&gt;<br>
&gt; Best regards,<br>
&gt; Daniel<br>
&gt;<br>
</blockquote></div></div>

--00000000000053152405f3f49643--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAMHz58StLaC6=2R5JRqMw91w1inuraAC2OZHUsmgTSHYhz=c6w>