aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sec-keys')
-rw-r--r--sec-keys/openpgp-keys-phosh/Manifest1
-rw-r--r--sec-keys/openpgp-keys-phosh/metadata.xml8
-rw-r--r--sec-keys/openpgp-keys-phosh/openpgp-keys-phosh-2024.ebuild21
3 files changed, 30 insertions, 0 deletions
diff --git a/sec-keys/openpgp-keys-phosh/Manifest b/sec-keys/openpgp-keys-phosh/Manifest
new file mode 100644
index 000000000..3ffdde185
--- /dev/null
+++ b/sec-keys/openpgp-keys-phosh/Manifest
@@ -0,0 +1 @@
+DIST openpgp-keys-phosh-2024.asc 8574 BLAKE2B 7f5bb6685b1cc211f813c619cc1be3766d9909da2d7622a69b629dda5ec3b01ba229cda18eb790b0506477b81b0e2342bbc5a7cc3563e04ca114f2f222e3efb6 SHA512 94c34e95fef9fbb2cbc8f22eb1751dbfc8a76092cd9fa674ad627fe3c32124d31a72f4b29c36362925a7299d33e2a9c3789889e71f4557c6c6ccbc28d1679724
diff --git a/sec-keys/openpgp-keys-phosh/metadata.xml b/sec-keys/openpgp-keys-phosh/metadata.xml
new file mode 100644
index 000000000..4cf8173b7
--- /dev/null
+++ b/sec-keys/openpgp-keys-phosh/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="person">
+ <email>cyber+gentoo@sysrq.in</email>
+ <name>Anna</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/sec-keys/openpgp-keys-phosh/openpgp-keys-phosh-2024.ebuild b/sec-keys/openpgp-keys-phosh/openpgp-keys-phosh-2024.ebuild
new file mode 100644
index 000000000..30f5e52e3
--- /dev/null
+++ b/sec-keys/openpgp-keys-phosh/openpgp-keys-phosh-2024.ebuild
@@ -0,0 +1,21 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+MY_PN="${PN#openpgp-keys-}"
+DESCRIPTION="OpenPGP keys used to sign Phosh releases"
+HOMEPAGE="https://phosh.mobi/"
+SRC_URI="https://sources.phosh.mobi/misc/signing-keys/signing-key-${PV}.asc -> ${P}.asc"
+S="${WORKDIR}"
+
+LICENSE="public-domain"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+
+src_install() {
+ local files=( ${A} )
+
+ insinto /usr/share/openpgp-keys
+ newins - ${MY_PN}.asc < <(cat "${files[@]/#/${DISTDIR}/}" || die)
+}