[Bug 281617] wpa_suplicant man page includes non-existent option

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 07 Oct 2024 03:09:57 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=281617

Graham Percival <gperciva@tarsnap.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |gperciva@tarsnap.com

--- Comment #4 from Graham Percival <gperciva@tarsnap.com> ---
I suspect that this is a build-system problem, not a man problem.

I started off looking at the original source for wpa_supplicant (since it's in
contrib/ ), and found their documentation:
https://w1.fi/cgit/hostap/tree/wpa_supplicant/doc/docbook/wpa_supplicant.sgml#n389

In particular, note
> (This is only available if <command>wpa_supplicant</command> was
> built with the <literal>CONFIG_DEBUG_FILE</literal> option.)

If you use your favourite text editor and open
    contrib/wpa/wpa_supplicant/main.c
then search for "-f", you'll find:
> #ifdef CONFIG_DEBUG_FILE
>                " [-f<debug file>]"
> #endif /* CONFIG_DEBUG_FILE */

At first glance, the Makefile and defconfig (is that used by FreeBSD?) look
like they enable CONFIG_DEBUG_FILE.  But clearly that's not happening, so I
think the next step would be to figure out why.

(I don't plan on investigating this issue further at the moment.)

-- 
You are receiving this mail because:
You are the assignee for the bug.