summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sec-keys/openpgp-keys-apache-httpcomponents-client/Manifest1
-rw-r--r--sec-keys/openpgp-keys-apache-httpcomponents-client/metadata.xml8
-rw-r--r--sec-keys/openpgp-keys-apache-httpcomponents-client/openpgp-keys-apache-httpcomponents-client-220903.ebuild19
3 files changed, 28 insertions, 0 deletions
diff --git a/sec-keys/openpgp-keys-apache-httpcomponents-client/Manifest b/sec-keys/openpgp-keys-apache-httpcomponents-client/Manifest
new file mode 100644
index 000000000000..6fc1bedc550a
--- /dev/null
+++ b/sec-keys/openpgp-keys-apache-httpcomponents-client/Manifest
@@ -0,0 +1 @@
+DIST openpgp-keys-apache-httpcomponents-client-220903-KEYS.asc 11039 BLAKE2B 65673a304def6c6a9df28ac7f5828c22ad715e687e4ce6537eb1c09794d1ce41cb8e3ebf452f07006e2b8f8d607c465051f7ed866605fa5f41ca7e840c456e60 SHA512 89383a142bfc2a8e8794afa6dc54522bdd6d4405bb0c029a7cd49feeace736b510a69cc1d42429551f0bb48b2c067df4f7cb9a5f914b7b7c21efe67f246bb1d8
diff --git a/sec-keys/openpgp-keys-apache-httpcomponents-client/metadata.xml b/sec-keys/openpgp-keys-apache-httpcomponents-client/metadata.xml
new file mode 100644
index 000000000000..6ef2d50cf07e
--- /dev/null
+++ b/sec-keys/openpgp-keys-apache-httpcomponents-client/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-httpcomponents-client/openpgp-keys-apache-httpcomponents-client-220903.ebuild b/sec-keys/openpgp-keys-apache-httpcomponents-client/openpgp-keys-apache-httpcomponents-client-220903.ebuild
new file mode 100644
index 000000000000..7280af3b3ea1
--- /dev/null
+++ b/sec-keys/openpgp-keys-apache-httpcomponents-client/openpgp-keys-apache-httpcomponents-client-220903.ebuild
@@ -0,0 +1,19 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="OpenPGP keys used by httpcomponents-client.hc.apache.org"
+HOMEPAGE="https://downloads.apache.org/httpcomponents/httpclient/"
+SRC_URI="https://downloads.apache.org/httpcomponents/httpclient/KEYS -> ${P}-KEYS.asc"
+S="${WORKDIR}"
+
+LICENSE="public-domain"
+SLOT="0"
+KEYWORDS="amd64 ~arm arm64 ppc64 x86"
+
+src_install() {
+ local files=( ${A} )
+ insinto /usr/share/openpgp-keys
+ newins - httpcomponents-client.hc.apache.org.asc < <(cat "${files[@]/#/${DISTDIR}/}" || die)
+}