summaryrefslogtreecommitdiff
path: root/app-crypt
diff options
context:
space:
mode:
Diffstat (limited to 'app-crypt')
-rw-r--r--app-crypt/Manifest.gzbin23961 -> 24125 bytes
-rw-r--r--app-crypt/sbctl/Manifest5
-rw-r--r--app-crypt/sbctl/metadata.xml12
-rw-r--r--app-crypt/sbctl/sbctl-0.9.ebuild34
4 files changed, 51 insertions, 0 deletions
diff --git a/app-crypt/Manifest.gz b/app-crypt/Manifest.gz
index f408a93e1f2c..7b10db25b70b 100644
--- a/app-crypt/Manifest.gz
+++ b/app-crypt/Manifest.gz
Binary files differ
diff --git a/app-crypt/sbctl/Manifest b/app-crypt/sbctl/Manifest
new file mode 100644
index 000000000000..6dbd00a9ff96
--- /dev/null
+++ b/app-crypt/sbctl/Manifest
@@ -0,0 +1,5 @@
+DIST sbctl-0.9-deps.tar.xz 21517024 BLAKE2B 6a90caf5bae7561d63d65777f8293012f946a1688dc86e2a9932ec1eb6cd3b89cd2293c202daa01ab8dc91952fcb7c47974a72d1750965d9d0636441d1405782 SHA512 6ec614082a15b2817f551d7b25353f1014bec7a86b730617168ba719695836571cbeff66b9ee57ebef37fcbfff4565117fc44ad1580b790a9cb031f861e71937
+DIST sbctl-0.9.tar.gz 108318 BLAKE2B 8d50562e471416562e5cec07e155ea16cb919cff062435c3450e09c1d411b3a356f42a062aae74c5b826afe6f7853a68eb213b479797ca85bbd847d95d386f03 SHA512 5b1d02dce29ca2adc96048191ebdd07003d4ada28fb829fb829db27645710696502efe1c4b94166df7ddeceaa283cc713e7d9195c11291d426a69aa3cce5cf22
+DIST sbctl-0.9.tar.gz.sig 566 BLAKE2B 1932291376bd993626cfeaa82a7a58ea8998eefbf8cf952a66ba9133d22f4da414a0cbe1e50382308d710fe7af0277582cb8c3d77cd043cb4d22c6e832da8c28 SHA512 39f7848796c92babe9ffd3928c71adee4987ab97ae8606baecaf2c7def7a5147624027450c6bfafc66e30c18d609354d06e5c30aeb362fabd8d7efcaed7e151d
+EBUILD sbctl-0.9.ebuild 844 BLAKE2B 47da767b2119bf9e8b6fb51555dd970d06ede25f9aef45805c393a431f538a708b64300768047ffa9524bc1f15baaef708e903d8a74e5956004fd72cf41a00f7 SHA512 75d35e825a6eae3ccb5393cc028a42117972359bdc00f0a124f4b34538c658ccd275eb8f39fb0d9970d10dade35af69263c532291a0d063d1685838d6ede327b
+MISC metadata.xml 395 BLAKE2B 97800aba6234078f4a8cb45403e13ce6b0c38c27480d8b351d8d28c11daee6672c920d8a713bde6ff861e15137df4c4c4991fe717008d81a1e4fa3e3299a5cdc SHA512 3c6022f6d5fe33aa7d22469ea24c46adafa90d12024f9f13f76ca55d1d7930560a31640247ac8ceef54eb6789654f06733e685ef2b8a68e68816784215f165f2
diff --git a/app-crypt/sbctl/metadata.xml b/app-crypt/sbctl/metadata.xml
new file mode 100644
index 000000000000..31fb1548e9e1
--- /dev/null
+++ b/app-crypt/sbctl/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>ajak@gentoo.org</email>
+ <name>John Helmert III</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">Foxboron/sbctl</remote-id>
+ <changelog>https://github.com/Foxboron/sbctl/releases</changelog>
+ </upstream>
+</pkgmetadata>
diff --git a/app-crypt/sbctl/sbctl-0.9.ebuild b/app-crypt/sbctl/sbctl-0.9.ebuild
new file mode 100644
index 000000000000..7d3e9ef2e850
--- /dev/null
+++ b/app-crypt/sbctl/sbctl-0.9.ebuild
@@ -0,0 +1,34 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit go-module verify-sig
+
+DESCRIPTION="Secure Boot key manager"
+HOMEPAGE="https://github.com/Foxboron/sbctl"
+SRC_URI="https://github.com/Foxboron/${PN}/releases/download/${PV}/${P}.tar.gz
+ https://dev.gentoo.org/~ajak/dist/${P}-deps.tar.xz
+ verify-sig? ( https://github.com/Foxboron/${PN}/releases/download/${PV}/${P}.tar.gz.sig )"
+
+LICENSE="Apache-2.0 BSD BSD-2 MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+BDEPEND="app-text/asciidoc
+ dev-lang/go
+ verify-sig? ( sec-keys/openpgp-keys-foxboron )"
+
+VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}/usr/share/openpgp-keys/foxboron.asc"
+
+src_unpack() {
+ if use verify-sig; then
+ verify-sig_verify_detached "${DISTDIR}"/${P}.tar.gz{,.sig}
+ fi
+
+ default
+}
+
+src_install() {
+ emake PREFIX="${ED}/usr" install
+}