Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=baeee1d772b72140dfb23420d3b54c553a6f7bae
commit baeee1d772b72140dfb23420d3b54c553a6f7bae Author: James Buren <r...@frugalware.org> Date: Mon May 31 21:00:36 2010 -0500 hostapd-0.7.2-1-i686 * version bump ("stable" is too out of touch with latest kernel) * remove unnecessary patch diff --git a/source/network-extra/hostapd/FrugalBuild b/source/network-extra/hostapd/FrugalBuild index c1c0ece..4ccbef7 100644 --- a/source/network-extra/hostapd/FrugalBuild +++ b/source/network-extra/hostapd/FrugalBuild @@ -1,31 +1,30 @@ -# Compiling Time: 0.02 SBU +# Compiling Time: 0.12 SBU # Maintainer: James Buren <r...@frugalware.org> pkgname=hostapd -pkgver=0.6.10 +pkgver=0.7.2 pkgrel=1 pkgdesc="A daemon for managing software wireless access points." url="http://hostap.epitest.fi/hostapd" depends=('openssl' 'libnl') groups=('network-extra') archs=('i686' 'x86_64') -up2date="lynx -dump $url | grep -A 1 'Latest stable release' | Flasttar" -source=(${url/hostapd/releases}/$pkgname-$pkgver.tar.gz config rc.$pkgname README.Frugalware $pkgname-0.6.10-dtim.patch) +up2date="Flasttar $url" +source=(${url/hostapd/releases}/$pkgname-$pkgver.tar.gz config rc.$pkgname README.Frugalware) backup=(etc/$pkgname/$pkgname.{accept,conf,deny}) -sha1sums=('2cacf994abd3cebad36679d32f64c9e9906ccff8' \ - 'ba92a1bf132517f23c865142951e8d7b9d06f4f8' \ +sha1sums=('07bf81cc858aaad4f785fd111c52890eac0fad33' \ + '903738e1b8901598c025e18bf093bd452bc75f0d' \ 'f4f0f2967b3fc68aec7121b489e5650de4d76c62' \ - '94c24e4311a366421592031cbb2ae67c41b4a880' \ - 'efda5a29c3a9b2478960c30eb537d1b483636c3d') + '94c24e4311a366421592031cbb2ae67c41b4a880') build() { - Fpatchall - cd $pkgname || Fdie + Fcd $pkgname-$pkgver/$pkgname cp $Fsrcdir/config .config || Fdie make || Fdie sed -i -r -e "s:#(.*)=/etc/$pkgname\.(accept|deny):\1=/etc/$pkgname/$pkgname.\2:" $pkgname.conf || Fdie Fexerel ${pkgname}{,_cli} /usr/bin Fmanrel ${pkgname}{.8,_cli.1} Ffilerel $pkgname.{accept,conf,deny,eap_user,radius_clients,sim_db,vlan,wpa_psk} wired.conf /etc/$pkgname + Fdocrel README-WPS Frcd2 } diff --git a/source/network-extra/hostapd/config b/source/network-extra/hostapd/config index 4ac1aa0..108d2d1 100644 --- a/source/network-extra/hostapd/config +++ b/source/network-extra/hostapd/config @@ -19,9 +19,6 @@ CONFIG_DRIVER_WIRED=y #CONFIG_DRIVER_MADWIFI=y #CFLAGS += -I../../madwifi # change to the madwifi source directory -# Driver interface for Prism54 driver -CONFIG_DRIVER_PRISM54=y - # Driver interface for drivers using the nl80211 kernel interface CONFIG_DRIVER_NL80211=y # driver_nl80211.c requires a rather new libnl (version 1.1) which may not be @@ -35,6 +32,8 @@ CONFIG_DRIVER_NL80211=y #CONFIG_DRIVER_BSD=y #CFLAGS += -I/usr/local/include #LIBS += -L/usr/local/lib +#LIBS_p += -L/usr/local/lib +#LIBS_c += -L/usr/local/lib # Driver interface for no driver (e.g., RADIUS server only) CONFIG_DRIVER_NONE=y @@ -142,3 +141,35 @@ CONFIG_IEEE80211N=y # This can be used to reduce the size of the hostapd considerably if debugging # code is not needed. #CONFIG_NO_STDOUT_DEBUG=y + +# Remove support for RADIUS accounting +#CONFIG_NO_ACCOUNTING=y + +# Remove support for RADIUS +#CONFIG_NO_RADIUS=y + +# Remove support for VLANs +#CONFIG_NO_VLAN=y + +# 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_NO_DUMP_STATE=y + +# 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_WPA_TRACE=y +# For BSD, comment out these. +#LIBS += -lexecinfo +#LIBS_p += -lexecinfo +#LIBS_c += -lexecinfo + +# Use libbfd to get more details for developer debugging +# This enables use of libbfd to get more detailed symbols for the backtraces +# generated by CONFIG_WPA_TRACE=y. +#CONFIG_WPA_TRACE_BFD=y +# For BSD, comment out these. +#LIBS += -lbfd -liberty -lz +#LIBS_p += -lbfd -liberty -lz +#LIBS_c += -lbfd -liberty -lz diff --git a/source/network-extra/hostapd/hostapd-0.6.10-dtim.patch b/source/network-extra/hostapd/hostapd-0.6.10-dtim.patch deleted file mode 100644 index cd65269..0000000 --- a/source/network-extra/hostapd/hostapd-0.6.10-dtim.patch +++ /dev/null @@ -1,52 +0,0 @@ -From 8fac32f5efa7a7c3fc6eee8d3723a09e7abe27fa Mon Sep 17 00:00:00 2001 -From: Jouni Malinen <jouni.mali...@atheros.com> -Date: Thu, 12 Mar 2009 21:57:08 +0200 -Subject: [PATCH] Move DTIM period configuration into Beacon set operation - -This is needed to make mac80211 work with multi-BSS configuration. The -previous design ended up setting DTIM period for secondary BSSes before -setting the Beacon and driver_nl80211.c was not really prepared for -that. Eventually, the Beacon configuration routines should be combined -into a single driver operation, but for now, just moving this call is -the simplest workaround. -(cherry picked from commit eb1f7446b5b86cceb1508f060f5e66e5dd791a4d) ---- - hostapd/beacon.c | 4 ++++ - hostapd/hostapd.c | 6 ------ - 2 files changed, 4 insertions(+), 6 deletions(-) - -diff --git a/hostapd/beacon.c b/hostapd/beacon.c -index 1f82d9c..0a192fe 100644 ---- a/hostapd/beacon.c -+++ b/hostapd/beacon.c -@@ -434,6 +434,10 @@ void ieee802_11_set_beacon(struct hostapd_data *hapd) - os_free(tail); - os_free(head); - -+ if (hostapd_set_dtim_period(hapd, hapd->conf->dtim_period)) -+ wpa_printf(MSG_ERROR, "Could not set DTIM period for kernel " -+ "driver"); -+ - if (hostapd_set_cts_protect(hapd, cts_protection)) - wpa_printf(MSG_ERROR, "Failed to set CTS protect in kernel " - "driver"); -diff --git a/hostapd/hostapd.c b/hostapd/hostapd.c -index 3fbd3d0..7ed1720 100644 ---- a/hostapd/hostapd.c -+++ b/hostapd/hostapd.c -@@ -1376,12 +1376,6 @@ static int hostapd_setup_bss(struct hostapd_data *hapd, int first) - return -1; - } - -- if (hostapd_set_dtim_period(hapd, hapd->conf->dtim_period)) { -- wpa_printf(MSG_ERROR, "Could not set DTIM period for kernel " -- "driver"); -- return -1; -- } -- - /* Set SSID for the kernel driver (to be used in beacon and probe - * response frames) */ - if (set_ssid && hostapd_set_ssid(hapd, (u8 *) conf->ssid.ssid, --- -1.7.1 - _______________________________________________ Frugalware-git mailing list Frugalware-git@frugalware.org http://frugalware.org/mailman/listinfo/frugalware-git