Lines 1-7
Link Here
|
1 |
PORTNAME= nghttp2 |
1 |
PORTNAME= nghttp2 |
2 |
PORTVERSION= 1.53.0 |
2 |
DISTVERSION= 1.54.0 |
3 |
CATEGORIES= www net |
3 |
CATEGORIES= www net |
4 |
MASTER_SITES= https://github.com/nghttp2/nghttp2/releases/download/v${PORTVERSION}/ |
4 |
MASTER_SITES= https://github.com/${PORTNAME}/${PORTNAME}/releases/download/v${DISTVERSION}/ |
5 |
|
5 |
|
6 |
MAINTAINER= sunpoet@FreeBSD.org |
6 |
MAINTAINER= sunpoet@FreeBSD.org |
7 |
COMMENT= HTTP/2.0 C Library |
7 |
COMMENT= HTTP/2.0 C Library |
Lines 10-23
WWW= https://nghttp2.org/
Link Here
|
10 |
LICENSE= MIT |
10 |
LICENSE= MIT |
11 |
LICENSE_FILE= ${WRKSRC}/COPYING |
11 |
LICENSE_FILE= ${WRKSRC}/COPYING |
12 |
|
12 |
|
13 |
BUILD_DEPENDS= libnghttp2>=${PORTVERSION}:www/libnghttp2 |
13 |
BUILD_DEPENDS= libnghttp2>=${DISTVERSION}:www/libnghttp2 |
14 |
LIB_DEPENDS= libnghttp2.so:www/libnghttp2 |
14 |
LIB_DEPENDS= libnghttp2.so:www/libnghttp2 |
15 |
|
15 |
|
16 |
USES= cmake compiler:c++14-lang cpe localbase:ldflags pathfix pkgconfig python:env shebangfix ssl tar:xz |
16 |
USES= cmake compiler:c++14-lang cpe localbase:ldflags pathfix \ |
|
|
17 |
pkgconfig python:env shebangfix ssl tar:xz |
18 |
USE_CXXSTD= c++14 |
17 |
|
19 |
|
18 |
CMAKE_ARGS= -DCMAKE_INSTALL_MANDIR=share/man |
20 |
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 |
21 |
CMAKE_OFF= ENABLE_DEBUG \ |
20 |
CMAKE_ON= ENABLE_DOC ENABLE_FAILMALLOC ENABLE_THREADS |
22 |
ENABLE_HTTP3 \ |
|
|
23 |
ENABLE_LIB_ONLY \ |
24 |
ENABLE_STATIC_CRT \ |
25 |
ENABLE_WERROR \ |
26 |
WITH_LIBBPF \ |
27 |
WITH_MRUBY \ |
28 |
WITH_NEVERBLEED |
29 |
CMAKE_ON= ENABLE_DOC \ |
30 |
ENABLE_FAILMALLOC \ |
31 |
ENABLE_THREADS \ |
32 |
CMAKE_DISABLE_FIND_PACKAGE_Jemalloc \ |
33 |
CMAKE_DISABLE_FIND_PACKAGE_Libnghttp3 \ |
34 |
CMAKE_DISABLE_FIND_PACKAGE_Libngtcp2 \ |
35 |
CMAKE_DISABLE_FIND_PACKAGE_Libngtcp2_crypto_openssl |
21 |
USE_RC_SUBR= nghttpx |
36 |
USE_RC_SUBR= nghttpx |
22 |
|
37 |
|
23 |
SHEBANG_FILES= script/fetch-ocsp-response |
38 |
SHEBANG_FILES= script/fetch-ocsp-response |
Lines 25-45
SHEBANG_FILES= script/fetch-ocsp-response
Link Here
|
25 |
OPTIONS_DEFINE= APP EXAMPLES HPACK |
40 |
OPTIONS_DEFINE= APP EXAMPLES HPACK |
26 |
OPTIONS_DEFAULT=APP HPACK |
41 |
OPTIONS_DEFAULT=APP HPACK |
27 |
OPTIONS_SUB= yes |
42 |
OPTIONS_SUB= yes |
|
|
43 |
|
28 |
APP_DESC= Build h2load, nghttp, nghttpd and nghttpx |
44 |
APP_DESC= Build h2load, nghttp, nghttpd and nghttpx |
29 |
|
45 |
|
30 |
APP_BUILD_DEPENDS= c-ares>=1.7.5:dns/c-ares \ |
46 |
APP_BUILD_DEPENDS= c-ares>=1.7.5:dns/c-ares \ |
31 |
libev>=4.11:devel/libev |
47 |
libev>=4.11:devel/libev |
32 |
APP_CMAKE_BOOL= ENABLE_APP |
|
|
33 |
APP_LIB_DEPENDS= libcares.so:dns/c-ares \ |
48 |
APP_LIB_DEPENDS= libcares.so:dns/c-ares \ |
34 |
libev.so:devel/libev |
49 |
libev.so:devel/libev |
35 |
APP_USE= GNOME=libxml2 |
50 |
APP_USE= GNOME=libxml2 |
36 |
APP_USES= gnome |
51 |
APP_USES= gnome |
37 |
EXAMPLES_CMAKE_BOOL= ENABLE_EXAMPLES |
52 |
APP_CMAKE_BOOL= ENABLE_APP |
|
|
53 |
APP_CMAKE_OFF= -DCMAKE_DISABLE_FIND_PACKAGE_Libcares:BOOL=True \ |
54 |
-DCMAKE_DISABLE_FIND_PACKAGE_Libev:BOOL=True \ |
55 |
-DCMAKE_DISABLE_FIND_PACKAGE_LibXml2:BOOL=True |
56 |
|
38 |
EXAMPLES_BUILD_DEPENDS= libevent>=2.0.8:devel/libevent |
57 |
EXAMPLES_BUILD_DEPENDS= libevent>=2.0.8:devel/libevent |
39 |
EXAMPLES_LIB_DEPENDS= libevent_openssl.so:devel/libevent |
58 |
EXAMPLES_LIB_DEPENDS= libevent_openssl.so:devel/libevent |
|
|
59 |
EXAMPLES_CMAKE_BOOL= ENABLE_EXAMPLES |
60 |
EXAMPLES_CMAKE_OFF= -DCMAKE_DISABLE_FIND_PACKAGE_Libevent:BOOL=True |
61 |
|
40 |
HPACK_BUILD_DEPENDS= jansson>=2.5:devel/jansson |
62 |
HPACK_BUILD_DEPENDS= jansson>=2.5:devel/jansson |
41 |
HPACK_CMAKE_BOOL= ENABLE_HPACK_TOOLS |
|
|
42 |
HPACK_LIB_DEPENDS= libjansson.so:devel/jansson |
63 |
HPACK_LIB_DEPENDS= libjansson.so:devel/jansson |
|
|
64 |
HPACK_CMAKE_BOOL= ENABLE_HPACK_TOOLS |
65 |
HPACK_CMAKE_OFF= -DCMAKE_DISABLE_FIND_PACKAGE_Jansson:BOOL=True |
43 |
|
66 |
|
44 |
post-install: |
67 |
post-install: |
45 |
${MKDIR} ${STAGEDIR}${PREFIX}/etc/nghttpx/ |
68 |
${MKDIR} ${STAGEDIR}${PREFIX}/etc/nghttpx/ |