commit:     9debb792fddcd0f79c46213dc8a321ede8cb4f7a
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Jan 27 08:56:16 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=9debb792

net-libs/nghttp3: wire up verify-sig

Signed-off-by: Sam James <sam <AT> gentoo.org>
Part-of: https://github.com/gentoo/gentoo/pull/45540

 net-libs/nghttp3/Manifest              |  1 +
 net-libs/nghttp3/nghttp3-1.15.0.ebuild |  9 +++++++--
 net-libs/nghttp3/nghttp3-9999.ebuild   | 11 ++++++++---
 3 files changed, 16 insertions(+), 5 deletions(-)

diff --git a/net-libs/nghttp3/Manifest b/net-libs/nghttp3/Manifest
index 572f72f5cfb5..d46ecd29c46d 100644
--- a/net-libs/nghttp3/Manifest
+++ b/net-libs/nghttp3/Manifest
@@ -4,5 +4,6 @@ DIST nghttp3-1.12.0.tar.xz 407704 BLAKE2B 
5631a281f240d57757be8ce2a953fdf9d7dd86
 DIST nghttp3-1.13.1.tar.xz 406776 BLAKE2B 
d2a1992642c0611dc525c130df655c1a278a548e56312954bb33bed34496bd08d97cda6cae6df13478d145ca73517d35be495f316c2770bfccee8ecda058c914
 SHA512 
23c0c1913eab27ac53436f170b28b13b225586b69c1044d4595ef3e30372c1008f8cbdba20a86d26a9df216ec8e3c17e91e98d2cb80b9e62a0ddbe6d185cd114
 DIST nghttp3-1.14.0.tar.xz 410460 BLAKE2B 
a2fbd584a6ddcc65947bbf1cba3ae41e88ce8805f49e0891efb002f8101845c3080be554db3c21fd0e5b55412c9252532ca31b74097ffbd6d88ab70ac7d01f29
 SHA512 
e00074c552caa3ffcabdf665a86c2a765f137fe56c9842534051ec9e51dc165a3201cf0ca74aeb76a13fcc4a445efae0e5ab6be849f10a71b1f0ad6d9bec69cf
 DIST nghttp3-1.15.0.tar.xz 408660 BLAKE2B 
ce484f8ae3d0b1122d73a4bbdfe6e4ad58a6a268e181ac576a16a5e844950139827f015d36f28ea14d53a06571394d42e946dc09afb2babd2c27ae8af252b6c9
 SHA512 
9536b2596d226e727f828c9b8e0f638ad99cf75d6358b18c97c62f42635f283816cbee9205f797f2f8f3536b97ba3004b2f38a76ed93a66d3458f5bd9a0c4b68
+DIST nghttp3-1.15.0.tar.xz.asc 833 BLAKE2B 
1e331a9d6cf3576c2318e144cc3c56023581106d5e343416e85fd2b7700058837cf6e6cc38d274399ed20370297b72a042ddfb6ac32a4ebc3f7442019b5c0daa
 SHA512 
b6f078c34482fc57a1038ee9357421513379c9e2b3a36c5a046272970a57ff0dfb1188be6f39612c72e7a2df67f01cab9000fad40b051a49268d222c9b9e7771
 DIST nghttp3-1.8.0.tar.xz 398640 BLAKE2B 
14866d9efdfc847367dde782770f43374209bd4229fa621c3142bb6c8ac3b3db6feb34e7732365edaded49b6d27ca9c02b376d11a082c6f7ad2b3e8b4d799e01
 SHA512 
01b7a6e313e13ebfecd63afdfaed8c8518b49cff64d08359ec7fb7f05f2dc615c4d58a8338d789e54c2d85cb5fa8e2151c91df40ec39826283f7328fc86fc18b
 DIST nghttp3-1.9.0.tar.xz 400208 BLAKE2B 
d7d0807c3b445db9a8304273c99b4febdc962c505ce67af5ab5ccbd1434316291f5b41b3834c6462a950f94f6d434d3655b77fe1df78d2f5c758a8c1a2dc0639
 SHA512 
acef4156878047fcc44669888911cb2bcf255c11106da8342349406b906d46f641b59e295a1b650815d896465bebcbc6652581d906ce348ef8d07442b307f862

diff --git a/net-libs/nghttp3/nghttp3-1.15.0.ebuild 
b/net-libs/nghttp3/nghttp3-1.15.0.ebuild
index bab5180571da..e915881f93fd 100644
--- a/net-libs/nghttp3/nghttp3-1.15.0.ebuild
+++ b/net-libs/nghttp3/nghttp3-1.15.0.ebuild
@@ -11,10 +11,15 @@ if [[ ${PV} == 9999 ]] ; then
        EGIT_REPO_URI="https://github.com/ngtcp2/nghttp3.git";
        inherit autotools git-r3
 else
-       
SRC_URI="https://github.com/ngtcp2/nghttp3/releases/download/v${PV}/${P}.tar.xz";
-       inherit libtool
+       VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/nghttp3.asc
+       inherit libtool verify-sig
+       SRC_URI="
+               
https://github.com/ngtcp2/nghttp3/releases/download/v${PV}/${P}.tar.xz
+               verify-sig? ( 
https://github.com/ngtcp2/nghttp3/releases/download/v${PV}/${P}.tar.xz.asc )
+       "
 
        KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~sparc ~x86 ~arm64-macos ~x64-macos ~x64-solaris"
+       BDEPEND="verify-sig? ( sec-keys/openpgp-keys-nghttp3 )"
 fi
 
 DESCRIPTION="HTTP/3 library written in C"

diff --git a/net-libs/nghttp3/nghttp3-9999.ebuild 
b/net-libs/nghttp3/nghttp3-9999.ebuild
index cc9fdc61d9e5..e915881f93fd 100644
--- a/net-libs/nghttp3/nghttp3-9999.ebuild
+++ b/net-libs/nghttp3/nghttp3-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,10 +11,15 @@ if [[ ${PV} == 9999 ]] ; then
        EGIT_REPO_URI="https://github.com/ngtcp2/nghttp3.git";
        inherit autotools git-r3
 else
-       
SRC_URI="https://github.com/ngtcp2/nghttp3/releases/download/v${PV}/${P}.tar.xz";
-       inherit libtool
+       VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/nghttp3.asc
+       inherit libtool verify-sig
+       SRC_URI="
+               
https://github.com/ngtcp2/nghttp3/releases/download/v${PV}/${P}.tar.xz
+               verify-sig? ( 
https://github.com/ngtcp2/nghttp3/releases/download/v${PV}/${P}.tar.xz.asc )
+       "
 
        KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~sparc ~x86 ~arm64-macos ~x64-macos ~x64-solaris"
+       BDEPEND="verify-sig? ( sec-keys/openpgp-keys-nghttp3 )"
 fi
 
 DESCRIPTION="HTTP/3 library written in C"

Reply via email to