Date: Thu, 12 Mar 2026 14:47:48 +0000 From: Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 5afb687cee4c - main - www/grafanactl: Add grafanactl 0.1.9 Message-ID: <69b2d214.371e2.69041837@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=5afb687cee4cdd0eaacf98d084d5d75dab639af3 commit 5afb687cee4cdd0eaacf98d084d5d75dab639af3 Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2026-03-12 14:16:28 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2026-03-12 14:46:51 +0000 www/grafanactl: Add grafanactl 0.1.9 Grafana CLI (grafanactl) is a command-line tool designed to simplify interaction with Grafana instances. It enables users to authenticate, manage multiple environments, and perform administrative tasks through Grafana's REST API -- all from the terminal. Whether you're automating workflows in CI/CD pipelines or switching between staging and production environments, Grafana CLI provides a flexible and scriptable way to manage your Grafana setup efficiently. --- www/Makefile | 1 + www/grafanactl/Makefile | 25 +++++++++++++++++++++++++ www/grafanactl/distinfo | 7 +++++++ www/grafanactl/pkg-descr | 9 +++++++++ 4 files changed, 42 insertions(+) diff --git a/www/Makefile b/www/Makefile index 2d7ec7626f19..bb2a817667be 100644 --- a/www/Makefile +++ b/www/Makefile @@ -251,6 +251,7 @@ SUBDIR += gotty SUBDIR += gpx2map SUBDIR += grafana + SUBDIR += grafanactl SUBDIR += grails SUBDIR += gregarius SUBDIR += groupoffice diff --git a/www/grafanactl/Makefile b/www/grafanactl/Makefile new file mode 100644 index 000000000000..46ed1104e56e --- /dev/null +++ b/www/grafanactl/Makefile @@ -0,0 +1,25 @@ +PORTNAME= grafanactl +PORTVERSION= 0.1.9 +DISTVERSIONPREFIX= v +CATEGORIES= www + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Command-line tool designed to simplify interaction with Grafana resources +WWW= https://grafana.github.io/grafanactl/ \ + https://github.com/grafana/grafanactl + +LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/LICENSE + +USES= go:modules + +GO_BUILDFLAGS= -ldflags="-s -w -X main.commit=9b9f82a -X main.date=$$(date -u +%Y-%m-%d) -X main.version=${PORTVERSION}" +GO_MODULE= github.com/grafana/grafanactl +GO_TARGET= ./cmd/grafanactl + +PLIST_FILES= bin/grafanactl + +USE_GITHUB= yes +GH_ACCOUNT= grafana + +.include <bsd.port.mk> diff --git a/www/grafanactl/distinfo b/www/grafanactl/distinfo new file mode 100644 index 000000000000..73aae8e1fc76 --- /dev/null +++ b/www/grafanactl/distinfo @@ -0,0 +1,7 @@ +TIMESTAMP = 1773152791 +SHA256 (go/www_grafanactl/grafana-grafanactl-v0.1.9_GH0/v0.1.9.mod) = 34b4f27570070b804ef4e6c4005c6dc40dcdf80b7b83a04944b35e84eaa3b364 +SIZE (go/www_grafanactl/grafana-grafanactl-v0.1.9_GH0/v0.1.9.mod) = 4767 +SHA256 (go/www_grafanactl/grafana-grafanactl-v0.1.9_GH0/v0.1.9.zip) = 20d9b4bc9d3b34bb171f817b4f797b02d809879fc60837ab60efdb87fc1a1a81 +SIZE (go/www_grafanactl/grafana-grafanactl-v0.1.9_GH0/v0.1.9.zip) = 224620 +SHA256 (go/www_grafanactl/grafana-grafanactl-v0.1.9_GH0/grafana-grafanactl-v0.1.9_GH0.tar.gz) = f978c3f36d6b6efb1e145a73c9f3fdeca1720def348a137fec6a289fb7df4541 +SIZE (go/www_grafanactl/grafana-grafanactl-v0.1.9_GH0/grafana-grafanactl-v0.1.9_GH0.tar.gz) = 154593 diff --git a/www/grafanactl/pkg-descr b/www/grafanactl/pkg-descr new file mode 100644 index 000000000000..ff0ba7af245e --- /dev/null +++ b/www/grafanactl/pkg-descr @@ -0,0 +1,9 @@ +Grafana CLI (grafanactl) is a command-line tool designed to simplify interaction +with Grafana instances. + +It enables users to authenticate, manage multiple environments, and perform +administrative tasks through Grafana's REST API -- all from the terminal. + +Whether you're automating workflows in CI/CD pipelines or switching between +staging and production environments, Grafana CLI provides a flexible and +scriptable way to manage your Grafana setup efficiently.home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69b2d214.371e2.69041837>
