1 |
commit: f115f70f9c7aff003e0fad7672bdf78f4e4c6287 |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Apr 7 00:33:32 2022 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Apr 7 00:33:32 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f115f70f |
7 |
|
8 |
sec-keys/openpgp-keys-grep: new package, add 20220407 |
9 |
|
10 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
11 |
|
12 |
sec-keys/openpgp-keys-grep/Manifest | 1 + |
13 |
sec-keys/openpgp-keys-grep/metadata.xml | 8 ++++++++ |
14 |
.../openpgp-keys-grep-20220407.ebuild | 19 +++++++++++++++++++ |
15 |
3 files changed, 28 insertions(+) |
16 |
|
17 |
diff --git a/sec-keys/openpgp-keys-grep/Manifest b/sec-keys/openpgp-keys-grep/Manifest |
18 |
new file mode 100644 |
19 |
index 000000000000..b9e05c5feed9 |
20 |
--- /dev/null |
21 |
+++ b/sec-keys/openpgp-keys-grep/Manifest |
22 |
@@ -0,0 +1 @@ |
23 |
+DIST openpgp-keys-grep-20220407.asc 74147 BLAKE2B 9691223f730ba86470eaca6dcc2c96cd404636e5f883b39012a5741446f9d6d6b0b8b210e82714e81ff91fafbc18be0696c636dd5f2e8114cfcc5a33651644e0 SHA512 db4914574f7af75e38c9daca8c8cab35bfb1a34432bfb3700cf4b546973659543e1262e2a89744432308104df11bf07cf029b5dfee9a0352f8cfbe4960c0bde5 |
24 |
|
25 |
diff --git a/sec-keys/openpgp-keys-grep/metadata.xml b/sec-keys/openpgp-keys-grep/metadata.xml |
26 |
new file mode 100644 |
27 |
index 000000000000..b0d83aa2e489 |
28 |
--- /dev/null |
29 |
+++ b/sec-keys/openpgp-keys-grep/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-grep/openpgp-keys-grep-20220407.ebuild b/sec-keys/openpgp-keys-grep/openpgp-keys-grep-20220407.ebuild |
41 |
new file mode 100644 |
42 |
index 000000000000..7717b1c7b022 |
43 |
--- /dev/null |
44 |
+++ b/sec-keys/openpgp-keys-grep/openpgp-keys-grep-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 Grep" |
52 |
+HOMEPAGE="https://savannah.gnu.org/projects/grep/" |
53 |
+SRC_URI="https://savannah.gnu.org/project/memberlist-gpgkeys.php?group=grep&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 - grep.asc < <(cat "${files[@]/#/${DISTDIR}/}" || die) |
64 |
+} |