summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sec-keys/openpgp-keys-oisf/Manifest1
-rw-r--r--sec-keys/openpgp-keys-oisf/metadata.xml9
-rw-r--r--sec-keys/openpgp-keys-oisf/openpgp-keys-oisf-20200807.ebuild21
3 files changed, 31 insertions, 0 deletions
diff --git a/sec-keys/openpgp-keys-oisf/Manifest b/sec-keys/openpgp-keys-oisf/Manifest
new file mode 100644
index 000000000000..bfd17725f4a6
--- /dev/null
+++ b/sec-keys/openpgp-keys-oisf/Manifest
@@ -0,0 +1 @@
+DIST oisf-B36FDAF2607E10E8FFA89E5E2BA9C98CCDF1E93A.asc 3212 BLAKE2B 0dfd0e84fe340caf38d8e3f87266ffa66f0ee781459818455959634596194c421be0e46ffddfeaa65d606906af372597779c29ca83d9a77b3bc6f2e7c63e0d60 SHA512 20eb56d4d073ad9d0faa62a79f37bc867b519ef974395ad8ea6f74595702a4633f4318772a0862d27279a26a32072bb57c6a15a767f9004de173c94b4f3c92c7
diff --git a/sec-keys/openpgp-keys-oisf/metadata.xml b/sec-keys/openpgp-keys-oisf/metadata.xml
new file mode 100644
index 000000000000..bc94402fe731
--- /dev/null
+++ b/sec-keys/openpgp-keys-oisf/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>marecki@gentoo.org</email>
+ <name>Marek Szuba</name>
+ </maintainer>
+ <stabilize-allarches/>
+</pkgmetadata>
diff --git a/sec-keys/openpgp-keys-oisf/openpgp-keys-oisf-20200807.ebuild b/sec-keys/openpgp-keys-oisf/openpgp-keys-oisf-20200807.ebuild
new file mode 100644
index 000000000000..7049f6b8f630
--- /dev/null
+++ b/sec-keys/openpgp-keys-oisf/openpgp-keys-oisf-20200807.ebuild
@@ -0,0 +1,21 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="OpenPGP key used by Open InfoSec Foundation (OISF) software releases"
+HOMEPAGE="https://www.openinfosecfoundation.org/"
+SRC_URI="https://www.openinfosecfoundation.org/download/OISF.pub
+ -> oisf-B36FDAF2607E10E8FFA89E5E2BA9C98CCDF1E93A.asc"
+
+LICENSE="public-domain"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+
+S="${WORKDIR}"
+
+src_install() {
+ local files=( ${A} )
+ insinto /usr/share/openpgp-keys
+ newins - openinfosecfoundation.org.asc < <(cat "${files[@]/#/${DISTDIR}/}" || die)
+}