git: 766b049e0bb6 - main - dns/blocky: Update to 0.23

From: Nuno Teixeira <eduardo_at_FreeBSD.org>
Date: Sun, 07 Jan 2024 19:57:01 UTC
The branch main has been updated by eduardo:

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

commit 766b049e0bb6e31c551a4ae6ee58a0cc82c4f13d
Author:     Nuno Teixeira <eduardo@FreeBSD.org>
AuthorDate: 2024-01-07 11:31:15 +0000
Commit:     Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2024-01-07 19:56:48 +0000

    dns/blocky: Update to 0.23
    
    ChangeLog: https://github.com/0xERR0R/blocky/releases/tag/v0.23
---
 dns/blocky/Makefile |  8 ++++----
 dns/blocky/distinfo | 10 +++++-----
 2 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/dns/blocky/Makefile b/dns/blocky/Makefile
index 502fc9f37be7..45cac4b303ea 100644
--- a/dns/blocky/Makefile
+++ b/dns/blocky/Makefile
@@ -1,7 +1,6 @@
 PORTNAME=	blocky
 DISTVERSIONPREFIX=	v
-DISTVERSION=	0.22
-PORTREVISION=	2
+DISTVERSION=	0.23
 CATEGORIES=	dns
 MASTER_SITES=	https://raw.githubusercontent.com/${GH_ACCOUNT}/${GH_PROJECT}/${DISTVERSIONFULL}/:gomod
 DISTFILES=	go.mod:gomod
@@ -13,7 +12,7 @@ WWW=		https://0xerr0r.github.io/blocky/
 LICENSE=	APACHE20
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-USES=		go:modules
+USES=		go:1.21,modules
 USE_GITHUB=	yes
 GH_ACCOUNT=	0xERR0R
 USE_RC_SUBR=	blocky
@@ -22,7 +21,8 @@ GO_MODULE=	github.com/${GH_ACCOUNT}/${GH_PROJECT}
 GO_TARGET=	main.go:${PREFIX}/sbin/${PORTNAME}
 GO_BUILDFLAGS=	-ldflags "-w -s \
 		-X github.com/0xERR0R/blocky/util.Version=${DISTVERSION} \
-		-X github.com/0xERR0R/blocky/util.BuildTime=`date '+%Y%m%d-%H%M%S'`"
+		-X github.com/0xERR0R/blocky/util.BuildTime=`date '+%Y%m%d-%H%M%S'` \
+		-X github.com/0xERR0R/blocky/util.Architecture=${ARCH}"
 
 SUB_FILES=	pkg-message
 
diff --git a/dns/blocky/distinfo b/dns/blocky/distinfo
index 9adefae17676..237b1695dda4 100644
--- a/dns/blocky/distinfo
+++ b/dns/blocky/distinfo
@@ -1,5 +1,5 @@
-TIMESTAMP = 1693472582
-SHA256 (go/dns_blocky/0xERR0R-blocky-v0.22_GH0/go.mod) = 7835cb78eef479884288d74a72eca9d65eeacd736fbe6e16e8589f26c29f4c24
-SIZE (go/dns_blocky/0xERR0R-blocky-v0.22_GH0/go.mod) = 5901
-SHA256 (go/dns_blocky/0xERR0R-blocky-v0.22_GH0/0xERR0R-blocky-v0.22_GH0.tar.gz) = c11a4532ad6636d120ceab844af1a846a8fc379acb03359870de1dc1f8cf7876
-SIZE (go/dns_blocky/0xERR0R-blocky-v0.22_GH0/0xERR0R-blocky-v0.22_GH0.tar.gz) = 712644
+TIMESTAMP = 1704619743
+SHA256 (go/dns_blocky/0xERR0R-blocky-v0.23_GH0/go.mod) = 888bdc6ea8dfe2b7001338721b25489249e8dffbd5d3b295550768e641ea29ec
+SIZE (go/dns_blocky/0xERR0R-blocky-v0.23_GH0/go.mod) = 6797
+SHA256 (go/dns_blocky/0xERR0R-blocky-v0.23_GH0/0xERR0R-blocky-v0.23_GH0.tar.gz) = 605e5ad01eb74cfcb369df73a3c07742b05d8fb9db84c172ac45c5fc514f4194
+SIZE (go/dns_blocky/0xERR0R-blocky-v0.23_GH0/0xERR0R-blocky-v0.23_GH0.tar.gz) = 7236537