- Update to 0.7.3

Changes:	https://github.com/tatsuhiro-t/nghttp2/releases
PR:		197504
Submitted by:	mi
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2015-02-18 16:24:00 +00:00
parent edaae1c0fc
commit b65c10c36f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=379284
4 changed files with 16 additions and 4 deletions

View file

@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= nghttp2
PORTVERSION= 0.7.0
PORTVERSION= 0.7.3
CATEGORIES= www net
MASTER_SITES= https://github.com/tatsuhiro-t/${PORTNAME}/releases/download/v${PORTVERSION}/ \
LOCAL/sunpoet

View file

@ -1,2 +1,2 @@
SHA256 (nghttp2-0.7.0.tar.xz) = 41765d7ed8a4790b674ac27ae5106006799de402c0f0427a71c40875e2971542
SIZE (nghttp2-0.7.0.tar.xz) = 821656
SHA256 (nghttp2-0.7.3.tar.xz) = 73b7ec1fa2ca11b537fe6b40e48e30a1db30b93d810d5e3905ce620c67df634f
SIZE (nghttp2-0.7.3.tar.xz) = 834244

View file

@ -0,0 +1,12 @@
--- src/shrpx.cc.orig 2015-01-25 09:01:44.000000000 -0500
+++ src/shrpx.cc 2015-02-09 17:51:30.000000000 -0500
@@ -1862,6 +1862,7 @@
if (get_config()->rlimit_nofile) {
- struct rlimit lim = {get_config()->rlimit_nofile,
- get_config()->rlimit_nofile};
+ struct rlimit lim;
+
+ lim.rlim_cur = lim.rlim_max = get_config()->rlimit_nofile;
if (setrlimit(RLIMIT_NOFILE, &lim) != 0) {
auto error = errno;

View file

@ -10,7 +10,7 @@ include/nghttp2/nghttp2ver.h
lib/libnghttp2.a
lib/libnghttp2.so
lib/libnghttp2.so.5
lib/libnghttp2.so.5.3.0
lib/libnghttp2.so.5.4.0
%%ASIO%%lib/libnghttp2_asio.a
%%ASIO%%lib/libnghttp2_asio.so
%%ASIO%%lib/libnghttp2_asio.so.0