commit: df374b13077e9e5d0d18f65e5d9ff67b4eaf0f44 Author: John Helmert III <ajak <AT> gentoo <DOT> org> AuthorDate: Wed Oct 25 18:18:43 2023 +0000 Commit: John Helmert III <ajak <AT> gentoo <DOT> org> CommitDate: Wed Oct 25 18:18:43 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=df374b13
app-crypt/sbctl: add 0.12 Signed-off-by: John Helmert III <ajak <AT> gentoo.org> app-crypt/sbctl/Manifest | 3 +++ app-crypt/sbctl/sbctl-0.12.ebuild | 33 +++++++++++++++++++++++++++++++++ 2 files changed, 36 insertions(+) diff --git a/app-crypt/sbctl/Manifest b/app-crypt/sbctl/Manifest index b22181644e8f..89be80e5db6b 100644 --- a/app-crypt/sbctl/Manifest +++ b/app-crypt/sbctl/Manifest @@ -1,3 +1,6 @@ DIST sbctl-0.11-deps.tar.xz 20914368 BLAKE2B 37fad80fc8889ad61797acc83ee0f07bb4675f8a9c7856b744c49bffdc296f94e3a115fac4ab76c9616d03c01189d4d9c666149cafa02a8e8e59d49545b63a3e SHA512 13f73c60d44c3c2dd699d3d65aa6e112e159d49997e56ec02d80a9c1730f53b551fd62272dcd96a9e8b32f148257b0aab78c64994521b0b83df2fc4450054552 DIST sbctl-0.11.tar.gz 1634308 BLAKE2B a55b7359e1fe605f1bd972a49d559e711bfbeb6908e903530c133b188b996efdbb33c3ff33cd36073809708b4d01b42c8d2202d5e1aeed5efc43bbf6edd8912a SHA512 88d23bf40af4f19dc6b1de17df75989ec2a6e52f68bdb444bd4619a78c0ac1f2d4f6a0182ad251094884a448dc99f08d3dd39d9bb78b595ae6ed0227a78a7847 DIST sbctl-0.11.tar.gz.sig 566 BLAKE2B c840d5375cb00be3daa5522d0dfb78bf4ba093901aa4b8bcec3188bb4ae2f5e8059b51733c6b65d10dec552d2311b65536e1652ca01a9bdbd53e63b540019631 SHA512 70fc606bb387152d6bd7e40d12c00d98a15ff1197797aeb21aeb8647982ca5ee6fde532d99afab038dbe3eb0bb262253eab6bedd113ccc46e29a9949c531be86 +DIST sbctl-0.12-deps.tar.xz 21415148 BLAKE2B cf16f7dd3341f7fef273d542f879d5e0a60b8b648fcd1efc8c85a66f0342b0631c5d273417777ecdd4231709ba6ef59592d40adc70a55b59af1aa36987019492 SHA512 f969ca335f14b9f3df52188e00ea68dbd69eef3bcbf71bbd162d0487f28f040ab14ce755ef56b554e7bde3e1c587f0f09ee7b4331edf5baa380b904694f0ad9f +DIST sbctl-0.12.tar.gz 1642221 BLAKE2B 69ebaeb8e81dd45d4e46438a8275c371253e0711fc48aefb9ee4b30b1a594681f355e2940e342d54b35561b315213b70a2ec1743933fd8047f88fea55b09775c SHA512 dd64490cf6a59d24ab8a93e6b433225383b2dfc0006b5d6331c1efe4cfc896619d636a526f0ed312f6dd4d89a047deacb3a013cf84cd2cdddc5997c5630cf1e5 +DIST sbctl-0.12.tar.gz.sig 566 BLAKE2B f8b33fb7525311f1213bad0c7712be6596828fd0f5f748f97fc7f0df0b92a2017e990655c1af43d2bda330a3ff10cfb76a285b14a30895a986635986b1c2bc63 SHA512 41471decc60e23115d3d34ef4146e7a4782b7dfa4a8609e8d1b8529ab85fafb124a2862b7f9d70128af6f15bf5a6c85ed49c60fb66eb3bb857143e285c262fd5 diff --git a/app-crypt/sbctl/sbctl-0.12.ebuild b/app-crypt/sbctl/sbctl-0.12.ebuild new file mode 100644 index 000000000000..3db9dbf47a9e --- /dev/null +++ b/app-crypt/sbctl/sbctl-0.12.ebuild @@ -0,0 +1,33 @@ +# Copyright 2022-2023 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 + verify-sig? ( https://github.com/Foxboron/${PN}/releases/download/${PV}/${P}.tar.gz.sig )" +SRC_URI+=" https://dev.gentoo.org/~ajak/distfiles/${CATEGORY}/${PN}/${P}-deps.tar.xz" + +LICENSE="Apache-2.0 BSD BSD-2 MIT" +SLOT="0" +KEYWORDS="~amd64" + +BDEPEND="app-text/asciidoc + 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 +}