aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichał Polański <michal@polanski.me>2020-11-23 19:29:57 +0100
committerAndy Postnikov <apostnikov@gmail.com>2020-11-23 18:54:39 +0000
commit502c3e2315e994f5505594ca97bbfe52f613e255 (patch)
treefdfa24fd24dccc60de76cbfffa365af1c518eba0
parentcd256ef4c77786fd49f95f390ca2ad9652f618a2 (diff)
downloadaports-502c3e2315e994f5505594ca97bbfe52f613e255.tar.gz
aports-502c3e2315e994f5505594ca97bbfe52f613e255.tar.bz2
aports-502c3e2315e994f5505594ca97bbfe52f613e255.tar.xz
testing/trivy: upgrade to 0.13.0
-rw-r--r--testing/trivy/APKBUILD16
1 files changed, 5 insertions, 11 deletions
diff --git a/testing/trivy/APKBUILD b/testing/trivy/APKBUILD
index 7cdde9adc0..6e9898682a 100644
--- a/testing/trivy/APKBUILD
+++ b/testing/trivy/APKBUILD
@@ -1,21 +1,15 @@
# Contributor: TBK <alpine@jjtc.eu>
# Maintainer: TBK <alpine@jjtc.eu>
pkgname=trivy
-pkgver=0.12.0
+pkgver=0.13.0
pkgrel=0
-pkgdesc="A Simple and Comprehensive Vulnerability Scanner for Containers, Suitable for CI"
+pkgdesc="Simple and comprehensive vulnerability scanner for containers"
url="https://github.com/aquasecurity/trivy"
-arch="all !s390x !mips !mips64" # tests SIGSEGV on s390x - https://github.com/aquasecurity/trivy/issues/430
+arch="all !mips !mips64" # limited by go on mips
+arch="$arch !s390x" # tests SIGSEGV on s390x: https://github.com/aquasecurity/trivy/issues/430
license="Apache 2.0"
makedepends="btrfs-progs-dev go linux-headers lvm2-dev"
source="$pkgname-$pkgver.tar.gz::https://github.com/aquasecurity/trivy/archive/v$pkgver.tar.gz"
-builddir="$srcdir/src/github.com/aquasecurity/$pkgname"
-
-prepare() {
- mkdir -p "$srcdir/src/github.com/aquasecurity/"
- ln -sf "$srcdir/$pkgname-$pkgver" "$srcdir/src/github.com/aquasecurity/$pkgname"
- default_prepare
-}
build() {
make build
@@ -29,4 +23,4 @@ package() {
install -Dm755 $pkgname "$pkgdir"/usr/bin/$pkgname
}
-sha512sums="ab45be1e9135df9bc2040121e0c2edaaf78f6fd639f7ceba3605b8eb280316f08ba0c415cfe3a1da186480041a539b2731252aec09626f9e3b78597678d88490 trivy-0.12.0.tar.gz"
+sha512sums="8c94b370148728ec82c98f6c2ce31e0752caaf9f29b1edaef40d5f6657269ce1ace6b1c747c3ec3b2b713bfc781555d1a4f6d77c994e1973f38fd2756240e290 trivy-0.13.0.tar.gz"