From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-la0-x22e.google.com ([2a00:1450:4010:c03::22e]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1UZg0U-000189-IT for ptxdist@pengutronix.de; Tue, 07 May 2013 13:24:38 +0200 Received: by mail-la0-f46.google.com with SMTP id fk20so429694lab.5 for ; Tue, 07 May 2013 04:24:24 -0700 (PDT) MIME-Version: 1.0 Date: Tue, 7 May 2013 13:24:24 +0200 Message-ID: From: Pascal K Subject: Re: [ptxdist] Building hostapd for PTXdist and an ARM Target Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============1858178002==" Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de --===============1858178002== Content-Type: multipart/alternative; boundary=089e012281b43ca34d04dc1f0f7e --089e012281b43ca34d04dc1f0f7e Content-Type: text/plain; charset=ISO-8859-1 Thanks for the help, i attached the working make and in file here: Thanks, the solution for my beginners problem was awesome fast. Best regards, Pascal *hostapd.in:* ## SECTION=project_specific config HOSTAPD bool prompt "hostapd" help FIXME if HOSTAPD config HOSTAPD_DRIVER_HOSTAP bool prompt "HOSTAP driver" help Driver interface for Host AP driver config HOSTAPD_DRIVER_WIRED bool prompt "Wired driver" help Driver interface for wired authenticator config HOSTAPD_DRIVER_NL80211 bool prompt "NL80211 driver" select LIBNL help Driver interface for drivers using the nl80211 kernel interface config HOSTAPD_DRIVER_NONE bool prompt "no driver" help Driver interface for no driver (e.g., RADIUS server only) config HOSTAPD_IAPP bool prompt "IEEE 802.11F/IAPP" help IEEE 802.11F/IAPP config HOSTAPD_RSN_PREAUTH bool prompt "WPA2/IEEE 802.11i RSN pre-authentication" help WPA2/IEEE 802.11i RSN pre-authentication config HOSTAPD_PEERKEY bool prompt "PeerKey handshake for Station to Station Link (IEEE 802.11e DLS)" help PeerKey handshake for Station to Station Link (IEEE 802.11e DLS) config HOSTAPD_IEEE80211W bool prompt "IEEE 802.11w (management frame protection)" help 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 HOSTAPD_EAP bool prompt "Integrated EAP server" help Integrated EAP server config HOSTAPD_EAP_MD5 bool prompt "EAP-MD5 for the integrated EAP server" help EAP-MD5 for the integrated EAP server config HOSTAPD_EAP_TLS bool prompt "EAP-TLS for the integrated EAP server" help EAP-TLS for the integrated EAP server config HOSTAPD_EAP_MSCHAPV2 bool prompt "EAP-MSCHAPv2 for the integrated EAP server" help EAP-MSCHAPv2 for the integrated EAP server config HOSTAPD_EAP_PEAP bool prompt "EAP-PEAP for the integrated EAP server" help EAP-PEAP for the integrated EAP server config HOSTAPD_EAP_GTC bool prompt "EAP-GTC for the integrated EAP server" help EAP-GTC for the integrated EAP server config HOSTAPD_EAP_TTLS bool prompt "EAP-TTLS for the integrated EAP server" help EAP-TTLS for the integrated EAP server config HOSTAPD_EAP_SIM bool prompt "EAP-SIM for the integrated EAP server" help EAP-SIM for the integrated EAP server config HOSTAPD_EAP_AKA bool prompt "EAP-AKA for the integrated EAP server" help EAP-AKA for the integrated EAP server config HOSTAPD_EAP_AKA_PRIME bool prompt "EAP-AKA' (AKA-Prime)" help EAP-AKA' (AKA-Prime) for the integrated EAP server This requires CONFIG_EAP_AKA to be enabled, too. config HOSTAPD_EAP_PAX bool prompt "EAP-PAX for the integrated EAP server" help EAP-PAX for the integrated EAP server config HOSTAPD_EAP_PSK bool prompt "EAP-PSK for the integrated EAP server" help EAP-PSK for the integrated EAP server (this is _not_ needed for WPA-PSK) config HOSTAPD_EAP_PWD bool prompt "EAP-pwd for the integrated EAP server" help EAP-pwd for the integrated EAP server (secure authentication with a password) config HOSTAPD_EAP_SAKE bool prompt "EAP-SAKE for the integrated EAP server" help EAP-SAKE for the integrated EAP server config HOSTAPD_EAP_GPSK bool prompt "EAP-GPSK for the integrated EAP server" help EAP-GPSK for the integrated EAP server config HOSTAPD_EAP_GPSK_SHA256 bool prompt "Include support for optional SHA256 cipher suite in EAP-GPSK" help Include support for optional SHA256 cipher suite in EAP-GPSK config HOSTAPD_EAP_FAST bool prompt "EAP-FAST for the integrated EAP server" help 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 HOSTAPD_WPS bool prompt "Wi-Fi Protected Setup (WPS)" help Wi-Fi Protected Setup (WPS) config HOSTAPD_WPS2 bool prompt "Enable WSC 2.0 support" help Enable WSC 2.0 support config HOSTAPD_WPS_UPNP bool prompt "Enable UPnP support for external WPS Registrars" help Enable UPnP support for external WPS Registrars config HOSTAPD_WPS_NFC bool prompt "Enable WPS support with NFC config method" help Enable WPS support with NFC config method config HOSTAPD_EAP_IKEV2 bool prompt "EAP-IKEv2" help EAP-IKEv2 config HOSTAPD_EAP_TNC bool prompt "Trusted Network Connect (EAP-TNC)" help Trusted Network Connect (EAP-TNC) config HOSTAPD_PKCS12 bool prompt "PKCS#12 (PFX) support" help PKCS#12 (PFX) support (used to read private key and certificate file from a file that usually has extension .p12 or .pfx) config HOSTAPD_RADIUS_SERVER bool prompt "RADIUS authentication server" help RADIUS authentication server. This provides access to the integrated EAP server from external hosts using RADIUS. config HOSTAPD_IPV6 bool prompt "Build IPv6 support for RADIUS operations" help Build IPv6 support for RADIUS operations config HOSTAPD_IEEE80211R bool prompt "IEEE Std 802.11r-2008 (Fast BSS Transition)" help IEEE Std 802.11r-2008 (Fast BSS Transition) config HOSTAPD_DRIVER_RADIUS_ACL bool prompt "Hostapd's IEEE 802.11 authentication (ACL)" help Use the hostapd's IEEE 802.11 authentication (ACL), but without the IEEE 802.11 Management capability (e.g., madwifi or FreeBSD/net80211) config HOSTAPD_IEEE80211N bool prompt "IEEE 802.11n (High Throughput) support" help IEEE 802.11n (High Throughput) support config HOSTAPD_WNM bool prompt "Wireless Network Management (IEEE Std 802.11v-2011) (EXPERIMENTAL)" help Wireless Network Management (IEEE Std 802.11v-2011) Note: This is experimental and not complete implementation. config HOSTAPD_IEEE80211AC bool prompt "IEEE 802.11ac (Very High Throughput) support" help IEEE 802.11ac (Very High Throughput) support config HOSTAPD_NO_STDOUT_DEBUG bool prompt "Remove stdout debugging code" help 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. config HOSTAPD_DEBUG_FILE bool prompt "Log file support" help Add support for writing debug log to a file: -f /tmp/hostapd.log Disabled by default. config HOSTAPD_NO_ACCOUNTING bool prompt "Remove support for RADIUS accounting" help Remove support for RADIUS accounting config HOSTAPD_NO_RADIUS bool prompt "Remove support for RADIUS" help Remove support for RADIUS config HOSTAPD_NO_VLAN bool prompt "Remove support for VLANs" help Remove support for VLANs config HOSTAPD_FULL_DYNAMIC_VLAN bool prompt "Fully dynamic VLAN support" help Enable support for fully dynamic VLANs. This enables hostapd to automatically create bridge and VLAN interfaces if necessary. config HOSTAPD_VLAN_NETLINK bool prompt "netlink-based kernel API for VLAN operations" help Use netlink-based kernel API for VLAN operations instead of ioctl() Note: This requires libnl 3.1 or newer. config HOSTAPD_NO_DUMP_STATE bool prompt "Remove SIGUSR1 state dump support" help Remove support for dumping state into a file on SIGUSR1 signal This can be used to reduce binary size at the cost of disabling a debugging option. config HOSTAPD_WPA_TRACE bool prompt "Enable tracing code for developer debugging" help Enable tracing code for developer debugging This tracks use of memory allocations and other registrations and reports incorrect use with a backtrace of call (or allocation) location. config HOSTAPD_NO_RANDOM_POOL bool prompt "Disabled hostapd's internal random pool" help hostapd depends on strong random number generation being available from the operating system. os_get_random() function is used to fetch random data when needed, e.g., for key generation. On Linux and BSD systems, this works by reading /dev/urandom. It should be noted that the OS entropy pool needs to be properly initialized before hostapd is started. This is important especially on embedded devices that do not have a hardware random number generator and may by default start up with minimal entropy available for random number generation. As a safety net, hostapd is by default trying to internally collect additional entropy for generating random data to mix in with the data fetched from the OS. This by itself is not considered to be very strong, but it may help in cases where the system pool is not initialized properly. However, it is very strongly recommended that the system pool is initialized with enough entropy either by using hardware assisted random number generator or by storing state over device reboots. hostapd can be configured to maintain its own entropy store over restarts to enhance random number generation. This is not perfect, but it is much more secure than using the same sequence of random numbers after every reboot. This can be enabled with -e command line option. The specified file needs to be readable and writable by hostapd. If the os_get_random() is known to provide strong random data (e.g., on Linux/BSD, the board in question is known to have reliable source of random data from /dev/urandom), the internal hostapd random pool can be disabled. This will save some in binary size and CPU use. However, this should only be considered for builds that are known to be used on devices that meet the requirements described above. #config HOSTAPD_TLS #string #prompt "Select TLS implementation" #default "openssl" #help # Select TLS implementation # openssl = OpenSSL (default) # gnutls = GnuTLS #internal = Internal TLSv1 implementation (experimental) # none = Empty template config HOSTAPD_TLSV11 bool prompt "TLS v1.1" help 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 HOSTAPD_TLSV12 bool prompt "TLS v1.2" help 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 HOSTAPD_INTERNAL_LIBTOMMATH_FAST bool prompt "Internal LibTomMath" help At the cost of about 4 kB of additional binary size, the internal LibTomMath can be configured to include faster routines for exptmod, sqr, and div to speed up DH and RSA calculation considerably config HOSTAPD_INTERWORKING bool prompt "Interworking (IEEE 802.11u)" help Interworking (IEEE 802.11u) This can be used to enable functionality to improve interworking with external networks. config HOSTAPD_HS20 bool prompt "Hotspot 2.0" help Hotspot 2.0 config HOSTAPD_SQLITE bool prompt "SQLite database support" help Enable SQLite database support in hlr_auc_gw, EAP-SIM DB, and eap_user_file endif *hostapd.make: * # -*-makefile-*- # # Copyright (C) 2013 by Matthias Fend # # See CREDITS for details about who has contributed to this project. # # For further information about the PTXdist project and license conditions # see the README file. # # # We provide this package # PACKAGES-$(PTXCONF_HOSTAPD) += hostapd # # Paths and names # HOSTAPD_NAME := hostapd HOSTAPD_VERSION := 2.0 HOSTAPD_MD5 := ba22e639bc57aa4035d2ea8ffa9bbbee HOSTAPD := $(HOSTAPD_NAME)-$(HOSTAPD_VERSION) HOSTAPD_SUFFIX := tar.gz HOSTAPD_URL := http://w1.fi/releases/$(HOSTAPD).$(HOSTAPD_SUFFIX) HOSTAPD_SOURCE := $(SRCDIR)/$(HOSTAPD).$(HOSTAPD_SUFFIX) HOSTAPD_DIR := $(BUILDDIR)/$(HOSTAPD) HOSTAPD_SUBDIR := $(HOSTAPD_NAME) HOSTAPD_CONFIG := $(BUILDDIR)/$(HOSTAPD)/$(HOSTAPD_SUBDIR)/.config HOSTAPD_LICENSE := BSD # ---------------------------------------------------------------------------- # Prepare # ---------------------------------------------------------------------------- HOSTAPD_PATH := PATH=$(CROSS_PATH) #HOSTAPD_CONF_TOOL := NO HOSTAPD_MAKE_ENV := \ $(CROSS_ENV) \ LIBDIR=/lib \ BINDIR=/sbin $(STATEDIR)/hostapd.prepare: @$(call targetinfo) # # run 'make clean' as hostapd's build system does not recognize config changes @-cd $(HOSTAPD_DIR)/$(HOSTAPD_SUBDIR) && \ $(HOSTAPD_MAKE_ENV) $(HOSTAPD_PATH) $(MAKE) clean @echo "CC=$(CROSS_CC)" > $(HOSTAPD_CONFIG) && \ echo "CFLAGS += -I$(PTXDIST_SYSROOT_TARGET)/include" >> $(HOSTAPD_CONFIG) && \ echo "CFLAGS += -I$(PTXDIST_SYSROOT_TARGET)/usr/include" >> $(HOSTAPD_CONFIG) && \ echo "LDFLAGS += -L$(PTXDIST_SYSROOT_TARGET)/lib" >> $(HOSTAPD_CONFIG) && \ echo "LDFLAGS += -L$(PTXDIST_SYSROOT_TARGET)/usr/lib" >> $(HOSTAPD_CONFIG) @grep -e PTXCONF_HOSTAPD_ $(PTXDIST_PTXCONFIG) | \ sed -e 's/PTXCONF_HOSTAPD_/CONFIG_/g' -e 's/\"//g' >> $(HOSTAPD_CONFIG) @$(call touch) # ---------------------------------------------------------------------------- # Target-Install # ---------------------------------------------------------------------------- $(STATEDIR)/hostapd.targetinstall: @$(call targetinfo) @$(call install_init, hostapd) @$(call install_fixup, hostapd,PRIORITY,optional) @$(call install_fixup, hostapd,SECTION,base) @$(call install_fixup, hostapd,AUTHOR,"Matthias Fend < matthias.fend@wolfvision.com>") @$(call install_fixup, hostapd,DESCRIPTION,missing) @$(call install_copy, hostapd, 0, 0, 0755, $(HOSTAPD_DIR)/$(HOSTAPD_SUBDIR)/hostapd, /usr/bin/hostapd) @$(call install_finish, hostapd) @$(call touch) # ---------------------------------------------------------------------------- # Clean # ---------------------------------------------------------------------------- $(STATEDIR)/hostapd.clean: @$(call targetinfo) @-cd $(HOSTAPD_DIR) && \ $(HOSTAPD_ENV) $(HOSTAPD_PATH) $(MAKE) clean @$(call clean_pkg, HOSTAPD) # vim: syntax=make 2013/5/7 Matthias Fend > Hi Pascal, > > > Von: ptxdist-bounces@pengutronix.de [mailto: > ptxdist-bounces@pengutronix.de] Im Auftrag von Pascal K > > Gesendet: Dienstag, 07. Mai 2013 10:18 > > An: ptxdist@pengutronix.de > > Betreff: [ptxdist] Building hostapd for PTXdist and an ARM Target > > > > Hello all, > > > > I'am beginning to use PTXdist, so I followed the How to become a PTXdist > Guru Manual to get started. > > But there is some information which I don't find/don't get. > > > > My task: > > -> Building hostapd-2.0.tar.gz for my ARM Cortex A8 target board > > > > So I tried to follow section 4.2.2 in the manual. > > > > $ ptxdist newpackage target > > edited the mandatory fields, added md5sum, selected the package in > > $ ptxdist menuconfig > > $ ptxdist get hostapd > > $ ptxdist extract hostapd > > $ ptxdist prepare hostapd > > and finally tried edited inside the hostapd folder the defconfig file to > .config > > $ ptxdist compile hostapd > > > > now gives me the error that > > > > make[1]: Entering directory > `/opt/PHYTEC_BSPs/phyCORE-AM335x-PD12.1.1/platform-phyCORE-AM335x/build-target/hostapd-2.0' > > make[1]: *** No targets specified and no makefile found. Stop. > > make[1]: Leaving directory > `/opt/PHYTEC_BSPs/phyCORE-AM335x-PD12.1.1/platform-phyCORE-AM335x/build-target/hostapd-2.0' > > make: *** > [/opt/PHYTEC_BSPs/phyCORE-AM335x-PD12.1.1/platform-phyCORE-AM335x/state/hostapd.compile] > Error 2 > > > > > > So I think I missed a step or a went with the wrong option at the > beginning. > > Could someone give me an advice, that would be great! > > > > > > Best regards, > > Pascal > > Here comes a patch which will add hostapd-2.0 to ptxdist. It's not yet > finished and (most) probably not everything is working. > But maybe you can use it as starting point... > > good luck, > ~matthias > > --- > rules/hostapd.in | 411 > ++++++++++++++++++++++++++++++++++++++++++++++++++++ > rules/hostapd.make | 89 +++++++++++ > 2 files changed, 500 insertions(+), 0 deletions(-) > create mode 100644 rules/hostapd.in > create mode 100644 rules/hostapd.make > > diff --git a/rules/hostapd.in b/rules/hostapd.in > new file mode 100644 > index 0000000..78bef61 > --- /dev/null > +++ b/rules/hostapd.in > @@ -0,0 +1,411 @@ > +## SECTION=networking > + > +config HOSTAPD > + bool > + prompt "hostapd" > + help > + FIXME > + > +if HOSTAPD > + > + config HOSTAPD_DRIVER_HOSTAP > + bool > + prompt "HOSTAP driver" > + help > + Driver interface for Host AP driver > + > + config HOSTAPD_DRIVER_WIRED > + bool > + prompt "Wired driver" > + help > + Driver interface for wired authenticator > + > + config HOSTAPD_DRIVER_NL80211 > + bool > + prompt "NL80211 driver" > + select LIBNL > + help > + Driver interface for drivers using the nl80211 kernel interface > + > + config HOSTAPD_DRIVER_NONE > + bool > + prompt "no driver" > + help > + Driver interface for no driver (e.g., RADIUS server only) > + > + config HOSTAPD_IAPP > + bool > + prompt "IEEE 802.11F/IAPP" > + help > + IEEE 802.11F/IAPP > + > + config HOSTAPD_RSN_PREAUTH > + bool > + prompt "WPA2/IEEE 802.11i RSN pre-authentication" > + help > + WPA2/IEEE 802.11i RSN pre-authentication > + > + config HOSTAPD_PEERKEY > + bool > + prompt "PeerKey handshake for Station to Station Link (IEEE > 802.11e DLS)" > + help > + PeerKey handshake for Station to Station Link (IEEE 802.11e DLS) > + > + config HOSTAPD_IEEE80211W > + bool > + prompt "IEEE 802.11w (management frame protection)" > + help > + 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 HOSTAPD_EAP > + bool > + prompt "Integrated EAP server" > + help > + Integrated EAP server > + > + config HOSTAPD_EAP_MD5 > + bool > + prompt "EAP-MD5 for the integrated EAP server" > + help > + EAP-MD5 for the integrated EAP server > + > + config HOSTAPD_EAP_TLS > + bool > + prompt "EAP-TLS for the integrated EAP server" > + help > + EAP-TLS for the integrated EAP server > + > + config HOSTAPD_EAP_MSCHAPV2 > + bool > + prompt "EAP-MSCHAPv2 for the integrated EAP server" > + help > + EAP-MSCHAPv2 for the integrated EAP server > + > + config HOSTAPD_EAP_PEAP > + bool > + prompt "EAP-PEAP for the integrated EAP server" > + help > + EAP-PEAP for the integrated EAP server > + > + config HOSTAPD_EAP_GTC > + bool > + prompt "EAP-GTC for the integrated EAP server" > + help > + EAP-GTC for the integrated EAP server > + > + config HOSTAPD_EAP_TTLS > + bool > + prompt "EAP-TTLS for the integrated EAP server" > + help > + EAP-TTLS for the integrated EAP server > + > + config HOSTAPD_EAP_SIM > + bool > + prompt "EAP-SIM for the integrated EAP server" > + help > + EAP-SIM for the integrated EAP server > + > + config HOSTAPD_EAP_AKA > + bool > + prompt "EAP-AKA for the integrated EAP server" > + help > + EAP-AKA for the integrated EAP server > + > + config HOSTAPD_EAP_AKA_PRIME > + bool > + prompt "EAP-AKA' (AKA-Prime)" > + help > + EAP-AKA' (AKA-Prime) for the integrated EAP server > + This requires CONFIG_EAP_AKA to be enabled, too. > + > + config HOSTAPD_EAP_PAX > + bool > + prompt "EAP-PAX for the integrated EAP server" > + help > + EAP-PAX for the integrated EAP server > + > + config HOSTAPD_EAP_PSK > + bool > + prompt "EAP-PSK for the integrated EAP server" > + help > + EAP-PSK for the integrated EAP server (this is _not_ needed for > WPA-PSK) > + > + config HOSTAPD_EAP_PWD > + bool > + prompt "EAP-pwd for the integrated EAP server" > + help > + EAP-pwd for the integrated EAP server (secure authentication with > a password) > + > + config HOSTAPD_EAP_SAKE > + bool > + prompt "EAP-SAKE for the integrated EAP server" > + help > + EAP-SAKE for the integrated EAP server > + > + config HOSTAPD_EAP_GPSK > + bool > + prompt "EAP-GPSK for the integrated EAP server" > + help > + EAP-GPSK for the integrated EAP server > + > + config HOSTAPD_EAP_GPSK_SHA256 > + bool > + prompt "Include support for optional SHA256 cipher suite in > EAP-GPSK" > + help > + Include support for optional SHA256 cipher suite in EAP-GPSK > + > + config HOSTAPD_EAP_FAST > + bool > + prompt "EAP-FAST for the integrated EAP server" > + help > + 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 HOSTAPD_WPS > + bool > + prompt "Wi-Fi Protected Setup (WPS)" > + help > + Wi-Fi Protected Setup (WPS) > + > + config HOSTAPD_WPS2 > + bool > + prompt "Enable WSC 2.0 support" > + help > + Enable WSC 2.0 support > + > + config HOSTAPD_WPS_UPNP > + bool > + prompt "Enable UPnP support for external WPS Registrars" > + help > + Enable UPnP support for external WPS Registrars > + > + config HOSTAPD_WPS_NFC > + bool > + prompt "Enable WPS support with NFC config method" > + help > + Enable WPS support with NFC config method > + > + config HOSTAPD_EAP_IKEV2 > + bool > + prompt "EAP-IKEv2" > + help > + EAP-IKEv2 > + > + config HOSTAPD_EAP_TNC > + bool > + prompt "Trusted Network Connect (EAP-TNC)" > + help > + Trusted Network Connect (EAP-TNC) > + > + config HOSTAPD_PKCS12 > + bool > + prompt "PKCS#12 (PFX) support" > + help > + PKCS#12 (PFX) support (used to read private key and certificate > file from > + a file that usually has extension .p12 or .pfx) > + > + config HOSTAPD_RADIUS_SERVER > + bool > + prompt "RADIUS authentication server" > + help > + RADIUS authentication server. This provides access to the > integrated EAP > + server from external hosts using RADIUS. > + > + config HOSTAPD_IPV6 > + bool > + prompt "Build IPv6 support for RADIUS operations" > + help > + Build IPv6 support for RADIUS operations > + > + config HOSTAPD_IEEE80211R > + bool > + prompt "IEEE Std 802.11r-2008 (Fast BSS Transition)" > + help > + IEEE Std 802.11r-2008 (Fast BSS Transition) > + > + config HOSTAPD_DRIVER_RADIUS_ACL > + bool > + prompt "Hostapd's IEEE 802.11 authentication (ACL)" > + help > + Use the hostapd's IEEE 802.11 authentication (ACL), but without > + the IEEE 802.11 Management capability (e.g., madwifi or > FreeBSD/net80211) > + > + config HOSTAPD_IEEE80211N > + bool > + prompt "IEEE 802.11n (High Throughput) support" > + help > + IEEE 802.11n (High Throughput) support > + > + config HOSTAPD_WNM > + bool > + prompt "Wireless Network Management (IEEE Std 802.11v-2011) > (EXPERIMENTAL)" > + help > + Wireless Network Management (IEEE Std 802.11v-2011) > + Note: This is experimental and not complete implementation. > + > + config HOSTAPD_IEEE80211AC > + bool > + prompt "IEEE 802.11ac (Very High Throughput) support" > + help > + IEEE 802.11ac (Very High Throughput) support > + > + config HOSTAPD_NO_STDOUT_DEBUG > + bool > + prompt "Remove stdout debugging code" > + help > + 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. > + > + config HOSTAPD_DEBUG_FILE > + bool > + prompt "Log file support" > + help > + Add support for writing debug log to a file: -f /tmp/hostapd.log > + Disabled by default. > + > + config HOSTAPD_NO_ACCOUNTING > + bool > + prompt "Remove support for RADIUS accounting" > + help > + Remove support for RADIUS accounting > + > + config HOSTAPD_NO_RADIUS > + bool > + prompt "Remove support for RADIUS" > + help > + Remove support for RADIUS > + > + config HOSTAPD_NO_VLAN > + bool > + prompt "Remove support for VLANs" > + help > + Remove support for VLANs > + > + config HOSTAPD_FULL_DYNAMIC_VLAN > + bool > + prompt "Fully dynamic VLAN support" > + help > + Enable support for fully dynamic VLANs. This enables hostapd to > + automatically create bridge and VLAN interfaces if necessary. > + > + config HOSTAPD_VLAN_NETLINK > + bool > + prompt "netlink-based kernel API for VLAN operations" > + help > + Use netlink-based kernel API for VLAN operations instead of > ioctl() > + Note: This requires libnl 3.1 or newer. > + > + config HOSTAPD_NO_DUMP_STATE > + bool > + prompt "Remove SIGUSR1 state dump support" > + help > + Remove support for dumping state into a file on SIGUSR1 signal > + This can be used to reduce binary size at the cost of disabling a > debugging > + option. > + > + config HOSTAPD_WPA_TRACE > + bool > + prompt "Enable tracing code for developer debugging" > + help > + Enable tracing code for developer debugging > + This tracks use of memory allocations and other registrations and > reports > + incorrect use with a backtrace of call (or allocation) location. > + > + config HOSTAPD_NO_RANDOM_POOL > + bool > + prompt "Disabled hostapd's internal random pool" > + help > + hostapd depends on strong random number generation being > available from the > + operating system. os_get_random() function is used to fetch > random data when > + needed, e.g., for key generation. On Linux and BSD systems, this > works by > + reading /dev/urandom. It should be noted that the OS entropy pool > needs to be > + properly initialized before hostapd is started. This is important > especially > + on embedded devices that do not have a hardware random number > generator and > + may by default start up with minimal entropy available for random > number > + generation. > + > + As a safety net, hostapd is by default trying to internally > collect > + additional entropy for generating random data to mix in with the > data > + fetched from the OS. This by itself is not considered to be very > strong, but > + it may help in cases where the system pool is not initialized > properly. > + However, it is very strongly recommended that the system pool is > initialized > + with enough entropy either by using hardware assisted random > number > + generator or by storing state over device reboots. > + > + hostapd can be configured to maintain its own entropy store over > restarts to > + enhance random number generation. This is not perfect, but it is > much more > + secure than using the same sequence of random numbers after every > reboot. > + This can be enabled with -e command line option. > The specified > + file needs to be readable and writable by hostapd. > + > + If the os_get_random() is known to provide strong random data > (e.g., on > + Linux/BSD, the board in question is known to have reliable source > of random > + data from /dev/urandom), the internal hostapd random pool can be > disabled. > + This will save some in binary size and CPU use. However, this > should only be > + considered for builds that are known to be used on devices that > meet the > + requirements described above. > + > + config HOSTAPD_TLS > + string > + prompt "Select TLS implementation" > + default "openssl" > + help > + Select TLS implementation > + openssl = OpenSSL (default) > + gnutls = GnuTLS > + internal = Internal TLSv1 implementation (experimental) > + none = Empty template > + > + config HOSTAPD_TLSV11 > + bool > + prompt "TLS v1.1" > + help > + 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 HOSTAPD_TLSV12 > + bool > + prompt "TLS v1.2" > + help > + 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 HOSTAPD_INTERNAL_LIBTOMMATH_FAST > + bool > + prompt "Internal LibTomMath" > + help > + At the cost of about 4 kB of additional binary size, the internal > LibTomMath > + can be configured to include faster routines for exptmod, sqr, > and div to > + speed up DH and RSA calculation considerably > + > + config HOSTAPD_INTERWORKING > + bool > + prompt "Interworking (IEEE 802.11u)" > + help > + Interworking (IEEE 802.11u) > + This can be used to enable functionality to improve interworking > with > + external networks. > + > + config HOSTAPD_HS20 > + bool > + prompt "Hotspot 2.0" > + help > + Hotspot 2.0 > + > + config HOSTAPD_SQLITE > + bool > + prompt "SQLite database support" > + help > + Enable SQLite database support in hlr_auc_gw, EAP-SIM DB, and > eap_user_file > + > +endif > + > + > diff --git a/rules/hostapd.make b/rules/hostapd.make > new file mode 100644 > index 0000000..0ca5dd5 > --- /dev/null > +++ b/rules/hostapd.make > @@ -0,0 +1,89 @@ > +# -*-makefile-*- > +# > +# Copyright (C) 2013 by Matthias Fend > +# > +# See CREDITS for details about who has contributed to this project. > +# > +# For further information about the PTXdist project and license conditions > +# see the README file. > +# > + > +# > +# We provide this package > +# > +PACKAGES-$(PTXCONF_HOSTAPD) += hostapd > + > +# > +# Paths and names > +# > +HOSTAPD_NAME := hostapd > +HOSTAPD_VERSION := 2.0 > +HOSTAPD_MD5 := ba22e639bc57aa4035d2ea8ffa9bbbee > +HOSTAPD := $(HOSTAPD_NAME)-$(HOSTAPD_VERSION) > +HOSTAPD_SUFFIX := tar.gz > +HOSTAPD_URL := http://w1.fi/releases/$(HOSTAPD).$(HOSTAPD_SUFFIX) > +HOSTAPD_SOURCE := $(SRCDIR)/$(HOSTAPD).$(HOSTAPD_SUFFIX) > +HOSTAPD_DIR := $(BUILDDIR)/$(HOSTAPD) > +HOSTAPD_SUBDIR := $(HOSTAPD_NAME) > +HOSTAPD_CONFIG := $(BUILDDIR)/$(HOSTAPD)/$(HOSTAPD_SUBDIR)/.config > +HOSTAPD_LICENSE := BSD > + > +# > ---------------------------------------------------------------------------- > +# Prepare > +# > ---------------------------------------------------------------------------- > + > +HOSTAPD_PATH := PATH=$(CROSS_PATH) > +#HOSTAPD_CONF_TOOL := NO > +HOSTAPD_MAKE_ENV := \ > + $(CROSS_ENV) \ > + LIBDIR=/lib \ > + BINDIR=/sbin > + > + > +$(STATEDIR)/hostapd.prepare: > + @$(call targetinfo) > +# # run 'make clean' as hostapd's build system does not recognize > config changes > + @-cd $(HOSTAPD_DIR)/$(HOSTAPD_SUBDIR) && \ > + $(HOSTAPD_MAKE_ENV) $(HOSTAPD_PATH) $(MAKE) clean > + > + @echo "CC=$(CROSS_CC)" > > $(HOSTAPD_CONFIG) && \ > + echo "CFLAGS += -I$(PTXDIST_SYSROOT_TARGET)/include" >> > $(HOSTAPD_CONFIG) && \ > + echo "CFLAGS += -I$(PTXDIST_SYSROOT_TARGET)/usr/include" >> > $(HOSTAPD_CONFIG) && \ > + echo "LDFLAGS += -L$(PTXDIST_SYSROOT_TARGET)/lib" >> > $(HOSTAPD_CONFIG) && \ > + echo "LDFLAGS += -L$(PTXDIST_SYSROOT_TARGET)/usr/lib" >> > $(HOSTAPD_CONFIG) > + > + @grep -e PTXCONF_HOSTAPD_ $(PTXDIST_PTXCONFIG) | \ > + sed -e 's/PTXCONF_HOSTAPD_/CONFIG_/g' -e 's/\"//g' >> > $(HOSTAPD_CONFIG) > + > + @$(call touch) > + > +# > ---------------------------------------------------------------------------- > +# Target-Install > +# > ---------------------------------------------------------------------------- > + > +$(STATEDIR)/hostapd.targetinstall: > + @$(call targetinfo) > + > + @$(call install_init, hostapd) > + @$(call install_fixup, hostapd,PRIORITY,optional) > + @$(call install_fixup, hostapd,SECTION,base) > + @$(call install_fixup, hostapd,AUTHOR,"Matthias Fend < > matthias.fend@wolfvision.com>") > + @$(call install_fixup, hostapd,DESCRIPTION,missing) > + > + @$(call install_copy, hostapd, 0, 0, 0755, > $(HOSTAPD_DIR)/$(HOSTAPD_SUBDIR)/hostapd, /usr/bin/hostapd) > + > + @$(call install_finish, hostapd) > + > + @$(call touch) > + > +# > ---------------------------------------------------------------------------- > +# Clean > +# > ---------------------------------------------------------------------------- > + > +$(STATEDIR)/hostapd.clean: > + @$(call targetinfo) > + @-cd $(HOSTAPD_DIR) && \ > + $(HOSTAPD_ENV) $(HOSTAPD_PATH) $(MAKE) clean > + @$(call clean_pkg, HOSTAPD) > + > +# vim: syntax=make > -- > 1.7.0.4 > > > -- > ptxdist mailing list > ptxdist@pengutronix.de > --089e012281b43ca34d04dc1f0f7e Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Thanks for the help, i attached the working make and in fi= le here:=A0
Thanks, the solution for my beginners problem was awesome f= ast.=A0

Best regards,=A0
Pascal
=
## SECTION=3Dproject_specific
<= font size=3D"1">
config HOSTAPD
=A0 =A0 =A0 =A0bool
=A0 =A0 =A0 =A0prompt "hostapd"
=A0 =A0 =A0 =A0help
=A0 =A0 =A0 =A0 =A0= FIXME

if HOSTAPD

=A0 =A0 =A0 =A0config HOSTAPD= _DRIVER_HOSTAP
=A0 =A0 =A0 =A0bool=
=A0 =A0 =A0 =A0prompt "HOSTAP driver"=
=A0 =A0 =A0 =A0help
=A0 =A0 =A0 =A0 Driver interface for Host AP driver

=A0 =A0 =A0 =A0config HO= STAPD_DRIVER_WIRED
=A0 =A0 =A0 =A0bool
=A0 =A0 =A0 =A0prompt "Wired driver"
=A0 =A0 =A0 =A0help
=A0 =A0 =A0 = =A0 Driver interface for wired authenticator

=A0 =A0 =A0 = =A0config HOSTAPD_DRIVER_NL80211
=A0 =A0 = =A0 =A0bool
=A0 =A0 =A0 =A0prompt "N= L80211 driver"
=A0 =A0 =A0 =A0select LIBNL
=A0 =A0 =A0 =A0help
=A0 =A0 =A0 = =A0 Driver interface for drivers using the nl80211 kernel interface<= /div>

=A0 =A0 =A0 =A0config HOSTAPD_DRIVER_NON= E
=A0 =A0 =A0 =A0bool
=A0 =A0 =A0 =A0prompt "no driver"
=A0 =A0 =A0 =A0help
=A0 =A0 =A0 =A0 Driver interface for no driver (e.g.,= RADIUS server only)

=A0 =A0 =A0 =A0config HOSTAPD_IAPP
=A0 =A0 =A0 =A0bool
=A0 =A0 =A0 =A0prompt "IEEE 802.11F/IAPP"
=A0 =A0 =A0 =A0help
=A0 =A0 =A0 =A0 IEEE 802.11F/IAPP

=A0 =A0 =A0 =A0config HOSTAPD= _RSN_PREAUTH
=A0 =A0 =A0 =A0bool
=A0 =A0 =A0 =A0prompt "WPA2/IEEE 802.11i RSN pre-authentication"=
=A0 =A0 =A0 =A0help
=A0 =A0 =A0 =A0 WPA2/IEEE 802.11i RSN pre-authentication

=A0 =A0 =A0 = =A0config HOSTAPD_PEERKEY
=A0 =A0 =A0 =A0= bool
=A0 =A0 =A0 =A0prompt "PeerKey = handshake for Station to Station Link (IEEE 802.11e DLS)"
=A0 =A0 =A0 =A0help
=A0 =A0 =A0 =A0 PeerKey handshake for Station to Station Link (IEEE 802.11= e DLS)

=A0 =A0 =A0 =A0config HOSTAPD_IEEE80211W
=A0 =A0 =A0 =A0bool
=A0 =A0 =A0 =A0prompt "IEEE 802.11w (management frame protection)&quo= t;
=A0 =A0 =A0 =A0help
<= font size=3D"1">=A0 =A0 =A0 =A0 IEEE 802.11w (management frame protection)<= /font>
=A0 =A0 =A0 =A0 This version is an experimental imple= mentation based on IEEE 802.11w/D1.0
=A0 = =A0 =A0 =A0 draft and is subject to change since the standard has not yet b= een finalized.
=A0 =A0 =A0 =A0 Driver support is also needed for IEE= E 802.11w.

=A0 =A0 =A0 =A0config HOSTAPD_EAP
=A0 =A0 =A0 =A0bool
=A0 =A0 =A0 =A0prompt "Integrated EAP server&quo= t;
=A0 =A0 =A0 =A0help
<= font size=3D"1">=A0 =A0 =A0 =A0 Integrated EAP server

=A0 =A0 =A0 =A0config HOSTAPD_EAP_MD5
=A0 =A0 =A0 =A0bool
= =A0 =A0 =A0 =A0prompt "EAP-MD5 for the integrated EAP server"
=A0 =A0 =A0 =A0help
=A0 =A0 =A0 =A0 EAP-MD5 for the integrated EAP server=

= =A0 =A0 =A0 =A0config HOSTAPD_EAP_TLS
=A0= =A0 =A0 =A0bool
=A0 =A0 =A0 =A0prompt "EAP-TLS for the integrate= d EAP server"
=A0 =A0 =A0 =A0help
=A0 =A0 =A0 =A0 EAP-TLS for the integrated = EAP server

=A0 =A0 =A0 =A0conf= ig HOSTAPD_EAP_MSCHAPV2
=A0 =A0 =A0 =A0bo= ol
=A0 =A0 =A0 =A0prompt "EAP-MSCHAP= v2 for the integrated EAP server"
=A0 =A0 =A0 =A0help
=A0 =A0 =A0 =A0 EAP-MSCHAPv2 for the integrated EAP server

=A0 =A0 =A0 =A0co= nfig HOSTAPD_EAP_PEAP
=A0 =A0 =A0 =A0bool
=A0 =A0 =A0 =A0prompt "EAP-PEAP for the integrated EAP server"
=A0 =A0 =A0 =A0help
=A0 =A0 =A0 =A0 EAP-PEAP for the integrated EAP server

=A0 =A0 =A0 = =A0config HOSTAPD_EAP_GTC
=A0 =A0 =A0 =A0= bool
=A0 =A0 =A0 =A0prompt "EAP-GTC = for the integrated EAP server"
=A0 =A0 =A0 =A0help
=A0 =A0 =A0 =A0 EAP-GTC for the integrated EAP server

=A0 =A0 =A0 =A0config = HOSTAPD_EAP_TTLS
=A0 =A0 =A0 =A0bool
=A0 =A0 =A0 =A0prompt "EAP-TTLS for the integrated EAP server"
=A0 =A0 =A0 =A0help
=A0 =A0 =A0 =A0 EAP-TTLS for the integrated EAP server

=A0 =A0 =A0 = =A0config HOSTAPD_EAP_SIM
=A0 =A0 =A0 =A0= bool
=A0 =A0 =A0 =A0prompt "EAP-SIM = for the integrated EAP server"
=A0 =A0 =A0 =A0help
=A0 =A0 =A0 =A0 EAP-SIM for the integrated EAP server

=A0 =A0 =A0 =A0config = HOSTAPD_EAP_AKA
=A0 =A0 =A0 =A0bool
=A0 =A0 =A0 =A0prompt "EAP-AKA for the integrated EAP server"
=A0 =A0 =A0 =A0help
=A0 =A0 =A0 =A0 EAP-AKA for the integrated EAP server

=A0 =A0 =A0 = =A0config HOSTAPD_EAP_AKA_PRIME
=A0 =A0 = =A0 =A0bool
=A0 =A0 =A0 =A0prompt "E= AP-AKA' (AKA-Prime)"
=A0 =A0 =A0 =A0help
=A0 =A0 =A0 =A0 EAP-AKA' (AKA-Prime) for the integrated EAP server
=A0 =A0 =A0 =A0 This requires CONFIG_EAP_AKA= to be enabled, too.

=A0 =A0 =A0 = =A0config HOSTAPD_EAP_PAX
=A0 =A0 =A0 =A0= bool
=A0 =A0 =A0 =A0prompt "EAP-PAX = for the integrated EAP server"
=A0 =A0 =A0 =A0help
=A0 =A0 =A0 =A0 EAP-PAX for the integrated EAP server

=A0 =A0 =A0 =A0config = HOSTAPD_EAP_PSK
=A0 =A0 =A0 =A0bool
=A0 =A0 =A0 =A0prompt "EAP-PSK for the integrated EAP server"
=A0 =A0 =A0 =A0help
=A0 =A0 =A0 =A0 EAP-PSK for the integrated EAP server (this is _= not_ needed for WPA-PSK)

=A0 =A0 =A0 = =A0config HOSTAPD_EAP_PWD
=A0 =A0 =A0 =A0= bool
=A0 =A0 =A0 =A0prompt "EAP-pwd = for the integrated EAP server"
=A0 =A0 =A0 =A0help
=A0 =A0 =A0 =A0 EAP-pwd for the integrated EAP server (secure authenticati= on with a password)

=A0 =A0 =A0 =A0config HOSTAPD_EAP_SAKE
=A0 =A0 =A0 =A0bool
=A0 =A0 =A0 =A0prompt "EAP-SAKE for the integrated EAP server"
=A0 =A0 =A0 =A0help
=A0 =A0 =A0 =A0 EAP-SAKE for the integrated EAP server

=A0 =A0 =A0 = =A0config HOSTAPD_EAP_GPSK
=A0 =A0 =A0 = =A0bool
=A0 =A0 =A0 =A0prompt "EAP-G= PSK for the integrated EAP server"
=A0 =A0 =A0 =A0help
=A0 =A0 =A0 =A0 EAP-GPSK for the integrated EAP server

=A0 =A0 =A0 =A0config= HOSTAPD_EAP_GPSK_SHA256
=A0 =A0 =A0 =A0bool
=A0 =A0 =A0 =A0prompt "Include support for optional SHA256 cipher sui= te in EAP-GPSK"
=A0 =A0 =A0 =A0help<= /font>
=A0 =A0 =A0 =A0 Include support for optio= nal SHA256 cipher suite in EAP-GPSK

=A0 =A0 =A0 = =A0config HOSTAPD_EAP_FAST
=A0 =A0 =A0 = =A0bool
=A0 =A0 =A0 =A0prompt "EAP-F= AST for the integrated EAP server"
=A0 =A0 =A0 =A0help
=A0 =A0 =A0 =A0 EAP-FAST for the integrated EAP server
=A0 =A0 =A0 =A0 Note: Default OpenSSL package does not inclu= de support for all the
=A0 =A0 =A0 =A0 functionality needed for EAP-FAST. If= EAP-FAST is enabled with OpenSSL,
=A0 = =A0 =A0 =A0 the OpenSSL library must be patched (openssl-0.9.9-session-tick= et.patch)
=A0 =A0 =A0 =A0 to add the needed functions.

=A0 =A0 = =A0 =A0config HOSTAPD_WPS
=A0 =A0 =A0 =A0= bool
=A0 =A0 =A0 =A0prompt "Wi-Fi Pr= otected Setup (WPS)"
=A0 =A0 =A0 =A0help
=A0 =A0 =A0 =A0 Wi-Fi Protected Setup (WPS)

=A0 =A0 =A0 =A0config HOSTAPD_WP= S2
=A0 =A0 =A0 =A0bool
=A0 =A0 =A0 =A0prompt "Enable WSC 2.0 support&qu= ot;
=A0 =A0 =A0 =A0help
= =A0 =A0 =A0 =A0 Enable WSC 2.0 support

=A0 =A0 =A0 =A0config HOSTAPD_WPS_UPNP
=A0 =A0 =A0 =A0bool
= =A0 =A0 =A0 =A0prompt "Enable UPnP support for external WPS Registrars= "
=A0 =A0 =A0 =A0help
=A0 =A0 =A0 =A0 Enable UPnP support for external WPS = Registrars

=A0 =A0 =A0 =A0config HOSTAPD_WPS_NFC
=A0 =A0 =A0 =A0bool
=A0 =A0 =A0 =A0prompt "Enable WPS support with N= FC config method"
=A0 =A0 =A0 =A0hel= p
=A0 =A0 =A0 =A0 Enable WPS support with= NFC config method

=A0 =A0 =A0 = =A0config HOSTAPD_EAP_IKEV2
=A0 =A0 =A0 = =A0bool
=A0 =A0 =A0 =A0prompt "EAP-I= KEv2"
=A0 =A0 =A0 =A0help
=A0 =A0 =A0 =A0 EAP-IKEv2

=A0 =A0 =A0 =A0config HOSTAPD= _EAP_TNC
=A0 =A0 =A0 =A0bool
=
=A0 =A0 =A0 =A0prompt "Trusted Network Connect (= EAP-TNC)"
=A0 =A0 =A0 =A0help
=A0 =A0 =A0 =A0 Trusted Network Connect (EAP-TNC)

=A0 =A0 =A0 =A0config HOST= APD_PKCS12
=A0 =A0 =A0 =A0bool
=A0 = =A0 =A0 =A0prompt "PKCS#12 (PFX) support"
=A0 =A0 =A0 =A0help
=A0 =A0 = =A0 =A0 PKCS#12 (PFX) support (used to read private key and certificate fil= e from
=A0 =A0 =A0 =A0 a file that usually has extension .p1= 2 or .pfx)

=A0 =A0 =A0 =A0config HOSTAPD_RADIUS_SERVER
=A0 =A0 =A0 =A0bool
=A0 =A0 =A0 =A0prompt "RADIUS authentication ser= ver"
=A0 =A0 =A0 =A0help
=A0 =A0 =A0 =A0 RADIUS authentication server. This p= rovides access to the integrated EAP
=A0 =A0 =A0 =A0 server from external hosts using RADI= US.

=A0 =A0 =A0 =A0config HOSTAPD_IPV6
=A0 = =A0 =A0 =A0bool
=A0 =A0 =A0 =A0prompt "Build IPv6 support for RA= DIUS operations"
=A0 =A0 =A0 =A0help=
=A0 =A0 =A0 =A0 Build IPv6 support for R= ADIUS operations

=A0 =A0 =A0 = =A0config HOSTAPD_IEEE80211R
=A0 =A0 =A0 = =A0bool
=A0 =A0 =A0 =A0prompt "IEEE = Std 802.11r-2008 (Fast BSS Transition)"
=A0 =A0 =A0 =A0help
=A0 =A0 =A0 =A0 IEEE Std 802.11r-2008 (Fast BSS Transition)

=A0 =A0 =A0 =A0c= onfig HOSTAPD_DRIVER_RADIUS_ACL
=A0 =A0 =A0 =A0bool
=A0 =A0 =A0 =A0prompt "Hostapd's IEEE 802.11 authentication (ACL)= "
=A0 =A0 =A0 =A0help
=A0 =A0 =A0 =A0 Use the hostapd's IEEE 802.11 authe= ntication (ACL), but without
=A0 =A0 =A0 =A0 the IEEE 802.11 Management capability= (e.g., madwifi or FreeBSD/net80211)

=
=A0 =A0 =A0 =A0config HOSTAPD_IEEE80211N=
=A0 =A0 =A0 =A0bool
=A0 = =A0 =A0 =A0prompt "IEEE 802.11n (High Throughput) support"=
=A0 =A0 =A0 =A0help
=A0 =A0 =A0 =A0 IEEE 802.11n (High Throughput) support

=A0 =A0 =A0 = =A0config HOSTAPD_WNM
=A0 =A0 =A0 =A0bool=
=A0 =A0 =A0 =A0prompt "Wireless Net= work Management (IEEE Std 802.11v-2011) (EXPERIMENTAL)"
=A0 =A0 =A0 =A0help
=A0 =A0 =A0 =A0 Wireless Network Management (IEEE Std 802.11v-2011)=
=A0 =A0 =A0 =A0 Note: This is experimental and = not complete implementation.

=A0 =A0 =A0 = =A0config HOSTAPD_IEEE80211AC
=A0 =A0 =A0= =A0bool
=A0 =A0 =A0 =A0prompt "IEEE= 802.11ac (Very High Throughput) support"
=A0 =A0 =A0 =A0help
=A0 =A0 =A0 =A0 IEEE 802.11ac (Very High Throughput) support
<= div>
=A0 =A0 =A0 =A0= config HOSTAPD_NO_STDOUT_DEBUG
=A0 =A0 =A0 =A0bool
=A0 =A0 =A0 =A0prompt "Remove stdout debugging code"
=A0 =A0 =A0 =A0help
=A0 =A0 =A0 =A0 Remove debugging code that is printing out debug messages= to stdout.
=A0 =A0 =A0 =A0 This can be used to reduce the size o= f the hostapd considerably if debugging
= =A0 =A0 =A0 =A0 code is not needed.

<= /font>
=A0 =A0 =A0 =A0config HOSTAPD_DEBUG_FILE<= /font>
=A0 =A0 =A0 =A0bool
=A0 =A0 =A0 =A0prompt "Log file support"
=A0 =A0 =A0 =A0help
=A0 =A0 = =A0 =A0 Add support for writing debug log to a file: -f /tmp/hostapd.log
=A0 =A0 =A0 =A0 Disabled by default.

=A0 =A0 =A0 =A0con= fig HOSTAPD_NO_ACCOUNTING
=A0 =A0 =A0 =A0= bool
=A0 =A0 =A0 =A0prompt "Remove s= upport for RADIUS accounting"
=A0 =A0 =A0 =A0help
=A0 =A0 =A0 =A0 Remove support for RADIUS accounting

=A0 =A0 =A0 =A0config H= OSTAPD_NO_RADIUS
=A0 =A0 =A0 =A0bool
=A0 =A0 =A0 =A0prompt "Remove support for RADIUS"
=A0 =A0 =A0 =A0help
= =A0 =A0 =A0 =A0 Remove support for RADIUS

=A0 =A0 =A0 = =A0config HOSTAPD_NO_VLAN
=A0 =A0 =A0 =A0= bool
=A0 =A0 =A0 =A0prompt "Remove s= upport for VLANs"
=A0 =A0 =A0 =A0help
=A0 =A0 =A0 =A0 Remove support for VLANs

=A0 =A0 =A0 =A0config HOSTAPD_FULL_= DYNAMIC_VLAN
=A0 =A0 =A0 =A0bool
=A0 = =A0 =A0 =A0prompt "Fully dynamic VLAN support"
<= font size=3D"1">=A0 =A0 =A0 =A0help
=A0 = =A0 =A0 =A0 Enable support for fully dynamic VLANs. This enables hostapd to=
=A0 =A0 =A0 =A0 automatically create bridge and VLAN = interfaces if necessary.

=A0 =A0 =A0 =A0config HOSTAPD_VLAN_NETLINK
=A0 =A0 =A0 =A0bool
=A0 =A0 =A0 =A0prompt "netlink-based kernel API = for VLAN operations"
=A0 =A0 =A0 =A0= help
=A0 =A0 =A0 =A0 Use netlink-based ke= rnel API for VLAN operations instead of ioctl()
=A0 =A0 =A0 =A0 Note: This requires libnl 3.1 or newe= r.

=A0 =A0 =A0 =A0config HOSTAPD_NO_DUMP_STATE
=A0 =A0 =A0 =A0bool
=A0 =A0 =A0 =A0prompt "Remove SIGUSR1 state dump= support"
=A0 =A0 =A0 =A0help=
=A0 =A0 =A0 =A0 Remove support for dumping stat= e into a file on SIGUSR1 signal
=A0 =A0 =A0 =A0 This can be used to reduce binary siz= e at the cost of disabling a debugging
= =A0 =A0 =A0 =A0 option.

=
=A0 =A0 =A0 =A0config HOSTAPD_WPA_TRACE
=A0 =A0 =A0 =A0bool
=A0 =A0 =A0 =A0prompt "Enable tracing code for developer debugging&qu= ot;
=A0 =A0 =A0 =A0help
= =A0 =A0 =A0 =A0 Enable tracing code for developer debuggin= g
=A0 =A0 =A0 =A0 This tracks use of memory allocations= and other registrations and reports
=A0 = =A0 =A0 =A0 incorrect use with a backtrace of call (or allocation) location= .

=A0 =A0 =A0 =A0conf= ig HOSTAPD_NO_RANDOM_POOL
=A0 =A0 =A0 =A0= bool
=A0 =A0 =A0 =A0prompt "Disabled= hostapd's internal random pool"
=A0 =A0 =A0 =A0help
=A0 =A0 =A0 =A0 hostapd depends on strong random number generation being a= vailable from the
=A0 =A0 =A0 =A0 operati= ng system. os_get_random() function is used to fetch random data when
=A0 =A0 =A0 =A0 needed, e.g., for key generation. On = Linux and BSD systems, this works by
=A0 = =A0 =A0 =A0 reading /dev/urandom. It should be noted that the OS entropy po= ol needs to be
=A0 =A0 =A0 =A0 properly initialized before hostapd i= s started. This is important especially
= =A0 =A0 =A0 =A0 on embedded devices that do not have a hardware random numb= er generator and
=A0 =A0 =A0 =A0 may by default start up with minimal = entropy available for random number
=A0 = =A0 =A0 =A0 generation.

=
=A0 =A0 =A0 =A0 As a safety net, hostapd is by defaul= t trying to internally collect
=A0 =A0 =A0 =A0 additional entropy for generating ran= dom data to mix in with the data
=A0 =A0 = =A0 =A0 fetched from the OS. This by itself is not considered to be very st= rong, but
=A0 =A0 =A0 =A0 it may help in cases where the system= pool is not initialized properly.
=A0 = =A0 =A0 =A0 However, it is very strongly recommended that the system pool i= s initialized
=A0 =A0 =A0 =A0 with enough entropy either by using h= ardware assisted random number
=A0 =A0 = =A0 =A0 generator or by storing state over device reboots.

=A0 =A0 =A0 =A0 hostapd can be configure= d to maintain its own entropy store over restarts to
=A0 =A0 =A0 =A0 enhance random number generation. This is not p= erfect, but it is much more
=A0 =A0 =A0 =A0 secure than using the same sequence o= f random numbers after every reboot.
=A0 = =A0 =A0 =A0 This can be enabled with -e<entropy file> command line op= tion. The specified
=A0 =A0 =A0 =A0 file needs to be readable and writabl= e by hostapd.

=A0 =A0 =A0 =A0 If the os_get_random() is known to provide stro= ng random data (e.g., on
=A0 =A0 =A0 =A0 Linux/BSD, the board in question is k= nown to have reliable source of random
= =A0 =A0 =A0 =A0 data from /dev/urandom), the internal hostapd random pool c= an be disabled.
=A0 =A0 =A0 =A0 This will save some in binary size an= d CPU use. However, this should only be
= =A0 =A0 =A0 =A0 considered for builds that are known to be used on devices = that meet the
=A0 =A0 =A0 =A0 requirements described above.<= /div>

=A0 =A0 = =A0 =A0#config HOSTAPD_TLS
=A0 =A0 =A0 = =A0#string
=A0 =A0 =A0 =A0#prompt "S= elect TLS implementation"
=A0 =A0 =A0 =A0#default "openssl"
=A0 =A0 =A0 =A0#help
=A0 =A0 =A0 =A0# Select TLS implementation
=A0 =A0 =A0 =A0# openssl =3D OpenSSL (default)
=A0 =A0 =A0 =A0# gnutls =3D GnuTLS
<= font size=3D"1">=A0 =A0 =A0 =A0#internal =3D Internal TLSv1 implementation = (experimental)
=A0 =A0 =A0 =A0# none =3D = Empty template

=A0 =A0 =A0 =A0conf= ig HOSTAPD_TLSV11
=A0 =A0 =A0 =A0bool
=A0 =A0 =A0 =A0prompt "TLS v1.1"
=A0 =A0 =A0 =A0help
=A0 =A0 =A0 =A0 TLS-based EAP methods require at leas= t TLS v1.0. Newer version of TLS (v1.1)
= =A0 =A0 =A0 =A0 can be enabled to get a stronger construction of messages w= hen block ciphers
=A0 =A0 =A0 =A0 are used.

=A0 =A0 =A0 =A0config HOSTAPD= _TLSV12
=A0 =A0 =A0 =A0bool
<= div>=A0 =A0 =A0 =A0prompt "TLS v1.2"
=A0 =A0 =A0 =A0help
=A0 =A0 =A0 =A0 TLS-based EAP methods require at least TLS v1.0. Newer ver= sion of TLS (v1.2)
=A0 =A0 =A0 =A0 can be= enabled to enable use of stronger crypto algorithms.

=A0 =A0 =A0 = =A0config HOSTAPD_INTERNAL_LIBTOMMATH_FAST
=A0 =A0 =A0 =A0bool
=A0 =A0 =A0 =A0prom= pt "Internal LibTomMath"
=A0 =A0 =A0 =A0help
=A0 =A0 =A0 =A0 At the cost of about 4 kB of additional binary size, the i= nternal LibTomMath
=A0 =A0 =A0 =A0 can be= configured to include faster routines for exptmod, sqr, and div to<= /div>
=A0 =A0 =A0 =A0 speed up DH and RSA calculation consi= derably

=A0 =A0 =A0 =A0config HOSTAPD_INTERWORKING
=A0 =A0 =A0 =A0bool
=A0 =A0 =A0 =A0prompt "Interworking (IEEE 802.11= u)"
=A0 =A0 =A0 =A0help
=
=A0 =A0 =A0 =A0 Interworking (IEEE 802.11u)
=A0 =A0 =A0 =A0 This can be used to enable functio= nality to improve interworking with
=A0 =A0 =A0 =A0 external networks.
<= font size=3D"1">
=A0 =A0 =A0 =A0confi= g HOSTAPD_HS20
=A0 =A0 =A0 =A0bool=
=A0 =A0 =A0 =A0prompt "Hotspot 2.0"
=A0 =A0 =A0 =A0help
=A0 =A0 =A0 =A0 Hotspot 2.0

<= /div>
=A0 =A0 =A0 =A0config HOSTAPD_SQLITE
=A0 =A0 =A0 =A0bool
=A0 =A0 =A0 =A0prompt "SQLite database support&q= uot;
=A0 =A0 =A0 =A0help
=A0 =A0 =A0 =A0 Enable SQLite database support in hlr_auc= _gw, EAP-SIM DB, and eap_user_file

endif

hostapd.make:=A0
# -*-makefile-*-
#
=
# Copyright (C) 2013 by Matthias Fend <matthias.fend@wolfvision.com>
#
# See CREDITS for details about who has contributed to thi= s project.
#
# For further information about the PTXdis= t project and license conditions
# see the README file.
#

#
# We provide this package
=
#
PACKAGES-$(PTXCONF_HOSTAPD) +=3D hostapd

#
# Paths and names
#
HOSTAPD_NAME = =A0 :=3D hostapd
HOSTAPD_VERSION =A0 =A0 =A0 =A0:=3D 2.0
HOSTAPD_MD5 =A0 =A0:= =3D ba22e639bc57aa4035d2ea8ffa9bbbee
HOSTAPD =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0:=3D $(HOSTAPD_NAME)-$(HOSTAPD_VERSION)
HOSTAPD_SUFFIX= :=3D tar.gz
HOSTAPD_SOURCE :=3D $(SRCDIR)/$(HOSTAPD).$(HOSTAPD_SUFFIX)
H= OSTAPD_DIR =A0 =A0:=3D $(BUILDDIR)/$(HOSTAPD)
HOSTAPD_SUBDIR :=3D= $(HOSTAPD_NAME)
HOSTAPD_CONFIG :=3D $(BUILDDIR)/$(HOSTAPD)/$(HOS= TAPD_SUBDIR)/.config
HOSTAPD_LICENSE =A0 =A0 =A0 =A0:=3D BSD

# ---= -------------------------------------------------------------------------
# Prepare
# --------------------------------------------= --------------------------------

HOSTAPD_PATH =A0 :=3D PATH=3D$(CROSS_PATH)
#H= OSTAPD_CONF_TOOL =A0 =A0 :=3D NO
HOSTAPD_MAKE_ENV =A0 =A0 =A0 := =3D \
=A0 =A0 =A0 =A0$(CROSS_ENV) \
=A0 =A0 =A0 =A0LIBD= IR=3D/lib \
=A0 =A0 =A0 =A0BINDIR=3D/sbin


$(STATEDIR)/hostapd.prepare:
<= span class=3D"" style=3D"white-space:pre"> @$(call targetinfo)
=

# =A0 =A0 =A0# run 'make clean' as hostapd'= s build system does not recognize config changes
@-cd $(HOSTAPD_DIR)= /$(HOSTAPD_SUBDIR) && \
$(HOSTAPD_MAKE_ENV) $(HOSTAPD_PATH) $(MAKE) clean
<= div>
@echo &qu= ot;CC=3D$(CROSS_CC)" =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0> =A0$(HOSTAPD_CONFIG) && \
echo "CFLA= GS +=3D -I$(PTXDIST_SYSROOT_TARGET)/include" =A0 =A0 =A0 =A0 =A0 =A0&g= t;> $(HOSTAPD_CONFIG) && \
echo "CFLAGS += =3D -I$(PTXDIST_SYSROOT_TARGET)/usr/include" =A0 =A0 =A0 =A0>> $= (HOSTAPD_CONFIG) && \
echo "LDFLAGS +=3D -L$(PTXDIST_SYSROOT_TARGET)/lib&quo= t; =A0 =A0 =A0 =A0 =A0 =A0 =A0 >> $(HOSTAPD_CONFIG) && \
echo "LDFLAGS = +=3D -L$(PTXDIST_SYSROOT_TARGET)/usr/lib" =A0 =A0 =A0 =A0 =A0 >>= $(HOSTAPD_CONFIG)

@grep -e PTXCONF_HOSTAPD_ $(PTXDIST_PTXCONFIG) | \
sed -e 's/PTXC= ONF_HOSTAPD_/CONFIG_/g' -e 's/\"//g' >> $(HOSTAPD_CO= NFIG)

= @$(call touch)

# -----------------------------------------------------= -----------------------
# Target-Install
# ------------= ----------------------------------------------------------------

$(STATEDIR)/hostapd.targetinstall:
@$(call targetinfo)

@$(call install_in= it, hostapd)
@$(call install_fix= up, hostapd,PRIORITY,optional)
@$(call install_fixup, hostapd,SECTION,base)
@$(call install_fixup, host= apd,AUTHOR,"Matthias Fend <matthias.fend@wolfvision.com>")
@$(call install_fix= up, hostapd,DESCRIPTION,missing)

@$(call install_copy, hostapd, 0, 0, 0755= , $(HOSTAPD_DIR)/$(HOSTAPD_SUBDIR)/hostapd, /usr/bin/hostapd)

@$(c= all install_finish, hostapd)

@$(call touch)

# ---= -------------------------------------------------------------------------
# Clean
# --------------------------------------------------= --------------------------

$(STATEDIR)/hostapd.cle= an:
@$(call ta= rgetinfo)
@-cd $(HOSTAPD_DIR)= && \
$(HOSTAPD_ENV) $(HOSTAPD_PATH) $(MAKE) clean
@$(call clean_pkg, HOSTAPD)

# vim: syntax=3Dmake


2013/5/7 Matthias Fend = <Matthias.Fend@wolfvision.net>
Hi Pascal,

> Von: ptxdist-bounces= @pengutronix.de [mailto:ptxdist-bounces@pengutronix.de] Im Auftrag von Pascal K
> Gesendet: Dienstag, 07. Mai 2013 10:18
> An: ptxdist@pengutronix.de
> Betreff: [ptxdist] Building hostapd for PTXdist and an ARM Target
>
> Hello all,
>
> I'am beginning to use PTXdist, so I followed the How to become a P= TXdist Guru Manual to get started.
> But there is some information which I don't find/don't get. >
> My task:
> -> Building hostapd-2.0.tar.gz for my ARM Cortex A8 target board >
> So I tried to follow section 4.2.2 in the manual.
>
> $ ptxdist newpackage target
> =A0edited the mandatory fields, added md5sum, selected the package in<= br> > $ ptxdist menuconfig
> $ ptxdist get hostapd
> $ ptxdist extract hostapd
> $ ptxdist prepare hostapd
> and finally tried edited inside the hostapd folder the defconfig file = to .config
> $ ptxdist compile hostapd
>
> now gives me the error that
>
> make[1]: Entering directory `/opt/PHYTEC_BSPs/phyCORE-AM335x-PD12.1.1/= platform-phyCORE-AM335x/build-target/hostapd-2.0'
> make[1]: *** No targets specified and no makefile found. =A0Stop.
> make[1]: Leaving directory `/opt/PHYTEC_BSPs/phyCORE-AM335x-PD12.1.1/p= latform-phyCORE-AM335x/build-target/hostapd-2.0'
> make: *** [/opt/PHYTEC_BSPs/phyCORE-AM335x-PD12.1.1/platform-phyCORE-A= M335x/state/hostapd.compile] Error 2
>
>
> So I think I missed a step or a went with the wrong option at the begi= nning.
> Could someone give me an advice, that would be great!
>
>
> Best regards,
> Pascal

Here comes a patch which will add hostapd-2.0 to ptxdist. It= 9;s not yet finished and (most) probably not everything is working.
But maybe you can use it as starting point...

good luck,
~matthias

---
=A0rules/
hostapd.in =A0= | =A0411 ++++++++++++++++++++++++++++++++++++++++++++++++++++
=A0rules/hostapd.make | =A0 89 +++++++++++
=A02 files changed, 500 insertions(+), 0 deletions(-)
=A0create mode 100644 rules/hostapd.in
=A0create mode 100644 rules/hostapd.make

diff --git a/rules/hostapd.= in b/rules/hostapd.in
new file mode 100644
index 0000000..78bef61
--- /dev/null
+++ b/rules/
hostapd.in<= br> @@ -0,0 +1,411 @@
+## SECTION=3Dnetworking
+
+config HOSTAPD
+ =A0 =A0 =A0 bool
+ =A0 =A0 =A0 prompt "hostapd"
+ =A0 =A0 =A0 help
+ =A0 =A0 =A0 =A0 FIXME
+
+if HOSTAPD
+
+ =A0 =A0 =A0 config HOSTAPD_DRIVER_HOSTAP
+ =A0 =A0 =A0 bool
+ =A0 =A0 =A0 prompt "HOSTAP driver"
+ =A0 =A0 =A0 help
+ =A0 =A0 =A0 =A0Driver interface for Host AP driver
+
+ =A0 =A0 =A0 config HOSTAPD_DRIVER_WIRED
+ =A0 =A0 =A0 bool
+ =A0 =A0 =A0 prompt "Wired driver"
+ =A0 =A0 =A0 help
+ =A0 =A0 =A0 =A0Driver interface for wired authenticator
+
+ =A0 =A0 =A0 config HOSTAPD_DRIVER_NL80211
+ =A0 =A0 =A0 bool
+ =A0 =A0 =A0 prompt "NL80211 driver"
+ =A0 =A0 =A0 select LIBNL
+ =A0 =A0 =A0 help
+ =A0 =A0 =A0 =A0Driver interface for drivers using the nl80211 kernel inte= rface
+
+ =A0 =A0 =A0 config HOSTAPD_DRIVER_NONE
+ =A0 =A0 =A0 bool
+ =A0 =A0 =A0 prompt "no driver"
+ =A0 =A0 =A0 help
+ =A0 =A0 =A0 =A0Driver interface for no driver (e.g., RADIUS server only)<= br> +
+ =A0 =A0 =A0 config HOSTAPD_IAPP
+ =A0 =A0 =A0 bool
+ =A0 =A0 =A0 prompt "IEEE 802.11F/IAPP"
+ =A0 =A0 =A0 help
+ =A0 =A0 =A0 =A0IEEE 802.11F/IAPP
+
+ =A0 =A0 =A0 config HOSTAPD_RSN_PREAUTH
+ =A0 =A0 =A0 bool
+ =A0 =A0 =A0 prompt "WPA2/IEEE 802.11i RSN pre-authentication" + =A0 =A0 =A0 help
+ =A0 =A0 =A0 =A0WPA2/IEEE 802.11i RSN pre-authentication
+
+ =A0 =A0 =A0 config HOSTAPD_PEERKEY
+ =A0 =A0 =A0 bool
+ =A0 =A0 =A0 prompt "PeerKey handshake for Station to Station Link (I= EEE 802.11e DLS)"
+ =A0 =A0 =A0 help
+ =A0 =A0 =A0 =A0PeerKey handshake for Station to Station Link (IEEE 802.11= e DLS)
+
+ =A0 =A0 =A0 config HOSTAPD_IEEE80211W
+ =A0 =A0 =A0 bool
+ =A0 =A0 =A0 prompt "IEEE 802.11w (management frame protection)"=
+ =A0 =A0 =A0 help
+ =A0 =A0 =A0 =A0IEEE 802.11w (management frame protection)
+ =A0 =A0 =A0 =A0This version is an experimental implementation based on IE= EE 802.11w/D1.0
+ =A0 =A0 =A0 =A0draft and is subject to change since the standard has not = yet been finalized.
+ =A0 =A0 =A0 =A0Driver support is also needed for IEEE 802.11w.
+
+ =A0 =A0 =A0 config HOSTAPD_EAP
+ =A0 =A0 =A0 bool
+ =A0 =A0 =A0 prompt "Integrated EAP server"
+ =A0 =A0 =A0 help
+ =A0 =A0 =A0 =A0Integrated EAP server
+
+ =A0 =A0 =A0 config HOSTAPD_EAP_MD5
+ =A0 =A0 =A0 bool
+ =A0 =A0 =A0 prompt "EAP-MD5 for the integrated EAP server"
+ =A0 =A0 =A0 help
+ =A0 =A0 =A0 =A0EAP-MD5 for the integrated EAP server
+
+ =A0 =A0 =A0 config HOSTAPD_EAP_TLS
+ =A0 =A0 =A0 bool
+ =A0 =A0 =A0 prompt "EAP-TLS for the integrated EAP server"
+ =A0 =A0 =A0 help
+ =A0 =A0 =A0 =A0EAP-TLS for the integrated EAP server
+
+ =A0 =A0 =A0 config HOSTAPD_EAP_MSCHAPV2
+ =A0 =A0 =A0 bool
+ =A0 =A0 =A0 prompt "EAP-MSCHAPv2 for the integrated EAP server"=
+ =A0 =A0 =A0 help
+ =A0 =A0 =A0 =A0EAP-MSCHAPv2 for the integrated EAP server
+
+ =A0 =A0 =A0 config HOSTAPD_EAP_PEAP
+ =A0 =A0 =A0 bool
+ =A0 =A0 =A0 prompt "EAP-PEAP for the integrated EAP server"
+ =A0 =A0 =A0 help
+ =A0 =A0 =A0 =A0EAP-PEAP for the integrated EAP server
+
+ =A0 =A0 =A0 config HOSTAPD_EAP_GTC
+ =A0 =A0 =A0 bool
+ =A0 =A0 =A0 prompt "EAP-GTC for the integrated EAP server"
+ =A0 =A0 =A0 help
+ =A0 =A0 =A0 =A0EAP-GTC for the integrated EAP server
+
+ =A0 =A0 =A0 config HOSTAPD_EAP_TTLS
+ =A0 =A0 =A0 bool
+ =A0 =A0 =A0 prompt "EAP-TTLS for the integrated EAP server"
+ =A0 =A0 =A0 help
+ =A0 =A0 =A0 =A0EAP-TTLS for the integrated EAP server
+
+ =A0 =A0 =A0 config HOSTAPD_EAP_SIM
+ =A0 =A0 =A0 bool
+ =A0 =A0 =A0 prompt "EAP-SIM for the integrated EAP server"
+ =A0 =A0 =A0 help
+ =A0 =A0 =A0 =A0EAP-SIM for the integrated EAP server
+
+ =A0 =A0 =A0 config HOSTAPD_EAP_AKA
+ =A0 =A0 =A0 bool
+ =A0 =A0 =A0 prompt "EAP-AKA for the integrated EAP server"
+ =A0 =A0 =A0 help
+ =A0 =A0 =A0 =A0EAP-AKA for the integrated EAP server
+
+ =A0 =A0 =A0 config HOSTAPD_EAP_AKA_PRIME
+ =A0 =A0 =A0 bool
+ =A0 =A0 =A0 prompt "EAP-AKA' (AKA-Prime)"
+ =A0 =A0 =A0 help
+ =A0 =A0 =A0 =A0EAP-AKA' (AKA-Prime) for the integrated EAP server
+ =A0 =A0 =A0 =A0This requires CONFIG_EAP_AKA to be enabled, too.
+
+ =A0 =A0 =A0 config HOSTAPD_EAP_PAX
+ =A0 =A0 =A0 bool
+ =A0 =A0 =A0 prompt "EAP-PAX for the integrated EAP server"
+ =A0 =A0 =A0 help
+ =A0 =A0 =A0 =A0EAP-PAX for the integrated EAP server
+
+ =A0 =A0 =A0 config HOSTAPD_EAP_PSK
+ =A0 =A0 =A0 bool
+ =A0 =A0 =A0 prompt "EAP-PSK for the integrated EAP server"
+ =A0 =A0 =A0 help
+ =A0 =A0 =A0 =A0EAP-PSK for the integrated EAP server (this is _not_ neede= d for WPA-PSK)
+
+ =A0 =A0 =A0 config HOSTAPD_EAP_PWD
+ =A0 =A0 =A0 bool
+ =A0 =A0 =A0 prompt "EAP-pwd for the integrated EAP server"
+ =A0 =A0 =A0 help
+ =A0 =A0 =A0 =A0EAP-pwd for the integrated EAP server (secure authenticati= on with a password)
+
+ =A0 =A0 =A0 config HOSTAPD_EAP_SAKE
+ =A0 =A0 =A0 bool
+ =A0 =A0 =A0 prompt "EAP-SAKE for the integrated EAP server"
+ =A0 =A0 =A0 help
+ =A0 =A0 =A0 =A0EAP-SAKE for the integrated EAP server
+
+ =A0 =A0 =A0 config HOSTAPD_EAP_GPSK
+ =A0 =A0 =A0 bool
+ =A0 =A0 =A0 prompt "EAP-GPSK for the integrated EAP server"
+ =A0 =A0 =A0 help
+ =A0 =A0 =A0 =A0EAP-GPSK for the integrated EAP server
+
+ =A0 =A0 =A0 config HOSTAPD_EAP_GPSK_SHA256
+ =A0 =A0 =A0 bool
+ =A0 =A0 =A0 prompt "Include support for optional SHA256 cipher suite= in EAP-GPSK"
+ =A0 =A0 =A0 help
+ =A0 =A0 =A0 =A0Include support for optional SHA256 cipher suite in EAP-GP= SK
+
+ =A0 =A0 =A0 config HOSTAPD_EAP_FAST
+ =A0 =A0 =A0 bool
+ =A0 =A0 =A0 prompt "EAP-FAST for the integrated EAP server"
+ =A0 =A0 =A0 help
+ =A0 =A0 =A0 =A0EAP-FAST for the integrated EAP server
+ =A0 =A0 =A0 =A0Note: Default OpenSSL package does not include support for= all the
+ =A0 =A0 =A0 =A0functionality needed for EAP-FAST. If EAP-FAST is enabled = with OpenSSL,
+ =A0 =A0 =A0 =A0the OpenSSL library must be patched (openssl-0.9.9-session= -ticket.patch)
+ =A0 =A0 =A0 =A0to add the needed functions.
+
+ =A0 =A0 =A0 config HOSTAPD_WPS
+ =A0 =A0 =A0 bool
+ =A0 =A0 =A0 prompt "Wi-Fi Protected Setup (WPS)"
+ =A0 =A0 =A0 help
+ =A0 =A0 =A0 =A0Wi-Fi Protected Setup (WPS)
+
+ =A0 =A0 =A0 config HOSTAPD_WPS2
+ =A0 =A0 =A0 bool
+ =A0 =A0 =A0 prompt "Enable WSC 2.0 support"
+ =A0 =A0 =A0 help
+ =A0 =A0 =A0 =A0Enable WSC 2.0 support
+
+ =A0 =A0 =A0 config HOSTAPD_WPS_UPNP
+ =A0 =A0 =A0 bool
+ =A0 =A0 =A0 prompt "Enable UPnP support for external WPS Registrars&= quot;
+ =A0 =A0 =A0 help
+ =A0 =A0 =A0 =A0Enable UPnP support for external WPS Registrars
+
+ =A0 =A0 =A0 config HOSTAPD_WPS_NFC
+ =A0 =A0 =A0 bool
+ =A0 =A0 =A0 prompt "Enable WPS support with NFC config method"<= br> + =A0 =A0 =A0 help
+ =A0 =A0 =A0 =A0Enable WPS support with NFC config method
+
+ =A0 =A0 =A0 config HOSTAPD_EAP_IKEV2
+ =A0 =A0 =A0 bool
+ =A0 =A0 =A0 prompt "EAP-IKEv2"
+ =A0 =A0 =A0 help
+ =A0 =A0 =A0 =A0EAP-IKEv2
+
+ =A0 =A0 =A0 config HOSTAPD_EAP_TNC
+ =A0 =A0 =A0 bool
+ =A0 =A0 =A0 prompt "Trusted Network Connect (EAP-TNC)"
+ =A0 =A0 =A0 help
+ =A0 =A0 =A0 =A0Trusted Network Connect (EAP-TNC)
+
+ =A0 =A0 =A0 config HOSTAPD_PKCS12
+ =A0 =A0 =A0 bool
+ =A0 =A0 =A0 prompt "PKCS#12 (PFX) support"
+ =A0 =A0 =A0 help
+ =A0 =A0 =A0 =A0PKCS#12 (PFX) support (used to read private key and certif= icate file from
+ =A0 =A0 =A0 =A0a file that usually has extension .p12 or .pfx)
+
+ =A0 =A0 =A0 config HOSTAPD_RADIUS_SERVER
+ =A0 =A0 =A0 bool
+ =A0 =A0 =A0 prompt "RADIUS authentication server"
+ =A0 =A0 =A0 help
+ =A0 =A0 =A0 =A0RADIUS authentication server. This provides access to the = integrated EAP
+ =A0 =A0 =A0 =A0server from external hosts using RADIUS.
+
+ =A0 =A0 =A0 config HOSTAPD_IPV6
+ =A0 =A0 =A0 bool
+ =A0 =A0 =A0 prompt "Build IPv6 support for RADIUS operations" + =A0 =A0 =A0 help
+ =A0 =A0 =A0 =A0Build IPv6 support for RADIUS operations
+
+ =A0 =A0 =A0 config HOSTAPD_IEEE80211R
+ =A0 =A0 =A0 bool
+ =A0 =A0 =A0 prompt "IEEE Std 802.11r-2008 (Fast BSS Transition)"= ;
+ =A0 =A0 =A0 help
+ =A0 =A0 =A0 =A0IEEE Std 802.11r-2008 (Fast BSS Transition)
+
+ =A0 =A0 =A0 config HOSTAPD_DRIVER_RADIUS_ACL
+ =A0 =A0 =A0 bool
+ =A0 =A0 =A0 prompt "Hostapd's IEEE 802.11 authentication (ACL)&q= uot;
+ =A0 =A0 =A0 help
+ =A0 =A0 =A0 =A0Use the hostapd's IEEE 802.11 authentication (ACL), bu= t without
+ =A0 =A0 =A0 =A0the IEEE 802.11 Management capability (e.g., madwifi or Fr= eeBSD/net80211)
+
+ =A0 =A0 =A0 config HOSTAPD_IEEE80211N
+ =A0 =A0 =A0 bool
+ =A0 =A0 =A0 prompt "IEEE 802.11n (High Throughput) support"
+ =A0 =A0 =A0 help
+ =A0 =A0 =A0 =A0IEEE 802.11n (High Throughput) support
+
+ =A0 =A0 =A0 config HOSTAPD_WNM
+ =A0 =A0 =A0 bool
+ =A0 =A0 =A0 prompt "Wireless Network Management (IEEE Std 802.11v-20= 11) (EXPERIMENTAL)"
+ =A0 =A0 =A0 help
+ =A0 =A0 =A0 =A0Wireless Network Management (IEEE Std 802.11v-2011)
+ =A0 =A0 =A0 =A0Note: This is experimental and not complete implementation= .
+
+ =A0 =A0 =A0 config HOSTAPD_IEEE80211AC
+ =A0 =A0 =A0 bool
+ =A0 =A0 =A0 prompt "IEEE 802.11ac (Very High Throughput) support&quo= t;
+ =A0 =A0 =A0 help
+ =A0 =A0 =A0 =A0IEEE 802.11ac (Very High Throughput) support
+
+ =A0 =A0 =A0 config HOSTAPD_NO_STDOUT_DEBUG
+ =A0 =A0 =A0 bool
+ =A0 =A0 =A0 prompt "Remove stdout debugging code"
+ =A0 =A0 =A0 help
+ =A0 =A0 =A0 =A0Remove debugging code that is printing out debug messages = to stdout.
+ =A0 =A0 =A0 =A0This can be used to reduce the size of the hostapd conside= rably if debugging
+ =A0 =A0 =A0 =A0code is not needed.
+
+ =A0 =A0 =A0 config HOSTAPD_DEBUG_FILE
+ =A0 =A0 =A0 bool
+ =A0 =A0 =A0 prompt "Log file support"
+ =A0 =A0 =A0 help
+ =A0 =A0 =A0 =A0Add support for writing debug log to a file: -f /tmp/hosta= pd.log
+ =A0 =A0 =A0 =A0Disabled by default.
+
+ =A0 =A0 =A0 config HOSTAPD_NO_ACCOUNTING
+ =A0 =A0 =A0 bool
+ =A0 =A0 =A0 prompt "Remove support for RADIUS accounting"
+ =A0 =A0 =A0 help
+ =A0 =A0 =A0 =A0Remove support for RADIUS accounting
+
+ =A0 =A0 =A0 config HOSTAPD_NO_RADIUS
+ =A0 =A0 =A0 bool
+ =A0 =A0 =A0 prompt "Remove support for RADIUS"
+ =A0 =A0 =A0 help
+ =A0 =A0 =A0 =A0Remove support for RADIUS
+
+ =A0 =A0 =A0 config HOSTAPD_NO_VLAN
+ =A0 =A0 =A0 bool
+ =A0 =A0 =A0 prompt "Remove support for VLANs"
+ =A0 =A0 =A0 help
+ =A0 =A0 =A0 =A0Remove support for VLANs
+
+ =A0 =A0 =A0 config HOSTAPD_FULL_DYNAMIC_VLAN
+ =A0 =A0 =A0 bool
+ =A0 =A0 =A0 prompt "Fully dynamic VLAN support"
+ =A0 =A0 =A0 help
+ =A0 =A0 =A0 =A0Enable support for fully dynamic VLANs. This enables hosta= pd to
+ =A0 =A0 =A0 =A0automatically create bridge and VLAN interfaces if necessa= ry.
+
+ =A0 =A0 =A0 config HOSTAPD_VLAN_NETLINK
+ =A0 =A0 =A0 bool
+ =A0 =A0 =A0 prompt "netlink-based kernel API for VLAN operations&quo= t;
+ =A0 =A0 =A0 help
+ =A0 =A0 =A0 =A0Use netlink-based kernel API for VLAN operations instead o= f ioctl()
+ =A0 =A0 =A0 =A0Note: This requires libnl 3.1 or newer.
+
+ =A0 =A0 =A0 config HOSTAPD_NO_DUMP_STATE
+ =A0 =A0 =A0 bool
+ =A0 =A0 =A0 prompt "Remove SIGUSR1 state dump support"
+ =A0 =A0 =A0 help
+ =A0 =A0 =A0 =A0Remove support for dumping state into a file on SIGUSR1 si= gnal
+ =A0 =A0 =A0 =A0This can be used to reduce binary size at the cost of disa= bling a debugging
+ =A0 =A0 =A0 =A0option.
+
+ =A0 =A0 =A0 config HOSTAPD_WPA_TRACE
+ =A0 =A0 =A0 bool
+ =A0 =A0 =A0 prompt "Enable tracing code for developer debugging"= ;
+ =A0 =A0 =A0 help
+ =A0 =A0 =A0 =A0Enable tracing code for developer debugging
+ =A0 =A0 =A0 =A0This tracks use of memory allocations and other registrati= ons and reports
+ =A0 =A0 =A0 =A0incorrect use with a backtrace of call (or allocation) loc= ation.
+
+ =A0 =A0 =A0 config HOSTAPD_NO_RANDOM_POOL
+ =A0 =A0 =A0 bool
+ =A0 =A0 =A0 prompt "Disabled hostapd's internal random pool"= ;
+ =A0 =A0 =A0 help
+ =A0 =A0 =A0 =A0hostapd depends on strong random number generation being a= vailable from the
+ =A0 =A0 =A0 =A0operating system. os_get_random() function is used to fetc= h random data when
+ =A0 =A0 =A0 =A0needed, e.g., for key generation. On Linux and BSD systems= , this works by
+ =A0 =A0 =A0 =A0reading /dev/urandom. It should be noted that the OS entro= py pool needs to be
+ =A0 =A0 =A0 =A0properly initialized before hostapd is started. This is im= portant especially
+ =A0 =A0 =A0 =A0on embedded devices that do not have a hardware random num= ber generator and
+ =A0 =A0 =A0 =A0may by default start up with minimal entropy available for= random number
+ =A0 =A0 =A0 =A0generation.
+
+ =A0 =A0 =A0 =A0As a safety net, hostapd is by default trying to internall= y collect
+ =A0 =A0 =A0 =A0additional entropy for generating random data to mix in wi= th the data
+ =A0 =A0 =A0 =A0fetched from the OS. This by itself is not considered to b= e very strong, but
+ =A0 =A0 =A0 =A0it may help in cases where the system pool is not initiali= zed properly.
+ =A0 =A0 =A0 =A0However, it is very strongly recommended that the system p= ool is initialized
+ =A0 =A0 =A0 =A0with enough entropy either by using hardware assisted rand= om number
+ =A0 =A0 =A0 =A0generator or by storing state over device reboots.
+
+ =A0 =A0 =A0 =A0hostapd can be configured to maintain its own entropy stor= e over restarts to
+ =A0 =A0 =A0 =A0enhance random number generation. This is not perfect, but= it is much more
+ =A0 =A0 =A0 =A0secure than using the same sequence of random numbers afte= r every reboot.
+ =A0 =A0 =A0 =A0This can be enabled with -e<entropy file> command li= ne option. The specified
+ =A0 =A0 =A0 =A0file needs to be readable and writable by hostapd.
+
+ =A0 =A0 =A0 =A0If the os_get_random() is known to provide strong random d= ata (e.g., on
+ =A0 =A0 =A0 =A0Linux/BSD, the board in question is known to have reliable= source of random
+ =A0 =A0 =A0 =A0data from /dev/urandom), the internal hostapd random pool = can be disabled.
+ =A0 =A0 =A0 =A0This will save some in binary size and CPU use. However, t= his should only be
+ =A0 =A0 =A0 =A0considered for builds that are known to be used on devices= that meet the
+ =A0 =A0 =A0 =A0requirements described above.
+
+ =A0 =A0 =A0 config HOSTAPD_TLS
+ =A0 =A0 =A0 string
+ =A0 =A0 =A0 prompt "Select TLS implementation"
+ =A0 =A0 =A0 default "openssl"
+ =A0 =A0 =A0 help
+ =A0 =A0 =A0 =A0Select TLS implementation
+ =A0 =A0 =A0 =A0openssl =3D OpenSSL (default)
+ =A0 =A0 =A0 =A0gnutls =3D GnuTLS
+ =A0 =A0 =A0 =A0internal =3D Internal TLSv1 implementation (experimental)<= br> + =A0 =A0 =A0 =A0none =3D Empty template
+
+ =A0 =A0 =A0 config HOSTAPD_TLSV11
+ =A0 =A0 =A0 bool
+ =A0 =A0 =A0 prompt "TLS v1.1"
+ =A0 =A0 =A0 help
+ =A0 =A0 =A0 =A0TLS-based EAP methods require at least TLS v1.0. Newer ver= sion of TLS (v1.1)
+ =A0 =A0 =A0 =A0can be enabled to get a stronger construction of messages = when block ciphers
+ =A0 =A0 =A0 =A0are used.
+
+ =A0 =A0 =A0 config HOSTAPD_TLSV12
+ =A0 =A0 =A0 bool
+ =A0 =A0 =A0 prompt "TLS v1.2"
+ =A0 =A0 =A0 help
+ =A0 =A0 =A0 =A0TLS-based EAP methods require at least TLS v1.0. Newer ver= sion of TLS (v1.2)
+ =A0 =A0 =A0 =A0can be enabled to enable use of stronger crypto algorithms= .
+
+ =A0 =A0 =A0 config HOSTAPD_INTERNAL_LIBTOMMATH_FAST
+ =A0 =A0 =A0 bool
+ =A0 =A0 =A0 prompt "Internal LibTomMath"
+ =A0 =A0 =A0 help
+ =A0 =A0 =A0 =A0At the cost of about 4 kB of additional binary size, the i= nternal LibTomMath
+ =A0 =A0 =A0 =A0can be configured to include faster routines for exptmod, = sqr, and div to
+ =A0 =A0 =A0 =A0speed up DH and RSA calculation considerably
+
+ =A0 =A0 =A0 config HOSTAPD_INTERWORKING
+ =A0 =A0 =A0 bool
+ =A0 =A0 =A0 prompt "Interworking (IEEE 802.11u)"
+ =A0 =A0 =A0 help
+ =A0 =A0 =A0 =A0Interworking (IEEE 802.11u)
+ =A0 =A0 =A0 =A0This can be used to enable functionality to improve interw= orking with
+ =A0 =A0 =A0 =A0external networks.
+
+ =A0 =A0 =A0 config HOSTAPD_HS20
+ =A0 =A0 =A0 bool
+ =A0 =A0 =A0 prompt "Hotspot 2.0"
+ =A0 =A0 =A0 help
+ =A0 =A0 =A0 =A0Hotspot 2.0
+
+ =A0 =A0 =A0 config HOSTAPD_SQLITE
+ =A0 =A0 =A0 bool
+ =A0 =A0 =A0 prompt "SQLite database support"
+ =A0 =A0 =A0 help
+ =A0 =A0 =A0 =A0Enable SQLite database support in hlr_auc_gw, EAP-SIM DB, = and eap_user_file
+
+endif
+
+
diff --git a/rules/hostapd.make b/rules/hostapd.make
new file mode 100644
index 0000000..0ca5dd5
--- /dev/null
+++ b/rules/hostapd.make
@@ -0,0 +1,89 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2013 by Matthias Fend <matthias.fend@wolfvision.com>
+#
+# See CREDITS for details about who has contributed to this project.
+#
+# For further information about the PTXdist project and license conditions=
+# see the README file.
+#
+
+#
+# We provide this package
+#
+PACKAGES-$(PTXCONF_HOSTAPD) +=3D hostapd
+
+#
+# Paths and names
+#
+HOSTAPD_NAME =A0 :=3D hostapd
+HOSTAPD_VERSION =A0 =A0 =A0 =A0:=3D 2.0
+HOSTAPD_MD5 =A0 =A0:=3D ba22e639bc57aa4035d2ea8ffa9bbbee
+HOSTAPD =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0:=3D $(HOSTAPD_NAME)-$(HOSTAPD_VERS= ION)
+HOSTAPD_SUFFIX :=3D tar.gz
+HOSTAPD_URL =A0 =A0:=3D http://w1.fi/releases/$(HOSTAPD).$(HOSTAPD_S= UFFIX)
+HOSTAPD_SOURCE :=3D $(SRCDIR)/$(HOSTAPD).$(HOSTAPD_SUFFIX)
+HOSTAPD_DIR =A0 =A0:=3D $(BUILDDIR)/$(HOSTAPD)
+HOSTAPD_SUBDIR :=3D $(HOSTAPD_NAME)
+HOSTAPD_CONFIG :=3D $(BUILDDIR)/$(HOSTAPD)/$(HOSTAPD_SUBDIR)/.config
+HOSTAPD_LICENSE =A0 =A0 =A0 =A0:=3D BSD
+
+# ------------------------------------------------------------------------= ----
+# Prepare
+# ------------------------------------------------------------------------= ----
+
+HOSTAPD_PATH =A0 :=3D PATH=3D$(CROSS_PATH)
+#HOSTAPD_CONF_TOOL =A0 =A0 :=3D NO
+HOSTAPD_MAKE_ENV =A0 =A0 =A0 :=3D \
+ =A0 =A0 =A0 $(CROSS_ENV) \
+ =A0 =A0 =A0 LIBDIR=3D/lib \
+ =A0 =A0 =A0 BINDIR=3D/sbin
+
+
+$(STATEDIR)/hostapd.prepare:
+ =A0 =A0 =A0 @$(call targetinfo)
+# =A0 =A0 =A0# run 'make clean' as hostapd's build system does= not recognize config changes
+ =A0 =A0 =A0 @-cd $(HOSTAPD_DIR)/$(HOSTAPD_SUBDIR) && \
+ =A0 =A0 =A0 =A0 =A0 =A0 =A0 $(HOSTAPD_MAKE_ENV) $(HOSTAPD_PATH) $(MAKE) c= lean
+
+ =A0 =A0 =A0 @echo "CC=3D$(CROSS_CC)" =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0> =A0$(HOSTAP= D_CONFIG) && \
+ =A0 =A0 =A0 echo "CFLAGS +=3D -I$(PTXDIST_SYSROOT_TARGET)/include&qu= ot; =A0 =A0 =A0 =A0 =A0 =A0>> $(HOSTAPD_CONFIG) && \
+ =A0 =A0 =A0 echo "CFLAGS +=3D -I$(PTXDIST_SYSROOT_TARGET)/usr/includ= e" =A0 =A0 =A0 =A0>> $(HOSTAPD_CONFIG) && \
+ =A0 =A0 =A0 echo "LDFLAGS +=3D -L$(PTXDIST_SYSROOT_TARGET)/lib"= =A0 =A0 =A0 =A0 =A0 =A0 =A0 >> $(HOSTAPD_CONFIG) && \
+ =A0 =A0 =A0 echo "LDFLAGS +=3D -L$(PTXDIST_SYSROOT_TARGET)/usr/lib&q= uot; =A0 =A0 =A0 =A0 =A0 >> $(HOSTAPD_CONFIG)
+
+ =A0 =A0 =A0 @grep -e PTXCONF_HOSTAPD_ $(PTXDIST_PTXCONFIG) | \
+ =A0 =A0 =A0 =A0 =A0 =A0 =A0 sed -e 's/PTXCONF_HOSTAPD_/CONFIG_/g'= -e 's/\"//g' >> $(HOSTAPD_CONFIG)
+
+ =A0 =A0 =A0 @$(call touch)
+
+# ------------------------------------------------------------------------= ----
+# Target-Install
+# ------------------------------------------------------------------------= ----
+
+$(STATEDIR)/hostapd.targetinstall:
+ =A0 =A0 =A0 @$(call targetinfo)
+
+ =A0 =A0 =A0 @$(call install_init, hostapd)
+ =A0 =A0 =A0 @$(call install_fixup, hostapd,PRIORITY,optional)
+ =A0 =A0 =A0 @$(call install_fixup, hostapd,SECTION,base)
+ =A0 =A0 =A0 @$(call install_fixup, hostapd,AUTHOR,"Matthias Fend <= ;matthias.fend@wolfvision.c= om>")
+ =A0 =A0 =A0 @$(call install_fixup, hostapd,DESCRIPTION,missing)
+
+ =A0 =A0 =A0 @$(call install_copy, hostapd, 0, 0, 0755, $(HOSTAPD_DIR)/$(H= OSTAPD_SUBDIR)/hostapd, /usr/bin/hostapd)
+
+ =A0 =A0 =A0 @$(call install_finish, hostapd)
+
+ =A0 =A0 =A0 @$(call touch)
+
+# ------------------------------------------------------------------------= ----
+# Clean
+# ------------------------------------------------------------------------= ----
+
+$(STATEDIR)/hostapd.clean:
+ =A0 =A0 =A0 @$(call targetinfo)
+ =A0 =A0 =A0 @-cd $(HOSTAPD_DIR) && \
+ =A0 =A0 =A0 =A0 =A0 =A0 =A0 $(HOSTAPD_ENV) $(HOSTAPD_PATH) $(MAKE) clean<= br> + =A0 =A0 =A0 @$(call clean_pkg, HOSTAPD)
+
+# vim: syntax=3Dmake
--
1.7.0.4


--
ptxdist mailing list
ptxdist@pengutronix.de

--089e012281b43ca34d04dc1f0f7e-- --===============1858178002== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline -- ptxdist mailing list ptxdist@pengutronix.de --===============1858178002==--