summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2021-12-19 13:29:40 +0100
committerMichał Górny <mgorny@gentoo.org>2021-12-19 13:30:31 +0100
commitc4ac61428968f10932464f73df691d33e424faec (patch)
tree4b1beeba366e388dc6054324e160c7c83c614271 /sec-keys
parentsec-keys/openpgp-keys-signify: New package, v20211219 (diff)
downloadgentoo-c4ac61428968f10932464f73df691d33e424faec.tar.gz
gentoo-c4ac61428968f10932464f73df691d33e424faec.tar.bz2
gentoo-c4ac61428968f10932464f73df691d33e424faec.zip
sec-keys/signify-keys-signify: Enable verify-sig as well
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'sec-keys')
-rw-r--r--sec-keys/signify-keys-signify/Manifest1
-rw-r--r--sec-keys/signify-keys-signify/signify-keys-signify-30.ebuild10
2 files changed, 10 insertions, 1 deletions
diff --git a/sec-keys/signify-keys-signify/Manifest b/sec-keys/signify-keys-signify/Manifest
index a304941a9fb7..d97e821794b1 100644
--- a/sec-keys/signify-keys-signify/Manifest
+++ b/sec-keys/signify-keys-signify/Manifest
@@ -1 +1,2 @@
DIST signify-30.pub 120 BLAKE2B 871116e2e3c7d57cb7c052a1402d9e6e0cae248d9eba1db873c614be4b0165d564504f18a8738c3216af32f6344eaf62f2d76d6f23fb459e7e457b0da7acf384 SHA512 65477898d1e1f8db98d4c862acd0b93c9a2fbe8d1fe2888456917ac316c82b25d764b2d83cdc5f3b64879b24332105515f45c90267b60c517fd7d0e39ed112fa
+DIST signify-30.pub.asc 195 BLAKE2B ea03c57174133a135e6e2ae9c43a830527f0271d7ae36f44107586a7e8799003a0afa0f860dc7d1369dc0a7160a4077e8556edd3ab03225afbc499b869b8f3b7 SHA512 47d54b53c791b1662223960dd995692733db66becc1054214c392bdd19167b05f13a31e7486c93f7256752bd410ef6e7b575cb0af89aa9a18d49150958d32e13
diff --git a/sec-keys/signify-keys-signify/signify-keys-signify-30.ebuild b/sec-keys/signify-keys-signify/signify-keys-signify-30.ebuild
index e31b4010987c..7541ab05ed2b 100644
--- a/sec-keys/signify-keys-signify/signify-keys-signify-30.ebuild
+++ b/sec-keys/signify-keys-signify/signify-keys-signify-30.ebuild
@@ -3,19 +3,27 @@
EAPI=8
+inherit verify-sig
+
EGIT_COMMIT=cb113fe442f84ab7d4ac95b44c49812001e32350
MY_P=${P#signify-keys-}
DESCRIPTION="Signify keys used to sign signify portable releases"
HOMEPAGE="https://github.com/aperezdc/signify"
SRC_URI="
https://github.com/aperezdc/signify/raw/${EGIT_COMMIT}/keys/signifyportable.pub
- -> ${MY_P}.pub"
+ -> ${MY_P}.pub
+ verify-sig? (
+ https://github.com/aperezdc/signify/raw/${EGIT_COMMIT}/keys/signifyportable.pub.asc
+ -> ${MY_P}.pub.asc
+ )"
S="${WORKDIR}"
LICENSE="public-domain"
SLOT="${PV}"
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86"
+VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/usr/share/openpgp-keys/signify.asc
+
src_install() {
insinto /usr/share/signify-keys
doins "${DISTDIR}/${MY_P}.pub"