summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2021-12-17 23:16:08 +0100
committerMichał Górny <mgorny@gentoo.org>2021-12-18 23:32:48 +0100
commitf3bb1eaf54fac3eccf9d21e1edc81d4b24deb09c (patch)
tree57967b6b47c516f6c29169ffd973015122eaf4f7 /sec-keys
parentMove {app-crypt → sec-keys}/openpgp-keys-rust (diff)
downloadgentoo-f3bb1eaf54fac3eccf9d21e1edc81d4b24deb09c.tar.gz
gentoo-f3bb1eaf54fac3eccf9d21e1edc81d4b24deb09c.tar.bz2
gentoo-f3bb1eaf54fac3eccf9d21e1edc81d4b24deb09c.zip
Move {app-crypt → sec-keys}/openpgp-keys-tcpdump
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'sec-keys')
-rw-r--r--sec-keys/openpgp-keys-tcpdump/Manifest1
-rw-r--r--sec-keys/openpgp-keys-tcpdump/metadata.xml9
-rw-r--r--sec-keys/openpgp-keys-tcpdump/openpgp-keys-tcpdump-20210416.ebuild20
3 files changed, 30 insertions, 0 deletions
diff --git a/sec-keys/openpgp-keys-tcpdump/Manifest b/sec-keys/openpgp-keys-tcpdump/Manifest
new file mode 100644
index 000000000000..3b88e21bc285
--- /dev/null
+++ b/sec-keys/openpgp-keys-tcpdump/Manifest
@@ -0,0 +1 @@
+DIST openpgp-keys-tcpdump-20210416.asc 1776 BLAKE2B d0522a6e03156685b88e74d80311ec37065430ad304116c892b7623b792957aaff38abf1b41f10e9c9ca8a74f852659b6194da61d5d4f309e48ce82a10c740c5 SHA512 5182b3ecc229cdb53b4ecc14696717698df3ffdca93482a771945b4e988da929dc30ad11cad272c6545c10290df1dc0338c26c039821ad19acabb9c08fd690ad
diff --git a/sec-keys/openpgp-keys-tcpdump/metadata.xml b/sec-keys/openpgp-keys-tcpdump/metadata.xml
new file mode 100644
index 000000000000..7efb31b9e7f2
--- /dev/null
+++ b/sec-keys/openpgp-keys-tcpdump/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>sam@gentoo.org</email>
+ <name>Sam James</name>
+ </maintainer>
+ <stabilize-allarches/>
+</pkgmetadata>
diff --git a/sec-keys/openpgp-keys-tcpdump/openpgp-keys-tcpdump-20210416.ebuild b/sec-keys/openpgp-keys-tcpdump/openpgp-keys-tcpdump-20210416.ebuild
new file mode 100644
index 000000000000..b21d3e7fb99b
--- /dev/null
+++ b/sec-keys/openpgp-keys-tcpdump/openpgp-keys-tcpdump-20210416.ebuild
@@ -0,0 +1,20 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="OpenPGP keys used to sign tcpdump releases"
+HOMEPAGE="https://www.tcpdump.org/index.html#latest-releases"
+SRC_URI="https://www.tcpdump.org/release/signing-key.asc -> ${P}.asc"
+S="${WORKDIR}"
+
+LICENSE="public-domain"
+SLOT="0"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86"
+
+src_install() {
+ local files=( ${A} )
+
+ insinto /usr/share/openpgp-keys
+ newins - tcpdump.asc < <(cat "${files[@]/#/${DISTDIR}/}" || die)
+}