[packages/hostapd] - more build-time options enabled
adwol
adwol at pld-linux.org
Thu Oct 23 18:50:40 CEST 2014
commit 756f72b441e810a292e0bbc341755406e946e7e5
Author: Adam Osuchowski <adwol at pld-linux.org>
Date: Thu Oct 23 18:50:13 2014 +0200
- more build-time options enabled
hostapd-build-time-config.patch | 101 ++++++++++++++++++++++++++++++++++------
hostapd.spec | 1 +
2 files changed, 87 insertions(+), 15 deletions(-)
---
diff --git a/hostapd.spec b/hostapd.spec
index 55fd17a..5440425 100644
--- a/hostapd.spec
+++ b/hostapd.spec
@@ -19,6 +19,7 @@ BuildRequires: madwifi-ng-devel
BuildRequires: openssl-devel
BuildRequires: rpmbuild(macros) >= 1.268
BuildRequires: sed >= 4.0
+BuildRequires: sqlite3-devel
Requires(post,preun): /sbin/chkconfig
Requires: rc-scripts
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
diff --git a/hostapd-build-time-config.patch b/hostapd-build-time-config.patch
index 43e4914..b80b4ea 100644
--- a/hostapd-build-time-config.patch
+++ b/hostapd-build-time-config.patch
@@ -1,6 +1,6 @@
---- hostapd-1.0/hostapd/.config.orig 1970-01-01 01:00:00.000000000 +0100
-+++ hostapd-1.0/hostapd/.config 2012-05-23 07:33:55.817640916 +0200
-@@ -0,0 +1,248 @@
+--- hostapd-2.3/hostapd/.config.orig 2014-10-23 00:21:18.960978755 +0200
++++ hostapd-2.3/hostapd/.config 2014-10-23 00:26:22.354654638 +0200
+@@ -0,0 +1,319 @@
+# Example hostapd build time configuration
+#
+# This file lists the configuration options that are used when building the
@@ -16,7 +16,7 @@
+CONFIG_DRIVER_HOSTAP=y
+
+# Driver interface for wired authenticator
-+#CONFIG_DRIVER_WIRED=y
++CONFIG_DRIVER_WIRED=y
+
+# Driver interface for madwifi driver
+CONFIG_DRIVER_MADWIFI=y
@@ -25,6 +25,19 @@
+# Driver interface for drivers using the nl80211 kernel interface
+CONFIG_DRIVER_NL80211=y
+
++# driver_nl80211.c requires libnl. If you are compiling it yourself
++# you may need to point hostapd to your version of libnl.
++#
++#CFLAGS += -I$<path to libnl include files>
++#LIBS += -L$<path to libnl library files>
++
++# Use libnl v2.0 (or 3.0) libraries.
++#CONFIG_LIBNL20=y
++
++# Use libnl 3.2 libraries (if this is selected, CONFIG_LIBNL20 is ignored)
++CONFIG_LIBNL32=y
++
++
+# Driver interface for FreeBSD net80211 layer (e.g., Atheros driver)
+#CONFIG_DRIVER_BSD=y
+#CFLAGS += -I/usr/local/include
@@ -33,7 +46,7 @@
+#LIBS_c += -L/usr/local/lib
+
+# Driver interface for no driver (e.g., RADIUS server only)
-+#CONFIG_DRIVER_NONE=y
++CONFIG_DRIVER_NONE=y
+
+# IEEE 802.11F/IAPP
+CONFIG_IAPP=y
@@ -45,9 +58,6 @@
+CONFIG_PEERKEY=y
+
+# IEEE 802.11w (management frame protection)
-+# This version is an experimental implementation based on IEEE 802.11w/D1.0
-+# draft and is subject to change since the standard has not yet been finalized.
-+# Driver support is also needed for IEEE 802.11w.
+CONFIG_IEEE80211W=y
+
+# Integrated EAP server
@@ -99,11 +109,10 @@
+CONFIG_EAP_GPSK_SHA256=y
+
+# EAP-FAST for the integrated EAP server
-+# Note: Default OpenSSL package does not include support for all the
-+# functionality needed for EAP-FAST. If EAP-FAST is enabled with OpenSSL,
-+# the OpenSSL library must be patched (openssl-0.9.9-session-ticket.patch)
-+# to add the needed functions.
-+#CONFIG_EAP_FAST=y
++# 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
+
+# Wi-Fi Protected Setup (WPS)
+CONFIG_WPS=y
@@ -111,6 +120,8 @@
+CONFIG_WPS2=y
+# Enable UPnP support for external WPS Registrars
+CONFIG_WPS_UPNP=y
++# Enable WPS support with NFC config method
++CONFIG_WPS_NFC=y
+
+# EAP-IKEv2
+CONFIG_EAP_IKEV2=y
@@ -118,6 +129,9 @@
+# Trusted Network Connect (EAP-TNC)
+CONFIG_EAP_TNC=y
+
++# EAP-EKE for the integrated EAP server
++CONFIG_EAP_EKE=y
++
+# PKCS#12 (PFX) support (used to read private key and certificate file from
+# a file that usually has extension .p12 or .pfx)
+CONFIG_PKCS12=y
@@ -139,6 +153,13 @@
+# IEEE 802.11n (High Throughput) support
+CONFIG_IEEE80211N=y
+
++# Wireless Network Management (IEEE Std 802.11v-2011)
++# Note: This is experimental and not complete implementation.
++CONFIG_WNM=y
++
++# IEEE 802.11ac (Very High Throughput) support
++CONFIG_IEEE80211AC=y
++
+# Remove debugging code that is printing out debug messages to stdout.
+# This can be used to reduce the size of the hostapd considerably if debugging
+# code is not needed.
@@ -148,6 +169,12 @@
+# Disabled by default.
+#CONFIG_DEBUG_FILE=y
+
++# Add support for sending all debug messages (regardless of debug verbosity)
++# to the Linux kernel tracing facility. This helps debug the entire stack by
++# making it easy to record everything happening from the driver up into the
++# same file, e.g., using trace-cmd.
++#CONFIG_DEBUG_LINUX_TRACING=y
++
+# Remove support for RADIUS accounting
+#CONFIG_NO_ACCOUNTING=y
+
@@ -161,7 +188,11 @@
+# automatically create bridge and VLAN interfaces if necessary.
+CONFIG_FULL_DYNAMIC_VLAN=y
+
-+# Remove support for dumping state into a file on SIGUSR1 signal
++# Use netlink-based kernel API for VLAN operations instead of ioctl()
++# Note: This requires libnl 3.1 or newer.
++CONFIG_VLAN_NETLINK=y
++
++# Remove support for dumping internal state through control interface commands
+# This can be used to reduce binary size at the cost of disabling a debugging
+# option.
+#CONFIG_NO_DUMP_STATE=y
@@ -227,6 +258,10 @@
+# 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
++
+# If CONFIG_TLS=internal is used, additional library and include paths are
+# needed for LibTomMath. Alternatively, an integrated, minimal version of
+# LibTomMath can be used. See beginning of libtommath.c for details on benefits
@@ -248,4 +283,40 @@
+# external networks.
+CONFIG_INTERWORKING=y
+
-+CONFIG_LIBNL32=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
++
++# Testing options
++# This can be used to enable some testing options (see also the example
++# configuration file) that are really useful only for testing clients that
++# connect to this hostapd. These options allow, for example, to drop a
++# certain percentage of probe requests or auth/(re)assoc frames.
++#
++#CONFIG_TESTING_OPTIONS=y
++
++# Automatic Channel Selection
++# This will allow hostapd to pick the channel automatically when channel is set
++# to "acs_survey" or "0". Eventually, other ACS algorithms can be added in
++# similar way.
++#
++# Automatic selection is currently only done through initialization, later on
++# we hope to do background checks to keep us moving to more ideal channels as
++# time goes by. ACS is currently only supported through the nl80211 driver and
++# your driver must have survey dump capability that is filled by the driver
++# during scanning.
++#
++# You can customize the ACS survey algorithm with the hostapd.conf variable
++# acs_num_scans.
++#
++# Supported ACS drivers:
++# * ath9k
++# * ath5k
++# * ath10k
++#
++# For more details refer to:
++# http://wireless.kernel.org/en/users/Documentation/acs
++#
++CONFIG_ACS=y
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/hostapd.git/commitdiff/756f72b441e810a292e0bbc341755406e946e7e5
More information about the pld-cvs-commit
mailing list