Skip to content
Snippets Groups Projects
Commit 32826a65 authored by alice's avatar alice
Browse files

community/osv-scanner: upgrade to 1.3.1

parent 69398d53
No related branches found
No related tags found
No related merge requests found
# Maintainer: kpcyrd <git@rxv.cc> # Maintainer: kpcyrd <git@rxv.cc>
pkgname=osv-scanner pkgname=osv-scanner
pkgver=1.3.0 pkgver=1.3.1
pkgrel=1 pkgrel=0
pkgdesc="Vulnerability scanner written in Go which uses the data provided by https://osv.dev" pkgdesc="Vulnerability scanner written in Go which uses the data provided by https://osv.dev"
url="https://github.com/google/osv-scanner" url="https://github.com/google/osv-scanner"
arch="all" arch="all"
...@@ -14,20 +14,15 @@ export GOCACHE="${GOCACHE:-"$srcdir/go-cache"}" ...@@ -14,20 +14,15 @@ export GOCACHE="${GOCACHE:-"$srcdir/go-cache"}"
export GOTMPDIR="${GOTMPDIR:-"$srcdir"}" export GOTMPDIR="${GOTMPDIR:-"$srcdir"}"
export GOMODCACHE="${GOMODCACHE:-"$srcdir/go"}" export GOMODCACHE="${GOMODCACHE:-"$srcdir/go"}"
prepare() {
default_prepare
# workaround to not have a gitignore for tests
git init .
}
build() { build() {
mkdir build mkdir build
go build -o build/ ./cmd/... go build -o build/ ./cmd/...
} }
check() { check() {
go test ./... # TestRun fails because more ghsa's were published since it was made
# shellcheck disable=2046
go test $(go list ./... | grep -v cmd/osv-scanner)
} }
package() { package() {
...@@ -35,5 +30,5 @@ package() { ...@@ -35,5 +30,5 @@ package() {
} }
sha512sums=" sha512sums="
1ba488c4e807ffd46099a6b0afe280dfa5dcd36a3712163c591b53ed1ccc973e7dac17966a14fd01a2e8ba2c7542594f961b3a2a5dd7ec26db643a84ada59c28 osv-scanner-1.3.0.tar.gz 44b9711a9866e077e16715be08c8e2a3e0055d59a44c2937b7edca6b84a84e682607ea1e3c08b4ef79c60045efb4ff1f44fef484186c3670be40cea6573266d3 osv-scanner-1.3.1.tar.gz
" "
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment