1 |
commit: 3b53ec016515a59d183e1e521d3ac99c2c42f035 |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Apr 7 00:40:57 2022 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Apr 7 00:40:57 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3b53ec01 |
7 |
|
8 |
dev-libs/libintl: add verify-sig |
9 |
|
10 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
11 |
|
12 |
dev-libs/libintl/Manifest | 1 + |
13 |
dev-libs/libintl/libintl-0.21.ebuild | 11 ++++++----- |
14 |
2 files changed, 7 insertions(+), 5 deletions(-) |
15 |
|
16 |
diff --git a/dev-libs/libintl/Manifest b/dev-libs/libintl/Manifest |
17 |
index 61bb66f324f9..695aa9c5e138 100644 |
18 |
--- a/dev-libs/libintl/Manifest |
19 |
+++ b/dev-libs/libintl/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/dev-libs/libintl/libintl-0.21.ebuild b/dev-libs/libintl/libintl-0.21.ebuild |
25 |
index bc6709653098..90c364e7b1d3 100644 |
26 |
--- a/dev-libs/libintl/libintl-0.21.ebuild |
27 |
+++ b/dev-libs/libintl/libintl-0.21.ebuild |
28 |
@@ -1,4 +1,4 @@ |
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 sys-devel/gettext. |
34 |
@@ -6,12 +6,14 @@ |
35 |
EAPI=7 |
36 |
|
37 |
MY_P="gettext-${PV}" |
38 |
- |
39 |
-inherit multilib-minimal libtool usr-ldscript |
40 |
+VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/gettext.asc |
41 |
+inherit multilib-minimal libtool usr-ldscript verify-sig |
42 |
|
43 |
DESCRIPTION="the GNU international library (split out of gettext)" |
44 |
HOMEPAGE="https://www.gnu.org/software/gettext/" |
45 |
SRC_URI="mirror://gnu/gettext/${MY_P}.tar.gz" |
46 |
+SRC_URI+=" verify-sig? ( mirror://gnu/gettext/${MY_P}.tar.gz.sig )" |
47 |
+S="${WORKDIR}/${MY_P}/gettext-runtime" |
48 |
|
49 |
LICENSE="LGPL-2.1+" |
50 |
SLOT="0" |
51 |
@@ -24,8 +26,7 @@ RDEPEND="${DEPEND} |
52 |
!sys-libs/glibc |
53 |
!sys-libs/musl |
54 |
!<sys-devel/gettext-0.19.6-r1" |
55 |
- |
56 |
-S="${WORKDIR}/${MY_P}/gettext-runtime" |
57 |
+BDEPEND="verify-sig? ( sec-keys/openpgp-keys-gettext )" |
58 |
|
59 |
src_prepare() { |
60 |
default |