summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-04-07 04:47:06 +0100
committerSam James <sam@gentoo.org>2022-04-07 04:57:20 +0100
commitcf7fed05f6e80c7134dcd4cd613c23118b685785 (patch)
tree386e15326df770087f210cf39b4917ec49e08ed1 /sys-apps/sed/sed-4.8.ebuild
parentsec-keys/openpgp-keys-sed: new package, add 20220407 (diff)
downloadgentoo-cf7fed05f6e80c7134dcd4cd613c23118b685785.tar.gz
gentoo-cf7fed05f6e80c7134dcd4cd613c23118b685785.tar.bz2
gentoo-cf7fed05f6e80c7134dcd4cd613c23118b685785.zip
sys-apps/sed: add verify-sig
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sys-apps/sed/sed-4.8.ebuild')
-rw-r--r--sys-apps/sed/sed-4.8.ebuild7
1 files changed, 5 insertions, 2 deletions
diff --git a/sys-apps/sed/sed-4.8.ebuild b/sys-apps/sed/sed-4.8.ebuild
index 69f4960ab94f..3ecfbc9df7fd 100644
--- a/sys-apps/sed/sed-4.8.ebuild
+++ b/sys-apps/sed/sed-4.8.ebuild
@@ -3,11 +3,13 @@
EAPI=7
-inherit flag-o-matic
+VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/sed.asc
+inherit flag-o-matic verify-sig
DESCRIPTION="Super-useful stream editor"
HOMEPAGE="http://sed.sourceforge.net/"
SRC_URI="mirror://gnu/sed/${P}.tar.xz"
+SRC_URI+=" verify-sig? ( mirror://gnu/sed/${P}.tar.xz.sig )"
LICENSE="GPL-3"
SLOT="0"
@@ -28,7 +30,8 @@ DEPEND="${RDEPEND}
selinux? ( sys-libs/libselinux[static-libs(+)] )
)
"
-BDEPEND="nls? ( sys-devel/gettext )"
+BDEPEND="nls? ( sys-devel/gettext )
+ verify-sig? ( sec-keys/openpgp-keys-sed )"
src_configure() {
use static && append-ldflags -static