summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-04-07 00:29:41 +0100
committerSam James <sam@gentoo.org>2022-04-07 00:33:52 +0100
commitf7de34bb041970ea5638c3185add1519e7e3f9c3 (patch)
tree678d9ef92ab35b87353f97adbe117e732d2d96fc /app-arch/pdlzip
parentapp-arch/lzlib: add verify-sig (diff)
downloadgentoo-f7de34bb041970ea5638c3185add1519e7e3f9c3.tar.gz
gentoo-f7de34bb041970ea5638c3185add1519e7e3f9c3.tar.bz2
gentoo-f7de34bb041970ea5638c3185add1519e7e3f9c3.zip
app-arch/pdlzip: add verify-sig
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-arch/pdlzip')
-rw-r--r--app-arch/pdlzip/Manifest1
-rw-r--r--app-arch/pdlzip/pdlzip-1.12.ebuild6
2 files changed, 6 insertions, 1 deletions
diff --git a/app-arch/pdlzip/Manifest b/app-arch/pdlzip/Manifest
index ec5275de7dbe..480d8cab4dcb 100644
--- a/app-arch/pdlzip/Manifest
+++ b/app-arch/pdlzip/Manifest
@@ -1,2 +1,3 @@
DIST pdlzip-1.11.tar.gz 73641 BLAKE2B 32b59f7ce1eb70916cba96444234fa95c4c798b00f32f54c0ec51e6c6558c7b01ee118f82c011a6d642a58b11b5f270bffe21df8d9b62478b809a84abe51164a SHA512 8fc3639ab1367026d9b5185d2f9db321b1eccfb2f2f3eebc22a41b10b2a824e598dd81d9d701923a7f55943501189b11f4ec00b0187dbadd56b06e329b750075
DIST pdlzip-1.12.tar.gz 74125 BLAKE2B 41ae5878d75c0bcfad5b71194b58950d91281a5a20e67b9081b9ef6f852bf9467bd512c72a1af873b15bf84360273091d05ab6283ba0f3a725bd5fc17746f821 SHA512 0472c725db187c984f8874d039c53bd961a8d510ee03ea0b6b9e19ee2d8e7addadd06fc7715a58adfe8335c90ea697640c751cdfaf0007e40c94408a0bf8ed72
+DIST pdlzip-1.12.tar.gz.sig 72 BLAKE2B c7f95cc45493402e862068e78921729c39436729599fe41dabcedabbf7ebade0ac140b73e208cc3d4f776622668c339f23b06b8b55547c0b9c55ccaff154842d SHA512 45ebc9438705a242fb1948e74b5e27f1ef336b67549a8e279c015c1e01107fd565e68c11426467f60a17e0ee65362a59e765ec118a80b875865fd429bbd80b80
diff --git a/app-arch/pdlzip/pdlzip-1.12.ebuild b/app-arch/pdlzip/pdlzip-1.12.ebuild
index 0084a4a55283..764dcede6f8a 100644
--- a/app-arch/pdlzip/pdlzip-1.12.ebuild
+++ b/app-arch/pdlzip/pdlzip-1.12.ebuild
@@ -3,16 +3,20 @@
EAPI=8
-inherit toolchain-funcs
+VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/antoniodiazdiaz.asc
+inherit toolchain-funcs verify-sig
DESCRIPTION="Public-domain version of lzip compressor"
HOMEPAGE="https://www.nongnu.org/lzip/pdlzip.html"
SRC_URI="https://download.savannah.gnu.org/releases/lzip/pdlzip/${P}.tar.gz"
+SRC_URI+=" verify-sig? ( https://download.savannah.gnu.org/releases/lzip/${PN}/${P/_/-}.tar.gz.sig )"
LICENSE="public-domain"
SLOT="0"
KEYWORDS="~amd64 ~mips ~x86"
+BDEPEND="verify-sig? ( sec-keys/openpgp-keys-antoniodiazdiaz )"
+
src_configure() {
local myconf=(
--prefix="${EPREFIX}"/usr