summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoonas Niilola <juippis@gentoo.org>2020-10-13 19:19:35 +0300
committerJoonas Niilola <juippis@gentoo.org>2020-10-14 12:21:13 +0300
commita17712ed31cad56251d0ca0f24fbd7cbbf1a1b7b (patch)
tree940f2ca261c3c276b649ed1721015de10cea0341 /app-crypt
parentverify-sig.eclass: allow .asc PGP signatures (diff)
downloadgentoo-a17712ed31cad56251d0ca0f24fbd7cbbf1a1b7b.tar.gz
gentoo-a17712ed31cad56251d0ca0f24fbd7cbbf1a1b7b.tar.bz2
gentoo-a17712ed31cad56251d0ca0f24fbd7cbbf1a1b7b.zip
app-crypt/openpgp-keys-voikko: new keys used by voikko packages
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'app-crypt')
-rw-r--r--app-crypt/openpgp-keys-voikko/Manifest1
-rw-r--r--app-crypt/openpgp-keys-voikko/metadata.xml8
-rw-r--r--app-crypt/openpgp-keys-voikko/openpgp-keys-voikko-20201013.ebuild19
3 files changed, 28 insertions, 0 deletions
diff --git a/app-crypt/openpgp-keys-voikko/Manifest b/app-crypt/openpgp-keys-voikko/Manifest
new file mode 100644
index 000000000000..b6ed44916605
--- /dev/null
+++ b/app-crypt/openpgp-keys-voikko/Manifest
@@ -0,0 +1 @@
+DIST 4AE3942E.asc.html 5476 BLAKE2B 22b3acf6d4360b1686890596e7c8de2a3a38e739aa0ea4ae7fa7e09295127c7196f5af5750bd30d5260365206e08397e3bda970a4b7cdfb2d0827f80f2810758 SHA512 025bafbfe98e2437a3919f4651e7583a5fccd60ff110904189969ce5fe1770ed4222c60a530065b7720a0e233d1a138b55cd7df4c8f28337b9e953547434429c
diff --git a/app-crypt/openpgp-keys-voikko/metadata.xml b/app-crypt/openpgp-keys-voikko/metadata.xml
new file mode 100644
index 000000000000..6b0a0fb3a729
--- /dev/null
+++ b/app-crypt/openpgp-keys-voikko/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>juippis@gentoo.org</email>
+ <name>Joonas Niilola</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/app-crypt/openpgp-keys-voikko/openpgp-keys-voikko-20201013.ebuild b/app-crypt/openpgp-keys-voikko/openpgp-keys-voikko-20201013.ebuild
new file mode 100644
index 000000000000..3b026f706808
--- /dev/null
+++ b/app-crypt/openpgp-keys-voikko/openpgp-keys-voikko-20201013.ebuild
@@ -0,0 +1,19 @@
+# Copyright 2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="OpenPGP keys used to sign voikko* packages"
+HOMEPAGE="https://voikko.puimula.org/"
+SRC_URI="http://keys.gnupg.net/pks/lookup?op=get&search=0x3D309B604AE3942E -> 4AE3942E.asc.html"
+
+LICENSE="public-domain"
+SLOT="0"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv s390 sparc x86"
+
+S="${WORKDIR}"
+
+src_install() {
+ insinto /usr/share/openpgp-keys
+ newins - voikko.asc < <(awk '/-----BEGIN PGP PUBLIC KEY BLOCK-----/,/-----END PGP PUBLIC KEY BLOCK-----/' ${DISTDIR}/4AE3942E.asc.html || die)
+}