aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2025-01-28 16:48:37 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2025-01-28 16:48:37 +0000
commit82e9bbb2ca66a4071d577b6a1dbcd4d303eebbbe (patch)
tree762f5451fb25201c3ad82fee90293f727aa6c3b2
parente54e2c695bbccea73e70ce5bf689928053632492 (diff)
net/wgcf: Add wgcf 2.2.24
wgcf is an unofficial, cross-platform CLI for Cloudflare Warp. Features: - Register new account - Change license key to use existing Warp+ subscription - Generate WireGuard profile - Check account status - Print trace information to debug Warp/Warp+ status
-rw-r--r--net/Makefile1
-rw-r--r--net/wgcf/Makefile19
-rw-r--r--net/wgcf/distinfo5
-rw-r--r--net/wgcf/pkg-descr8
4 files changed, 33 insertions, 0 deletions
diff --git a/net/Makefile b/net/Makefile
index 6666c6588985..879be0f13b68 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -1653,6 +1653,7 @@
SUBDIR += waypipe
SUBDIR += wayvnc
SUBDIR += webalizer-geodb
+ SUBDIR += wgcf
SUBDIR += whois
SUBDIR += widentd
SUBDIR += wifi-firmware-ath10k-kmod
diff --git a/net/wgcf/Makefile b/net/wgcf/Makefile
new file mode 100644
index 000000000000..adaadcbdf02c
--- /dev/null
+++ b/net/wgcf/Makefile
@@ -0,0 +1,19 @@
+PORTNAME= wgcf
+PORTVERSION= 2.2.24
+DISTVERSIONPREFIX= v
+CATEGORIES= net
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= Cross-platform, unofficial CLI for Cloudflare Warp
+WWW= https://github.com/ViRb3/wgcf
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+USES= go:modules
+
+GO_MODULE= github.com/ViRb3/wgcf/v2
+
+PLIST_FILES= bin/wgcf
+
+.include <bsd.port.mk>
diff --git a/net/wgcf/distinfo b/net/wgcf/distinfo
new file mode 100644
index 000000000000..9beab0e7bb44
--- /dev/null
+++ b/net/wgcf/distinfo
@@ -0,0 +1,5 @@
+TIMESTAMP = 1736671111
+SHA256 (go/net_wgcf/wgcf-v2.2.24/v2.2.24.mod) = c02e2644227fa3663a97b35adc8952da4f39a584c8124cee72cf4c42cd4cba3d
+SIZE (go/net_wgcf/wgcf-v2.2.24/v2.2.24.mod) = 1868
+SHA256 (go/net_wgcf/wgcf-v2.2.24/v2.2.24.zip) = a28c87b3c0942393f173a9e1e777c36f84f7e7d4ac8322fdd39ebef4eb16c267
+SIZE (go/net_wgcf/wgcf-v2.2.24/v2.2.24.zip) = 141514
diff --git a/net/wgcf/pkg-descr b/net/wgcf/pkg-descr
new file mode 100644
index 000000000000..9aa8e66e3a06
--- /dev/null
+++ b/net/wgcf/pkg-descr
@@ -0,0 +1,8 @@
+wgcf is an unofficial, cross-platform CLI for Cloudflare Warp.
+
+Features:
+- Register new account
+- Change license key to use existing Warp+ subscription
+- Generate WireGuard profile
+- Check account status
+- Print trace information to debug Warp/Warp+ status