View | Details | Raw Unified | Return to bug 253238
Collapse All | Expand All

(-)b/www/nghttp2/Makefile (-18 / +23 lines)
Lines 2-10 Link Here
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	nghttp2
4
PORTNAME=	nghttp2
5
PORTVERSION=	1.42.0
5
DISTVERSION=	1.43.0
6
CATEGORIES=	www net
6
CATEGORIES=	www net
7
MASTER_SITES=	https://github.com/nghttp2/nghttp2/releases/download/v${PORTVERSION}/
7
MASTER_SITES=	https://github.com/${PORTNAME}/${PORTNAME}/releases/download/v${DISTVERSION}/
8
8
9
MAINTAINER=	sunpoet@FreeBSD.org
9
MAINTAINER=	sunpoet@FreeBSD.org
10
COMMENT=	HTTP/2.0 C Library
10
COMMENT=	HTTP/2.0 C Library
Lines 12-58 COMMENT= HTTP/2.0 C Library Link Here
12
LICENSE=	MIT
12
LICENSE=	MIT
13
LICENSE_FILE=	${WRKSRC}/COPYING
13
LICENSE_FILE=	${WRKSRC}/COPYING
14
14
15
BUILD_DEPENDS=	libnghttp2>=${PORTVERSION}:www/libnghttp2
15
BUILD_DEPENDS=	libnghttp2>=${DISTVERSION}:www/libnghttp2
16
LIB_DEPENDS=	libnghttp2.so:www/libnghttp2
16
LIB_DEPENDS=	libnghttp2.so:www/libnghttp2
17
17
18
OPTIONS_DEFINE=	APP ASIO DOCS EXAMPLES HPACK
19
OPTIONS_DEFAULT=APP HPACK
20
OPTIONS_SUB=	yes
21
APP_DESC=	Build h2load, nghttp, nghttpd and nghttpx
22
23
USES=		autoreconf compiler:c++14-lang gmake libtool localbase pathfix pkgconfig ssl tar:xz
18
USES=		autoreconf compiler:c++14-lang gmake libtool localbase pathfix pkgconfig ssl tar:xz
24
19
25
CONFIGURE_ARGS=	--disable-python-bindings --with-jemalloc
26
CONFIGURE_ENV=	OPENSSL_CFLAGS="-I${OPENSSLINC}" \
27
		OPENSSL_LIBS="-L${OPENSSLLIB} -lcrypto -lssl"
28
GNU_CONFIGURE=	yes
20
GNU_CONFIGURE=	yes
29
INSTALL_TARGET=	install-strip
30
USE_CXXSTD=	c++14
21
USE_CXXSTD=	c++14
31
USE_RC_SUBR=	nghttpx
22
USE_RC_SUBR=	nghttpx
32
23
24
INSTALL_TARGET=	install-strip
25
26
CONFIGURE_ARGS=	--disable-python-bindings --with-jemalloc
27
CONFIGURE_ENV=	OPENSSL_CFLAGS="-I${OPENSSLINC}" \
28
		OPENSSL_LIBS="-L${OPENSSLLIB} -lcrypto -lssl"
29
33
PORTDATA=	fetch-ocsp-response
30
PORTDATA=	fetch-ocsp-response
34
PORTDOCS=	*
31
PORTDOCS=	*
35
PORTEXAMPLES=	*
32
PORTEXAMPLES=	*
36
33
34
OPTIONS_DEFINE=	APP ASIO DOCS EXAMPLES HPACK
35
OPTIONS_DEFAULT=APP HPACK
36
OPTIONS_SUB=	yes
37
38
APP_DESC=	Build h2load, nghttp, nghttpd and nghttpx
39
37
APP_BUILD_DEPENDS=	c-ares>=1.7.5:dns/c-ares \
40
APP_BUILD_DEPENDS=	c-ares>=1.7.5:dns/c-ares \
38
			libev>=4.11:devel/libev
41
			libev>=4.11:devel/libev
42
APP_LIB_DEPENDS=	libcares.so:dns/c-ares \
43
			libev.so:devel/libev
44
APP_USES=		gnome
45
APP_USE=		GNOME=libxml2
39
APP_CONFIGURE_ENABLE=	app
46
APP_CONFIGURE_ENABLE=	app
40
APP_CONFIGURE_OFF=	--without-libxml2
47
APP_CONFIGURE_OFF=	--without-libxml2
41
APP_LIB_DEPENDS=	libcares.so:dns/c-ares \
48
APP_LIB_DEPENDS=	libcares.so:dns/c-ares \
42
			libev.so:devel/libev
49
			libev.so:devel/libev
43
APP_USE=		GNOME=libxml2
44
APP_USES=		gnome
45
ASIO_BUILD_DEPENDS=	boost-libs>=1.54.0:devel/boost-libs
50
ASIO_BUILD_DEPENDS=	boost-libs>=1.54.0:devel/boost-libs
46
ASIO_CONFIGURE_OFF=	--with-boost=no
47
ASIO_CONFIGURE_ON=	--enable-asio-lib --with-boost-asio --with-boost-system --with-boost-thread
48
ASIO_LIB_DEPENDS=	libboost_thread.so:devel/boost-libs
51
ASIO_LIB_DEPENDS=	libboost_thread.so:devel/boost-libs
49
ASIO_USE=		LDCONFIG=yes
52
ASIO_USE=		LDCONFIG=yes
50
EXAMPLES_CONFIGURE_ENABLE=	examples
53
ASIO_CONFIGURE_OFF=	--with-boost=no
54
ASIO_CONFIGURE_ON=	--enable-asio-lib --with-boost-asio --with-boost-system --with-boost-thread
51
EXAMPLES_BUILD_DEPENDS=	libevent>=2.0.8:devel/libevent
55
EXAMPLES_BUILD_DEPENDS=	libevent>=2.0.8:devel/libevent
52
EXAMPLES_LIB_DEPENDS=	libevent_openssl.so:devel/libevent
56
EXAMPLES_LIB_DEPENDS=	libevent_openssl.so:devel/libevent
57
EXAMPLES_CONFIGURE_ENABLE=	examples
53
HPACK_BUILD_DEPENDS=	jansson>=2.5:devel/jansson
58
HPACK_BUILD_DEPENDS=	jansson>=2.5:devel/jansson
54
HPACK_CONFIGURE_ENABLE=	hpack-tools
55
HPACK_LIB_DEPENDS=	libjansson.so:devel/jansson
59
HPACK_LIB_DEPENDS=	libjansson.so:devel/jansson
60
HPACK_CONFIGURE_ENABLE=	hpack-tools
56
61
57
post-patch:
62
post-patch:
58
	@${REINPLACE_CMD} -e '/^SUBDIRS = / s| lib||' ${WRKSRC}/Makefile.am
63
	@${REINPLACE_CMD} -e '/^SUBDIRS = / s| lib||' ${WRKSRC}/Makefile.am
(-)b/www/nghttp2/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1608366108
1
TIMESTAMP = 1612389448
2
SHA256 (nghttp2-1.42.0.tar.xz) = c5a7f09020f31247d0d1609078a75efadeccb7e5b86fc2e4389189b1b431fe63
2
SHA256 (nghttp2-1.43.0.tar.xz) = f7d54fa6f8aed29f695ca44612136fa2359013547394d5dffeffca9e01a26b0f
3
SIZE (nghttp2-1.42.0.tar.xz) = 3973284
3
SIZE (nghttp2-1.43.0.tar.xz) = 3973500

Return to bug 253238