summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Davies <jpds@protonmail.com>2022-03-16 18:16:19 +0000
committerSam James <sam@gentoo.org>2022-03-16 19:05:02 +0000
commit4e067be3500401c5f7d2432e94c7bca893e15a36 (patch)
tree4545164535faaf210604f12d32dc106867d678c2 /sec-keys
parentdev-python/libtmux: remove unused patch(es) (diff)
downloadgentoo-4e067be3500401c5f7d2432e94c7bca893e15a36.tar.gz
gentoo-4e067be3500401c5f7d2432e94c7bca893e15a36.tar.bz2
gentoo-4e067be3500401c5f7d2432e94c7bca893e15a36.zip
sec-keys/openpgp-keys-openssh: Added package.
Signed-off-by: Jonathan Davies <jpds@protonmail.com> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sec-keys')
-rw-r--r--sec-keys/openpgp-keys-openssh/Manifest1
-rw-r--r--sec-keys/openpgp-keys-openssh/metadata.xml8
-rw-r--r--sec-keys/openpgp-keys-openssh/openpgp-keys-openssh-20220316.ebuild22
3 files changed, 31 insertions, 0 deletions
diff --git a/sec-keys/openpgp-keys-openssh/Manifest b/sec-keys/openpgp-keys-openssh/Manifest
new file mode 100644
index 000000000000..17e2a0fe850a
--- /dev/null
+++ b/sec-keys/openpgp-keys-openssh/Manifest
@@ -0,0 +1 @@
+DIST openssh-7168B983815A5EEF59A4ADFD2A3F414E736060BA.asc 22720 BLAKE2B beec9b791d87c6f10edaca584d7ce16c578baa5bb7715a4fcf062c7014effb00187e32461aeb3e88ac0b05200630ff7fd3f8abd2b0b8b6d3ab451e2d30315847 SHA512 005d08dfe5cc486de0f17f305e617a2d921451b697aec1c58d66fe961dea36df43d5c643fab0a6720dd9a5891536c7eea628a8d9b381bbd613e41b8313989ac0
diff --git a/sec-keys/openpgp-keys-openssh/metadata.xml b/sec-keys/openpgp-keys-openssh/metadata.xml
new file mode 100644
index 000000000000..8cb7f9b298b9
--- /dev/null
+++ b/sec-keys/openpgp-keys-openssh/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>base-system@gentoo.org</email>
+ </maintainer>
+ <stabilize-allarches/>
+</pkgmetadata>
diff --git a/sec-keys/openpgp-keys-openssh/openpgp-keys-openssh-20220316.ebuild b/sec-keys/openpgp-keys-openssh/openpgp-keys-openssh-20220316.ebuild
new file mode 100644
index 000000000000..fce636ceb61e
--- /dev/null
+++ b/sec-keys/openpgp-keys-openssh/openpgp-keys-openssh-20220316.ebuild
@@ -0,0 +1,22 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="OpenPGP keys used by OpenSSH"
+HOMEPAGE="https://www.openssh.org/"
+SRC_URI="
+ https://cdn.openbsd.org/pub/OpenBSD/OpenSSH/RELEASE_KEY.asc
+ -> openssh-7168B983815A5EEF59A4ADFD2A3F414E736060BA.asc
+"
+S=${WORKDIR}
+
+LICENSE="public-domain"
+SLOT="0"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86"
+
+src_install() {
+ local files=( ${A} )
+ insinto /usr/share/openpgp-keys
+ newins - openssh.org.asc < <(cat "${files[@]/#/${DISTDIR}/}" || die)
+}