commit:     a130608df87b3e34f8f260db937fee0c58d21b20
Author:     Volkmar W. Pogatzki <gentoo <AT> pogatzki <DOT> net>
AuthorDate: Mon Oct 24 09:33:38 2022 +0000
Commit:     Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Fri Oct 28 15:50:48 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a130608d

sec-keys/openpgp-keys-apache-commons: new package, add 20220709

Signed-off-by: Volkmar W. Pogatzki <gentoo <AT> pogatzki.net>
Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>

 sec-keys/openpgp-keys-apache-commons/Manifest        |  1 +
 sec-keys/openpgp-keys-apache-commons/metadata.xml    |  8 ++++++++
 .../openpgp-keys-apache-commons-20220709.ebuild      | 20 ++++++++++++++++++++
 3 files changed, 29 insertions(+)

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>[email protected]</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)
+}

Reply via email to