summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Szuba <marecki@gentoo.org>2023-03-30 13:00:43 +0100
committerMarek Szuba <marecki@gentoo.org>2023-03-30 13:00:43 +0100
commit3f86436440acc6dfbd44f91dc4ab86b615cee4a0 (patch)
treea18037849a43dc8879a22d1f82abe868a3a224e6 /sec-keys/openpgp-keys-tenable
parentmedia-gfx/darktable: drop 4.0.1-r1 (diff)
downloadgentoo-3f86436440acc6dfbd44f91dc4ab86b615cee4a0.tar.gz
gentoo-3f86436440acc6dfbd44f91dc4ab86b615cee4a0.tar.bz2
gentoo-3f86436440acc6dfbd44f91dc4ab86b615cee4a0.zip
sec-keys/openpgp-keys-tenable: new package, initial version 20220718
This is key is used to sign, among others, Nessus and Nessus Agent RPMs - hence the same maintainers as net-analyzer/nessus{,-agent}-bin. Signed-off-by: Marek Szuba <marecki@gentoo.org>
Diffstat (limited to 'sec-keys/openpgp-keys-tenable')
-rw-r--r--sec-keys/openpgp-keys-tenable/Manifest1
-rw-r--r--sec-keys/openpgp-keys-tenable/metadata.xml13
-rw-r--r--sec-keys/openpgp-keys-tenable/openpgp-keys-tenable-20220718.ebuild23
3 files changed, 37 insertions, 0 deletions
diff --git a/sec-keys/openpgp-keys-tenable/Manifest b/sec-keys/openpgp-keys-tenable/Manifest
new file mode 100644
index 000000000000..f6ca866868fa
--- /dev/null
+++ b/sec-keys/openpgp-keys-tenable/Manifest
@@ -0,0 +1 @@
+DIST tenable-9E53A34068D18A6E0EE45E41A021B5142F12969D.asc 1696 BLAKE2B f98a18db15d355dbb98a1f1dcd9da634e0c4d65aabc2c97f15a5cfe2b389df10e20f761037fa4f424c39b41db6e49d4421450daee4ee140127cbb04834a7a625 SHA512 beb45c0d409d126529dd5b1f700f5228dba4ab50ee4ef7071ce342a7cb3b092d087fd2e39e3d8b0fd92df896e7015ee8a29241bb6b02b642f584f84bc31f6b36
diff --git a/sec-keys/openpgp-keys-tenable/metadata.xml b/sec-keys/openpgp-keys-tenable/metadata.xml
new file mode 100644
index 000000000000..e8e95ecba6d9
--- /dev/null
+++ b/sec-keys/openpgp-keys-tenable/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>marecki@gentoo.org</email>
+ <name>Marek Szuba</name>
+ </maintainer>
+ <maintainer type="person">
+ <email>zerochaos@gentoo.org</email>
+ <name>Rick Farina</name>
+ </maintainer>
+ <stabilize-allarches/>
+</pkgmetadata>
diff --git a/sec-keys/openpgp-keys-tenable/openpgp-keys-tenable-20220718.ebuild b/sec-keys/openpgp-keys-tenable/openpgp-keys-tenable-20220718.ebuild
new file mode 100644
index 000000000000..97ac17f2be71
--- /dev/null
+++ b/sec-keys/openpgp-keys-tenable/openpgp-keys-tenable-20220718.ebuild
@@ -0,0 +1,23 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="OpenPGP keys used to sign Tenable Inc. software packages"
+HOMEPAGE="https://www.tenable.com/"
+# Current key, used to sign Nessus releases since 10.4 and Nessus Agent releases since 10.2
+SRC_URI="
+ https://www.tenable.com/downloads/api/v2/pages/nessus/files/tenable-4096.gpg
+ -> tenable-9E53A34068D18A6E0EE45E41A021B5142F12969D.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 - tenable.com.asc < <(cat "${files[@]/#/${DISTDIR}/}" || die)
+}