Files

52 lines
1.4 KiB
Tcl
Raw Permalink Normal View History

2020-09-10 10:50:57 -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
PortGroup golang 1.0
2026-06-30 06:32:51 -04:00
go.setup github.com/aquasecurity/trivy 0.72.0 v
go.offline_build no
2021-02-10 05:18:59 -05:00
revision 0
2020-09-10 10:50:57 -04:00
2021-12-12 02:33:56 -05:00
description \
A Simple and Comprehensive Vulnerability Scanner for Containers, Suitable \
for CI
2020-09-10 10:50:57 -04:00
2021-12-12 02:33:56 -05:00
long_description \
{*}${description}. Trivy detects vulnerabilities of OS packages (Alpine, \
RHEL, CentOS, etc.) and application dependencies (Bundler, Composer, npm, \
yarn, etc.). Trivy is easy to use. Just install the binary and you're \
ready to scan. All you need to do for scanning is to specify a target \
such as an image name of the container.
2020-09-10 10:50:57 -04:00
categories security sysutils
2021-10-17 10:02:02 -04:00
installs_libs no
2020-09-10 10:50:57 -04:00
license Apache-2
maintainers {gmail.com:herby.gillot @herbygillot} \
openmaintainer
2023-06-30 20:12:42 -04:00
platforms darwin linux freebsd
2020-09-10 10:50:57 -04:00
2023-04-01 14:34:33 -04:00
fetch.type git
2020-09-10 10:50:57 -04:00
2023-04-01 14:34:33 -04:00
depends_build-append \
port:goreleaser
build.cmd goreleaser
build.args build --single-target
2020-09-10 10:50:57 -04:00
2023-06-30 20:12:42 -04:00
platform darwin {
build.args-append --id=build-macos
}
platform linux {
build.args-append --id=build-linux
}
platform freebsd {
build.args-append --id=build-bsd
}
2020-09-10 10:50:57 -04:00
destroot {
2023-04-01 14:34:33 -04:00
xinstall -m 0755 \
2023-06-30 20:12:42 -04:00
[glob ${worksrcpath}/dist/build-*/${name}] ${destroot}${prefix}/bin/
2020-09-10 10:50:57 -04:00
}