diff options
author | Michał Górny <mgorny@gentoo.org> | 2020-11-03 20:24:31 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2020-11-03 20:37:11 +0100 |
commit | 814cf8db9c212996e3d4d0336aa3ed39e3130319 (patch) | |
tree | 1fdb2b4ed986cbbcec386daee85f2f9553c4f548 /app-crypt | |
parent | verify-sig.eclass: Account for verifying stdin (diff) | |
download | gentoo-814cf8db9c212996e3d4d0336aa3ed39e3130319.tar.gz gentoo-814cf8db9c212996e3d4d0336aa3ed39e3130319.tar.bz2 gentoo-814cf8db9c212996e3d4d0336aa3ed39e3130319.zip |
app-crypt/openpgp-keys-kernel: Add a package for kernel.org keys
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'app-crypt')
-rw-r--r-- | app-crypt/openpgp-keys-kernel/Manifest | 2 | ||||
-rw-r--r-- | app-crypt/openpgp-keys-kernel/metadata.xml | 8 | ||||
-rw-r--r-- | app-crypt/openpgp-keys-kernel/openpgp-keys-kernel-20201103.ebuild | 25 |
3 files changed, 35 insertions, 0 deletions
diff --git a/app-crypt/openpgp-keys-kernel/Manifest b/app-crypt/openpgp-keys-kernel/Manifest new file mode 100644 index 000000000000..724f68499187 --- /dev/null +++ b/app-crypt/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/app-crypt/openpgp-keys-kernel/metadata.xml b/app-crypt/openpgp-keys-kernel/metadata.xml new file mode 100644 index 000000000000..57fd2b433042 --- /dev/null +++ b/app-crypt/openpgp-keys-kernel/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>dist-kernel@gentoo.org</email> + </maintainer> + <stabilize-allarches/> +</pkgmetadata> diff --git a/app-crypt/openpgp-keys-kernel/openpgp-keys-kernel-20201103.ebuild b/app-crypt/openpgp-keys-kernel/openpgp-keys-kernel-20201103.ebuild new file mode 100644 index 000000000000..92a4141ecf78 --- /dev/null +++ b/app-crypt/openpgp-keys-kernel/openpgp-keys-kernel-20201103.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2020 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}/}") +} |