summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2021-12-17 23:16:04 +0100
committerMichał Górny <mgorny@gentoo.org>2021-12-18 23:32:48 +0100
commit73590f8dee25dd7785a05803dce4ea74de2019e1 (patch)
tree8d7121154a8446cb77e25274ce93492bb09d50a8 /sec-keys
parentMove {app-crypt → sec-keys}/openpgp-keys-python (diff)
downloadgentoo-73590f8dee25dd7785a05803dce4ea74de2019e1.tar.gz
gentoo-73590f8dee25dd7785a05803dce4ea74de2019e1.tar.bz2
gentoo-73590f8dee25dd7785a05803dce4ea74de2019e1.zip
Move {app-crypt → sec-keys}/openpgp-keys-rust
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'sec-keys')
-rw-r--r--sec-keys/openpgp-keys-rust/Manifest1
-rw-r--r--sec-keys/openpgp-keys-rust/metadata.xml13
-rw-r--r--sec-keys/openpgp-keys-rust/openpgp-keys-rust-20210504.ebuild21
3 files changed, 35 insertions, 0 deletions
diff --git a/sec-keys/openpgp-keys-rust/Manifest b/sec-keys/openpgp-keys-rust/Manifest
new file mode 100644
index 000000000000..619aa6a1e8f7
--- /dev/null
+++ b/sec-keys/openpgp-keys-rust/Manifest
@@ -0,0 +1 @@
+DIST rust-key.gpg.ascii 5326 BLAKE2B d64f3afe75786535c6218b378e11f6e9d2ab585dfb98d72e039ed529b27671ff4338d1aa4fb5920f96d6e3d5416b72e273a862c955cb4b30788e4cc60e6b937a SHA512 a8b557e3cc23824b2a21b75ebdfb2cc1bff94ca0359ec13da2ce99398977d913639ab7bcf67d7cfb511510ca76038f243ad2eacff8a2e49435246128b2ee5cb8
diff --git a/sec-keys/openpgp-keys-rust/metadata.xml b/sec-keys/openpgp-keys-rust/metadata.xml
new file mode 100644
index 000000000000..5f8126cb3211
--- /dev/null
+++ b/sec-keys/openpgp-keys-rust/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>gyakovlev@gentoo.org</email>
+ <name>Georgy Yakovlev</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>rust@gentoo.org</email>
+ <name>Rust</name>
+ </maintainer>
+ <stabilize-allarches/>
+</pkgmetadata>
diff --git a/sec-keys/openpgp-keys-rust/openpgp-keys-rust-20210504.ebuild b/sec-keys/openpgp-keys-rust/openpgp-keys-rust-20210504.ebuild
new file mode 100644
index 000000000000..7ac4c33144ca
--- /dev/null
+++ b/sec-keys/openpgp-keys-rust/openpgp-keys-rust-20210504.ebuild
@@ -0,0 +1,21 @@
+# Copyright 2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="Rust Language Tag and Release Signing Key"
+HOMEPAGE="https://forge.rust-lang.org/infra/other-installation-methods.html"
+SRC_URI="https://static.rust-lang.org/rust-key.gpg.ascii"
+# https://keybase.io/rust/pgp_keys.asc?fingerprint=108f66205eaeb0aaa8dd5e1c85ab96e6fa1be5fe
+
+LICENSE="public-domain"
+SLOT="0"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ppc64 ~riscv ~s390 ~sparc x86"
+
+S="${WORKDIR}"
+
+src_install() {
+ local files=( ${A} )
+ insinto /usr/share/openpgp-keys
+ newins - rust.asc < <(cat "${files[@]/#/${DISTDIR}/}")
+}