Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Feb 2024 08:01:21 +0000
From:      Nuno Teixeira <eduardo@freebsd.org>
To:        Po-Chuan Hsieh <sunpoet@freebsd.org>
Cc:        ports-committers@freebsd.org, dev-commits-ports-all@freebsd.org,  dev-commits-ports-main@freebsd.org
Subject:   Re: git: 48437516330b - main - www/nghttp2: Remove unnecessary substitution
Message-ID:  <CAFDf7UJ6m%2Bnu02o4JsJVhCH%2B7nARGm%2BUbaUPENLSCtbvAAS3dQ@mail.gmail.com>
In-Reply-To: <202402211520.41LFKHJO027649@gitrepo.freebsd.org>
References:  <202402211520.41LFKHJO027649@gitrepo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Hello,

What's going on?

-DISTVERSION=3D   1.59.0
+PORTVERSION=3D   1.59.0

Should Porter's Handbook be fixed?

Thanks,

Po-Chuan Hsieh <sunpoet@freebsd.org> escreveu (quarta, 21/02/2024 =C3=A0(s)=
 15:20):
>
> The branch main has been updated by sunpoet:
>
> URL: https://cgit.FreeBSD.org/ports/commit/?id=3D48437516330b2bcb27cdfb51=
b6e268fea08ceaae
>
> commit 48437516330b2bcb27cdfb51b6e268fea08ceaae
> Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
> AuthorDate: 2024-02-21 14:29:51 +0000
> Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
> CommitDate: 2024-02-21 15:06:49 +0000
>
>     www/nghttp2: Remove unnecessary substitution
>
>     - Cosmetic change
> ---
>  www/nghttp2/Makefile | 42 +++++++++++-------------------------------
>  1 file changed, 11 insertions(+), 31 deletions(-)
>
> diff --git a/www/nghttp2/Makefile b/www/nghttp2/Makefile
> index d387dcb64a1a..6b1d025b6310 100644
> --- a/www/nghttp2/Makefile
> +++ b/www/nghttp2/Makefile
> @@ -1,7 +1,7 @@
>  PORTNAME=3D      nghttp2
> -DISTVERSION=3D   1.59.0
> +PORTVERSION=3D   1.59.0
>  CATEGORIES=3D    www net
> -MASTER_SITES=3D  https://github.com/${PORTNAME}/${PORTNAME}/releases/dow=
nload/v${DISTVERSION}/
> +MASTER_SITES=3D  https://github.com/nghttp2/nghttp2/releases/download/v$=
{PORTVERSION}/
>
>  MAINTAINER=3D    sunpoet@FreeBSD.org
>  COMMENT=3D       HTTP/2.0 C Library
> @@ -10,56 +10,36 @@ WWW=3D                https://nghttp2.org/
>  LICENSE=3D       MIT
>  LICENSE_FILE=3D  ${WRKSRC}/COPYING
>
> -BUILD_DEPENDS=3D libnghttp2>=3D${DISTVERSION}:www/libnghttp2
> +BUILD_DEPENDS=3D libnghttp2>=3D${PORTVERSION}:www/libnghttp2
>  LIB_DEPENDS=3D   libnghttp2.so:www/libnghttp2
>
> -USES=3D          cmake compiler:c++14-lang cpe localbase:ldflags pathfix=
 \
> -               pkgconfig python:env shebangfix ssl tar:xz
> -SHEBANG_FILES=3D script/fetch-ocsp-response
> +USES=3D          cmake compiler:c++14-lang cpe localbase:ldflags pathfix=
 pkgconfig python:env shebangfix ssl tar:xz
>
> +CMAKE_ARGS=3D    -DCMAKE_INSTALL_MANDIR=3Dshare/man
> +CMAKE_OFF=3D     ENABLE_DEBUG ENABLE_HTTP3 ENABLE_LIB_ONLY ENABLE_STATIC=
_CRT ENABLE_WERROR WITH_LIBBPF WITH_MRUBY WITH_NEVERBLEED
> +CMAKE_ON=3D      ENABLE_DOC ENABLE_FAILMALLOC ENABLE_THREADS
>  USE_RC_SUBR=3D   nghttpx
>
> -CMAKE_OFF=3D     ENABLE_DEBUG \
> -               ENABLE_HTTP3 \
> -               ENABLE_LIB_ONLY \
> -               ENABLE_STATIC_CRT \
> -               ENABLE_WERROR \
> -               WITH_LIBBPF \
> -               WITH_MRUBY \
> -               WITH_NEVERBLEED
> -CMAKE_ON=3D      ENABLE_DOC \
> -               ENABLE_FAILMALLOC \
> -               ENABLE_THREADS \
> -               CMAKE_DISABLE_FIND_PACKAGE_Jemalloc \
> -               CMAKE_DISABLE_FIND_PACKAGE_Libnghttp3 \
> -               CMAKE_DISABLE_FIND_PACKAGE_Libngtcp2 \
> -               CMAKE_DISABLE_FIND_PACKAGE_Libngtcp2_crypto_openssl
> +SHEBANG_FILES=3D script/fetch-ocsp-response
>
>  OPTIONS_DEFINE=3D        APP EXAMPLES HPACK
>  OPTIONS_DEFAULT=3DAPP HPACK
>  OPTIONS_SUB=3D   yes
> -
>  APP_DESC=3D      Build h2load, nghttp, nghttpd and nghttpx
>
>  APP_BUILD_DEPENDS=3D     c-ares>=3D1.7.5:dns/c-ares \
>                         libev>=3D4.11:devel/libev
> +APP_CMAKE_BOOL=3D                ENABLE_APP
>  APP_LIB_DEPENDS=3D       libcares.so:dns/c-ares \
>                         libev.so:devel/libev
>  APP_USE=3D               GNOME=3Dlibxml2
>  APP_USES=3D              gnome
> -APP_CMAKE_BOOL=3D                ENABLE_APP
> -APP_CMAKE_OFF=3D         -DCMAKE_DISABLE_FIND_PACKAGE_Libev:BOOL=3DTrue =
\
> -                       -DCMAKE_DISABLE_FIND_PACKAGE_LibXml2:BOOL=3DTrue
> -
>  EXAMPLES_BUILD_DEPENDS=3D        libevent>=3D2.0.8:devel/libevent
> -EXAMPLES_LIB_DEPENDS=3D  libevent_openssl.so:devel/libevent
>  EXAMPLES_CMAKE_BOOL=3D   ENABLE_EXAMPLES
> -EXAMPLES_CMAKE_OFF=3D    -DCMAKE_DISABLE_FIND_PACKAGE_Libevent:BOOL=3DTr=
ue
> -
> +EXAMPLES_LIB_DEPENDS=3D  libevent_openssl.so:devel/libevent
>  HPACK_BUILD_DEPENDS=3D   jansson>=3D2.5:devel/jansson
> -HPACK_LIB_DEPENDS=3D     libjansson.so:devel/jansson
>  HPACK_CMAKE_BOOL=3D      ENABLE_HPACK_TOOLS
> -HPACK_CMAKE_OFF=3D       -DCMAKE_DISABLE_FIND_PACKAGE_Jansson:BOOL=3DTru=
e
> +HPACK_LIB_DEPENDS=3D     libjansson.so:devel/jansson
>
>  post-install:
>         ${MKDIR} ${STAGEDIR}${PREFIX}/etc/nghttpx/



--=20
Nuno Teixeira
FreeBSD Committer (ports)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFDf7UJ6m%2Bnu02o4JsJVhCH%2B7nARGm%2BUbaUPENLSCtbvAAS3dQ>