git: 8a973b9ab5aa - main - devel/revive: Update to 1.2.3

From: Lewis Cook <lcook_at_FreeBSD.org>
Date: Thu, 08 Sep 2022 22:16:37 UTC
The branch main has been updated by lcook:

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

commit 8a973b9ab5aadecbbd7a0aeda59124e54dd731ae
Author:     Lewis Cook <lcook@FreeBSD.org>
AuthorDate: 2022-09-08 22:14:47 +0000
Commit:     Lewis Cook <lcook@FreeBSD.org>
CommitDate: 2022-09-08 22:14:47 +0000

    devel/revive: Update to 1.2.3
    
    Changes:        https://github.com/mgechev/revive/releases/tag/v1.2.3
---
 devel/revive/Makefile | 11 +++++------
 devel/revive/distinfo | 10 +++++-----
 2 files changed, 10 insertions(+), 11 deletions(-)

diff --git a/devel/revive/Makefile b/devel/revive/Makefile
index b0f8bff19c37..835b809efdc8 100644
--- a/devel/revive/Makefile
+++ b/devel/revive/Makefile
@@ -1,7 +1,6 @@
 PORTNAME=	revive
 DISTVERSIONPREFIX=	v
-DISTVERSION=	1.2.1
-PORTREVISION=	4
+DISTVERSION=	1.2.3
 CATEGORIES=	devel
 
 MAINTAINER=	lcook@FreeBSD.org
@@ -14,15 +13,15 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 USES=		go:modules
 
 _BUILD_VERSION=	${DISTVERSION}
-_BUILD_COMMIT=	23828cc
+_BUILD_COMMIT=	556d485
 _BUILD_DATE=	$$(date +%Y-%m-%d)
 
 GO_MODULE=	github.com/mgechev/${PORTNAME}
 GO_BUILDFLAGS=	-ldflags "\
 		-s -w \
-		-X main.version=${_BUILD_VERSION} \
-		-X main.commit=${_BUILD_COMMIT} \
-		-X main.date=${_BUILD_DATE}"
+		-X ${GO_MODULE}/cli.version=${_BUILD_VERSION} \
+		-X ${GO_MODULE}/cli.commit=${_BUILD_COMMIT} \
+		-X ${GO_MODULE}/cli.date=${_BUILD_DATE}"
 
 PLIST_FILES=	bin/${PORTNAME}
 PORTDOCS=	CODE_OF_CONDUCT.md CONTRIBUTING.md DEVELOPING.md \
diff --git a/devel/revive/distinfo b/devel/revive/distinfo
index 71f5dfd5036f..99365bcb98c1 100644
--- a/devel/revive/distinfo
+++ b/devel/revive/distinfo
@@ -1,5 +1,5 @@
-TIMESTAMP = 1653515577
-SHA256 (go/devel_revive/revive-v1.2.1/v1.2.1.mod) = 646ab2dd6778fd840ef39410b5c23d76aee2f1aefb9743446dfa2c6b1a7eedbb
-SIZE (go/devel_revive/revive-v1.2.1/v1.2.1.mod) = 420
-SHA256 (go/devel_revive/revive-v1.2.1/v1.2.1.zip) = 440cf26bc67868e7b2c5edd26f0c45bea99ef453753db4fac1334de55701be2f
-SIZE (go/devel_revive/revive-v1.2.1/v1.2.1.zip) = 807659
+TIMESTAMP = 1662675124
+SHA256 (go/devel_revive/revive-v1.2.3/v1.2.3.mod) = 47d2f92a87d4c4103862d91faa40e5ed28622b98ae3690254325ad4e8c5e4955
+SIZE (go/devel_revive/revive-v1.2.3/v1.2.3.mod) = 646
+SHA256 (go/devel_revive/revive-v1.2.3/v1.2.3.zip) = b5464951cc18a1c13f61ffb53a75cf47bc4e60ca16bc158f48645df2c0ab286b
+SIZE (go/devel_revive/revive-v1.2.3/v1.2.3.zip) = 816199