FreeBSD Bugzilla – Attachment 255246 Details for
Bug 282822
security/osv-scanner: Update to 1.9.1
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
0001-security-osv-scanner-Update-to-1.9.1.patch
0001-security-osv-scanner-Update-to-1.9.1.patch (text/plain), 3.35 KB, created by
Pierre Pronchery
on 2024-11-18 00:42:03 UTC
(
hide
)
Description:
0001-security-osv-scanner-Update-to-1.9.1.patch
Filename:
MIME Type:
Creator:
Pierre Pronchery
Created:
2024-11-18 00:42:03 UTC
Size:
3.35 KB
patch
obsolete
>From d57b6983a6a9b9011d36307f65b1dcd53ddd1f6d Mon Sep 17 00:00:00 2001 >From: Pierre Pronchery <pierre@freebsdfoundation.org> >Date: Fri, 9 Aug 2024 21:18:11 +0200 >Subject: [PATCH] security/osv-scanner: Update to 1.9.1 > >This now requires Go 1.23. > >Changelog: https://github.com/google/osv-scanner/releases/tag/v1.9.1 >Sponsored by: The FreeBSD Foundation >--- > security/osv-scanner/Makefile | 9 ++++----- > security/osv-scanner/distinfo | 10 +++++----- > .../files/patch-internal_sourceanalysis_go.go | 6 +++--- > 3 files changed, 12 insertions(+), 13 deletions(-) > >diff --git a/security/osv-scanner/Makefile b/security/osv-scanner/Makefile >index 623bbc259dca..706e6e002f38 100644 >--- a/security/osv-scanner/Makefile >+++ b/security/osv-scanner/Makefile >@@ -1,7 +1,6 @@ > PORTNAME= osv-scanner > DISTVERSIONPREFIX= v >-DISTVERSION= 1.8.2 >-PORTREVISION= 1 >+DISTVERSION= 1.9.1 > CATEGORIES= security > > MAINTAINER= lcook@FreeBSD.org >@@ -11,10 +10,10 @@ WWW= https://github.com/google/osv-scanner > LICENSE= APACHE20 > LICENSE_FILE= ${WRKSRC}/LICENSE > >-USES= go:1.21,modules >+USES= go:1.23,modules > > _BUILD_VERSION= ${DISTVERSION} >-_BUILD_COMMIT= 1ea785e >+_BUILD_COMMIT= b13f37e > _BUILD_DATE= $$(date +%Y-%m-%d) > > GO_MODULE= github.com/google/${PORTNAME} >@@ -25,8 +24,8 @@ GO_BUILDFLAGS= -ldflags "\ > -X main.date=${_BUILD_DATE} \ > -X main.commit=${_BUILD_COMMIT}" > >-PORTDOCS= CHANGELOG.md CONTRIBUTING.md README.md > PLIST_FILES= ${GO_TARGET:C/.\/cmd/bin/} >+PORTDOCS= CHANGELOG.md CONTRIBUTING.md README.md > > OPTIONS_DEFINE= DOCS > >diff --git a/security/osv-scanner/distinfo b/security/osv-scanner/distinfo >index 6698c23af27f..afcf14a07e39 100644 >--- a/security/osv-scanner/distinfo >+++ b/security/osv-scanner/distinfo >@@ -1,5 +1,5 @@ >-TIMESTAMP = 1720621608 >-SHA256 (go/security_osv-scanner/osv-scanner-v1.8.2/v1.8.2.mod) = b330a09097662dda308c1d00070863cec5bab7ad766b431132204e62bcfbd4d0 >-SIZE (go/security_osv-scanner/osv-scanner-v1.8.2/v1.8.2.mod) = 5340 >-SHA256 (go/security_osv-scanner/osv-scanner-v1.8.2/v1.8.2.zip) = 3f2258a6e28d170b6e59415af5d21a42b3be63dbc9cdf38bc28b080e2a072c37 >-SIZE (go/security_osv-scanner/osv-scanner-v1.8.2/v1.8.2.zip) = 6873207 >+TIMESTAMP = 1730742574 >+SHA256 (go/security_osv-scanner/osv-scanner-v1.9.1/v1.9.1.mod) = 8b46b0c469e2129a38fec377cbdf7ac43380afd538094fe23bd69d2267eb7c61 >+SIZE (go/security_osv-scanner/osv-scanner-v1.9.1/v1.9.1.mod) = 5009 >+SHA256 (go/security_osv-scanner/osv-scanner-v1.9.1/v1.9.1.zip) = bdb4a6864eacd826398b2cb80a7e0dfc24faaa87171293cbe4f99eef8266afd0 >+SIZE (go/security_osv-scanner/osv-scanner-v1.9.1/v1.9.1.zip) = 7477512 >diff --git a/security/osv-scanner/files/patch-internal_sourceanalysis_go.go b/security/osv-scanner/files/patch-internal_sourceanalysis_go.go >index 963201cbdd44..c1bbfd93f555 100644 >--- a/security/osv-scanner/files/patch-internal_sourceanalysis_go.go >+++ b/security/osv-scanner/files/patch-internal_sourceanalysis_go.go >@@ -1,6 +1,6 @@ >---- internal/sourceanalysis/go.go.orig 2024-06-21 19:21:07.662367000 +0200 >-+++ internal/sourceanalysis/go.go 2024-06-21 19:21:27.715630000 +0200 >-@@ -18,7 +18,7 @@ >+--- internal/sourceanalysis/go.go.orig 1979-11-29 23:00:00 UTC >++++ internal/sourceanalysis/go.go >+@@ -18,7 +18,7 @@ func goAnalysis(r reporter.Reporter, pkgs []models.Pac > ) > > func goAnalysis(r reporter.Reporter, pkgs []models.PackageVulns, source models.SourceInfo) { >-- >2.46.2 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 282822
: 255246