diff options
author | Sam James <sam@gentoo.org> | 2022-04-07 01:22:49 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-04-07 01:22:53 +0100 |
commit | b698de2e61d598117c2598712291029d3a031bac (patch) | |
tree | 149172549c1e59eb792f02f1b8a312c566d0f78d /sys-apps/ed | |
parent | sys-libs/readline: add verify-sig (diff) | |
download | gentoo-b698de2e61d598117c2598712291029d3a031bac.tar.gz gentoo-b698de2e61d598117c2598712291029d3a031bac.tar.bz2 gentoo-b698de2e61d598117c2598712291029d3a031bac.zip |
sys-apps/ed: add verify-sig
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sys-apps/ed')
-rw-r--r-- | sys-apps/ed/Manifest | 1 | ||||
-rw-r--r-- | sys-apps/ed/ed-1.18.ebuild | 14 |
2 files changed, 12 insertions, 3 deletions
diff --git a/sys-apps/ed/Manifest b/sys-apps/ed/Manifest index f23f3129b7e6..258b6f50109e 100644 --- a/sys-apps/ed/Manifest +++ b/sys-apps/ed/Manifest @@ -1,2 +1,3 @@ DIST ed-1.17.tar.xz 68516 BLAKE2B 975e6547f0062dc980bf4490bbbc98e0ac77fc18b2960e18a4c86a6c9190dbd6e1afb155678a1b7d891dc6cb1c5f5c07612365bbf3ffae15bf7575989e4b67d7 SHA512 ebe755ea7d12a7f54379ad8e03b703e9c0dd9aec26b4a79e5014db4368ab2d2926ae094f2ef1aef90cc9b2d541746a81af472578fa44cdf5bfe78aff5882451d DIST ed-1.18.tar.lz 66019 BLAKE2B 9f2b6f00e65dc8a13dd9eba4dfae5ad1e6e3c3ffe623c8b2cc2db78e221ba140595658fd710e4651165a2475a9ed673c9f230fab64f22a7a9488973b5e227198 SHA512 e5dac94697d63fb90cc17e3e653fa56309e9652cc25b2e98a0e21f1ed41e38c48bc33b5fc746275a59e702d1644d3af88f3d82598b482f7309f4e68aab783286 +DIST ed-1.18.tar.lz.sig 72 BLAKE2B 9b498f1604d625c6b32ded636e0841ef384bf59c10ff00722e03dcd890c5c1d1ccc5d99545a6c132a9ccc61b9f8da8f70a94f514db4a417d8c52128be720481a SHA512 f3df77755ac2b47825102b7c6d1774c8aee3f93e0824cebb6d7ea6cda50c1233673ed4c56c4ed135438e993399685cf45616c1fbeb85b2a8501059abe818908d diff --git a/sys-apps/ed/ed-1.18.ebuild b/sys-apps/ed/ed-1.18.ebuild index 701bffec7605..2b89a0fe7deb 100644 --- a/sys-apps/ed/ed-1.18.ebuild +++ b/sys-apps/ed/ed-1.18.ebuild @@ -3,23 +3,31 @@ EAPI="7" -inherit toolchain-funcs unpacker +VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/antoniodiazdiaz.asc +inherit toolchain-funcs unpacker verify-sig MY_P="${PN}-${PV/_/-}" DESCRIPTION="Your basic line editor" HOMEPAGE="https://www.gnu.org/software/ed/" SRC_URI="mirror://gnu/ed/${P}.tar.lz" +SRC_URI+=" verify-sig? ( mirror://gnu/ed/${P}.tar.lz.sig )" S="${WORKDIR}"/${MY_P} LICENSE="GPL-2+" SLOT="0" -if [[ "${PV}" != *_rc* ]] ; then +if [[ ${PV} != *_rc* ]] ; then 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" fi BDEPEND="sys-apps/texinfo - $(unpacker_src_uri_depends)" + $(unpacker_src_uri_depends) + verify-sig? ( sec-keys/openpgp-keys-antoniodiazdiaz )" + +src_unpack() { + verify-sig_verify_detached "${DISTDIR}"/${P}.tar.lz{,.sig} + unpacker "${DISTDIR}"/${P}.tar.lz +} src_configure() { ./configure \ |