mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
grype: update to 0.69.0
This commit is contained in:
parent
2866cc27f3
commit
1163784e4f
2 changed files with 15 additions and 4 deletions
13
srcpkgs/grype/patches/fix-go-version.patch
Normal file
13
srcpkgs/grype/patches/fix-go-version.patch
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
# Requirement for v1.21.1 has nothing to do with program capabilities, see https://github.com/anchore/grype/pull/1484
|
||||||
|
diff --git a/go.mod b/go.mod
|
||||||
|
index 3d72c07fa9..efdc329286 100644
|
||||||
|
--- a/go.mod
|
||||||
|
+++ b/go.mod
|
||||||
|
@@ -1,6 +1,6 @@
|
||||||
|
module github.com/anchore/grype
|
||||||
|
|
||||||
|
-go 1.21.1
|
||||||
|
+go 1.21.0
|
||||||
|
|
||||||
|
require (
|
||||||
|
github.com/CycloneDX/cyclonedx-go v0.7.1
|
|
@ -1,19 +1,17 @@
|
||||||
# Template file for 'grype'
|
# Template file for 'grype'
|
||||||
pkgname=grype
|
pkgname=grype
|
||||||
version=0.66.0
|
version=0.69.0
|
||||||
revision=1
|
revision=1
|
||||||
build_style=go
|
build_style=go
|
||||||
build_helper=qemu
|
build_helper=qemu
|
||||||
go_import_path="github.com/anchore/grype"
|
go_import_path="github.com/anchore/grype"
|
||||||
go_package="github.com/anchore/grype/cmd/grype"
|
go_package="github.com/anchore/grype/cmd/grype"
|
||||||
hostmakedepends="go1.20"
|
|
||||||
short_desc="Vulnerability scanner for container images and filesystems"
|
short_desc="Vulnerability scanner for container images and filesystems"
|
||||||
maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
|
maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
|
||||||
license="Apache-2.0"
|
license="Apache-2.0"
|
||||||
homepage="https://github.com/anchore/grype"
|
homepage="https://github.com/anchore/grype"
|
||||||
distfiles="https://github.com/anchore/grype/archive/refs/tags/v${version}.tar.gz"
|
distfiles="https://github.com/anchore/grype/archive/refs/tags/v${version}.tar.gz"
|
||||||
checksum=b0e38671975c0871f1b9a7bacba376f90ecb429973cb4b5b9cf90a3f4e072304
|
checksum=d20e1fb2fdc28af123ce197ceef3ac9dd99327f3a298e7e3e2eb1dd5dd7b43a3
|
||||||
export GOTOOLCHAIN=go1.20
|
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
grype="${DESTDIR}/usr/bin/grype"
|
grype="${DESTDIR}/usr/bin/grype"
|
||||||
|
|
Loading…
Add table
Reference in a new issue