commit:     286ad0d8f470b94876478ed8b666b83c24e70d7d
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Jan 21 00:02:10 2026 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Jan 21 00:06:28 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=286ad0d8

net-misc/stunnel: wire up verify-sig

Signed-off-by: Sam James <sam <AT> gentoo.org>

 net-misc/stunnel/Manifest            |  1 +
 net-misc/stunnel/stunnel-5.76.ebuild | 10 ++++++++--
 2 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/net-misc/stunnel/Manifest b/net-misc/stunnel/Manifest
index 3ca89ea53c2a..fb30ab66b097 100644
--- a/net-misc/stunnel/Manifest
+++ b/net-misc/stunnel/Manifest
@@ -1,2 +1,3 @@
 DIST stunnel-5.75.tar.gz 921591 BLAKE2B 
2a48440afde0ddc34df1603591c43674f97a6ba66ecfc98a3d87f1bbb4f310d6a363c82b2f1a8da461efc4d7e912f6fa6b25d00f8ab65c205c1d69c997eeb9ed
 SHA512 
ce1d7d1c1534389ae39f2aa838c10b5631c36e88ce1bafc3249fee30130eeb86937808a22c3886dd6598fccf8c63bf965a64b60600a1287aef42b87bd19e7ee7
 DIST stunnel-5.76.tar.gz 925880 BLAKE2B 
f4d7e2d05c8248b9b33d1be175c43e9dc86a4532b58f9ea517bdf7778af7edbd5ba3083dbd5a6fcbbbd7ef308082623955136039912c730a9a7bbdad36a2d2a2
 SHA512 
245f8888476de7d109c9a18ef08f87c4713e1082b6d17c296529ed55b6a5eddd7dd2e624402afed31512a83e65de2cca197704cda8c22cf96063e9283c074a96
+DIST stunnel-5.76.tar.gz.asc 833 BLAKE2B 
b97b22caed9339ab7bb598910591ac96a1449cc5507f679734f3ee4312b946c1577dfb0ff99546f23917b061da7d38a1bb1c265e11e87dc272e7a97d3e080912
 SHA512 
1ce21511a64a52af144654a7baa1d1e555756c012d75464c0ada50d8efcf7acfc9ec57fb79682456d5532e32308ad835dc647f3f99735f4d745c73fdb380c055

diff --git a/net-misc/stunnel/stunnel-5.76.ebuild 
b/net-misc/stunnel/stunnel-5.76.ebuild
index 7ef50797ab7c..940017c4b86e 100644
--- a/net-misc/stunnel/stunnel-5.76.ebuild
+++ b/net-misc/stunnel/stunnel-5.76.ebuild
@@ -1,16 +1,21 @@
-# Copyright 1999-2025 Gentoo Authors
+# Copyright 1999-2026 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
 PYTHON_COMPAT=( python3_{11..14} )
-inherit autotools python-any-r1 ssl-cert systemd tmpfiles
+VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/stunnel.asc
+inherit autotools python-any-r1 ssl-cert systemd tmpfiles verify-sig
 
 DESCRIPTION="TLS/SSL - Port Wrapper"
 HOMEPAGE="https://www.stunnel.org/index.html";
 SRC_URI="
        https://www.stunnel.org/downloads/${P}.tar.gz
        https://www.stunnel.org/stunnel/archive/${PV%%.*}.x/${P}.tar.gz
+       verify-sig? (
+               https://www.stunnel.org/downloads/${P}.tar.gz.asc
+               
https://www.stunnel.org/stunnel/archive/${PV%%.*}.x/${P}.tar.gz.asc
+       )
 "
 
 LICENSE="GPL-2"
@@ -38,6 +43,7 @@ BDEPEND="
                ${PYTHON_DEPS}
                $(python_gen_any_dep 
'dev-python/cryptography[${PYTHON_USEDEP}]')
        )
+       verify-sig? ( sec-keys/openpgp-keys-stunnel )
 "
 
 PATCHES=(

Reply via email to