Files
Vadym-Valdis Yudaiev 81c9d93365 cosign: update to 3.1.1
2026-06-13 01:21:17 +03:00

40 lines
1.3 KiB
Tcl

# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
PortSystem 1.0
PortGroup golang 1.0
go.setup github.com/sigstore/cosign 3.1.1 v
revision 0
categories security
maintainers {judaew @judaew} openmaintainer
license Apache-2
description Container Signing
long_description \
Container Signing, Verification and Storage in an OCI registry. Cosign \
aims to make signatures invisible infrastructure.
checksums rmd160 2d0b73763d89979d058917d34e687e024161128c \
sha256 2b44374321cd19b0eb27026ee16e519393139edd7ffe01860c2d78d6084c68eb \
size 973653
# FIXME: This port currently can't be built without allowing go mod to fetch
go.offline_build no
build.cmd make
build.pre_args GIT_VERSION="${version}" \
GIT_TAG="build from tarball" GIT_HASH="" GIT_TREESTATE=""
build.target cosign
destroot {
xinstall -m 0755 ${worksrcpath}/cosign ${destroot}${prefix}/bin/
xinstall -d ${destroot}${prefix}/share/doc/${name}
xinstall -m 0644 -W ${worksrcpath} \
CHANGELOG.md COPYRIGHT.txt LICENSE \
${destroot}${prefix}/share/doc/${name}
}
github.livecheck.regex "(\\d+(?:\\.\\d+)+)"