1 |
commit: d18e10151f24eed1461c45854864102e741d9826 |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Apr 7 00:34:36 2022 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Apr 7 00:34:36 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d18e1015 |
7 |
|
8 |
sys-apps/grep: add verify-sig |
9 |
|
10 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
11 |
|
12 |
sys-apps/grep/Manifest | 1 + |
13 |
sys-apps/grep/grep-3.7.ebuild | 8 +++++--- |
14 |
2 files changed, 6 insertions(+), 3 deletions(-) |
15 |
|
16 |
diff --git a/sys-apps/grep/Manifest b/sys-apps/grep/Manifest |
17 |
index acad192ff2a4..33aa4b11179f 100644 |
18 |
--- a/sys-apps/grep/Manifest |
19 |
+++ b/sys-apps/grep/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST grep-3.7.tar.xz 1641196 BLAKE2B acf03b1fe8065dac48d686de070bab9ecddae65c97f3b0e2be484e8abdd06d1fbdbb396f3d73dadadf9618aad2f02cf6416094bad64d5f2f15eab6b6b3adfeda SHA512 e9e45dcd40af8367f819f2b93c5e1b4e98a251a9aa251841fa67a875380fae52cfa27c68c6dbdd6a4dde1b1017ee0f6b9833ef6dd6e419d32d71b6df5e972b82 |
22 |
+DIST grep-3.7.tar.xz.sig 833 BLAKE2B 02a2850e22e8054dcfd02b6f08747a97d43dae9adb908516bdaed35750aa7f773832ad1b0b4c53d7b0ebc8f1fe2979e7938bbbeeb09ea00c11b4a0d5846c7b9c SHA512 9db28883b696fbbb0fad32f4ecd168954dc475d5f0a8f2b4f960ff615ef7dd8348a7caaee85a96287824472a29485ff921af121c582083ca5ad5c30960f99cf4 |
23 |
|
24 |
diff --git a/sys-apps/grep/grep-3.7.ebuild b/sys-apps/grep/grep-3.7.ebuild |
25 |
index 2a4b293b29e0..4f07cae885f9 100644 |
26 |
--- a/sys-apps/grep/grep-3.7.ebuild |
27 |
+++ b/sys-apps/grep/grep-3.7.ebuild |
28 |
@@ -1,13 +1,15 @@ |
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 |
EAPI=7 |
34 |
|
35 |
-inherit flag-o-matic toolchain-funcs |
36 |
+VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/grep.asc |
37 |
+inherit flag-o-matic toolchain-funcs verify-sig |
38 |
|
39 |
DESCRIPTION="GNU regular expression matcher" |
40 |
HOMEPAGE="https://www.gnu.org/software/grep/" |
41 |
SRC_URI="mirror://gnu/${PN}/${P}.tar.xz" |
42 |
+SRC_URI+=" verify-sig? ( mirror://gnu/${PN}/${P}.tar.xz.sig )" |
43 |
|
44 |
LICENSE="GPL-3+" |
45 |
SLOT="0" |
46 |
@@ -27,7 +29,7 @@ DEPEND="${RDEPEND} |
47 |
BDEPEND=" |
48 |
virtual/pkgconfig |
49 |
nls? ( sys-devel/gettext ) |
50 |
-" |
51 |
+ verify-sig? ( sec-keys/openpgp-keys-grep )" |
52 |
|
53 |
PATCHES=( "${FILESDIR}/ppc-musl.patch" ) |