Skip to content

Commit 60a9dee

Browse files
committed
www/nghttp2: Update to 1.62.0
- Convert to USES=cmake:testing - Add DOCS option Changes: https://github.com/nghttp2/nghttp2/releases
1 parent 3a7449b commit 60a9dee

File tree

3 files changed

+13
-9
lines changed

3 files changed

+13
-9
lines changed

www/nghttp2/Makefile

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
PORTNAME= nghttp2
2-
PORTVERSION= 1.61.0
2+
PORTVERSION= 1.62.0
33
CATEGORIES= www net
44
MASTER_SITES= https://github.com/nghttp2/nghttp2/releases/download/v${PORTVERSION}/
55

@@ -13,27 +13,30 @@ LICENSE_FILE= ${WRKSRC}/COPYING
1313
BUILD_DEPENDS= libnghttp2>=${PORTVERSION}:www/libnghttp2
1414
LIB_DEPENDS= libnghttp2.so:www/libnghttp2
1515

16-
USES= cmake compiler:c++14-lang cpe localbase:ldflags pathfix pkgconfig python:env shebangfix ssl tar:xz
16+
USES= cmake:testing compiler:c++20-lang cpe localbase:ldflags pathfix pkgconfig python:env shebangfix ssl tar:xz
1717

1818
CMAKE_ARGS= -DCMAKE_INSTALL_MANDIR=share/man
19-
CMAKE_OFF= ENABLE_DEBUG ENABLE_HTTP3 ENABLE_LIB_ONLY ENABLE_STATIC_CRT ENABLE_WERROR WITH_LIBBPF WITH_MRUBY WITH_NEVERBLEED
20-
CMAKE_ON= ENABLE_DOC ENABLE_FAILMALLOC ENABLE_THREADS
19+
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
20+
CMAKE_ON= ENABLE_FAILMALLOC ENABLE_THREADS WITH_JEMALLOC
21+
CMAKE_TESTING_ON= BUILD_TESTING
22+
USE_CXXSTD= c++20
2123
USE_RC_SUBR= nghttpx
2224

2325
SHEBANG_FILES= script/fetch-ocsp-response
2426

25-
OPTIONS_DEFINE= APP EXAMPLES HPACK
27+
OPTIONS_DEFINE= APP DOCS EXAMPLES HPACK
2628
OPTIONS_DEFAULT=APP HPACK
2729
OPTIONS_SUB= yes
2830
APP_DESC= Build h2load, nghttp, nghttpd and nghttpx
2931

3032
APP_BUILD_DEPENDS= c-ares>=1.7.5:dns/c-ares \
3133
libev>=4.11:devel/libev
32-
APP_CMAKE_BOOL= ENABLE_APP
34+
APP_CMAKE_BOOL= ENABLE_APP WITH_LIBXML2
3335
APP_LIB_DEPENDS= libcares.so:dns/c-ares \
3436
libev.so:devel/libev
3537
APP_USE= GNOME=libxml2
3638
APP_USES= gnome
39+
DOCS_CMAKE_BOOL= ENABLE_DOC
3740
EXAMPLES_BUILD_DEPENDS= libevent>=2.0.8:devel/libevent
3841
EXAMPLES_CMAKE_BOOL= ENABLE_EXAMPLES
3942
EXAMPLES_LIB_DEPENDS= libevent_openssl.so:devel/libevent

www/nghttp2/distinfo

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
TIMESTAMP = 1712261836
2-
SHA256 (nghttp2-1.61.0.tar.xz) = c0e660175b9dc429f11d25b9507a834fb752eea9135ab420bb7cb7e9dbcc9654
3-
SIZE (nghttp2-1.61.0.tar.xz) = 1645808
1+
TIMESTAMP = 1715842556
2+
SHA256 (nghttp2-1.62.0.tar.xz) = 26798308fa0a12dabdb7ba8c77f74383019d3a0f1f36d25958b836af22474958
3+
SIZE (nghttp2-1.62.0.tar.xz) = 1646596

www/nghttp2/pkg-plist

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
%%APP%%bin/nghttpd
66
%%APP%%bin/nghttpx
77
@sample etc/nghttpx/nghttpx.conf.sample
8+
%%PORTDOCS%%%%DOCSDIR%%/README.rst
89
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/client
910
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/client.c
1011
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/deflate

0 commit comments

Comments
 (0)