Lines 1-7
Link Here
|
1 |
PORTNAME= nghttp2 |
1 |
PORTNAME= nghttp2 |
2 |
PORTVERSION= 1.54.0 |
2 |
DISTVERSION= 1.55.1 |
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 |
17 |
|
18 |
|
18 |
CMAKE_ARGS= -DCMAKE_INSTALL_MANDIR=share/man |
19 |
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_OFF= ENABLE_DEBUG \ |
20 |
CMAKE_ON= ENABLE_DOC ENABLE_FAILMALLOC ENABLE_THREADS |
21 |
ENABLE_HTTP3 \ |
|
|
22 |
ENABLE_LIB_ONLY \ |
23 |
ENABLE_STATIC_CRT \ |
24 |
ENABLE_WERROR \ |
25 |
WITH_LIBBPF \ |
26 |
WITH_MRUBY \ |
27 |
WITH_NEVERBLEED |
28 |
CMAKE_ON= ENABLE_DOC \ |
29 |
ENABLE_FAILMALLOC \ |
30 |
ENABLE_THREADS \ |
31 |
CMAKE_DISABLE_FIND_PACKAGE_Jemalloc \ |
32 |
CMAKE_DISABLE_FIND_PACKAGE_Libnghttp3 \ |
33 |
CMAKE_DISABLE_FIND_PACKAGE_Libngtcp2 \ |
34 |
CMAKE_DISABLE_FIND_PACKAGE_Libngtcp2_crypto_openssl |
21 |
USE_RC_SUBR= nghttpx |
35 |
USE_RC_SUBR= nghttpx |
22 |
|
36 |
|
23 |
SHEBANG_FILES= script/fetch-ocsp-response |
37 |
SHEBANG_FILES= script/fetch-ocsp-response |
Lines 25-45
SHEBANG_FILES= script/fetch-ocsp-response
Link Here
|
25 |
OPTIONS_DEFINE= APP EXAMPLES HPACK |
39 |
OPTIONS_DEFINE= APP EXAMPLES HPACK |
26 |
OPTIONS_DEFAULT=APP HPACK |
40 |
OPTIONS_DEFAULT=APP HPACK |
27 |
OPTIONS_SUB= yes |
41 |
OPTIONS_SUB= yes |
|
|
42 |
|
28 |
APP_DESC= Build h2load, nghttp, nghttpd and nghttpx |
43 |
APP_DESC= Build h2load, nghttp, nghttpd and nghttpx |
29 |
|
44 |
|
30 |
APP_BUILD_DEPENDS= c-ares>=1.7.5:dns/c-ares \ |
45 |
APP_BUILD_DEPENDS= c-ares>=1.7.5:dns/c-ares \ |
31 |
libev>=4.11:devel/libev |
46 |
libev>=4.11:devel/libev |
32 |
APP_CMAKE_BOOL= ENABLE_APP |
|
|
33 |
APP_LIB_DEPENDS= libcares.so:dns/c-ares \ |
47 |
APP_LIB_DEPENDS= libcares.so:dns/c-ares \ |
34 |
libev.so:devel/libev |
48 |
libev.so:devel/libev |
35 |
APP_USE= GNOME=libxml2 |
49 |
APP_USE= GNOME=libxml2 |
36 |
APP_USES= gnome |
50 |
APP_USES= gnome |
37 |
EXAMPLES_CMAKE_BOOL= ENABLE_EXAMPLES |
51 |
APP_CMAKE_BOOL= ENABLE_APP |
|
|
52 |
APP_CMAKE_OFF= -DCMAKE_DISABLE_FIND_PACKAGE_Libcares:BOOL=True \ |
53 |
-DCMAKE_DISABLE_FIND_PACKAGE_Libev:BOOL=True \ |
54 |
-DCMAKE_DISABLE_FIND_PACKAGE_LibXml2:BOOL=True |
55 |
|
38 |
EXAMPLES_BUILD_DEPENDS= libevent>=2.0.8:devel/libevent |
56 |
EXAMPLES_BUILD_DEPENDS= libevent>=2.0.8:devel/libevent |
39 |
EXAMPLES_LIB_DEPENDS= libevent_openssl.so:devel/libevent |
57 |
EXAMPLES_LIB_DEPENDS= libevent_openssl.so:devel/libevent |
|
|
58 |
EXAMPLES_CMAKE_BOOL= ENABLE_EXAMPLES |
59 |
EXAMPLES_CMAKE_OFF= -DCMAKE_DISABLE_FIND_PACKAGE_Libevent:BOOL=True |
60 |
|
40 |
HPACK_BUILD_DEPENDS= jansson>=2.5:devel/jansson |
61 |
HPACK_BUILD_DEPENDS= jansson>=2.5:devel/jansson |
41 |
HPACK_CMAKE_BOOL= ENABLE_HPACK_TOOLS |
|
|
42 |
HPACK_LIB_DEPENDS= libjansson.so:devel/jansson |
62 |
HPACK_LIB_DEPENDS= libjansson.so:devel/jansson |
|
|
63 |
HPACK_CMAKE_BOOL= ENABLE_HPACK_TOOLS |
64 |
HPACK_CMAKE_OFF= -DCMAKE_DISABLE_FIND_PACKAGE_Jansson:BOOL=True |
43 |
|
65 |
|
44 |
post-install: |
66 |
post-install: |
45 |
${MKDIR} ${STAGEDIR}${PREFIX}/etc/nghttpx/ |
67 |
${MKDIR} ${STAGEDIR}${PREFIX}/etc/nghttpx/ |