[Bug 289135] security/wpa_supplicant: enable IPv6 support in eapol_test

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 27 Aug 2025 18:36:48 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=289135

            Bug ID: 289135
           Summary: security/wpa_supplicant: enable IPv6 support in
                    eapol_test
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: cy@FreeBSD.org
          Reporter: zarychtam@plan-b.pwste.edu.pl
          Assignee: cy@FreeBSD.org
             Flags: maintainer-feedback?(cy@FreeBSD.org)

Created attachment 263275
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=263275&action=edit
0001-security-wpa_supplicant-enable-IPv6-support-in-eapol.patch

This option is hidden, let's make eapol_test more useful if we build it.
Without CONFIG_IPV6 eapol_test fails when IPv6 address is used:

Invalid IP address '2001:yyy:xxx::zzzz'
Assertion failed: (0), function wpa_init_conf, file eapol_test.c, line 1054.
Abort (core dumped)

I hit this today and IMHO we should be able to test RADIUS authentication on
IPv6 enabled servers directly from FreeBSD, thus we'll follow what other
package maintainers implemented[1][2].

1.
https://gitlab.alpinelinux.org/alpine/aports/-/commit/102d5c1d3bf6f83b8457988aabe5d8c5658cae79

2. https://bugzilla.redhat.com/show_bug.cgi?id=2095296

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