Host AP/hostapd/wpa_supplicant - new development release v0.3.0

Henrik Brix Andersen brix at
Fri Dec 10 03:57:53 EST 2004


On Thu, 2004-12-09 at 20:56 -0800, Jouni Malinen wrote:
> Thanks for the report! I have indeed not been testing with PCSC lately
> and this was missed when doing the struct eapol_sm hiding changes for
> EAP. eapol_ctx is not same as scard_ctx, so the fix required some more
> changes in the code to get scard_ctx into eap_sm. This is now in CVS.

Ah, ok. I have disabled PCSC support in the 0.3.0 ebuild for now. I will
re-enable it when the next development snapshot is released (I guess the
patch is too invasive to be applied to 0.3.0?)

> I haven't yet had chance to go through the pkg-config details, so I
> added this include dir as a temporary solution.


> This could be changed to not modify Makefile (and require sys-apps/sed).
> You are creating .config anyway and all these CFLAGS+= lines could be
> added there. Same for CC, I would assume.

Ah, clever. I've changed the ebuild to reflect that. CC works when set
in .config as well.

> Is there any particular reason for using libpcap/libdnet? The integrated
> native Linux implementation for packet sockets is slightly smaller and
> does not require external libraries.

We only use external libpcap/libdnet if the user requests it by setting

> "use ssl" could also add CONFIG_PKCS12=y for PKCS#12 (PFX) support.

Missed that one. Thanks.

> LICENSE should probably be "BSD GPL-2" since all the core code is under
> dual license or is GPL-2 because of driver_atmel.c being under GPL
> (not GPL-2 only, though)?

Is all of the code dual-licensed? or is it only some of the code? I
could change it to 'LICENSE="|| ( BSD GPL-2 )"' but that would imply
that the entire package is available under either the BSD license or the
GPL-2 license.

> If "dosbin" is copying files to /{,usr/}/sbin, you could consider moving
> wpa_cli and wpa_passphrase into something that is by default on non-root
> user path (which I would assume sbin is not). wpa_supplicant can be
> configured to provide control interface access to non-root users and at
> least I like to have wpa_cli on path for easy access to status
> information from wpa_supplicant.

Right. Changed the ebuild to install wpa_{cli,passphrase} under /usr/bin
and wpa_supplicant under /usr/sbin.

The updated ebuild is available at

Henrik Brix Andersen <brix at>
Gentoo Linux
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : 

More information about the HostAP mailing list