summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
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)
+}