1 |
commit: 5687a1a97da8e379725297d255c8c849627c5256 |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Apr 7 03:49:05 2022 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Apr 7 03:57:25 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5687a1a9 |
7 |
|
8 |
sec-keys/openpgp-keys-patch: new package, add 20220407 |
9 |
|
10 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
11 |
|
12 |
sec-keys/openpgp-keys-patch/Manifest | 1 + |
13 |
sec-keys/openpgp-keys-patch/metadata.xml | 8 ++++++++ |
14 |
.../openpgp-keys-patch-20220407.ebuild | 19 +++++++++++++++++++ |
15 |
3 files changed, 28 insertions(+) |
16 |
|
17 |
diff --git a/sec-keys/openpgp-keys-patch/Manifest b/sec-keys/openpgp-keys-patch/Manifest |
18 |
new file mode 100644 |
19 |
index 000000000000..99a69e75475b |
20 |
--- /dev/null |
21 |
+++ b/sec-keys/openpgp-keys-patch/Manifest |
22 |
@@ -0,0 +1 @@ |
23 |
+DIST openpgp-keys-patch-20220407.asc 59668 BLAKE2B 431cd6af280e5af9f129afa786fd696b21862171781af89321dd851f4433477a6cd748dc80459c54b459499f7dd5e8617aff5ef1239d83c6fb530994fd81f5a6 SHA512 61dc081c8353692d63e19b4195c4cfd326c4e3aee42429c58eb8dc3bdf73f44d1273756f74446d39289fc95aa0103ef8a9a9c37f50582a784a416d90b4836a32 |
24 |
|
25 |
diff --git a/sec-keys/openpgp-keys-patch/metadata.xml b/sec-keys/openpgp-keys-patch/metadata.xml |
26 |
new file mode 100644 |
27 |
index 000000000000..b0d83aa2e489 |
28 |
--- /dev/null |
29 |
+++ b/sec-keys/openpgp-keys-patch/metadata.xml |
30 |
@@ -0,0 +1,8 @@ |
31 |
+<?xml version="1.0" encoding="UTF-8"?> |
32 |
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> |
33 |
+<pkgmetadata> |
34 |
+ <maintainer type="project"> |
35 |
+ <email>base-system@g.o</email> |
36 |
+ <name>Gentoo Base System</name> |
37 |
+ </maintainer> |
38 |
+</pkgmetadata> |
39 |
|
40 |
diff --git a/sec-keys/openpgp-keys-patch/openpgp-keys-patch-20220407.ebuild b/sec-keys/openpgp-keys-patch/openpgp-keys-patch-20220407.ebuild |
41 |
new file mode 100644 |
42 |
index 000000000000..c3e073489b5b |
43 |
--- /dev/null |
44 |
+++ b/sec-keys/openpgp-keys-patch/openpgp-keys-patch-20220407.ebuild |
45 |
@@ -0,0 +1,19 @@ |
46 |
+# Copyright 1999-2022 Gentoo Authors |
47 |
+# Distributed under the terms of the GNU General Public License v2 |
48 |
+ |
49 |
+EAPI=7 |
50 |
+ |
51 |
+DESCRIPTION="OpenPGP keys used by GNU patch" |
52 |
+HOMEPAGE="https://savannah.gnu.org/projects/patch/" |
53 |
+SRC_URI="https://savannah.gnu.org/project/memberlist-gpgkeys.php?group=patch&download=1 -> ${P}.asc" |
54 |
+S="${WORKDIR}" |
55 |
+ |
56 |
+LICENSE="public-domain" |
57 |
+SLOT="0" |
58 |
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" |
59 |
+ |
60 |
+src_install() { |
61 |
+ local files=( ${A} ) |
62 |
+ insinto /usr/share/openpgp-keys |
63 |
+ newins - patch.asc < <(cat "${files[@]/#/${DISTDIR}/}" || die) |
64 |
+} |