mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-28 08:22:56 +02:00
New package: trivy-0.63.0
Co-authored-by: Duncaen <duncaen@voidlinux.org>
This commit is contained in:
parent
c2d845e9d9
commit
3a68679d73
1 changed files with 20 additions and 0 deletions
20
srcpkgs/trivy/template
Normal file
20
srcpkgs/trivy/template
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
# Template file for 'trivy'
|
||||||
|
pkgname=trivy
|
||||||
|
version=0.63.0
|
||||||
|
revision=1
|
||||||
|
build_style=go
|
||||||
|
go_import_path="github.com/aquasecurity/trivy"
|
||||||
|
go_package="${go_import_path}/cmd/trivy"
|
||||||
|
go_ldflags="-X ${go_import_path}/pkg/version/app.ver=$version"
|
||||||
|
short_desc="Comprehensive vulnerability scanner for containers"
|
||||||
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||||
|
license="Apache-2.0"
|
||||||
|
homepage="https://github.com/aquasecurity/trivy"
|
||||||
|
distfiles="https://github.com/aquasecurity/trivy/archive/refs/tags/v${version}.tar.gz"
|
||||||
|
checksum=ac26dcb16072e674b8a3bffa6fbd817ec5baa125660b5c49d9ad8659e14d0800
|
||||||
|
|
||||||
|
# those tests are wrong and expect `dev` instead of the version.
|
||||||
|
make_check_args="-run !(^(Test_showVersion|TestPrintVersion)$)"
|
||||||
|
|
||||||
|
# fix: collect2: fatal error: cannot find 'ld'
|
||||||
|
export LDFLAGS="-fuse-ld=bfd"
|
Loading…
Add table
Reference in a new issue