1 |
commit: d9b62441e1be355c31de28f629e968e9df2256fe |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Apr 7 00:39:17 2022 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Apr 7 00:39:17 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d9b62441 |
7 |
|
8 |
sys-devel/gettext: add verify-sig |
9 |
|
10 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
11 |
|
12 |
sys-devel/gettext/Manifest | 1 + |
13 |
sys-devel/gettext/gettext-0.21-r1.ebuild | 11 +++++++---- |
14 |
2 files changed, 8 insertions(+), 4 deletions(-) |
15 |
|
16 |
diff --git a/sys-devel/gettext/Manifest b/sys-devel/gettext/Manifest |
17 |
index 61bb66f324f9..695aa9c5e138 100644 |
18 |
--- a/sys-devel/gettext/Manifest |
19 |
+++ b/sys-devel/gettext/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST gettext-0.21.tar.gz 24181849 BLAKE2B 2eae99d0916b00b2af6fbc6bf7e309076519a10fea16cd49e7aa29fe8aec1ee7c784c6277281b764dc4abacf400cd3fe461129586303c8cd337db15c76cb4b87 SHA512 bbe590c5dd3580c75bf30ff768da99a88eb8d466ec1ac9eea20be4cab4357ecf72448e6b81b47425e39d50fa6320ba426632914d7898dfebb4f159abc39c31d1 |
22 |
+DIST gettext-0.21.tar.gz.sig 819 BLAKE2B ea3123a08751ff0e452d419b22b8ed00d28b98f0df0c5bd392a000e4e56c7a540ec49157e6dfc59cde54fca0f95543b30334237f854efe82718a4be092796cb9 SHA512 f43159bd4569a92f35aab64bf6475be17d47ccc8aa2005be7b110c94b93133044becfb58befeadbc1951244129abb4984de814e66a692e6173013ff363f9a6fc |
23 |
|
24 |
diff --git a/sys-devel/gettext/gettext-0.21-r1.ebuild b/sys-devel/gettext/gettext-0.21-r1.ebuild |
25 |
index bab939d0ebc9..825b1144778b 100644 |
26 |
--- a/sys-devel/gettext/gettext-0.21-r1.ebuild |
27 |
+++ b/sys-devel/gettext/gettext-0.21-r1.ebuild |
28 |
@@ -1,19 +1,22 @@ |
29 |
-# Copyright 1999-2021 Gentoo Authors |
30 |
+# Copyright 1999-2022 Gentoo Authors |
31 |
# Distributed under the terms of the GNU General Public License v2 |
32 |
|
33 |
# Note: Keep version bumps in sync with dev-libs/libintl. |
34 |
|
35 |
EAPI=7 |
36 |
|
37 |
-inherit mono-env libtool java-pkg-opt-2 multilib-minimal |
38 |
+VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/gettext.asc |
39 |
+inherit mono-env libtool java-pkg-opt-2 multilib-minimal verify-sig |
40 |
|
41 |
DESCRIPTION="GNU locale utilities" |
42 |
HOMEPAGE="https://www.gnu.org/software/gettext/" |
43 |
-if [[ "${PV}" == *_rc* ]] ; then |
44 |
+if [[ ${PV} == *_rc* ]] ; then |
45 |
SRC_URI="https://alpha.gnu.org/gnu/${PN}/${P/_/-}.tar.bz2" |
46 |
+ SRC_URI+=" verify-sig? ( https://alpha.gnu.org/gnu/${PN}/${P/_/-}.tar.bz2.sig )" |
47 |
S="${WORKDIR}/${P/_/-}" |
48 |
else |
49 |
SRC_URI="mirror://gnu/${PN}/${P}.tar.gz" |
50 |
+ SRC_URI+=" verify-sig? ( mirror://gnu/${PN}/${P}.tar.gz.sig )" |
51 |
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt" |
52 |
fi |
53 |
# Only libasprintf is under the LGPL (and libintl is in a sep package), |
54 |
@@ -43,7 +46,7 @@ RDEPEND="${DEPEND} |
55 |
BDEPEND=" |
56 |
!git? ( cvs? ( dev-vcs/cvs ) ) |
57 |
git? ( dev-vcs/git ) |
58 |
-" |
59 |
+ verify-sig? ( sec-keys/openpgp-keys-gettext )" |
60 |
PDEPEND="emacs? ( app-emacs/po-mode )" |
61 |
|
62 |
MULTILIB_WRAPPED_HEADERS=( |