commit:     082957f80b5a87a06f32b13eba06f20d3206d7de
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Oct  8 00:41:10 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Oct  8 00:41:10 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=082957f8

sec-keys/openpgp-keys-lighttpd: new package, add 20231008

Signed-off-by: Sam James <sam <AT> gentoo.org>

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

diff --git a/sec-keys/openpgp-keys-lighttpd/Manifest 
b/sec-keys/openpgp-keys-lighttpd/Manifest
new file mode 100644
index 000000000000..19a9372f888c
--- /dev/null
+++ b/sec-keys/openpgp-keys-lighttpd/Manifest
@@ -0,0 +1 @@
+DIST openpgp-keys-lighttpd-20231008.asc 5397 BLAKE2B 
6a234c7ea217fe5819ab06a1c87544752c097bfa8cb765a2742ffd82086887aa43962059d823a5262710983f54c28928051aea709534a3d556d6a479caf0da6c
 SHA512 
000a10351998f0d058a0e127040127e8baeca33f9bf5c76c0df33dd85c863f6838d0dc60b6d964f1b6d760328ed1e0dfb91663795fa5b1ce112e26f228298abf

diff --git a/sec-keys/openpgp-keys-lighttpd/metadata.xml 
b/sec-keys/openpgp-keys-lighttpd/metadata.xml
new file mode 100644
index 000000000000..38bfb729261e
--- /dev/null
+++ b/sec-keys/openpgp-keys-lighttpd/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>[email protected]</email>                                  
 
+               <name>Sam James</name>                                          
+       </maintainer>      
+</pkgmetadata>

diff --git 
a/sec-keys/openpgp-keys-lighttpd/openpgp-keys-lighttpd-20231008.ebuild 
b/sec-keys/openpgp-keys-lighttpd/openpgp-keys-lighttpd-20231008.ebuild
new file mode 100644
index 000000000000..983d36fca412
--- /dev/null
+++ b/sec-keys/openpgp-keys-lighttpd/openpgp-keys-lighttpd-20231008.ebuild
@@ -0,0 +1,20 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="OpenPGP keys used to sign lighttpd"
+HOMEPAGE="https://www.lighttpd.net/";
+SRC_URI="https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${P}.asc";
+S="${WORKDIR}"
+
+LICENSE="public-domain"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86"
+
+src_install() {
+       local files=( ${A} )
+
+       insinto /usr/share/openpgp-keys
+       newins - lighttpd.asc < <(cat "${files[@]/#/${DISTDIR}/}" || die)
+}

Reply via email to