git: 2d6cc3049ca4 - main - sysutils/hcloud: update to 1.42.0

From: Zsolt Udvari <uzsolt_at_FreeBSD.org>
Date: Wed, 21 Feb 2024 17:24:01 UTC
The branch main has been updated by uzsolt:

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

commit 2d6cc3049ca448bfb35dfb40fad15cfe17fda67c
Author:     Zsolt Udvari <uzsolt@FreeBSD.org>
AuthorDate: 2024-02-21 17:17:30 +0000
Commit:     Zsolt Udvari <uzsolt@FreeBSD.org>
CommitDate: 2024-02-21 17:17:30 +0000

    sysutils/hcloud: update to 1.42.0
    
    Use go 1.21 because with 1.20 doesn't build.
    
    Changelog: https://github.com/hetznercloud/cli/tags
    
    Approved by:    diizzy (mentor)
    Differential Revision:  https://reviews.freebsd.org/D43958
---
 sysutils/hcloud/Makefile |  5 ++---
 sysutils/hcloud/distinfo | 10 +++++-----
 2 files changed, 7 insertions(+), 8 deletions(-)

diff --git a/sysutils/hcloud/Makefile b/sysutils/hcloud/Makefile
index 9bfa3c72a37a..592c3316f8ae 100644
--- a/sysutils/hcloud/Makefile
+++ b/sysutils/hcloud/Makefile
@@ -1,7 +1,6 @@
 PORTNAME=	hcloud
 DISTVERSIONPREFIX=	v
-DISTVERSION=	1.36.0
-PORTREVISION=	4
+DISTVERSION=	1.42.0
 CATEGORIES=	sysutils
 
 MAINTAINER=	uzsolt@FreeBSD.org
@@ -11,7 +10,7 @@ WWW=		https://github.com/hetznercloud/cli
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-USES=		go:modules
+USES=		go:modules,1.21
 
 GO_MODULE=	github.com/hetznercloud/cli
 GO_TARGET=	./cmd/hcloud
diff --git a/sysutils/hcloud/distinfo b/sysutils/hcloud/distinfo
index 2f440fda00e9..0a9da2b6602f 100644
--- a/sysutils/hcloud/distinfo
+++ b/sysutils/hcloud/distinfo
@@ -1,5 +1,5 @@
-TIMESTAMP = 1688229200
-SHA256 (go/sysutils_hcloud/hcloud-v1.36.0/v1.36.0.mod) = 8d47c1708aac759d85a923e61d60eb4b3d7bfa20368cbf93c40ec3a1d5f48400
-SIZE (go/sysutils_hcloud/hcloud-v1.36.0/v1.36.0.mod) = 1841
-SHA256 (go/sysutils_hcloud/hcloud-v1.36.0/v1.36.0.zip) = 9b40446afdd358574362e8b1affb9ef5e767c5548ba28397598584fc6b585bc7
-SIZE (go/sysutils_hcloud/hcloud-v1.36.0/v1.36.0.zip) = 299994
+TIMESTAMP = 1708202951
+SHA256 (go/sysutils_hcloud/hcloud-v1.42.0/v1.42.0.mod) = 08a3025f0e7ff66dff1074e5c8355f7cda819623cf253d58c21531ccea0e8b53
+SIZE (go/sysutils_hcloud/hcloud-v1.42.0/v1.42.0.mod) = 1876
+SHA256 (go/sysutils_hcloud/hcloud-v1.42.0/v1.42.0.zip) = 1c4fab714c3610386f8c293b776b5064a064d92bcb71f9a0bcbc76c5b127538c
+SIZE (go/sysutils_hcloud/hcloud-v1.42.0/v1.42.0.zip) = 422909