summaryrefslogtreecommitdiff
path: root/security/tscli
diff options
context:
space:
mode:
Diffstat (limited to 'security/tscli')
-rw-r--r--security/tscli/Makefile22
-rw-r--r--security/tscli/distinfo5
-rw-r--r--security/tscli/pkg-descr4
3 files changed, 31 insertions, 0 deletions
diff --git a/security/tscli/Makefile b/security/tscli/Makefile
new file mode 100644
index 000000000000..730a440763dc
--- /dev/null
+++ b/security/tscli/Makefile
@@ -0,0 +1,22 @@
+PORTNAME= tscli
+DISTVERSIONPREFIX= v
+DISTVERSION= 0.0.15
+PORTREVISION= 2
+CATEGORIES= security
+
+MAINTAINER= dtxdf@FreeBSD.org
+COMMENT= CLI tool to interact with the Tailscale API
+WWW= https://github.com/jaxxstorm/tscli
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+USES= go:modules
+GO_MODULE= github.com/jaxxstorm/tscli
+GO_TARGET= ./cmd/tscli:tscli
+GO_BUILDFLAGS= -ldflags "\
+ -X 'github.com/jaxxstorm/tscli/pkg/version.Version=${DISTVERSIONPREFIX}${DISTVERSION}'"
+
+PLIST_FILES= bin/tscli
+
+.include <bsd.port.mk>
diff --git a/security/tscli/distinfo b/security/tscli/distinfo
new file mode 100644
index 000000000000..14bc66090cd3
--- /dev/null
+++ b/security/tscli/distinfo
@@ -0,0 +1,5 @@
+TIMESTAMP = 1754002900
+SHA256 (go/security_tscli/tscli-v0.0.15/v0.0.15.mod) = 92f46e47dfdb07d6b62ec308d1be67d2710abc49cc95658995a9afd9076243d4
+SIZE (go/security_tscli/tscli-v0.0.15/v0.0.15.mod) = 3162
+SHA256 (go/security_tscli/tscli-v0.0.15/v0.0.15.zip) = 19e4ef9c0ac0b4f55ecf8d1e19071fdd3ff3ed00b9c7c0b9bbbfa6d977d3e73e
+SIZE (go/security_tscli/tscli-v0.0.15/v0.0.15.zip) = 114124
diff --git a/security/tscli/pkg-descr b/security/tscli/pkg-descr
new file mode 100644
index 000000000000..7f9eaa3a599e
--- /dev/null
+++ b/security/tscli/pkg-descr
@@ -0,0 +1,4 @@
+tscli is a fast, single-binary CLI for the Tailscale HTTP API. From
+your terminal you can manage devices, users, auth keys, webhooks,
+posture integrations, tailnet-wide settings, and even hit raw
+endpoints when the SDK hasn't caught up yet.