commit:     166ae0bad54c4e6dad4c97cf8b7797169430e7b5
Author:     William Hubbs <williamh <AT> gentoo <DOT> org>
AuthorDate: Mon Jul 18 21:11:44 2022 +0000
Commit:     William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Mon Jul 18 21:17:24 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=166ae0ba

app-containers/cosign: add 1.9.0

Signed-off-by: William Hubbs <williamh <AT> gentoo.org>

 app-containers/cosign/Manifest            |  2 ++
 app-containers/cosign/cosign-1.9.0.ebuild | 29 +++++++++++++++++++++++++++++
 2 files changed, 31 insertions(+)

diff --git a/app-containers/cosign/Manifest b/app-containers/cosign/Manifest
index 366e593434ec..6ee85c02edc2 100644
--- a/app-containers/cosign/Manifest
+++ b/app-containers/cosign/Manifest
@@ -2,3 +2,5 @@ DIST cosign-1.6.0-deps.tar.xz 532055072 BLAKE2B 
c9192d5e4dae37d0f3826bec3a945812
 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
+DIST cosign-1.9.0-deps.tar.xz 543778128 BLAKE2B 
56f1e75c4199ae8bb33e71546709ebf621bab8123036f80e61624929e46d679353a211eb2da30197181f285033293c35f055977d762684bfc88d843deb06edc6
 SHA512 
07942be16e53e4325b3026b51557f352d45eee0d0b4cf84d823ebdd53573630c9e461f8dd6e93068dc20e6f25d589241a4e809839c7aa2aab65e3b7aebc2f3a3
+DIST cosign-1.9.0.tar.gz 7240352 BLAKE2B 
c6b9c617e288b6104d683a1b1ce8c22897e122a70429dd3db2a4643b91d4cf492c1fcd016ac4bcae32de51464aea538babbb04a8fe7d3b3275310adba528d945
 SHA512 
1a2a7b32aa0d4f2ad90113a3b5923390d29564d3ddc5e9c8539c8ad646541734164942e93d56321b9ff78910532911272a0e3ee007c2066e40656caac17d6c16

diff --git a/app-containers/cosign/cosign-1.9.0.ebuild 
b/app-containers/cosign/cosign-1.9.0.ebuild
new file mode 100644
index 000000000000..6ee89bf12fd6
--- /dev/null
+++ b/app-containers/cosign/cosign-1.9.0.ebuild
@@ -0,0 +1,29 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+GIT_HASH=a4cb262dc3d45a283a6a7513bb767a38a2d3f448
+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"
+
+RESTRICT="test"
+
+src_compile() {
+       emake \
+               GIT_HASH=${GIT_HASH} \
+               GIT_VERSION=v${PV} \
+               GIT_TREESTATE=clean
+}
+
+src_install() {
+       dobin cosign
+       einstalldocs
+}

Reply via email to