summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <williamh@gentoo.org>2022-02-19 14:49:06 -0600
committerWilliam Hubbs <williamh@gentoo.org>2022-02-19 14:50:50 -0600
commit3b46724a67c7b5eb095e2a20203a96a6e0a35a6e (patch)
tree85bee874a5f231e0959562fff5b9ccb4f5751be9 /app-containers/cosign
parentapp-shells/scsh: bump to 0.7_pre20160820 (diff)
downloadgentoo-3b46724a67c7b5eb095e2a20203a96a6e0a35a6e.tar.gz
gentoo-3b46724a67c7b5eb095e2a20203a96a6e0a35a6e.tar.bz2
gentoo-3b46724a67c7b5eb095e2a20203a96a6e0a35a6e.zip
app-containers/cosign: 1.5.2 bump
Bug: https://bugs.gentoo.org/833749 Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: William Hubbs <williamh@gentoo.org>
Diffstat (limited to 'app-containers/cosign')
-rw-r--r--app-containers/cosign/Manifest2
-rw-r--r--app-containers/cosign/cosign-1.5.2.ebuild35
2 files changed, 37 insertions, 0 deletions
diff --git a/app-containers/cosign/Manifest b/app-containers/cosign/Manifest
index 77538dee5d1e..313541881606 100644
--- a/app-containers/cosign/Manifest
+++ b/app-containers/cosign/Manifest
@@ -2,3 +2,5 @@ DIST cosign-1.5.0-vendor.tar.xz 10089292 BLAKE2B 71e9fc37df524496cb1639b0ddefbb4
DIST cosign-1.5.0.tar.gz 6595932 BLAKE2B dd4403ed71c6a3773cf5ff3adebeab197a0f2d2148da50d32ee6b4f3802ef2810fba500ba22aca65f7553f45caaf4d4044183925e77cad3dfe566e95b8272494 SHA512 fc7768e37bc7236d2275a51e4b3f0854051d018af62e25d7c20ac3d79f7deacde181b650752da9a859e24585915bbcaf2f1d34f73747f0ffe9871109e1a3e019
DIST cosign-1.5.1-vendor.tar.xz 10098460 BLAKE2B cfb01a16e12638759ec0edfe58057fa405e4e281d0100e65bf11404967cd58296f3c522fd637a4a34b86a5d34209ba2177d5cc0e92f1aa020eda26615b856859 SHA512 b7fa85039d21501a20ce29732980db8b1b96aaeffccdb1158a2c3c3f8f6e9805991f25bb3e361dfce3b8daac8cce42b16b2a69a3d54efd3db99aafe49b6a81c1
DIST cosign-1.5.1.tar.gz 6595482 BLAKE2B ce8056c3fa49a75e52b001693cc1c76dc152f7ddb1947d6862526e918e9dbbb7d934601ea00c3f47a747b748124846b68dbd4abbce5c332860cbbef52aae1be1 SHA512 6d46dd2ca59b0ad410d23c002727198bf94c35f6d15983b13a23216510efa555268cf31de84679ce6e9e9db7f82b51787cd923e7c263939d9eb7cabecaf9c428
+DIST cosign-1.5.2-vendor.tar.xz 10097760 BLAKE2B 836dae79dc596193f40826e9c203312f2e9b56d2371d22db6880a49b52e3b37741a0b0adda6ec717ce983e81e964d3ef75d4a3507c8fc03628b4a63e8d071dfb SHA512 a0362652b5b6a41997e125df45d84d5536f23fcb917eb5211d3adc0f90713e3fd8439974cd727d259a3fe8fae5a8b1882ef24685a8293ef0176327468e3f4997
+DIST cosign-1.5.2.tar.gz 6597815 BLAKE2B b1dd4c49c1f561f1e449a5884f62731fdefb79c8b4d234a27ab48483a7421d0581e68bf132b88830498e9153fe65a5a5b2b903b63cbfa56892c1db0cef8c2751 SHA512 f52b07410081dec66ab3f12ab2b52690686bcd6144703cb107c42c72d9514a94d227f653ecb9047e2fae8f5e763b6afaf703edd6a0c5b62fe9acb612eed9b43f
diff --git a/app-containers/cosign/cosign-1.5.2.ebuild b/app-containers/cosign/cosign-1.5.2.ebuild
new file mode 100644
index 000000000000..dd521821ca52
--- /dev/null
+++ b/app-containers/cosign/cosign-1.5.2.ebuild
@@ -0,0 +1,35 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+inherit go-module
+
+DESCRIPTION="container signing utility"
+HOMEPAGE="https://sigstore.dev"
+SRC_URI="https://github.com/sigstore/cosign/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+SRC_URI+=" https://dev.gentoo.org/~williamh/dist/${P}-vendor.tar.xz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-1.5.0-fix-makefile.patch
+)
+
+src_prepare() {
+ default
+ mv ../vendor . || die
+}
+
+src_compile() {
+ emake \
+ GIT_HASH=8ffcd1228c463e1ad26ccce68ae16deeca2960b4 \
+ GIT_VERSION=v${PV} \
+ GIT_TREESTATE=clean
+}
+
+src_install() {
+ dobin cosign
+ einstalldocs
+}