1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-19 00:13:33 +00:00

www/nghttp2: Update to 1.62.0

- Convert to USES=cmake:testing
- Add DOCS option

Changes:	https://github.com/nghttp2/nghttp2/releases
This commit is contained in:
Po-Chuan Hsieh 2024-05-20 00:15:54 +08:00
parent 3a7449bfda
commit 60a9deea5d
No known key found for this signature in database
GPG Key ID: 9A4BD10F002DD04B
3 changed files with 13 additions and 9 deletions

View File

@ -1,5 +1,5 @@
PORTNAME= nghttp2
PORTVERSION= 1.61.0
PORTVERSION= 1.62.0
CATEGORIES= www net
MASTER_SITES= https://github.com/nghttp2/nghttp2/releases/download/v${PORTVERSION}/
@ -13,27 +13,30 @@ LICENSE_FILE= ${WRKSRC}/COPYING
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
USES= cmake:testing compiler:c++20-lang cpe localbase:ldflags pathfix pkgconfig python:env shebangfix ssl tar:xz
CMAKE_ARGS= -DCMAKE_INSTALL_MANDIR=share/man
CMAKE_OFF= ENABLE_DEBUG ENABLE_HTTP3 ENABLE_LIB_ONLY ENABLE_STATIC_CRT ENABLE_WERROR WITH_LIBBPF WITH_MRUBY WITH_NEVERBLEED
CMAKE_ON= ENABLE_DOC ENABLE_FAILMALLOC ENABLE_THREADS
CMAKE_OFF= BUILD_SHARED_LIBS BUILD_STATIC_LIBS BUILD_TESTING ENABLE_DEBUG ENABLE_HTTP3 ENABLE_LIB_ONLY ENABLE_STATIC_CRT ENABLE_WERROR WITH_LIBBPF WITH_MRUBY WITH_NEVERBLEED
CMAKE_ON= ENABLE_FAILMALLOC ENABLE_THREADS WITH_JEMALLOC
CMAKE_TESTING_ON= BUILD_TESTING
USE_CXXSTD= c++20
USE_RC_SUBR= nghttpx
SHEBANG_FILES= script/fetch-ocsp-response
OPTIONS_DEFINE= APP EXAMPLES HPACK
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_CMAKE_BOOL= ENABLE_APP
APP_CMAKE_BOOL= ENABLE_APP WITH_LIBXML2
APP_LIB_DEPENDS= libcares.so:dns/c-ares \
libev.so:devel/libev
APP_USE= GNOME=libxml2
APP_USES= gnome
DOCS_CMAKE_BOOL= ENABLE_DOC
EXAMPLES_BUILD_DEPENDS= libevent>=2.0.8:devel/libevent
EXAMPLES_CMAKE_BOOL= ENABLE_EXAMPLES
EXAMPLES_LIB_DEPENDS= libevent_openssl.so:devel/libevent

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1712261836
SHA256 (nghttp2-1.61.0.tar.xz) = c0e660175b9dc429f11d25b9507a834fb752eea9135ab420bb7cb7e9dbcc9654
SIZE (nghttp2-1.61.0.tar.xz) = 1645808
TIMESTAMP = 1715842556
SHA256 (nghttp2-1.62.0.tar.xz) = 26798308fa0a12dabdb7ba8c77f74383019d3a0f1f36d25958b836af22474958
SIZE (nghttp2-1.62.0.tar.xz) = 1646596

View File

@ -5,6 +5,7 @@
%%APP%%bin/nghttpd
%%APP%%bin/nghttpx
@sample etc/nghttpx/nghttpx.conf.sample
%%PORTDOCS%%%%DOCSDIR%%/README.rst
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/client
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/client.c
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/deflate