commit: 9b2773db31bcd7621d8672d1384a51d930cdf5db
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Feb 6 20:29:30 2026 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Feb 6 20:38:44 2026 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9b2773db
sys-apps/texinfo: wire up verify-sig
Signed-off-by: Sam James <sam <AT> gentoo.org>
sys-apps/texinfo/Manifest | 1 +
sys-apps/texinfo/texinfo-7.2-r4.ebuild | 25 ++++++++++++++++++-------
sys-apps/texinfo/texinfo-9999.ebuild | 29 ++++++++++++++++++++++-------
3 files changed, 41 insertions(+), 14 deletions(-)
diff --git a/sys-apps/texinfo/Manifest b/sys-apps/texinfo/Manifest
index 845d7e057179..360782194ae0 100644
--- a/sys-apps/texinfo/Manifest
+++ b/sys-apps/texinfo/Manifest
@@ -1 +1,2 @@
DIST texinfo-7.2.tar.xz 6408432 BLAKE2B
fc6bd020310a437a73d5723d257ca3da1d15329e9e668fa78c49ac77759c2c990d4422c2a7071b217ea214b88389a0cbb43d3fcfa5fe9bf9651270167b15c342
SHA512
8e67337ae12a552fc620c43725507a4978710ea6630e98b0f5e98eb3f79a90e191dde5225699aa6217c26f171d277461f76150f0459cd07b40c3234d2f3d89bf
+DIST texinfo-7.2.tar.xz.sig 265 BLAKE2B
dc3a1b157efce581ff67b1605c646a5c78fe355176376b2ec8f5d35f0b1e28fc86ef03e73fe2f2ba4e50cc893d1ad379f6be1b8b627a6eb78560b37aeb37c880
SHA512
fcb5bcf655e16f8994b33242516cff7f5dc6684555c889fee4a4e5b01cbc9c8163d6ea5c77722b2bb8d6f65120650de4daff027bee135d1c29f82316211d8fb4
diff --git a/sys-apps/texinfo/texinfo-7.2-r4.ebuild
b/sys-apps/texinfo/texinfo-7.2-r4.ebuild
index 5beb2a5de968..a5d479732135 100644
--- a/sys-apps/texinfo/texinfo-7.2-r4.ebuild
+++ b/sys-apps/texinfo/texinfo-7.2-r4.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
# Note: if your package uses the texi2dvi utility, it must depend on the
@@ -22,13 +22,24 @@ if [[ ${PV} == 9999 ]]; then
>=dev-build/automake-1.16
dev-build/libtool
"
-elif [[ $(ver_cut 3) -ge 90 || $(ver_cut 4) -ge 90 ]] ; then
- SRC_URI="https://alpha.gnu.org/gnu/${PN}/${P}.tar.xz"
- REGEN_BDEPEND=""
else
- SRC_URI="mirror://gnu/${PN}/${P}.tar.xz"
- KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64
~riscv ~s390 ~sparc x86 ~arm64-macos ~x64-macos ~x64-solaris"
- REGEN_BDEPEND=""
+ VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/texinfo.asc
+ inherit verify-sig
+
+ if [[ $(ver_cut 3) -ge 90 || $(ver_cut 4) -ge 90 ]] ; then
+ SRC_URI="
+ https://alpha.gnu.org/gnu/${PN}/${P}.tar.xz
+ verify-sig? (
https://alpha.gnu.org/gnu/${PN}/${P}.tar.xz.sig )
+ "
+ REGEN_BDEPEND="verify-sig? ( sec-keys/openpgp-keys-texinfo )"
+ else
+ SRC_URI="
+ mirror://gnu/${PN}/${P}.tar.xz
+ verify-sig? ( mirror://gnu/${PN}/${P}.tar.xz.sig )
+ "
+ KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc
ppc64 ~riscv ~s390 ~sparc x86 ~arm64-macos ~x64-macos ~x64-solaris"
+ REGEN_BDEPEND="verify-sig? ( sec-keys/openpgp-keys-texinfo )"
+ fi
fi
LICENSE="GPL-3+"
diff --git a/sys-apps/texinfo/texinfo-9999.ebuild
b/sys-apps/texinfo/texinfo-9999.ebuild
index 3b8ef640211a..24d1518d6df8 100644
--- a/sys-apps/texinfo/texinfo-9999.ebuild
+++ b/sys-apps/texinfo/texinfo-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
# Note: if your package uses the texi2dvi utility, it must depend on the
@@ -22,13 +22,24 @@ if [[ ${PV} == 9999 ]]; then
>=dev-build/automake-1.16
dev-build/libtool
"
-elif [[ $(ver_cut 3) -ge 90 || $(ver_cut 4) -ge 90 ]] ; then
- SRC_URI="https://alpha.gnu.org/gnu/${PN}/${P}.tar.xz"
- REGEN_BDEPEND=""
else
- SRC_URI="mirror://gnu/${PN}/${P}.tar.xz"
- KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc
~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos ~x64-solaris"
- REGEN_BDEPEND=""
+ VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/texinfo.asc
+ inherit verify-sig
+
+ if [[ $(ver_cut 3) -ge 90 || $(ver_cut 4) -ge 90 ]] ; then
+ SRC_URI="
+ https://alpha.gnu.org/gnu/${PN}/${P}.tar.xz
+ verify-sig? (
https://alpha.gnu.org/gnu/${PN}/${P}.tar.xz.sig )
+ "
+ REGEN_BDEPEND="verify-sig? ( sec-keys/openpgp-keys-texinfo )"
+ else
+ SRC_URI="
+ mirror://gnu/${PN}/${P}.tar.xz
+ verify-sig? ( mirror://gnu/${PN}/${P}.tar.xz.sig )
+ "
+ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips
~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos ~x64-solaris"
+ REGEN_BDEPEND="verify-sig? ( sec-keys/openpgp-keys-texinfo )"
+ fi
fi
LICENSE="GPL-3+"
@@ -51,6 +62,10 @@ BDEPEND="
nls? ( >=sys-devel/gettext-0.19.6 )
"
+PATCHES=(
+ "${FILESDIR}"/${PN}-7.2-perl-5.42.patch
+)
+
src_prepare() {
default