Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 522330 - net-wireless/hostapd-2.2-r1 - enable more features
Summary: net-wireless/hostapd-2.2-r1 - enable more features
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Bjarke Istrup Pedersen (RETIRED)
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2014-09-07 19:53 UTC by Conrad Kostecki
Modified: 2014-09-13 15:06 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
hostapd.diff (hostapd.patch,2.58 KB, patch)
2014-09-07 19:53 UTC, Conrad Kostecki
Details | Diff
hostapd.diff (hostapd.diff,2.74 KB, patch)
2014-09-08 18:46 UTC, Conrad Kostecki
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Conrad Kostecki gentoo-dev 2014-09-07 19:53:30 UTC
Hi!
The current ebuild does not enable several features in hostapd. It would be nice, if those could be also enabled. Compile works for me.

I've attached a diff, which enables all features in hostapd. This also introduces two new use flags:

sqlite: enable sqlite support for storage (e.g. hostapd.eap_user)
netlink: enable netlink support for vlans managed by hostapd

New features are:
# TLS-based EAP methods require at least TLS v1.0. Newer version of TLS (v1.1)
# can be enabled to get a stronger construction of messages when block ciphers
# are used.
#CONFIG_TLSV11=y

# TLS-based EAP methods require at least TLS v1.0. Newer version of TLS (v1.2)
# can be enabled to enable use of stronger crypto algorithms.
#CONFIG_TLSV12=y

# Enable WPS support with NFC config method
#CONFIG_WPS_NFC=y

# EAP-IKEv2
#CONFIG_EAP_IKEV2=y

# Trusted Network Connect (EAP-TNC)
#CONFIG_EAP_TNC=y

# Add support for writing debug log to a file: -f /tmp/hostapd.log
# Disabled by default.
#CONFIG_DEBUG_FILE=y

# Enable support for fully dynamic VLANs. This enables hostapd to
# automatically create bridge and VLAN interfaces if necessary.
#CONFIG_FULL_DYNAMIC_VLAN=y

# Use netlink-based kernel API for VLAN operations instead of ioctl()
# Note: This requires libnl 3.1 or newer.
#CONFIG_VLAN_NETLINK=y

# Hotspot 2.0
#CONFIG_HS20=y

# Enable SQLite database support in hlr_auc_gw, EAP-SIM DB, and eap_user_file
#CONFIG_SQLITE=y

# Wireless Network Management (IEEE Std 802.11v-2011)
# Note: This is experimental and not complete implementation.
#CONFIG_WNM=y

# EAP-FAST for the integrated EAP server
# Note: If OpenSSL is used as the TLS library, OpenSSL 1.0 or newer is needed
# for EAP-FAST support. Older OpenSSL releases would need to be patched, e.g.,
# with openssl-0.9.8x-tls-extensions.patch, to add the needed functions.
#CONFIG_EAP_FAST=y

-> There is one question here. Can a ebuild check, if openssl is a specific version, like with is_kernel? Because there is still openssl 0.9.8 in portage..



Reproducible: Always
Comment 1 Conrad Kostecki gentoo-dev 2014-09-07 19:53:53 UTC
Created attachment 384374 [details, diff]
hostapd.diff
Comment 2 Conrad Kostecki gentoo-dev 2014-09-08 18:46:17 UTC
Created attachment 384400 [details, diff]
hostapd.diff
Comment 3 Bjarke Istrup Pedersen (RETIRED) gentoo-dev 2014-09-13 15:06:12 UTC
Added in 2.2-r2, which also removes support for the old madwifi-ng driver :)