sec-keys/openpgp-keys-openssh: Added package.

Signed-off-by: Jonathan Davies <jpds@protonmail.com>
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Jonathan Davies
2022-03-16 18:16:19 +00:00
committed by Sam James
parent c15fcdb8cb
commit 4e067be350
3 changed files with 31 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST openssh-7168B983815A5EEF59A4ADFD2A3F414E736060BA.asc 22720 BLAKE2B beec9b791d87c6f10edaca584d7ce16c578baa5bb7715a4fcf062c7014effb00187e32461aeb3e88ac0b05200630ff7fd3f8abd2b0b8b6d3ab451e2d30315847 SHA512 005d08dfe5cc486de0f17f305e617a2d921451b697aec1c58d66fe961dea36df43d5c643fab0a6720dd9a5891536c7eea628a8d9b381bbd613e41b8313989ac0

View File

@@ -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>

View File

@@ -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)
}