app-crypt/openpgp-keys-gentoo-release: New package for release keys
authorMichał Górny <mgorny@gentoo.org>
Fri, 23 Mar 2018 16:37:58 +0000 (17:37 +0100)
committerMichał Górny <mgorny@gentoo.org>
Fri, 23 Mar 2018 17:05:04 +0000 (18:05 +0100)
A new package containing the current versions of keys used to sign
Gentoo releases (snapshots, stages).

app-crypt/openpgp-keys-gentoo-release/Manifest [new file with mode: 0644]
app-crypt/openpgp-keys-gentoo-release/metadata.xml [new file with mode: 0644]
app-crypt/openpgp-keys-gentoo-release/openpgp-keys-gentoo-release-20180323.ebuild [new file with mode: 0644]

diff --git a/app-crypt/openpgp-keys-gentoo-release/Manifest b/app-crypt/openpgp-keys-gentoo-release/Manifest
new file mode 100644 (file)
index 0000000..31bff77
--- /dev/null
@@ -0,0 +1 @@
+DIST gentoo-release.asc.20180323.gz 40546 BLAKE2B 7fed70d734a73368e4772cbca7810e8d61ad3b483e0e0c115072de9f96332b0c8c3c9f091b0ee1cdd056c775db1121deee77d6a629e0b99a4c67d485ccacdfe6 SHA512 31ffdf1e23ea6a36c5f4ab6bd49b9c0323b6b03627a9001589030b2b10e95459b959ee931762bcd43fb94b28eaba5d5ede290b1a41ce3ec0ad1b7b8b0f98d48a
diff --git a/app-crypt/openpgp-keys-gentoo-release/metadata.xml b/app-crypt/openpgp-keys-gentoo-release/metadata.xml
new file mode 100644 (file)
index 0000000..0319eec
--- /dev/null
@@ -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>mgorny@gentoo.org</email>
+               <name>Michał Górny</name>
+       </maintainer>
+</pkgmetadata>
diff --git a/app-crypt/openpgp-keys-gentoo-release/openpgp-keys-gentoo-release-20180323.ebuild b/app-crypt/openpgp-keys-gentoo-release/openpgp-keys-gentoo-release-20180323.ebuild
new file mode 100644 (file)
index 0000000..8d339d4
--- /dev/null
@@ -0,0 +1,20 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DESCRIPTION="OpenPGP keys used for Gentoo releases (snapshots, stages)"
+HOMEPAGE="https://www.gentoo.org/downloads/signatures/"
+SRC_URI="https://dev.gentoo.org/~mgorny/dist/openpgp-keys/gentoo-release.asc.${PV}.gz"
+
+LICENSE="public-domain"
+SLOT="0"
+KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~x86-fbsd"
+IUSE=""
+
+S=${WORKDIR}
+
+src_install() {
+       insinto /usr/share/openpgp-keys
+       newins "gentoo-release.asc.${PV}" gentoo-release.asc
+}