Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Feb 2023 19:02:36 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: 87ea824e1c06 - main - security/osv-scanner: Pin Go version to 1.19
Message-ID:  <202302201902.31KJ2a8F094399@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=87ea824e1c06e8418d5b248d9d4a01409e700d54

commit 87ea824e1c06e8418d5b248d9d4a01409e700d54
Author:     Lewis Cook <lcook@FreeBSD.org>
AuthorDate: 2023-02-20 18:41:19 +0000
Commit:     Lewis Cook <lcook@FreeBSD.org>
CommitDate: 2023-02-20 19:01:58 +0000

    security/osv-scanner: Pin Go version to 1.19
    
    Numerous packages currently do not support Go 1.20 yet,
    and fail with the following:
    
    version "go1.19.5" does not match go tool version "go1.20"
    
    For now, pin the Go version used to 1.19, until upstream
    supports 1.20.
---
 security/osv-scanner/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/security/osv-scanner/Makefile b/security/osv-scanner/Makefile
index 5b0a1e7cf893..5790550b5d23 100644
--- a/security/osv-scanner/Makefile
+++ b/security/osv-scanner/Makefile
@@ -11,7 +11,7 @@ WWW=		https://github.com/google/osv-scanner
 LICENSE=	APACHE20
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-USES=		go:modules
+USES=		go:1.19,modules
 
 _BUILD_VERSION=	${DISTVERSION}
 _BUILD_COMMIT=	e206217



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