commit:     89f5f0e2ef2eac68525b5f4136c0d5fba4c690bf
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Jan 19 01:01:15 2026 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Jan 19 01:01:42 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=89f5f0e2

net-vpn/strongswan: wire up verify-sig

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

 net-vpn/strongswan/Manifest                |  1 +
 net-vpn/strongswan/strongswan-6.0.4.ebuild | 12 ++++++++++--
 2 files changed, 11 insertions(+), 2 deletions(-)

diff --git a/net-vpn/strongswan/Manifest b/net-vpn/strongswan/Manifest
index 9631422e068b..1fe646b5ea6a 100644
--- a/net-vpn/strongswan/Manifest
+++ b/net-vpn/strongswan/Manifest
@@ -1,2 +1,3 @@
 DIST strongswan-6.0.3.tar.bz2 4877482 BLAKE2B 
355dff5de259e545b1bb5e24853dc91148c3d400b1977a2de35271e019dfc236c838ccac4552974a4999e2768900150c432753fc0d422444d4cc34486566e192
 SHA512 
d085add33b04c908b0dfb9fdcab5c39c68b499e266cd0d5599f9bebf5974a12f0c6197f2e8a4013bf579735a648dfaa20d28dfe4fae32f5bae713d8bb8aa7dab
 DIST strongswan-6.0.4.tar.bz2 4915290 BLAKE2B 
2291900bda3e679cb68f35e44fe20011d82b44e7a9ed3fd0ae7c40ed57154c5ecded1ab5bffc9ab30c93de667ef9b103a7da1a2b31d8e2eae97b268f0be11f01
 SHA512 
e8e3b6c2f0a24ec4cf8a173c496f6591a86a89395690d54edfa8db025ad52d6e7479f81371071fd847a84ee8fa5dcb627afb74f4be2607863d1604115d8987ec
+DIST strongswan-6.0.4.tar.bz2.sig 659 BLAKE2B 
9f52de2eaa6e72841df39e51c118ab932bf134aef5de3691933891e3878e12f80508b036e6f075a9ff2f3bb42d4c37431cbbad96c9db7c7ba82b744c5bbea94f
 SHA512 
a78cc6d7630aee51c0bd0268c5ceb1723a90275a6466a9f4e0b0e6cc1a3ad25ea0ea075cf09f3db0495e3e1a792ff483c16ffe9101839bb4a9fa261b3e38696f

diff --git a/net-vpn/strongswan/strongswan-6.0.4.ebuild 
b/net-vpn/strongswan/strongswan-6.0.4.ebuild
index bdcd86cb7e06..18b7bd3a8616 100644
--- a/net-vpn/strongswan/strongswan-6.0.4.ebuild
+++ b/net-vpn/strongswan/strongswan-6.0.4.ebuild
@@ -2,11 +2,16 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="8"
-inherit systemd
+
+VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/strongswan.asc
+inherit systemd verify-sig
 
 DESCRIPTION="IPsec-based VPN solution, supporting IKEv1/IKEv2 and MOBIKE"
 HOMEPAGE="https://www.strongswan.org/";
-SRC_URI="https://download.strongswan.org/${P}.tar.bz2";
+SRC_URI="
+       https://download.strongswan.org/${P}.tar.bz2
+       verify-sig? ( https://download.strongswan.org/${P}.tar.bz2.sig )
+"
 
 LICENSE="GPL-2 RSA DES"
 SLOT="0"
@@ -70,6 +75,9 @@ RDEPEND="
        !net-vpn/libreswan
        selinux? ( sec-policy/selinux-ipsec )
 "
+BDEPEND="
+       verify-sig? ( sec-keys/openpgp-keys-strongswan )
+"
 
 UGID="ipsec"
 

Reply via email to