Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Mar 2023 18:13:27 GMT
From:      Lewis Cook <lcook@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 2f5d199ed7fc - main - security/osv-scanner: Update to 1.2.0
Message-ID:  <202303111813.32BIDRRJ036939@gitrepo.freebsd.org>

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

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

commit 2f5d199ed7fc428bc88423678bc653bcabe04645
Author:     Lewis Cook <lcook@FreeBSD.org>
AuthorDate: 2023-03-11 18:07:09 +0000
Commit:     Lewis Cook <lcook@FreeBSD.org>
CommitDate: 2023-03-11 18:08:47 +0000

    security/osv-scanner: Update to 1.2.0
    
    Changes:        https://github.com/google/osv-scanner/releases/tag/v1.2.0
---
 security/osv-scanner/Makefile |  7 ++++---
 security/osv-scanner/distinfo | 10 +++++-----
 2 files changed, 9 insertions(+), 8 deletions(-)

diff --git a/security/osv-scanner/Makefile b/security/osv-scanner/Makefile
index d7f44e994653..8b3251749151 100644
--- a/security/osv-scanner/Makefile
+++ b/security/osv-scanner/Makefile
@@ -1,7 +1,6 @@
 PORTNAME=	osv-scanner
 DISTVERSIONPREFIX=	v
-DISTVERSION=	1.1.0
-PORTREVISION=	1
+DISTVERSION=	1.2.0
 CATEGORIES=	security
 
 MAINTAINER=	lcook@FreeBSD.org
@@ -14,13 +13,15 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 USES=		go:1.19,modules
 
 _BUILD_VERSION=	${DISTVERSION}
-_BUILD_COMMIT=	a6c6cd7
+_BUILD_COMMIT=	9647b49
+_BUILD_DATE=	$$(date +%Y-%m-%d)
 
 GO_MODULE=	github.com/google/${PORTNAME}
 GO_TARGET=	./cmd/${PORTNAME}
 GO_BUILDFLAGS=	-ldflags "\
 		-s -w \
 		-X main.version=${_BUILD_VERSION} \
+		-X main.date=${_BUILD_DATE} \
 		-X main.commit=${_BUILD_COMMIT}"
 
 PORTDOCS=	README.md
diff --git a/security/osv-scanner/distinfo b/security/osv-scanner/distinfo
index 2f8934a996d3..a4be36384896 100644
--- a/security/osv-scanner/distinfo
+++ b/security/osv-scanner/distinfo
@@ -1,5 +1,5 @@
-TIMESTAMP = 1676918735
-SHA256 (go/security_osv-scanner/osv-scanner-v1.1.0/v1.1.0.mod) = 3050812cea6d09d0bf4d8a5b23618ca826ebc3f477ee517bde5bc103a0e904cc
-SIZE (go/security_osv-scanner/osv-scanner-v1.1.0/v1.1.0.mod) = 850
-SHA256 (go/security_osv-scanner/osv-scanner-v1.1.0/v1.1.0.zip) = 7f04d99b15eece4ae4fd187b9b2fbff14055caa13a50a7fb0ab2a2b46575c6bb
-SIZE (go/security_osv-scanner/osv-scanner-v1.1.0/v1.1.0.zip) = 199043
+TIMESTAMP = 1678557781
+SHA256 (go/security_osv-scanner/osv-scanner-v1.2.0/v1.2.0.mod) = 5522dc6993dd786b218072bc6ea7c01e9acbce0210fa0165948e536dcc3010ff
+SIZE (go/security_osv-scanner/osv-scanner-v1.2.0/v1.2.0.mod) = 1718
+SHA256 (go/security_osv-scanner/osv-scanner-v1.2.0/v1.2.0.zip) = ad5a305fe554f3c2d6f32ca48c5c860458fe6a0acd9ae91d9ec44ab506b0db8a
+SIZE (go/security_osv-scanner/osv-scanner-v1.2.0/v1.2.0.zip) = 774990



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