Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Oct 2024 10:59:28 GMT
From:      Zsolt Udvari <uzsolt@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 7a8777d16d73 - main - sysutils/hcloud: Update to 1.48.0
Message-ID:  <202410281059.49SAxS0N071567@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by uzsolt:

URL: https://cgit.FreeBSD.org/ports/commit/?id=7a8777d16d73b67ea570dd731cad18db9d469a24

commit 7a8777d16d73b67ea570dd731cad18db9d469a24
Author:     Zsolt Udvari <uzsolt@FreeBSD.org>
AuthorDate: 2024-10-28 10:57:56 +0000
Commit:     Zsolt Udvari <uzsolt@FreeBSD.org>
CommitDate: 2024-10-28 10:58:51 +0000

    sysutils/hcloud: Update to 1.48.0
    
    Add fish, bash and zsh completions.
    
    Changelog: https://github.com/hetznercloud/cli/releases/tag/v1.48.0
---
 sysutils/hcloud/Makefile | 15 +++++++++++++--
 sysutils/hcloud/distinfo | 10 +++++-----
 2 files changed, 18 insertions(+), 7 deletions(-)

diff --git a/sysutils/hcloud/Makefile b/sysutils/hcloud/Makefile
index f3d09be73a06..1b819c50d836 100644
--- a/sysutils/hcloud/Makefile
+++ b/sysutils/hcloud/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	hcloud
 DISTVERSIONPREFIX=	v
-DISTVERSION=	1.47.0
+DISTVERSION=	1.48.0
 CATEGORIES=	sysutils
 
 MAINTAINER=	uzsolt@FreeBSD.org
@@ -15,6 +15,17 @@ USES=		go:modules,1.21
 GO_MODULE=	github.com/hetznercloud/cli
 GO_TARGET=	./cmd/hcloud
 
-PLIST_FILES=	bin/hcloud
+PLIST_FILES=	bin/hcloud \
+		share/bash-completion/completions/${PORTNAME} \
+		share/fish/completions/${PORTNAME}.fish \
+		share/zsh/site_functions/_${PORTNAME}
+
+post-install:
+	${MKDIR} ${STAGEDIR}${PREFIX}/share/bash-completion/completions/ \
+		${STAGEDIR}${PREFIX}/share/fish/completions/ \
+		${STAGEDIR}${PREFIX}/share/zsh/site_functions/
+	${STAGEDIR}${PREFIX}/bin/hcloud completion bash > ${STAGEDIR}${PREFIX}/share/bash-completion/completions/${PORTNAME}
+	${STAGEDIR}${PREFIX}/bin/hcloud completion fish > ${STAGEDIR}${PREFIX}/share/fish/completions/${PORTNAME}.fish
+	${STAGEDIR}${PREFIX}/bin/hcloud completion zsh > ${STAGEDIR}${PREFIX}/share/zsh/site_functions/_${PORTNAME}
 
 .include <bsd.port.mk>
diff --git a/sysutils/hcloud/distinfo b/sysutils/hcloud/distinfo
index c1dd0a1c7e5e..1d94889d0fcd 100644
--- a/sysutils/hcloud/distinfo
+++ b/sysutils/hcloud/distinfo
@@ -1,5 +1,5 @@
-TIMESTAMP = 1726330745
-SHA256 (go/sysutils_hcloud/hcloud-v1.47.0/v1.47.0.mod) = fcd8cc287614de624c61f3605e42b26bc2552bd6e4acc084f5fa631fc3be8576
-SIZE (go/sysutils_hcloud/hcloud-v1.47.0/v1.47.0.mod) = 2554
-SHA256 (go/sysutils_hcloud/hcloud-v1.47.0/v1.47.0.zip) = b5e1134a913b710f9a5c86305d9bbace4aab5821ca9994cbd09974e26ea1cd90
-SIZE (go/sysutils_hcloud/hcloud-v1.47.0/v1.47.0.zip) = 476329
+TIMESTAMP = 1730110798
+SHA256 (go/sysutils_hcloud/hcloud-v1.48.0/v1.48.0.mod) = bb815ad13132025767583223137051b60572589311cc3321389ca3e078de866c
+SIZE (go/sysutils_hcloud/hcloud-v1.48.0/v1.48.0.mod) = 3046
+SHA256 (go/sysutils_hcloud/hcloud-v1.48.0/v1.48.0.zip) = bb5c27f12090d72ad1550f9e5c0e36e2d04e4426f1b7cda4842062d5ede6f9c5
+SIZE (go/sysutils_hcloud/hcloud-v1.48.0/v1.48.0.zip) = 496844



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202410281059.49SAxS0N071567>