commit: 3e711afede964860f10c9194608c9f0dc17d63ec Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Sun Jan 18 14:53:22 2026 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Sun Jan 18 14:53:22 2026 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3e711afe
app-crypt/scute: wire up verify-sig Signed-off-by: Sam James <sam <AT> gentoo.org> app-crypt/scute/Manifest | 1 + app-crypt/scute/scute-1.7.0-r2.ebuild | 24 ++++++++++++++++++------ 2 files changed, 19 insertions(+), 6 deletions(-) diff --git a/app-crypt/scute/Manifest b/app-crypt/scute/Manifest index e1b49fe64598..366c6f4efb57 100644 --- a/app-crypt/scute/Manifest +++ b/app-crypt/scute/Manifest @@ -1,2 +1,3 @@ DIST scute-1.7.0-manual-eps-images.tar.xz 236940 BLAKE2B 499207d9059bd4505f426b75f292e66755919d3e4e0d04d2f2420e2e0ceafa14ee47f0a3d7fd2846478dd0878eb01a776582a8299014728f4508a982fec36a28 SHA512 d227111456e664a295ee466dc990364423734170bc82d9a9d38ff72e79abca84775f164c2cf0dd893b9dfb63ff5035334f1740f80601a04dbc9fcb0877f50da7 DIST scute-1.7.0.tar.bz2 851177 BLAKE2B 9a459fc07c53e44d6b194f0f7786644dae7c37402f69cc511ed7e6cc387236cfe01b13400779a90a123461a28e69629abc260f0fad9c302a9b630e23cb8b4293 SHA512 d58771a8e45632f468b60ec2255f84ef5f2f4cc5e11cf8b0fcd0cec60cc8fe0c49bdd523e855998d5aa6f126138981b2316ee825cf33ec14e723f158e36283d3 +DIST scute-1.7.0.tar.bz2.sig 119 BLAKE2B 6926732c3272082884ee9c0cc876e54c4a0b9b398865348ba1a62c87d7f19ccf88b9997c27609b201dc6ef91e76dbbbef964cf45ba67c768947bc1430785ca80 SHA512 69c4f64acf5de53396cb9e0799b42e42f807fc3557ab30fc96381bd34ea827a1170ac518eaac8c48c34db4da93054466cca5e7d66b0b33e247a55685e84526d5 diff --git a/app-crypt/scute/scute-1.7.0-r2.ebuild b/app-crypt/scute/scute-1.7.0-r2.ebuild index ef39f1b873cb..f8d7457d2543 100644 --- a/app-crypt/scute/scute-1.7.0-r2.ebuild +++ b/app-crypt/scute/scute-1.7.0-r2.ebuild @@ -1,13 +1,18 @@ -# Copyright 1999-2024 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/gnupg.asc +inherit verify-sig + DESCRIPTION="A PKCS #11 module for OpenPGP smartcards" HOMEPAGE="http://www.scute.org/" SRC_URI=" mirror://gnupg/scute/${P}.tar.bz2 - https://dev.gentoo.org/~soap/distfiles/${P}-manual-eps-images.tar.xz" + https://dev.gentoo.org/~soap/distfiles/${P}-manual-eps-images.tar.xz + verify-sig? ( mirror://gnupg/scute/${P}.tar.bz2.sig ) +" LICENSE="GPL-2" SLOT="0" @@ -19,19 +24,26 @@ KEYWORDS="~amd64" # gpgsm-gencert.sh working (as that's what the documentation describe). BDEPEND=" >=app-crypt/pinentry-0.7.0 - >=app-crypt/gnupg-2.0.17-r1[smartcard]" + >=app-crypt/gnupg-2.0.17-r1[smartcard] +" DEPEND=" >=dev-libs/libgpg-error-1.4 - >=dev-libs/libassuan-2.0.0:=" + >=dev-libs/libassuan-2.0.0:= +" RDEPEND=" ${DEPEND} - ${BDEPEND}" + ${BDEPEND} +" BDEPEND+=" - sys-apps/texinfo" + sys-apps/texinfo + verify-sig? ( sec-keys/openpgp-keys-gnupg ) +" PATCHES=( "${FILESDIR}"/${P}-fno-common.patch ) src_unpack() { + use verify-sig && verify-sig_verify_detached "${DISTDIR}"/${P}.tar.bz2{,.sig} + default # have to use pregenerated EPS files required for the texinfo documentation,
