summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sec-keys/openpgp-keys-spamassassin/Manifest1
-rw-r--r--sec-keys/openpgp-keys-spamassassin/metadata.xml12
-rw-r--r--sec-keys/openpgp-keys-spamassassin/openpgp-keys-spamassassin-20221226.ebuild19
3 files changed, 32 insertions, 0 deletions
diff --git a/sec-keys/openpgp-keys-spamassassin/Manifest b/sec-keys/openpgp-keys-spamassassin/Manifest
new file mode 100644
index 000000000000..1217073339f0
--- /dev/null
+++ b/sec-keys/openpgp-keys-spamassassin/Manifest
@@ -0,0 +1 @@
+DIST openpgp-keys-spamassassin-20221226-KEYS.asc 13212 BLAKE2B fb52b3de8166465cd3c34e62530c084bc14b294a1a807c2281bfe217bced4c658de75490c0624fe9d4072eda688e9073180ea24334e45408b9513fb0e26dea37 SHA512 528b854d9f91cdc6a53bf0ece2debc9ad97490ca4c9081376047f482810a9a7ca236ce164ff5e1d765580ea444c191b808c39dab0e7cd320be463c9a2bd97356
diff --git a/sec-keys/openpgp-keys-spamassassin/metadata.xml b/sec-keys/openpgp-keys-spamassassin/metadata.xml
new file mode 100644
index 000000000000..e4ad4584ee2b
--- /dev/null
+++ b/sec-keys/openpgp-keys-spamassassin/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person" proxied="yes">
+ <email>gentoo_bugs_peep@parallaxshift.com</email>
+ <name>Philippe Chaintreuil</name>
+ </maintainer>
+ <maintainer type="project" proxied="proxy">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/sec-keys/openpgp-keys-spamassassin/openpgp-keys-spamassassin-20221226.ebuild b/sec-keys/openpgp-keys-spamassassin/openpgp-keys-spamassassin-20221226.ebuild
new file mode 100644
index 000000000000..2c9796aa5452
--- /dev/null
+++ b/sec-keys/openpgp-keys-spamassassin/openpgp-keys-spamassassin-20221226.ebuild
@@ -0,0 +1,19 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="OpenPGP keys used by spamassassin.apache.org"
+HOMEPAGE="https://spamassassin.apache.org/downloads.cgi"
+SRC_URI="https://downloads.apache.org/spamassassin/KEYS -> ${P}-KEYS.asc"
+S="${WORKDIR}"
+
+LICENSE="public-domain"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
+
+src_install() {
+ local files=( ${A} )
+ insinto /usr/share/openpgp-keys
+ newins - spamassassin.apache.org.asc < <(cat "${files[@]/#/${DISTDIR}/}" || die)
+}