From nobody Thu Mar 12 14:47:48 2026 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4fWr7n1KHnz6VRm4 for ; Thu, 12 Mar 2026 14:47:49 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R12" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4fWr7m61Rfz3rZF for ; Thu, 12 Mar 2026 14:47:48 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1773326868; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=nRwh2yY53tVULBHTJ6ZuNlKFYRrCEGwntCI1vK3D79A=; b=E2MKWTDdZs15LaAYNaGb9iJ4rJlhLCbdsPPq8+IZ2Ucs77+Q27ysrGgf7GIuYUT8mk0mvz DRUwnkZ+ak1g9EcTcm1O0q2PvWr1eigBJpQy/5JXobwAHHPQ5YH0FySPSJcFZvP7G8q4ZM QzTFnUYCFktQOKvGc7XkvtNICQ829oLIWX5hEyMctDWrEToErR/lhuhBlDIV0TuqFrKMXE 8In2CtRbwyLzk1qBfNAH13my735AgJ28Fm/IO6Ycwz+0rRPFDhm7gkEPb7OGjhz/qBoDBk 0ePQhuMO3iizpkveXT3Q9i6muVWm/acLsrQN2Es0mFrtKWFM3W0RHR62hOkmvA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1773326868; a=rsa-sha256; cv=none; b=BKjdJ1n4hR+/FTcn2XSCtqBMZpewZN9d8e9a19/SZKGXS4dqpg1GoxL/30CT9ZUeON0Quk iN+LnJTV0pkU+KSCeMfzhEY3itNJEuzLFJRjUkZ4/CpMUio3fNNc/shYpkhyMWRRlPekK3 LqgPAR/LNjBj4PR2UEwlA5uKaJLZoQ0d9T2JXwxrYf/TmNf5sCqW27KOHpBkyInTIGtIVu i5fiJ5HkbKK1kSbvz/ExnyZA6LtM+czJxmbqF2d3stY0hmCb7xoUtVJQZHJf6RNM+oD/Jp d+Mt2F4GQ07GVPNeUvR3mclVc29IIk2xZagHo+DnjG/F6AFVGcko2BKU4KfG3A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1773326868; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=nRwh2yY53tVULBHTJ6ZuNlKFYRrCEGwntCI1vK3D79A=; b=JTbzGspxiZ3alirf+bi2xu44NaAPt59Oyb2bLIzM9FpLKx6svdUWEYuRK0hhV6IRANXEYc M7Pz/utiQZMgooslFW+cQkBBSSyeQ8akfaj0Upeh8YrVIhiz6GUSIoMbsitTb/c36XZHMT awnLDIYzzO73db9YDdZkPA8o31qLlB1B+fGp5CjhP+L5Dj7Hxz9yM8cRJcFWsGohkvadcP 7nIpUIZXPRVNpNEAprkxI2MREVCSbLNGZ7GARBY4GqNT2Pkb5J9nLRKJf5+6T32XwEtE89 jUSBYQQG7Qga41A5/p8xzxsasqNippgfBpXX15HH8CquOpKdnDocaJH+OcHmYQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4fWr7m4yk7zqbK for ; Thu, 12 Mar 2026 14:47:48 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 371e2 by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Thu, 12 Mar 2026 14:47:48 +0000 To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: 5afb687cee4c - main - www/grafanactl: Add grafanactl 0.1.9 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-all@freebsd.org Sender: owner-dev-commits-ports-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 5afb687cee4cdd0eaacf98d084d5d75dab639af3 Auto-Submitted: auto-generated Date: Thu, 12 Mar 2026 14:47:48 +0000 Message-Id: <69b2d214.371e2.69041837@gitrepo.freebsd.org> The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=5afb687cee4cdd0eaacf98d084d5d75dab639af3 commit 5afb687cee4cdd0eaacf98d084d5d75dab639af3 Author: Po-Chuan Hsieh AuthorDate: 2026-03-12 14:16:28 +0000 Commit: Po-Chuan Hsieh 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 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.