aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMuhammad Saheed <saheed@FreeBSD.org>2025-10-09 15:22:22 +0000
committerRobert Clausecker <fuz@FreeBSD.org>2025-10-14 14:56:32 +0000
commitf82acd09bd5e3af0c5d0485358c5845c42128152 (patch)
tree4c5cf7a4f196de4ba28704676aba132d9531a353
parentedaddcd1a5bb374e58de0d4f99a7cccf6aed09ec (diff)
net/wutil: Add new port
wutil is a WiFi management utility for FreeBSD with a CLI (wutil) and a TUI (wutui). It supports station-mode operations and manages wpa_supplicant configuration. WWW: https://github.com/MainKt/wutil/ Sponsored by: Google LLC (GSoC 2025) PR: 289079
-rw-r--r--net/Makefile1
-rw-r--r--net/wutil/Makefile30
-rw-r--r--net/wutil/distinfo3
-rw-r--r--net/wutil/pkg-descr3
4 files changed, 37 insertions, 0 deletions
diff --git a/net/Makefile b/net/Makefile
index 751c946ddb65..82ee26f0bdf2 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -1698,6 +1698,7 @@
SUBDIR += wpa_supplicant_gui
SUBDIR += wping
SUBDIR += wstunnel
+ SUBDIR += wutil
SUBDIR += x11vnc
SUBDIR += x2goclient
SUBDIR += x2goclient-cli
diff --git a/net/wutil/Makefile b/net/wutil/Makefile
new file mode 100644
index 000000000000..fbe092a16a7a
--- /dev/null
+++ b/net/wutil/Makefile
@@ -0,0 +1,30 @@
+PORTNAME= wutil
+DISTVERSIONPREFIX= v
+DISTVERSION= 0.4.1
+CATEGORIES= net sysutils
+
+MAINTAINER= saheed@FreeBSD.org
+COMMENT= CLI and TUI for WiFi Management
+
+LICENSE= BSD2CLAUSE
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+IGNORE_FreeBSD_13= requires <sys/queue_mergesort.h> introduced in FreeBSD 14
+
+LIB_DEPENDS= libifconfig.so:net/libifconfig
+
+USE_GITHUB= yes
+GH_ACCOUNT= MainKt
+
+PLIST_FILES= bin/wutil \
+ bin/wutui \
+ share/man/man8/wutil.8.gz \
+ share/man/man8/wutui.8.gz
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/wutil ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/wutui ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/wutil.8 ${STAGEDIR}${PREFIX}/share/man/man8
+ ${INSTALL_MAN} ${WRKSRC}/wutui.8 ${STAGEDIR}${PREFIX}/share/man/man8
+
+.include <bsd.port.mk>
diff --git a/net/wutil/distinfo b/net/wutil/distinfo
new file mode 100644
index 000000000000..85a2610f89bd
--- /dev/null
+++ b/net/wutil/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1760070267
+SHA256 (MainKt-wutil-v0.4.1_GH0.tar.gz) = 1a966acf1fbac4d7e565f6f5581b64fe7544ad27494d9a81c37b5cceb2fe24eb
+SIZE (MainKt-wutil-v0.4.1_GH0.tar.gz) = 36422
diff --git a/net/wutil/pkg-descr b/net/wutil/pkg-descr
new file mode 100644
index 000000000000..6fc42f637e9d
--- /dev/null
+++ b/net/wutil/pkg-descr
@@ -0,0 +1,3 @@
+wutil is a WiFi management utility for FreeBSD with a CLI (wutil) and
+a TUI (wutui). It supports station-mode operations and manages
+wpa_supplicant configuration.