summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2021-12-17 23:15:13 +0100
committerMichał Górny <mgorny@gentoo.org>2021-12-18 23:32:40 +0100
commit737e672015848224e462daed2a60e9ef12ad6859 (patch)
treef4f8a4246e29d27f29839a2026497e2e81ab4a8b /sec-keys
parentMove {app-crypt → sec-keys}/openpgp-keys-jedisct1 (diff)
downloadgentoo-737e672015848224e462daed2a60e9ef12ad6859.tar.gz
gentoo-737e672015848224e462daed2a60e9ef12ad6859.tar.bz2
gentoo-737e672015848224e462daed2a60e9ef12ad6859.zip
Move {app-crypt → sec-keys}/openpgp-keys-kernel
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'sec-keys')
-rw-r--r--sec-keys/openpgp-keys-kernel/Manifest2
-rw-r--r--sec-keys/openpgp-keys-kernel/metadata.xml8
-rw-r--r--sec-keys/openpgp-keys-kernel/openpgp-keys-kernel-20201103.ebuild25
3 files changed, 35 insertions, 0 deletions
diff --git a/sec-keys/openpgp-keys-kernel/Manifest b/sec-keys/openpgp-keys-kernel/Manifest
new file mode 100644
index 000000000000..724f68499187
--- /dev/null
+++ b/sec-keys/openpgp-keys-kernel/Manifest
@@ -0,0 +1,2 @@
+DIST gregkh@kernel.org.key 3527 BLAKE2B 7ace705a7cf4727f4ee659774025867ddebf3c6706a23e6bba99adc681101f0a935870f1bdf505735f4842009816ce19d83e05e399a6dc65866ea3588c3b73f1 SHA512 6adc7c22cdf1902a537b6af3f4d006f1f56d0a246d595dd615be14b5121898ed5091dff30043b824a307c0294bb16424103bf697cfe6f7ecee6666f2199cdcd0
+DIST torvalds@kernel.org.key 1572 BLAKE2B 4f6ca50c692f6b2b89097cebe54d20b90160039cf7a396f91dff11259668d4a9a0da08293eafe63ad843a128f8e869c7c59f4a27501fe2cd04e11f16f6fa8ae8 SHA512 039ee4d7a304703020b386672fac66b8304c71ad1dfea60820f9ba13c42fddc01c0bacc26ea792dd6ee4dc10008149d21102c261df61452e6a87abeb9f2fcfd5
diff --git a/sec-keys/openpgp-keys-kernel/metadata.xml b/sec-keys/openpgp-keys-kernel/metadata.xml
new file mode 100644
index 000000000000..babdb62dfb60
--- /dev/null
+++ b/sec-keys/openpgp-keys-kernel/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>dist-kernel@gentoo.org</email>
+ </maintainer>
+ <stabilize-allarches/>
+</pkgmetadata>
diff --git a/sec-keys/openpgp-keys-kernel/openpgp-keys-kernel-20201103.ebuild b/sec-keys/openpgp-keys-kernel/openpgp-keys-kernel-20201103.ebuild
new file mode 100644
index 000000000000..78b0b20d1536
--- /dev/null
+++ b/sec-keys/openpgp-keys-kernel/openpgp-keys-kernel-20201103.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="OpenPGP keys used to sign Linux kernel releases"
+HOMEPAGE="http://miniupnp.free.fr/files/"
+SRC_URI="
+ https://kernel.org/.well-known/openpgpkey/hu/e3n9xnm94c5apezqnj1pmrfuaoyfm8cf?l=gregkh
+ -> gregkh@kernel.org.key
+ https://kernel.org/.well-known/openpgpkey/hu/pf113mfnx1f3eb1yiwhsipa91xfc7o4x?l=torvalds
+ -> torvalds@kernel.org.key
+"
+
+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 - kernel.org.asc < <(cat "${files[@]/#/${DISTDIR}/}")
+}