From nobody Wed Oct 13 19:20:36 2021 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 3A8EC17F2C23; Wed, 13 Oct 2021 19:20:44 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4HV2SC6pTfz4qRc; Wed, 13 Oct 2021 19:20:43 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 519EA2D4A5; Wed, 13 Oct 2021 19:20:36 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 19DJKa3N072187; Wed, 13 Oct 2021 19:20:36 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 19DJKasI072186; Wed, 13 Oct 2021 19:20:36 GMT (envelope-from git) Date: Wed, 13 Oct 2021 19:20:36 GMT Message-Id: <202110131920.19DJKasI072186@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: ff14d93566c6 - main - www/nghttp2: Update to 1.45.1 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: ff14d93566c67c1d39c697e7cac28fd3d7721725 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=ff14d93566c67c1d39c697e7cac28fd3d7721725 commit ff14d93566c67c1d39c697e7cac28fd3d7721725 Author: Po-Chuan Hsieh AuthorDate: 2021-10-13 19:12:53 +0000 Commit: Po-Chuan Hsieh CommitDate: 2021-10-13 19:12:53 +0000 www/nghttp2: Update to 1.45.1 Changes: https://github.com/nghttp2/nghttp2/releases --- www/nghttp2/Makefile | 2 +- www/nghttp2/distinfo | 6 +++--- www/nghttp2/files/patch-src-util.cc | 20 ++++++++++++++++++++ www/nghttp2/files/patch-src-util.h | 14 ++++++++++++++ 4 files changed, 38 insertions(+), 4 deletions(-) diff --git a/www/nghttp2/Makefile b/www/nghttp2/Makefile index 839387454473..177bc7f4d436 100644 --- a/www/nghttp2/Makefile +++ b/www/nghttp2/Makefile @@ -1,7 +1,7 @@ # Created by: Sunpoet Po-Chuan Hsieh PORTNAME= nghttp2 -PORTVERSION= 1.44.0 +PORTVERSION= 1.45.1 CATEGORIES= www net MASTER_SITES= https://github.com/nghttp2/nghttp2/releases/download/v${PORTVERSION}/ diff --git a/www/nghttp2/distinfo b/www/nghttp2/distinfo index 78682285b472..749abdfcbe55 100644 --- a/www/nghttp2/distinfo +++ b/www/nghttp2/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1627157202 -SHA256 (nghttp2-1.44.0.tar.xz) = 5699473b29941e8dafed10de5c8cb37a3581edf62ba7d04b911ca247d4de3c5d -SIZE (nghttp2-1.44.0.tar.xz) = 3972832 +TIMESTAMP = 1634111660 +SHA256 (nghttp2-1.45.1.tar.xz) = abdc4addccadbc7d89abe27c4d6427d78e57d139f69c1f45749227393c68bf79 +SIZE (nghttp2-1.45.1.tar.xz) = 4017852 diff --git a/www/nghttp2/files/patch-src-util.cc b/www/nghttp2/files/patch-src-util.cc new file mode 100644 index 000000000000..d28648d1946c --- /dev/null +++ b/www/nghttp2/files/patch-src-util.cc @@ -0,0 +1,20 @@ +Obtained from: https://github.com/nghttp2/nghttp2/commit/318e0c8447e2399e7c1e95d8ae8d00118ccea5f7 + +--- src/util.cc.orig 2021-09-21 13:08:54 UTC ++++ src/util.cc +@@ -1688,6 +1688,7 @@ int daemonize(int nochdir, int noclose) { + #endif // !defined(__APPLE__) + } + ++#ifdef ENABLE_HTTP3 + int msghdr_get_local_addr(Address &dest, msghdr *msg, int family) { + switch (family) { + case AF_INET: +@@ -1721,6 +1722,7 @@ int msghdr_get_local_addr(Address &dest, msghdr *msg, + + return -1; + } ++#endif // ENABLE_HTTP3 + + } // namespace util + diff --git a/www/nghttp2/files/patch-src-util.h b/www/nghttp2/files/patch-src-util.h new file mode 100644 index 000000000000..39e08a95e54f --- /dev/null +++ b/www/nghttp2/files/patch-src-util.h @@ -0,0 +1,14 @@ +Obtained from: https://github.com/nghttp2/nghttp2/commit/318e0c8447e2399e7c1e95d8ae8d00118ccea5f7 + +--- src/util.h.orig 2021-09-21 13:08:54 UTC ++++ src/util.h +@@ -916,7 +916,9 @@ std::mt19937 make_mt19937(); + // daemon() using fork(). + int daemonize(int nochdir, int noclose); + ++#ifdef ENABLE_HTTP3 + int msghdr_get_local_addr(Address &dest, msghdr *msg, int family); ++#endif // ENABLE_HTTP3 + + } // namespace util +