summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-04-07 01:34:36 +0100
committerSam James <sam@gentoo.org>2022-04-07 01:34:36 +0100
commitd18e10151f24eed1461c45854864102e741d9826 (patch)
tree0c5f6cf5c4a842a98aa14395e14a2f7be311fffd
parentsec-keys/openpgp-keys-grep: new package, add 20220407 (diff)
downloadgentoo-d18e10151f24eed1461c45854864102e741d9826.tar.gz
gentoo-d18e10151f24eed1461c45854864102e741d9826.tar.bz2
gentoo-d18e10151f24eed1461c45854864102e741d9826.zip
sys-apps/grep: add verify-sig
Signed-off-by: Sam James <sam@gentoo.org>
-rw-r--r--sys-apps/grep/Manifest1
-rw-r--r--sys-apps/grep/grep-3.7.ebuild8
2 files changed, 6 insertions, 3 deletions
diff --git a/sys-apps/grep/Manifest b/sys-apps/grep/Manifest
index acad192ff2a4..33aa4b11179f 100644
--- a/sys-apps/grep/Manifest
+++ b/sys-apps/grep/Manifest
@@ -1 +1,2 @@
DIST grep-3.7.tar.xz 1641196 BLAKE2B acf03b1fe8065dac48d686de070bab9ecddae65c97f3b0e2be484e8abdd06d1fbdbb396f3d73dadadf9618aad2f02cf6416094bad64d5f2f15eab6b6b3adfeda SHA512 e9e45dcd40af8367f819f2b93c5e1b4e98a251a9aa251841fa67a875380fae52cfa27c68c6dbdd6a4dde1b1017ee0f6b9833ef6dd6e419d32d71b6df5e972b82
+DIST grep-3.7.tar.xz.sig 833 BLAKE2B 02a2850e22e8054dcfd02b6f08747a97d43dae9adb908516bdaed35750aa7f773832ad1b0b4c53d7b0ebc8f1fe2979e7938bbbeeb09ea00c11b4a0d5846c7b9c SHA512 9db28883b696fbbb0fad32f4ecd168954dc475d5f0a8f2b4f960ff615ef7dd8348a7caaee85a96287824472a29485ff921af121c582083ca5ad5c30960f99cf4
diff --git a/sys-apps/grep/grep-3.7.ebuild b/sys-apps/grep/grep-3.7.ebuild
index 2a4b293b29e0..4f07cae885f9 100644
--- a/sys-apps/grep/grep-3.7.ebuild
+++ b/sys-apps/grep/grep-3.7.ebuild
@@ -1,13 +1,15 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
-inherit flag-o-matic toolchain-funcs
+VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/grep.asc
+inherit flag-o-matic toolchain-funcs verify-sig
DESCRIPTION="GNU regular expression matcher"
HOMEPAGE="https://www.gnu.org/software/grep/"
SRC_URI="mirror://gnu/${PN}/${P}.tar.xz"
+SRC_URI+=" verify-sig? ( mirror://gnu/${PN}/${P}.tar.xz.sig )"
LICENSE="GPL-3+"
SLOT="0"
@@ -27,7 +29,7 @@ DEPEND="${RDEPEND}
BDEPEND="
virtual/pkgconfig
nls? ( sys-devel/gettext )
-"
+ verify-sig? ( sec-keys/openpgp-keys-grep )"
PATCHES=( "${FILESDIR}/ppc-musl.patch" )