aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesús Daniel Colmenares Oviedo <dtxdf@FreeBSD.org>2025-06-03 21:42:28 +0000
committerJesús Daniel Colmenares Oviedo <dtxdf@FreeBSD.org>2025-06-04 20:16:03 +0000
commit2767edbd625a19bbe9cab96c83558febb479365e (patch)
tree46034b126c7e8dac116ada4a04311e03dc510fab
parent07c7b1e68c704841638825baae485f978abd8ef2 (diff)
security/tscli: New port: CLI tool to interact with the Tailscale API
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. PR: 286845 Approved by: acm (mentor)
-rw-r--r--security/Makefile1
-rw-r--r--security/tscli/Makefile19
-rw-r--r--security/tscli/distinfo5
-rw-r--r--security/tscli/pkg-descr4
4 files changed, 29 insertions, 0 deletions
diff --git a/security/Makefile b/security/Makefile
index a034ff9f834c..79915ae9f1da 100644
--- a/security/Makefile
+++ b/security/Makefile
@@ -1379,6 +1379,7 @@
SUBDIR += trivy
SUBDIR += trousers
SUBDIR += trufflehog
+ SUBDIR += tscli
SUBDIR += tthsum
SUBDIR += u2f-devd
SUBDIR += uacme
diff --git a/security/tscli/Makefile b/security/tscli/Makefile
new file mode 100644
index 000000000000..e6817c8c607d
--- /dev/null
+++ b/security/tscli/Makefile
@@ -0,0 +1,19 @@
+PORTNAME= tscli
+DISTVERSIONPREFIX= v
+DISTVERSION= 0.0.7
+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
+
+PLIST_FILES= bin/tscli
+
+.include <bsd.port.mk>
diff --git a/security/tscli/distinfo b/security/tscli/distinfo
new file mode 100644
index 000000000000..e938f26fd9d2
--- /dev/null
+++ b/security/tscli/distinfo
@@ -0,0 +1,5 @@
+TIMESTAMP = 1748984412
+SHA256 (go/security_tscli/tscli-v0.0.7/v0.0.7.mod) = 7a2fdc5e3af52d5109a5e92304981f0504d30dc6d8b60ce0f7e77aad321a7cb6
+SIZE (go/security_tscli/tscli-v0.0.7/v0.0.7.mod) = 2490
+SHA256 (go/security_tscli/tscli-v0.0.7/v0.0.7.zip) = 6e2e69078b0c442f70c0bfc048c2c1f4043445031ae183aea95c58bbaa17422d
+SIZE (go/security_tscli/tscli-v0.0.7/v0.0.7.zip) = 90576
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.