From 99f97bff00034a5e42525005702d466721bbd7d8 Mon Sep 17 00:00:00 2001 From: Sunpoet Po-Chuan Hsieh Date: Sat, 13 Sep 2014 15:18:19 +0000 Subject: [PATCH] - Update to 0.6.1 - Add BUILD_DEPENDS and RUN_DEPENDS to check version requirement Changes: https://github.com/tatsuhiro-t/nghttp2/releases --- www/nghttp2/Makefile | 7 +++++-- www/nghttp2/distinfo | 4 ++-- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/www/nghttp2/Makefile b/www/nghttp2/Makefile index 2d40d5315fb0..60c001791cd0 100644 --- a/www/nghttp2/Makefile +++ b/www/nghttp2/Makefile @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= nghttp2 -PORTVERSION= 0.6.0 +PORTVERSION= 0.6.1 CATEGORIES= www net MASTER_SITES= https://github.com/tatsuhiro-t/${PORTNAME}/releases/download/v${PORTVERSION}/ \ LOCAL/sunpoet @@ -12,8 +12,12 @@ COMMENT= HTTP/2.0 C Library LICENSE= MIT +BUILD_DEPENDS= libevent2>=2.0.8:${PORTSDIR}/devel/libevent2 \ + spdylay>=1.3.0:${PORTSDIR}/www/spdylay LIB_DEPENDS= libevent_openssl.so:${PORTSDIR}/devel/libevent2 \ libspdylay.so:${PORTSDIR}/www/spdylay +RUN_DEPENDS= libevent2>=2.0.8:${PORTSDIR}/devel/libevent2 \ + spdylay>=1.3.0:${PORTSDIR}/www/spdylay OPTIONS_DEFINE= HPACK OPTIONS_SUB= yes @@ -51,6 +55,5 @@ CONFIGURE_ARGS+=--with-jemalloc post-patch: @${REINPLACE_CMD} -e '/JEMALLOC_LIBS/ s|-ljemalloc||' ${WRKSRC}/configure - @${REINPLACE_CMD} -e '/ENONET/d' ${WRKSRC}/src/shrpx_listen_handler.cc .include diff --git a/www/nghttp2/distinfo b/www/nghttp2/distinfo index 941f5ca58920..1fd73999ef58 100644 --- a/www/nghttp2/distinfo +++ b/www/nghttp2/distinfo @@ -1,2 +1,2 @@ -SHA256 (nghttp2-0.6.0.tar.xz) = 71bb05e4cb8636eef617ed97d733f78bb0214fcb4ffc5b59338b510291f73035 -SIZE (nghttp2-0.6.0.tar.xz) = 776804 +SHA256 (nghttp2-0.6.1.tar.xz) = 2e774e6c7a50ca7b76d7818187fe6ede6aa1e5f25fdb12a5492cf8a5ee74d5c4 +SIZE (nghttp2-0.6.1.tar.xz) = 767404