summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2021-12-17 23:16:22 +0100
committerMichał Górny <mgorny@gentoo.org>2021-12-18 23:32:51 +0100
commit556d2525fc9b119afc2f36e04837b78737139d05 (patch)
tree0bc3adedfb49745e70ce5a3969deb19773362429 /sec-keys/openpgp-keys-tor/openpgp-keys-tor-20210425.ebuild
parentMove {app-crypt → sec-keys}/openpgp-keys-terminator (diff)
downloadgentoo-556d2525fc9b119afc2f36e04837b78737139d05.tar.gz
gentoo-556d2525fc9b119afc2f36e04837b78737139d05.tar.bz2
gentoo-556d2525fc9b119afc2f36e04837b78737139d05.zip
Move {app-crypt → sec-keys}/openpgp-keys-tor
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'sec-keys/openpgp-keys-tor/openpgp-keys-tor-20210425.ebuild')
-rw-r--r--sec-keys/openpgp-keys-tor/openpgp-keys-tor-20210425.ebuild21
1 files changed, 21 insertions, 0 deletions
diff --git a/sec-keys/openpgp-keys-tor/openpgp-keys-tor-20210425.ebuild b/sec-keys/openpgp-keys-tor/openpgp-keys-tor-20210425.ebuild
new file mode 100644
index 000000000000..82f183c49de6
--- /dev/null
+++ b/sec-keys/openpgp-keys-tor/openpgp-keys-tor-20210425.ebuild
@@ -0,0 +1,21 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="OpenPGP keys used by the Tor project"
+HOMEPAGE="https://www.torproject.org/"
+SRC_URI="https://keys.openpgp.org/vks/v1/by-fingerprint/EF6E286DDA85EA2A4BA7DE684E2C6E8793298290 -> EF6E286DDA85EA2A4BA7DE684E2C6E8793298290.asc
+ https://keys.openpgp.org/vks/v1/by-fingerprint/7A02B3521DC75C542BA015456AFEE6D49E92B601 -> 7A02B3521DC75C542BA015456AFEE6D49E92B601.asc"
+
+LICENSE="public-domain"
+SLOT="0"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86"
+
+S="${WORKDIR}"
+
+src_install() {
+ local files=( ${A} )
+ insinto /usr/share/openpgp-keys
+ newins - torproject.org.asc < <(cat "${files[@]/#/${DISTDIR}/}" || die)
+}