summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net/Makefile1
-rw-r--r--net/exoscale-cli/Makefile27
-rw-r--r--net/exoscale-cli/distinfo3
-rw-r--r--net/exoscale-cli/pkg-descr1
4 files changed, 32 insertions, 0 deletions
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.