2021-09-02 17:11:34 -04:00
|
|
|
# -*- 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
|
2022-03-27 14:06:16 -04:00
|
|
|
PortGroup golang 1.0
|
2021-09-02 17:11:34 -04:00
|
|
|
|
2026-05-12 21:18:39 +02:00
|
|
|
go.setup github.com/kubescape/kubescape 4.0.8 v
|
2021-09-02 17:11:34 -04:00
|
|
|
revision 0
|
|
|
|
|
|
|
|
|
|
description Tool for testing if Kubernetes is deployed securely as \
|
|
|
|
|
defined in Kubernetes Hardening Guidance by NSA and CISA
|
|
|
|
|
|
|
|
|
|
long_description {*}${description}
|
|
|
|
|
|
2025-03-06 20:31:42 +09:00
|
|
|
categories sysutils security
|
2021-09-02 17:11:34 -04:00
|
|
|
installs_libs no
|
2022-01-08 22:56:14 +11:00
|
|
|
license Apache-2
|
2021-09-02 17:11:34 -04:00
|
|
|
maintainers {gmail.com:herby.gillot @herbygillot} \
|
|
|
|
|
openmaintainer
|
|
|
|
|
|
2026-05-12 21:18:39 +02:00
|
|
|
checksums rmd160 f7a6559d8c4c2ad32f061d5514d094775dff35cd \
|
|
|
|
|
sha256 28866380b6c8a17c7548d5467aaf4197937602c673d8fed51b973e4aadee8298 \
|
|
|
|
|
size 9855075
|
2021-09-02 17:11:34 -04:00
|
|
|
|
|
|
|
|
# Allow Go to fetch dependencies at build time
|
2023-08-10 13:41:21 -04:00
|
|
|
go.offline_build no
|
2025-10-26 20:54:38 +01:00
|
|
|
build.pre_args-append -ldflags \" \
|
2026-04-08 19:47:38 +02:00
|
|
|
-X main.version=v${version} \
|
2026-05-12 21:18:39 +02:00
|
|
|
-X main.commit=d7539c2264560a8685f59e89a731d6de833258a6 \
|
|
|
|
|
-X main.date=20260508 \
|
2025-10-26 20:54:38 +01:00
|
|
|
\"
|
|
|
|
|
build.cmd "${go.bin} mod tidy && ${go.bin} build"
|
2021-09-02 17:11:34 -04:00
|
|
|
|
|
|
|
|
destroot {
|
2025-10-26 20:54:38 +01:00
|
|
|
xinstall -m 0755 ${worksrcpath}/${name} ${destroot}${prefix}/bin/
|
2021-09-02 17:11:34 -04:00
|
|
|
}
|