git: 82e9bbb2ca66 - main - net/wgcf: Add wgcf 2.2.24

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Tue, 28 Jan 2025 17:05:54 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=82e9bbb2ca66a4071d577b6a1dbcd4d303eebbbe

commit 82e9bbb2ca66a4071d577b6a1dbcd4d303eebbbe
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2025-01-28 16:48:37 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2025-01-28 16:48:37 +0000

    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
---
 net/Makefile       |  1 +
 net/wgcf/Makefile  | 19 +++++++++++++++++++
 net/wgcf/distinfo  |  5 +++++
 net/wgcf/pkg-descr |  8 ++++++++
 4 files changed, 33 insertions(+)

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