ksctl: update to 2.9.0

This commit is contained in:
trustbyte
2026-02-06 20:26:53 +01:00
committed by Herby Gillot
parent 03e82d3db4
commit c21a52db48
+10 -10
View File
@@ -3,7 +3,7 @@
PortSystem 1.0
PortGroup golang 1.0
go.setup github.com/ksctl/cli 2.8.0 v
go.setup github.com/ksctl/kli 2.9.0 v
go.offline_build no
name ksctl
revision 0
@@ -27,17 +27,17 @@ license Apache-2
maintainers {gmail.com:herby.gillot @herbygillot} \
openmaintainer
checksums rmd160 47a433e6b20eccb97d6536e41644658d4e5c324e \
sha256 d1939077c4932b90745b8cea98c5c4885e661957e805884f1a8910bf708acdde \
size 93125
checksums rmd160 8766ff06b51b950a2483c90cfb187e2e6cc9d973 \
sha256 62f3619efdce6e71cc16eb2f6189c0d27b73f8287314b3b146775585a3a660db \
size 90744
# echo KsctlCoreVer=$(curl -s https://api.github.com/repos/ksctl/ksctl/releases/latest | jq -r .name)
build.pre_args-append \
-ldflags \"-X github.com/ksctl/cli/v2/pkg/config.Version=${version} \
-X github.com/ksctl/cli/v2/pkg/telemetry.clientIdentity="macports" \
-X github.com/ksctl/cli/v2/pkg/config.KsctlCoreVer="v2.7.6" \
-X github.com/ksctl/cli/v2/pkg/config.BuildDate="2025-10-29"\"
-ldflags \"-X github.com/ksctl/kli/v2/pkg/config.Version=${version} \
-X github.com/ksctl/kli/v2/pkg/telemetry.clientIdentity="macports" \
-X github.com/ksctl/kli/v2/pkg/config.KsctlCoreVer="v2.7.6" \
-X github.com/ksctl/kli/v2/pkg/config.BuildDate="2026-02-02"\"
destroot {
xinstall -m 0755 ${worksrcpath}/cli ${destroot}${prefix}/bin/${name}
xinstall -m 0755 ${worksrcpath}/kli ${destroot}${prefix}/bin/${name}
}