Bug 289079 - [NEW PORT] sysutils/wutil: a CLI and TUI for WiFi management
Summary: [NEW PORT] sysutils/wutil: a CLI and TUI for WiFi management
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Robert Clausecker
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-08-24 16:44 UTC by Muhammad Saheed
Modified: 2025-10-14 15:04 UTC (History)
4 users (show)

See Also:


Attachments
patch for wutil port (2.30 KB, patch)
2025-08-24 16:44 UTC, Muhammad Saheed
no flags Details | Diff
Bump to v.0.4.0 (2.28 KB, patch)
2025-10-09 21:48 UTC, Muhammad Saheed
no flags Details | Diff
patch for sysutils/wutil (2.22 KB, patch)
2025-10-10 04:52 UTC, Muhammad Saheed
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Muhammad Saheed freebsd_committer freebsd_triage 2025-08-24 16:44:23 UTC
Created attachment 263198 [details]
patch for wutil port

wutil provides a CLI and TUI for WiFi management. It interacts wpa_supplicant over its control interface.

This port depends on libwpa_client.so patch from
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=288933
Comment 1 Muhammad Saheed freebsd_committer freebsd_triage 2025-10-09 21:48:31 UTC
Created attachment 264450 [details]
Bump to v.0.4.0

wutil no longer depends security/wpa_supplicant for libwpa_client.so (289079)
Comment 2 Muhammad Saheed freebsd_committer freebsd_triage 2025-10-10 04:52:52 UTC
Created attachment 264457 [details]
patch for sysutils/wutil

Fixed formatting in the patch file and updated the distfile to v0.4.1, which includes some bug fixes.
Comment 3 Robert Clausecker freebsd_committer freebsd_triage 2025-10-13 14:03:42 UTC
I understand that this is this year's GSoC project?

Patch looks fine.  Welcome to the ports tree!
Comment 4 Robert Clausecker freebsd_committer freebsd_triage 2025-10-13 14:09:14 UTC
Is it ok if I move this one to net?  It seems to be a better fit there.
Comment 5 Robert Clausecker freebsd_committer freebsd_triage 2025-10-13 14:16:39 UTC
No longer depends on bug #288933 as per comment #1.
Comment 6 Robert Clausecker freebsd_committer freebsd_triage 2025-10-13 14:52:17 UTC
Build fails on FreeBSD 13.5:

cc  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -I/usr/local/include    -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/19/include -fstack-protector-strong    -Qunused-arguments    -c wifi.c -o wifi.o
wifi.c:11:10: fatal error: 'sys/queue_mergesort.h' file not found
   11 | #include <sys/queue_mergesort.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~~
1 error generated.


If this port is not meant to work on FreeBSD 13, please let me know.  I can mark it as not supported there.
Comment 7 Muhammad Saheed freebsd_committer freebsd_triage 2025-10-13 18:51:42 UTC
(In reply to Robert Clausecker from comment #3)
> I understand that this is this year's GSoC project?
yes (◕ᴗ◕ )

> Patch looks fine.  Welcome to the ports tree!
Thanks! (^_^)
Comment 8 Muhammad Saheed freebsd_committer freebsd_triage 2025-10-13 18:58:42 UTC
(In reply to Robert Clausecker from comment #6)

> If this port is not meant to work on FreeBSD 13, please let me know.  I can mark it as not supported there.
Yeah not currently supported on 13.5, I haven't tested it properly on a 13.5 environment but some `sys/queue.h` macros don't seem to be available there (´-﹏-`;)
Comment 9 Muhammad Saheed freebsd_committer freebsd_triage 2025-10-13 19:00:11 UTC
(In reply to Robert Clausecker from comment #4)
> Is it ok if I move this one to net?  It seems to be a better fit there.
Yeah, sure (^_^)
Comment 10 commit-hook freebsd_committer freebsd_triage 2025-10-14 14:57:49 UTC
A commit in branch main references this bug:

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

commit f82acd09bd5e3af0c5d0485358c5845c42128152
Author:     Muhammad Saheed <saheed@FreeBSD.org>
AuthorDate: 2025-10-09 15:22:22 +0000
Commit:     Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2025-10-14 14:56:32 +0000

    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

 net/Makefile              |  1 +
 net/wutil/Makefile (new)  | 30 ++++++++++++++++++++++++++++++
 net/wutil/distinfo (new)  |  3 +++
 net/wutil/pkg-descr (new) |  3 +++
 4 files changed, 37 insertions(+)
Comment 11 Robert Clausecker freebsd_committer freebsd_triage 2025-10-14 15:04:41 UTC
Thank you for your contribution.