From owner-svn-ports-all@freebsd.org Fri Dec 4 12:33:14 2015 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0CEF0A4005A; Fri, 4 Dec 2015 12:33:14 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B61D7161F; Fri, 4 Dec 2015 12:33:13 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id tB4CXC09013974; Fri, 4 Dec 2015 12:33:12 GMT (envelope-from sunpoet@FreeBSD.org) Received: (from sunpoet@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id tB4CXCbM013970; Fri, 4 Dec 2015 12:33:12 GMT (envelope-from sunpoet@FreeBSD.org) Message-Id: <201512041233.tB4CXCbM013970@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: sunpoet set sender to sunpoet@FreeBSD.org using -f From: Sunpoet Po-Chuan Hsieh Date: Fri, 4 Dec 2015 12:33:12 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r402947 - in head/www/nghttp2: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Dec 2015 12:33:14 -0000 Author: sunpoet Date: Fri Dec 4 12:33:12 2015 New Revision: 402947 URL: https://svnweb.freebsd.org/changeset/ports/402947 Log: - Update to 1.5.0 Changes: https://github.com/tatsuhiro-t/nghttp2/releases Added: head/www/nghttp2/files/ head/www/nghttp2/files/patch-src-asio_common.cc (contents, props changed) Modified: head/www/nghttp2/Makefile head/www/nghttp2/distinfo head/www/nghttp2/pkg-plist Modified: head/www/nghttp2/Makefile ============================================================================== --- head/www/nghttp2/Makefile Fri Dec 4 12:33:07 2015 (r402946) +++ head/www/nghttp2/Makefile Fri Dec 4 12:33:12 2015 (r402947) @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= nghttp2 -PORTVERSION= 1.4.0 +PORTVERSION= 1.5.0 CATEGORIES= www net MASTER_SITES= https://github.com/tatsuhiro-t/${PORTNAME}/releases/download/v${PORTVERSION}/ \ LOCAL/sunpoet Modified: head/www/nghttp2/distinfo ============================================================================== --- head/www/nghttp2/distinfo Fri Dec 4 12:33:07 2015 (r402946) +++ head/www/nghttp2/distinfo Fri Dec 4 12:33:12 2015 (r402947) @@ -1,2 +1,2 @@ -SHA256 (nghttp2-1.4.0.tar.xz) = 20d1481fe7fa65fd4f25457a43406a6f627a34f19b61f488a18ab56e2ef15b65 -SIZE (nghttp2-1.4.0.tar.xz) = 1388820 +SHA256 (nghttp2-1.5.0.tar.xz) = 52e345d46d6f990dc19be8a35403a5230345182d26d04cb82abbea4a168f5987 +SIZE (nghttp2-1.5.0.tar.xz) = 1398256 Added: head/www/nghttp2/files/patch-src-asio_common.cc ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/nghttp2/files/patch-src-asio_common.cc Fri Dec 4 12:33:12 2015 (r402947) @@ -0,0 +1,14 @@ +--- src/asio_common.cc.orig 2015-11-26 13:27:10 UTC ++++ src/asio_common.cc +@@ -177,9 +177,11 @@ bool tls_h2_negotiated(ssl_socket &socke + unsigned int next_proto_len = 0; + + SSL_get0_next_proto_negotiated(ssl, &next_proto, &next_proto_len); ++#if OPENSSL_VERSION_NUMBER >= 0x10002000L + if (next_proto == nullptr) { + SSL_get0_alpn_selected(ssl, &next_proto, &next_proto_len); + } ++#endif // OPENSSL_VERSION_NUMBER >= 0x10002000L + + if (next_proto == nullptr) { + return false; Modified: head/www/nghttp2/pkg-plist ============================================================================== --- head/www/nghttp2/pkg-plist Fri Dec 4 12:33:07 2015 (r402946) +++ head/www/nghttp2/pkg-plist Fri Dec 4 12:33:12 2015 (r402947) @@ -12,7 +12,7 @@ include/nghttp2/nghttp2ver.h lib/libnghttp2.a lib/libnghttp2.so lib/libnghttp2.so.14 -lib/libnghttp2.so.14.2.0 +lib/libnghttp2.so.14.3.0 %%ASIO%%lib/libnghttp2_asio.a %%ASIO%%lib/libnghttp2_asio.so %%ASIO%%lib/libnghttp2_asio.so.1