commit:     ad822d74af51a201e3a18a9550a12e1cebdf1d26
Author:     William Hubbs <williamh <AT> gentoo <DOT> org>
AuthorDate: Tue Feb 20 19:47:11 2024 +0000
Commit:     William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Tue Feb 20 19:47:55 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ad822d74

app-containers/cosign: add 2.2.3

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

 app-containers/cosign/Manifest            |  2 ++
 app-containers/cosign/cosign-2.2.3.ebuild | 32 +++++++++++++++++++++++++++++++
 2 files changed, 34 insertions(+)

diff --git a/app-containers/cosign/Manifest b/app-containers/cosign/Manifest
index 501b5cc33ac9..501d631a7ce8 100644
--- a/app-containers/cosign/Manifest
+++ b/app-containers/cosign/Manifest
@@ -6,3 +6,5 @@ DIST cosign-2.2.0-deps.tar.xz 474893012 BLAKE2B 
75b8a9ccdb117c9eb147a5efd2a16716
 DIST cosign-2.2.0.tar.gz 850421 BLAKE2B 
182bb28cf2b17a04e20d61d4d039e9106fb54a773a9669ad27ff1f3f081a5739dbba7b949688d71a882a4cefceda057ce2636af50e99795194e9656c05928e08
 SHA512 
379c8544744afb36c143113d6cd3af63cdc28249a34e4c81ab4fe547e97868ae28e0796d9fe77108b7fa2ba30e6379be612650a4f37dc34c08de3fb88fbc5e1d
 DIST cosign-2.2.1-deps.tar.xz 487130076 BLAKE2B 
a0adbfc4d6230f4ba1013dfc28638752e1732eff92b72993aa386073d255a2629c9abb36bca24cacdcd7edff11b4f34cd54356cb3af82b2c3a781a19c12c168e
 SHA512 
27d09d16abbf1ee3d4d1e186dca9cd0836a6da8e36eeb6cce861c85c2a1ec594a4b37dfbd3ada0970fe469aebcf188a0bbe9f8903871bca0e3b81fb718acda09
 DIST cosign-2.2.1.tar.gz 853562 BLAKE2B 
40894d00d6071206221010337cb517ee9559518764a0d991df3363cb4dc381a0af4cd31e60c0c1fc6cffce6086af08c908ccf503893356f224f95b1d4085b195
 SHA512 
84f2308bbb1968eaf6d0d95e2dcb8efa2c42cd2599298b37d576e5e87f0cf6c1153c330b034908c0c7557953e0a7d964eaa4a8768f7dc35900f5f427d8fe7713
+DIST cosign-2.2.3-deps.tar.xz 429760040 BLAKE2B 
47ee9a4f6305a670e1818ce74a9da351fc763d4196334d738ab48b9dcba06f4be43ce2ba77dc879aae59ada2fa2ea66168a223c9da1029e02e140590dd1733a5
 SHA512 
481f8593b80d91996f2b2d4de10acad8bf1c5db3cf099a9683fd7da307c1142c870166a9222e58f9449a060248c94fecf35343dccc07d5cbf2acbdc00c0aef29
+DIST cosign-2.2.3.tar.gz 845096 BLAKE2B 
2017cc1716899640cbfc10ce093280a1ee4789eb1e8a8077978ebe4efe38075efa73ccb1abecb41eaa64dc16e652dbb709be7f195a6542284d86b2d9fb5128f3
 SHA512 
fc488c80dab3d05e0eca714c6107fada01dfddc2b68747676665d20a3f229224bbe36bfc60625c581c2e80dd10ad1421e142cf7ef6e24eba0894a708f2d10f06

diff --git a/app-containers/cosign/cosign-2.2.3.ebuild 
b/app-containers/cosign/cosign-2.2.3.ebuild
new file mode 100644
index 000000000000..a1421c9276eb
--- /dev/null
+++ b/app-containers/cosign/cosign-2.2.3.ebuild
@@ -0,0 +1,32 @@
+# Copyright 2022-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+inherit go-module
+GIT_HASH=493e6e29e2ac830aaf05ec210b36d0a5a60c3b32
+SOURCE_DATE_EPOCH=1706723680
+
+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 \
+               SOURCE_DATE_EPOCH=${SOURCE_DATE_EPOCH}
+}
+
+src_install() {
+       dobin cosign
+       einstalldocs
+dodoc CHANGELOG.md
+}

Reply via email to