Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Feb 2023 08:52:33 GMT
From:      Robert Clausecker <fuz@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: d18e274dd3fc - main - devel/gocritic: update to 0.6.7
Message-ID:  <202302240852.31O8qXB3061361@gitrepo.freebsd.org>

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

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

commit d18e274dd3fc827159b27d4a01cdba6b25bd9b7e
Author:     Robert Clausecker <fuz@FreeBSD.org>
AuthorDate: 2023-02-21 00:20:24 +0000
Commit:     Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2023-02-24 08:50:50 +0000

    devel/gocritic: update to 0.6.7
    
     - ship new gocritic-analysis binary
     - set PKGVERSION as program version in binary
    
    Changelog: https://github.com/go-critic/go-critic/releases/tag/v0.6.7
    Changelog: https://github.com/go-critic/go-critic/releases/tag/v0.6.6
    
    Approved by:    flo (mentor)
    Differential Revision: https://reviews.freebsd.org/D38727
---
 devel/gocritic/Makefile | 10 ++++++----
 devel/gocritic/distinfo | 10 +++++-----
 2 files changed, 11 insertions(+), 9 deletions(-)

diff --git a/devel/gocritic/Makefile b/devel/gocritic/Makefile
index 6540628a26ab..3c191259d153 100644
--- a/devel/gocritic/Makefile
+++ b/devel/gocritic/Makefile
@@ -1,7 +1,6 @@
 PORTNAME=	gocritic
 DISTVERSIONPREFIX=	v
-DISTVERSION=	0.6.5
-PORTREVISION=	4
+DISTVERSION=	0.6.7
 CATEGORIES=	devel
 
 MAINTAINER=	fuz@FreeBSD.org
@@ -13,8 +12,11 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 
 USES=		go:modules
 GO_MODULE=	github.com/go-critic/go-critic
-GO_TARGET=	./cmd/gocritic
+GO_TARGET=	./cmd/gocritic \
+		./cmd/gocritic-analysis
+GO_BUILDFLAGS=	-ldflags "-X main.Version=v${PKGVERSION}"
 
-PLIST_FILES=	bin/gocritic
+PLIST_FILES=	bin/gocritic \
+		bin/gocritic-analysis
 
 .include <bsd.port.mk>
diff --git a/devel/gocritic/distinfo b/devel/gocritic/distinfo
index 7b17cf61c5d0..ac13063069e0 100644
--- a/devel/gocritic/distinfo
+++ b/devel/gocritic/distinfo
@@ -1,5 +1,5 @@
-TIMESTAMP = 1667255224
-SHA256 (go/devel_gocritic/gocritic-v0.6.5/v0.6.5.mod) = 7d679dee25f7d3f0245b190eba1a51215fd2751360e59bd12a1721adaceeccae
-SIZE (go/devel_gocritic/gocritic-v0.6.5/v0.6.5.mod) = 725
-SHA256 (go/devel_gocritic/gocritic-v0.6.5/v0.6.5.zip) = 7f595b0d7e550c87be506c5810d94e81e2c3908b846b388421dac692a0b19a32
-SIZE (go/devel_gocritic/gocritic-v0.6.5/v0.6.5.zip) = 325383
+TIMESTAMP = 1676938342
+SHA256 (go/devel_gocritic/gocritic-v0.6.7/v0.6.7.mod) = 646771f3fe37521fe5163360f499f3643c27b2e7fd7bf04bc7670a3fb13ec2de
+SIZE (go/devel_gocritic/gocritic-v0.6.7/v0.6.7.mod) = 1024
+SHA256 (go/devel_gocritic/gocritic-v0.6.7/v0.6.7.zip) = ececc2323de31c8e22122d9a219a904bc02a985b6f16bbb6edd6d99ba8457af2
+SIZE (go/devel_gocritic/gocritic-v0.6.7/v0.6.7.zip) = 326724



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