git: 34895c9574d6 - main - net/yggdrasil: Update 0.5.7 → 0.5.8

From: Vladimir Druzenko <vvd_at_FreeBSD.org>
Date: Sun, 25 Aug 2024 20:51:55 UTC
The branch main has been updated by vvd:

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

commit 34895c9574d61fe5c3d064f7ee9612036d89982b
Author:     Neil Alexander <freebsd@neilalexander.dev>
AuthorDate: 2024-08-25 20:49:54 +0000
Commit:     Vladimir Druzenko <vvd@FreeBSD.org>
CommitDate: 2024-08-25 20:49:54 +0000

    net/yggdrasil: Update 0.5.7 → 0.5.8
    
    Changelog:
     * A bug which caused startup problems on Windows and FreeBSD should be fixed
     * Resolved some minor link state and listener management bugs during shutdown
    https://github.com/yggdrasil-network/yggdrasil-go/releases/tag/v0.5.8
    
    Port changes:
     * Repalce PORTVERSION with DISTVERSION in GO_BUILDFLAGS
     * Move USE_RC_SUBR after USES - warning from portclippy
    
    PR:     281050 281017
---
 net/yggdrasil/Makefile |  9 ++++-----
 net/yggdrasil/distinfo | 10 +++++-----
 2 files changed, 9 insertions(+), 10 deletions(-)

diff --git a/net/yggdrasil/Makefile b/net/yggdrasil/Makefile
index 42191e75d498..0575b1be1f89 100644
--- a/net/yggdrasil/Makefile
+++ b/net/yggdrasil/Makefile
@@ -1,7 +1,6 @@
 PORTNAME=	yggdrasil
 DISTVERSIONPREFIX=	v
-DISTVERSION=	0.5.7
-PORTREVISION=	1
+DISTVERSION=	0.5.8
 CATEGORIES=	net
 
 MAINTAINER=	freebsd@neilalexander.dev
@@ -12,18 +11,18 @@ LICENSE=	LGPL3
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
 USES=		go:modules go:1.21
+USE_RC_SUBR=	yggdrasil
+
 GO_MODULE=	github.com/yggdrasil-network/yggdrasil-go
 GO_TARGET=	./cmd/yggdrasil \
 		./cmd/yggdrasilctl
 
 GO_BUILDFLAGS=	-ldflags="-s -w \
 		-X github.com/yggdrasil-network/yggdrasil-go/src/version.buildName=${PORTNAME} \
-		-X github.com/yggdrasil-network/yggdrasil-go/src/version.buildVersion=${PORTVERSION} \
+		-X github.com/yggdrasil-network/yggdrasil-go/src/version.buildVersion=${DISTVERSION} \
 		"
 
 PLIST_FILES=	bin/yggdrasil \
 		bin/yggdrasilctl
 
-USE_RC_SUBR=	yggdrasil
-
 .include <bsd.port.mk>
diff --git a/net/yggdrasil/distinfo b/net/yggdrasil/distinfo
index 0c8ad56e747e..aa1c2a4551f0 100644
--- a/net/yggdrasil/distinfo
+++ b/net/yggdrasil/distinfo
@@ -1,5 +1,5 @@
-TIMESTAMP = 1722883217
-SHA256 (go/net_yggdrasil/yggdrasil-v0.5.7/v0.5.7.mod) = 80dd2500686a57bbdb55d984ce5c7bb177b083eba9114be709954d7cf6a7e42e
-SIZE (go/net_yggdrasil/yggdrasil-v0.5.7/v0.5.7.mod) = 1779
-SHA256 (go/net_yggdrasil/yggdrasil-v0.5.7/v0.5.7.zip) = 417f8c6b025b25131455fa1bf580a82845a9e424e54ae5fe248ce71fb63b5fd2
-SIZE (go/net_yggdrasil/yggdrasil-v0.5.7/v0.5.7.zip) = 157306
+TIMESTAMP = 1724582581
+SHA256 (go/net_yggdrasil/yggdrasil-v0.5.8/v0.5.8.mod) = 80dd2500686a57bbdb55d984ce5c7bb177b083eba9114be709954d7cf6a7e42e
+SIZE (go/net_yggdrasil/yggdrasil-v0.5.8/v0.5.8.mod) = 1779
+SHA256 (go/net_yggdrasil/yggdrasil-v0.5.8/v0.5.8.zip) = ec1170a5e5ce4cf052e83803743e75fac298f9b243ce9c3b0423fb80ecc2cf7b
+SIZE (go/net_yggdrasil/yggdrasil-v0.5.8/v0.5.8.zip) = 157216