summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sec-keys/openpgp-keys-apache-commons/Manifest1
-rw-r--r--sec-keys/openpgp-keys-apache-commons/metadata.xml8
-rw-r--r--sec-keys/openpgp-keys-apache-commons/openpgp-keys-apache-commons-20220709.ebuild20
3 files changed, 29 insertions, 0 deletions
diff --git a/sec-keys/openpgp-keys-apache-commons/Manifest b/sec-keys/openpgp-keys-apache-commons/Manifest
new file mode 100644
index 000000000000..536988020194
--- /dev/null
+++ b/sec-keys/openpgp-keys-apache-commons/Manifest
@@ -0,0 +1 @@
+DIST openpgp-keys-apache-commons-20220709-KEYS.asc 579788 BLAKE2B 94c67b04947c3617882ee04cd743b6fc8d30712be640b4b98fd5383a454df8f665fbf3121d0c0b32e78106a9843f1c30dfb93725061c7fe6070dcfc3e611b801 SHA512 3a41e372ab18deffc883e8692d4b4b98b7be341d56c83a1c9e7d6bfd2c6a80ed01cac5ce53132362f13b4a416429dc7985821e4ba1b4073597bde5b86c633dc0
diff --git a/sec-keys/openpgp-keys-apache-commons/metadata.xml b/sec-keys/openpgp-keys-apache-commons/metadata.xml
new file mode 100644
index 000000000000..6ef2d50cf07e
--- /dev/null
+++ b/sec-keys/openpgp-keys-apache-commons/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>java@gentoo.org</email>
+ <name>Java</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/sec-keys/openpgp-keys-apache-commons/openpgp-keys-apache-commons-20220709.ebuild b/sec-keys/openpgp-keys-apache-commons/openpgp-keys-apache-commons-20220709.ebuild
new file mode 100644
index 000000000000..9f59a5458884
--- /dev/null
+++ b/sec-keys/openpgp-keys-apache-commons/openpgp-keys-apache-commons-20220709.ebuild
@@ -0,0 +1,20 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="OpenPGP keys used by commons.apache.org"
+HOMEPAGE="https://logging.apache.org/log4j/2.x/download.html"
+SRC_URI="https://downloads.apache.org/commons/KEYS -> ${P}-KEYS.asc"
+
+LICENSE="public-domain"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+
+S="${WORKDIR}"
+
+src_install() {
+ local files=( ${A} )
+ insinto /usr/share/openpgp-keys
+ newins - commons.apache.org.asc < <(cat "${files[@]/#/${DISTDIR}/}" || die)
+}