summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sec-keys/openpgp-keys-valgrind/Manifest1
-rw-r--r--sec-keys/openpgp-keys-valgrind/metadata.xml12
-rw-r--r--sec-keys/openpgp-keys-valgrind/openpgp-keys-valgrind-20230124.ebuild21
3 files changed, 34 insertions, 0 deletions
diff --git a/sec-keys/openpgp-keys-valgrind/Manifest b/sec-keys/openpgp-keys-valgrind/Manifest
new file mode 100644
index 000000000000..80fe01292bd3
--- /dev/null
+++ b/sec-keys/openpgp-keys-valgrind/Manifest
@@ -0,0 +1 @@
+DIST openpgp-keys-valgrind-20230124-gpgkey-5C1D1AA44BE649DE760A.gpg 5236 BLAKE2B 7ee5acba54608f450d7081cfc9411ad6e0d965e607143750cb491306eef8943c10b5e52ead9cba1e55a212f94c7e2d13ea4e18d7aff212fc4e455493a8dde091 SHA512 dc44ed3e38f54c3e57a4d83fa8b48ce2a8694802dd6bbf057cf432958f88ace9b585ee36a59ba98444e76c9aef0e998b9108a3807f97ebd6ba62303b41ab4690
diff --git a/sec-keys/openpgp-keys-valgrind/metadata.xml b/sec-keys/openpgp-keys-valgrind/metadata.xml
new file mode 100644
index 000000000000..aab1120bba69
--- /dev/null
+++ b/sec-keys/openpgp-keys-valgrind/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">
+ <email>blueness@gentoo.org</email>
+ <name>Anthony G. Basile</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>toolchain@gentoo.org</email>
+ <name>Gentoo Toolchain Project</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/sec-keys/openpgp-keys-valgrind/openpgp-keys-valgrind-20230124.ebuild b/sec-keys/openpgp-keys-valgrind/openpgp-keys-valgrind-20230124.ebuild
new file mode 100644
index 000000000000..fd5605fdc2b6
--- /dev/null
+++ b/sec-keys/openpgp-keys-valgrind/openpgp-keys-valgrind-20230124.ebuild
@@ -0,0 +1,21 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="OpenPGP key used to sign Valgrind releases"
+HOMEPAGE="https://valgrind.org/downloads/"
+# This is the same key as sec-keys/openpgp-keys-debugedit/sec-keys/openpgp-keys-bzip2
+# but it's not guaranteed to always be the same, so let's not assume.
+SRC_URI="https://www.sourceware.org/pub/bzip2/gpgkey-5C1D1AA44BE649DE760A.gpg -> ${P}-gpgkey-5C1D1AA44BE649DE760A.gpg"
+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 - valgrind.gpg < <(cat "${files[@]/#/${DISTDIR}/}")
+}