aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDries Michiels <driesm@FreeBSD.org>2021-09-16 07:24:15 +0000
committerDries Michiels <driesm@FreeBSD.org>2022-01-26 17:30:16 +0000
commitec44ccc6b369cb1e9cfa06d6d2e7c429f966c4bc (patch)
treee82ccf227ae8a5759e3678bc7ed9216996fe15f0
parentc286656cea03a2753cdf1a40ba40f6e8c2502d62 (diff)
downloadports-ec44ccc6b369cb1e9cfa06d6d2e7c429f966c4bc.tar.gz
ports-ec44ccc6b369cb1e9cfa06d6d2e7c429f966c4bc.zip
databases/influxdb2-cli: New port
CLI for managing resources in InfluxDB v2. Approved by: 0mp (mentor) Diferential Revision: https://reviews.freebsd.org/D33582
-rw-r--r--databases/Makefile1
-rw-r--r--databases/influxdb2-cli/Makefile21
-rw-r--r--databases/influxdb2-cli/distinfo5
-rw-r--r--databases/influxdb2-cli/pkg-descr3
4 files changed, 30 insertions, 0 deletions
diff --git a/databases/Makefile b/databases/Makefile
index 32118712a0fe..dbb3fe11801f 100644
--- a/databases/Makefile
+++ b/databases/Makefile
@@ -114,6 +114,7 @@
SUBDIR += hiredis
SUBDIR += hsqldb
SUBDIR += influxdb
+ SUBDIR += influxdb2-cli
SUBDIR += innotop
SUBDIR += iowow
SUBDIR += ip4r
diff --git a/databases/influxdb2-cli/Makefile b/databases/influxdb2-cli/Makefile
new file mode 100644
index 000000000000..225bc516012a
--- /dev/null
+++ b/databases/influxdb2-cli/Makefile
@@ -0,0 +1,21 @@
+PORTNAME= influxdb2-cli
+DISTVERSIONPREFIX= v
+DISTVERSION= 2.1.1
+CATEGORIES= databases net-mgmt
+
+MAINTAINER= driesm@FreeBSD.org
+COMMENT= CLI for managing resources in InfluxDB v2
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+USES= go:modules
+
+GO_MODULE= github.com/influxdata/influx-cli/v2
+GO_TARGET= ./cmd/influx
+
+CONFLICTS_INSTALL= influxdb
+
+PLIST_FILES= bin/influx
+
+.include <bsd.port.mk>
diff --git a/databases/influxdb2-cli/distinfo b/databases/influxdb2-cli/distinfo
new file mode 100644
index 000000000000..bc5ba7d871a9
--- /dev/null
+++ b/databases/influxdb2-cli/distinfo
@@ -0,0 +1,5 @@
+TIMESTAMP = 1639993453
+SHA256 (go/databases_influxdb2-cli/influxdb2-cli-v2.1.1/v2.1.1.mod) = 5cbb0fcbd9b6d69f9e91a0c7d2431f352f2ac9a02de3b1eba81717c1a64c39bb
+SIZE (go/databases_influxdb2-cli/influxdb2-cli-v2.1.1/v2.1.1.mod) = 750
+SHA256 (go/databases_influxdb2-cli/influxdb2-cli-v2.1.1/v2.1.1.zip) = fc9c7bd3baa99f72012275395e4cd54a7e06d3cd36393b516de0b77a26c36605
+SIZE (go/databases_influxdb2-cli/influxdb2-cli-v2.1.1/v2.1.1.zip) = 707160
diff --git a/databases/influxdb2-cli/pkg-descr b/databases/influxdb2-cli/pkg-descr
new file mode 100644
index 000000000000..bc3a4a313234
--- /dev/null
+++ b/databases/influxdb2-cli/pkg-descr
@@ -0,0 +1,3 @@
+CLI for managing resources in InfluxDB v2.
+
+WWW: https://github.com/influxdata/influx-cli