Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Dec 2024 17:29:03 GMT
From:      Joseph Mingrone <jrm@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: a78f1bc53650 - main - security/osv-scanner: Update to 1.9.1
Message-ID:  <202412101729.4BAHT3fI031274@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by jrm:

URL: https://cgit.FreeBSD.org/ports/commit/?id=a78f1bc536506716d296d07087e028c07ada45d3

commit a78f1bc536506716d296d07087e028c07ada45d3
Author:     Pierre Pronchery <pierre@freebsdfoundation.org>
AuthorDate: 2024-08-09 19:18:11 +0000
Commit:     Joseph Mingrone <jrm@FreeBSD.org>
CommitDate: 2024-12-10 17:27:04 +0000

    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
    PR:             282822
    Approved by:    maintainer timeout
    Sponsored by:   The FreeBSD Foundation
---
 security/osv-scanner/Makefile                                  |  9 ++++-----
 security/osv-scanner/distinfo                                  | 10 +++++-----
 security/osv-scanner/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) {



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202412101729.4BAHT3fI031274>