git: 24a7c69a24b9 - main - [NEW] net/exoscale-cli: Manage your Exoscale infrastructure from the cli

From: Vinícius Zavam <egypcio_at_FreeBSD.org>
Date: Tue, 22 Apr 2025 20:52:50 UTC
The branch main has been updated by egypcio:

URL: https://cgit.FreeBSD.org/ports/commit/?id=24a7c69a24b98d6eac0f1cceb42f1b54999d80f3

commit 24a7c69a24b98d6eac0f1cceb42f1b54999d80f3
Author:     Vinícius Zavam <egypcio@FreeBSD.org>
AuthorDate: 2025-04-22 20:50:45 +0000
Commit:     Vinícius Zavam <egypcio@FreeBSD.org>
CommitDate: 2025-04-22 20:50:45 +0000

    [NEW] net/exoscale-cli: Manage your Exoscale infrastructure from the cli
    
       Command-line tool for everything at Exoscale: compute, storage, dns.
    
    WWW: https://github.com/exoscale/cli
---
 net/Makefile               |  1 +
 net/exoscale-cli/Makefile  | 27 +++++++++++++++++++++++++++
 net/exoscale-cli/distinfo  |  3 +++
 net/exoscale-cli/pkg-descr |  1 +
 4 files changed, 32 insertions(+)

diff --git a/net/Makefile b/net/Makefile
index 217358058d8e..81000ae6b921 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -149,6 +149,7 @@
     SUBDIR += evans
     SUBDIR += eventviews
     SUBDIR += exabgp4
+    SUBDIR += exoscale-cli
     SUBDIR += fb303
     SUBDIR += fiche
     SUBDIR += file2pcap
diff --git a/net/exoscale-cli/Makefile b/net/exoscale-cli/Makefile
new file mode 100644
index 000000000000..edf9991247bc
--- /dev/null
+++ b/net/exoscale-cli/Makefile
@@ -0,0 +1,27 @@
+PORTNAME=		exoscale-cli
+DISTVERSIONPREFIX=	v
+DISTVERSION=		1.84.0
+CATEGORIES=		net devel
+
+MAINTAINER=	egypcio@FreeBSD.org
+COMMENT=	Manage your Exoscale infrastructure easily from the command-line
+WWW=		https://github.com/exoscale/cli
+
+LICENSE=	APACHE20
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+USES=		go:1.23,modules
+USE_GITHUB=	yes
+
+GH_ACCOUNT=	exoscale
+GH_PROJECT=	cli
+CGO_ENABLED=	0
+GO_BUILDFLAGS=	-ldflags '-s -w -extldflags "-static" -X main.commit= -X main.version=${DISTVERSION}'
+
+PLIST_FILES=	bin/${PORTNAME} \
+		bin/exo
+
+post-install:
+	${RLN} ${STAGEDIR}/${PREFIX}/bin/${PORTNAME} ${STAGEDIR}/${PREFIX}/bin/exo
+
+.include <bsd.port.mk>
diff --git a/net/exoscale-cli/distinfo b/net/exoscale-cli/distinfo
new file mode 100644
index 000000000000..59436ac90913
--- /dev/null
+++ b/net/exoscale-cli/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1745353420
+SHA256 (exoscale-cli-v1.84.0_GH0.tar.gz) = 9e93337339222a532f0cf122db23dd579b640fcdd128f2d9e1dc8a902cd81341
+SIZE (exoscale-cli-v1.84.0_GH0.tar.gz) = 11308701
diff --git a/net/exoscale-cli/pkg-descr b/net/exoscale-cli/pkg-descr
new file mode 100644
index 000000000000..098509059ea1
--- /dev/null
+++ b/net/exoscale-cli/pkg-descr
@@ -0,0 +1 @@
+Command-line tool for everything at Exoscale: compute, storage, dns.