git: 8abd7d8ec12b - main - net/yggdrasil: Update to 0.5.6

From: Fernando Apesteguía <fernape_at_FreeBSD.org>
Date: Thu, 20 Jun 2024 14:30:01 UTC
The branch main has been updated by fernape:

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

commit 8abd7d8ec12bc5235f6c87381e31d20cfc115e7e
Author:     Neil Alexander <freebsd@neilalexander.dev>
AuthorDate: 2024-06-19 06:59:35 +0000
Commit:     Fernando Apesteguía <fernape@FreeBSD.org>
CommitDate: 2024-06-20 14:29:49 +0000

    net/yggdrasil: Update to 0.5.6
    
    ChangeLog: https://github.com/yggdrasil-network/yggdrasil-go/releases/tag/v0.5.6
    
    Go 1.21 is now required to build Yggdrasil
    
    Added
    
      *The getPeers endpoint now reports the RTT/latency of directly connected peers
    
    Changed
    
     * The tree parent selection algorithm now prefers the lowest latency peers
       instead of the most stable
     * Session key exchange logic has been changed to improve throughput and reduce
       occasional jitter
    
    Fixed
    
     * Bloom filter hashing now works correctly on big-endian architectures
     * Incorrect buffer pool usage has been fixed, reducing memory allocations
     * The multicast beacon interval now backs off correctly, reducing the number of
       beacons sent
     * A denial-of-service vulnerability in the QUIC library has been fixed with a
       dependency update
    
    PR:             279433
    Reported by:    freebsd@neilalexander.dev (maintainer)
---
 net/yggdrasil/Makefile |  5 ++---
 net/yggdrasil/distinfo | 10 +++++-----
 2 files changed, 7 insertions(+), 8 deletions(-)

diff --git a/net/yggdrasil/Makefile b/net/yggdrasil/Makefile
index 0ceb49277c78..f840a772208e 100644
--- a/net/yggdrasil/Makefile
+++ b/net/yggdrasil/Makefile
@@ -1,7 +1,6 @@
 PORTNAME=	yggdrasil
 DISTVERSIONPREFIX=	v
-DISTVERSION=	0.5.5
-PORTREVISION=	4
+DISTVERSION=	0.5.6
 CATEGORIES=	net
 
 MAINTAINER=	freebsd@neilalexander.dev
@@ -11,7 +10,7 @@ WWW=		https://yggdrasil-network.github.io/
 LICENSE=	LGPL3
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-USES=		go:modules go:1.20
+USES=		go:modules go:1.21
 GO_MODULE=	github.com/yggdrasil-network/yggdrasil-go
 GO_TARGET=	./cmd/yggdrasil \
 		./cmd/yggdrasilctl
diff --git a/net/yggdrasil/distinfo b/net/yggdrasil/distinfo
index 66fbc4b7217a..fa206edc33c6 100644
--- a/net/yggdrasil/distinfo
+++ b/net/yggdrasil/distinfo
@@ -1,5 +1,5 @@
-TIMESTAMP = 1706632678
-SHA256 (go/net_yggdrasil/yggdrasil-v0.5.5/v0.5.5.mod) = 63a943ca619c9809973b438d52c45ddfd5ed0bda28c5610e49a367ef4c3570bf
-SIZE (go/net_yggdrasil/yggdrasil-v0.5.5/v0.5.5.mod) = 1762
-SHA256 (go/net_yggdrasil/yggdrasil-v0.5.5/v0.5.5.zip) = de089a6e0b8b61edb0e40cf931b2efe93867e6afefa60e60e0c4d1363399f4b3
-SIZE (go/net_yggdrasil/yggdrasil-v0.5.5/v0.5.5.zip) = 153660
+TIMESTAMP = 1717158656
+SHA256 (go/net_yggdrasil/yggdrasil-v0.5.6/v0.5.6.mod) = 530c6adef480196980cd4e1a787158d24dfa3dd344f97880cd44ae862c80523b
+SIZE (go/net_yggdrasil/yggdrasil-v0.5.6/v0.5.6.mod) = 1750
+SHA256 (go/net_yggdrasil/yggdrasil-v0.5.6/v0.5.6.zip) = 34fd120edc6d207a60b14c3a4072698fba519db39fe3ea6120c4dd846bc57207
+SIZE (go/net_yggdrasil/yggdrasil-v0.5.6/v0.5.6.zip) = 154344