commit: 8cbb08f9a448765fb29893f7d4002ab28e326b20 Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Tue Jan 27 08:50:25 2026 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Sat Feb 7 05:08:30 2026 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8cbb08f9
net-libs/nghttp2: wire up verify-sig Signed-off-by: Sam James <sam <AT> gentoo.org> Part-of: https://github.com/gentoo/gentoo/pull/45540 net-libs/nghttp2/Manifest | 1 + net-libs/nghttp2/nghttp2-1.68.0.ebuild | 11 ++++++++--- net-libs/nghttp2/nghttp2-9999.ebuild | 13 +++++++++---- 3 files changed, 18 insertions(+), 7 deletions(-) diff --git a/net-libs/nghttp2/Manifest b/net-libs/nghttp2/Manifest index c66783976f30..b8cdfca87c63 100644 --- a/net-libs/nghttp2/Manifest +++ b/net-libs/nghttp2/Manifest @@ -2,3 +2,4 @@ DIST nghttp2-1.65.0.tar.xz 1604848 BLAKE2B 8fb752f55936110a8b5c27873e7e262a0c847 DIST nghttp2-1.66.0.tar.xz 1743992 BLAKE2B 7b108f82b2ab4e5108a9220dbc57d6d894577464c2d64c5adb02c6f71f4c5d3d524b1c945ab016699236674501458c29d0186eaf2a7442bcb3f728df1075273c SHA512 23b4cae2bbd4b3c11c50093e2fc14f3b08241bb6a85c38409e9a1a328b81ad51f107179493a0ce4c6a767b557cafeca9ba638c491095639dcfd9a2d95fa8b80d DIST nghttp2-1.67.1.tar.xz 1671408 BLAKE2B 748545e87dc1edd580b620566a8c3e565cbaa22b078afd8008e23c5d2929976354dbe89d78b6c375ee046d2ee310395e6154e812f782cf4dbd27b99cf034c730 SHA512 e1b50e963602c961dd839ba032216a6c6c22009c6be0aebecb3711cb6412e2a2caf96fe3fa2a6a1691134c12f8ce479c181825a3c8d2cf87a8e0b1aa40f0261a DIST nghttp2-1.68.0.tar.xz 1691408 BLAKE2B 412842f3ca630b642ef9bb1865d43cf03de804ccc5f0d9ed3643b69930c66a9dd15b11a446c742be950eea24fd1704169c0683b92ea69762d1453ade4f8ed8db SHA512 a5182c2c54cdff3c70bdad204bff9a573cf7951e189d68665087f047cb79e5fc2d5d5aefbb41e2dfe264e2e74fbbe10196cb596248e328c944406ca09da98344 +DIST nghttp2-1.68.0.tar.xz.asc 833 BLAKE2B 33a6e8a8e730b01a6cdce1523464645f0ea11593d91d1f286a081bb02221bce54df60568f24039b6c83e0353d8bbc4bb8fb47dbb7d1ce6cd8c9c1e8aeaa18f46 SHA512 3d7dfee6c07407b22b24b330819af78930945d0d822bea916d70b055d93fb43e8e7ef5cb1a9c72c8da057994168170118cb432067b04400f5c53fe65654b2d09 diff --git a/net-libs/nghttp2/nghttp2-1.68.0.ebuild b/net-libs/nghttp2/nghttp2-1.68.0.ebuild index 6b56fdab67e4..477e6cbcbbf5 100644 --- a/net-libs/nghttp2/nghttp2-1.68.0.ebuild +++ b/net-libs/nghttp2/nghttp2-1.68.0.ebuild @@ -14,10 +14,15 @@ if [[ ${PV} == 9999 ]] ; then EGIT_REPO_URI="https://github.com/nghttp2/nghttp2.git" inherit git-r3 else - inherit autotools - SRC_URI="https://github.com/nghttp2/nghttp2/releases/download/v${PV}/${P}.tar.xz" + VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/nghttp2.asc + inherit autotools verify-sig + SRC_URI=" + https://github.com/nghttp2/nghttp2/releases/download/v${PV}/${P}.tar.xz + verify-sig? ( https://github.com/nghttp2/nghttp2/releases/download/v${PV}/${P}.tar.xz.asc ) + " KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos ~x64-solaris" + BDEPEND="verify-sig? ( sec-keys/openpgp-keys-nghttp2 )" fi LICENSE="MIT" @@ -38,7 +43,7 @@ RDEPEND=" xml? ( >=dev-libs/libxml2-2.7.7:2=[${MULTILIB_USEDEP}] ) " DEPEND="${RDEPEND}" -BDEPEND="virtual/pkgconfig" +BDEPEND+=" virtual/pkgconfig" src_prepare() { default diff --git a/net-libs/nghttp2/nghttp2-9999.ebuild b/net-libs/nghttp2/nghttp2-9999.ebuild index a2c5561ec627..2e9e9510b2e4 100644 --- a/net-libs/nghttp2/nghttp2-9999.ebuild +++ b/net-libs/nghttp2/nghttp2-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2025 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -14,10 +14,15 @@ if [[ ${PV} == 9999 ]] ; then EGIT_REPO_URI="https://github.com/nghttp2/nghttp2.git" inherit git-r3 else - inherit autotools - SRC_URI="https://github.com/nghttp2/nghttp2/releases/download/v${PV}/${P}.tar.xz" + VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/nghttp2.asc + inherit autotools verify-sig + SRC_URI=" + https://github.com/nghttp2/nghttp2/releases/download/v${PV}/${P}.tar.xz + verify-sig? ( https://github.com/nghttp2/nghttp2/releases/download/v${PV}/${P}.tar.xz.asc ) + " KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos ~x64-solaris" + BDEPEND="verify-sig? ( sec-keys/openpgp-keys-nghttp2 )" fi LICENSE="MIT" @@ -38,7 +43,7 @@ RDEPEND=" xml? ( >=dev-libs/libxml2-2.7.7:2=[${MULTILIB_USEDEP}] ) " DEPEND="${RDEPEND}" -BDEPEND="virtual/pkgconfig" +BDEPEND+=" virtual/pkgconfig" src_prepare() { default
