commit: e6e695e00a98f0cea9f45a7ae33301486d4484ec Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Tue Jan 27 09:01:38 2026 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Sat Feb 7 05:08:31 2026 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e6e695e0
net-libs/ngtcp2: wire up verify-sig Signed-off-by: Sam James <sam <AT> gentoo.org> Part-of: https://github.com/gentoo/gentoo/pull/45540 net-libs/ngtcp2/Manifest | 1 + net-libs/ngtcp2/ngtcp2-1.20.0.ebuild | 10 ++++++++-- net-libs/ngtcp2/ngtcp2-9999.ebuild | 12 +++++++++--- 3 files changed, 18 insertions(+), 5 deletions(-) diff --git a/net-libs/ngtcp2/Manifest b/net-libs/ngtcp2/Manifest index 2b4782aba234..a37205ad8026 100644 --- a/net-libs/ngtcp2/Manifest +++ b/net-libs/ngtcp2/Manifest @@ -9,3 +9,4 @@ DIST ngtcp2-1.17.0.tar.xz 679244 BLAKE2B 4c0201d1f5a42f6aa7bcd93960289cb3277a4fe DIST ngtcp2-1.18.0.tar.xz 688432 BLAKE2B 911ea1e0424093e8892deef6571f67138bdb9d308c23b14577f11915633a373fe3db172b4f318b89077d04f3e8cc34b0a032a21385329915c177f4c82a2a479d SHA512 4fa236927bbc9c1fe6f920d131e4655c4143c256eb001a7a80add65a9024c2039be64d8bb9606567fb6dcddb7dc6f3a11e08f9196714a60fd55c6cf10be8aa35 DIST ngtcp2-1.19.0.tar.xz 686448 BLAKE2B 4db7b7a55d4138612a40a4a0288b5ab229e77d30614918e9c7dbbc3f3d50b85eaa5f26a9683b6834b61e28ed775ec1431486fb1e75e30a6d5f240d72e35e5714 SHA512 db6b69fa627297e37d804cae8ea04aacef2f666f3696ab347297a1a39c48073aedea128885c974e13ebaa52c112e23c12fcee93846f11c0b5c9d1cdb354d6f0e DIST ngtcp2-1.20.0.tar.xz 684060 BLAKE2B 1666c711688674eca1aba86dfca68f421557bf0c49f14ef915b9103b30a5c26b977d74a8cbdfa1466fe80148fdcb6d6f4061c402c5bca8201c071e57684d4132 SHA512 2366b6ae29664617776c901b05976a5cbd5443da8051854ce6c6e7b7779f5630bc2638a97144f4090a0e140a1a7607460b0b738cf55128d9e3bf31f872db26a8 +DIST ngtcp2-1.20.0.tar.xz.asc 833 BLAKE2B 62adeb882ce0023934534f5bad8f13395d66e0a54505ea654e6930c45eeba1fe5e21b964e1d8d2893732a6b8e742d1781c38034ebc69f4c87da5261ec1c7491e SHA512 1a57a1f9969f62a852390193de76685984e87ef5deec53a5a2937198deb01f7b2980989406f23ad58441baec9f881094028bd65c6cf309a73575a41d2ad1b01a diff --git a/net-libs/ngtcp2/ngtcp2-1.20.0.ebuild b/net-libs/ngtcp2/ngtcp2-1.20.0.ebuild index 7bf686b1153a..a73e2ebf3192 100644 --- a/net-libs/ngtcp2/ngtcp2-1.20.0.ebuild +++ b/net-libs/ngtcp2/ngtcp2-1.20.0.ebuild @@ -11,9 +11,15 @@ if [[ ${PV} == 9999 ]] ; then EGIT_REPO_URI="https://github.com/ngtcp2/ngtcp2.git" inherit autotools git-r3 else - SRC_URI="https://github.com/ngtcp2/ngtcp2/releases/download/v${PV}/${P}.tar.xz" + VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/ngtcp2.asc + inherit verify-sig + SRC_URI=" + https://github.com/ngtcp2/ngtcp2/releases/download/v${PV}/${P}.tar.xz + verify-sig? ( https://github.com/ngtcp2/ngtcp2/releases/download/v${PV}/${P}.tar.xz.asc ) + " KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86" + BDEPEND="verify-sig? ( sec-keys/openpgp-keys-ngtcp2 )" fi DESCRIPTION="Implementation of the IETF QUIC Protocol" @@ -31,7 +37,7 @@ RDEPEND=" ) " DEPEND="${RDEPEND}" -BDEPEND="virtual/pkgconfig" +BDEPEND+=" virtual/pkgconfig" src_prepare() { default diff --git a/net-libs/ngtcp2/ngtcp2-9999.ebuild b/net-libs/ngtcp2/ngtcp2-9999.ebuild index 1120f2fc5e63..a73e2ebf3192 100644 --- a/net-libs/ngtcp2/ngtcp2-9999.ebuild +++ b/net-libs/ngtcp2/ngtcp2-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 @@ -11,9 +11,15 @@ if [[ ${PV} == 9999 ]] ; then EGIT_REPO_URI="https://github.com/ngtcp2/ngtcp2.git" inherit autotools git-r3 else - SRC_URI="https://github.com/ngtcp2/ngtcp2/releases/download/v${PV}/${P}.tar.xz" + VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/ngtcp2.asc + inherit verify-sig + SRC_URI=" + https://github.com/ngtcp2/ngtcp2/releases/download/v${PV}/${P}.tar.xz + verify-sig? ( https://github.com/ngtcp2/ngtcp2/releases/download/v${PV}/${P}.tar.xz.asc ) + " KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86" + BDEPEND="verify-sig? ( sec-keys/openpgp-keys-ngtcp2 )" fi DESCRIPTION="Implementation of the IETF QUIC Protocol" @@ -31,7 +37,7 @@ RDEPEND=" ) " DEPEND="${RDEPEND}" -BDEPEND="virtual/pkgconfig" +BDEPEND+=" virtual/pkgconfig" src_prepare() { default
