commit:     f12f146c995baa461179a3963a71a7f276747717
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 18 03:21:49 2026 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Jan 18 14:30:25 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f12f146c

app-admin/pwgen: wire up verify-sig

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

 app-admin/pwgen/Manifest             |  1 +
 app-admin/pwgen/pwgen-2.08-r2.ebuild | 14 ++++++++++++--
 2 files changed, 13 insertions(+), 2 deletions(-)

diff --git a/app-admin/pwgen/Manifest b/app-admin/pwgen/Manifest
index d9d9e11ce0bd..e957de2f3ce0 100644
--- a/app-admin/pwgen/Manifest
+++ b/app-admin/pwgen/Manifest
@@ -1 +1,2 @@
 DIST pwgen-2.08.tar.gz 54884 BLAKE2B 
43bb6176d9408558b362bd84839c190c4bcf5d8f71b46fcbbe0b00c390d957683fd9403ff697e96cef2e4de27776c841e12032d3589965629e8e2d29bf202583
 SHA512 
4a930dc7d4c58a4434209db30c54629d76fce57d0fd5767cd7894168bb1a5b85eaae6734a982b0f4e0640540c366ce27ad84860ff2c406dea3f5902b5bb54255
+DIST pwgen-2.08.tar.gz.asc 488 BLAKE2B 
45f04fc6d43b6b863ff2b8d9e9721a05c183dd62e9de543d5f25397564feb310602f7fff7e49328ad2efafc15ed3fe73c2bc7eaa3d02775efd04547059f9c4ac
 SHA512 
5f8fec054d6453b2a3ab4157321d7dab456282148f193c589f4d22b1ba9d2c1198a45ccabc19092ecbf2b466f943a0eb995f013de18ff26547d846bf4abc0d78

diff --git a/app-admin/pwgen/pwgen-2.08-r2.ebuild 
b/app-admin/pwgen/pwgen-2.08-r2.ebuild
index c29d139c09b4..f2b506229031 100644
--- a/app-admin/pwgen/pwgen-2.08-r2.ebuild
+++ b/app-admin/pwgen/pwgen-2.08-r2.ebuild
@@ -1,17 +1,27 @@
-# Copyright 1999-2025 Gentoo Authors
+# Copyright 1999-2026 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
+VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/tytso.asc
+inherit verify-sig
+
 DESCRIPTION="Password Generator"
 HOMEPAGE="https://sourceforge.net/projects/pwgen/";
-SRC_URI="https://downloads.sourceforge.net/pwgen/${P}.tar.gz";
+SRC_URI="
+       https://downloads.sourceforge.net/pwgen/${P}.tar.gz
+       verify-sig? ( https://downloads.sourceforge.net/pwgen/${P}.tar.gz.asc )
+"
 
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~sparc 
x86 ~arm64-macos ~x64-macos ~x64-solaris"
 IUSE="livecd"
 
+BDEPEND="
+       verify-sig? ( sec-keys/openpgp-keys-tytso )
+"
+
 PATCHES=(
        "${FILESDIR}"/${P}-c2x.patch
 )

Reply via email to