summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <williamh@gentoo.org>2022-05-10 12:44:11 -0500
committerWilliam Hubbs <williamh@gentoo.org>2022-05-10 12:46:53 -0500
commitb04f1310f69ea4093516e0805630b54a1f04d43a (patch)
treecbe06622dab449fde1be09e873e6d626f3e08ede /app-containers
parentnet-misc/openssh: drop 8.8_p1-r4 (diff)
downloadgentoo-b04f1310f69ea4093516e0805630b54a1f04d43a.tar.gz
gentoo-b04f1310f69ea4093516e0805630b54a1f04d43a.tar.bz2
gentoo-b04f1310f69ea4093516e0805630b54a1f04d43a.zip
app-containers/cosign: add 1.8.0
Signed-off-by: William Hubbs <williamh@gentoo.org>
Diffstat (limited to 'app-containers')
-rw-r--r--app-containers/cosign/Manifest2
-rw-r--r--app-containers/cosign/cosign-1.8.0.ebuild33
2 files changed, 35 insertions, 0 deletions
diff --git a/app-containers/cosign/Manifest b/app-containers/cosign/Manifest
index 4fe431a4308c..366e593434ec 100644
--- a/app-containers/cosign/Manifest
+++ b/app-containers/cosign/Manifest
@@ -1,2 +1,4 @@
DIST cosign-1.6.0-deps.tar.xz 532055072 BLAKE2B c9192d5e4dae37d0f3826bec3a945812776d513af474cf0bcbba33eeda2b5e26f9166e69b3f9f3e3591361dac70a6b49c90e4b087899138bf8f1196db757b346 SHA512 8894eaddd3009f6c50e5e3cc681b8f0e78950d497f8808dee501305a137eed83e3cfd7382a1f171361aba271bd0d0c27dcb3d0d3907d970982e9748e8ba97273
DIST cosign-1.6.0.tar.gz 7069651 BLAKE2B 74ef05aacc19bfb627039bc9b7a7ec981b2ad80e3ef779d2b538369243b1727c51808dd8b45e5514bc1d798fef8f8d07d9fd22c36df11d29c44316d36e77900f SHA512 d812fbb8861ee9ddf117a4f9b6d1e9d90f3ecf1d9f396beef73b381caf30ef73162ac081dcf5e6abe18a21ca16fc8e99b299166543a5d7c72085e0fb821dc712
+DIST cosign-1.8.0-deps.tar.xz 541301856 BLAKE2B fb1fd9c2570f327876a5d151261f906951c57fdbaa6eefe1dcb84166f71ae381053f44a3d8a5707660cba066435aa6747aa5c47896b19b461954f6c824c33cd2 SHA512 b2773c1f07d32edc6a4ba02c487a3620eea141f29b425159eb2973ef32867afa7f334fdde2a23d00c84314a236b3bd513f1ea8faf231204a7fd9358ba0ba5234
+DIST cosign-1.8.0.tar.gz 7217748 BLAKE2B 2d9625609f86cad05770085617cd80335d62554e608f64abf96a3dcf5f0d4449b850d493ce2faff2593d0f996d2ace3f304d89ef99c7bfa2a2027a419ae6da1d SHA512 7d45e80ae5fa15fa7fe14bc5cd13a159356b58afc3baebac5d2c64fa38c74e73a3d17f75bed0730fe842da63de5487c54dfb9f77bbffa1f943281b74d3b30c94
diff --git a/app-containers/cosign/cosign-1.8.0.ebuild b/app-containers/cosign/cosign-1.8.0.ebuild
new file mode 100644
index 000000000000..3728305931f0
--- /dev/null
+++ b/app-containers/cosign/cosign-1.8.0.ebuild
@@ -0,0 +1,33 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+GIT_HASH=9ef6b207218572b3257a5b4251418d75569baaae
+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}-deps.tar.xz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-1.5.0-fix-makefile.patch
+)
+
+RESTRICT="test"
+
+src_compile() {
+ emake \
+ GIT_HASH=${GIT_HASH}
+ GIT_VERSION=v${PV} \
+ GIT_TREESTATE=clean
+}
+
+src_install() {
+ dobin cosign
+ einstalldocs
+}