SHA256
1
0
forked from pool/hostapd
OBS User unknown 2008-01-23 20:27:48 +00:00 committed by Git OBS Bridge
parent 5d461db5cb
commit 4da6213178
3 changed files with 69 additions and 66 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Jan 21 14:54:48 CET 2008 - cstender@suse.de
- fixed madwifi include dir (b.n.c #350982)
-------------------------------------------------------------------
Mon Jul 30 16:57:16 CEST 2007 - jg@suse.de

View File

@ -1,7 +1,7 @@
Index: hostapd-0.5.7/.config
===================================================================
--- /dev/null
+++ hostapd-0.5.7/.config
================================================================================
--- hostapd-0.5.8/.config
+++ hostapd-0.5.8/.config
@@ -0,0 +1,80 @@
+# Example hostapd build time configuration
+#
@ -21,10 +21,10 @@ Index: hostapd-0.5.7/.config
+CONFIG_DRIVER_WIRED=y
+
+# Driver interface for madwifi driver
+MADWIFI_SOURCE=$(shell echo /usr/include/madwifi-*)
+MADWIFI_SOURCE=$(shell echo /usr/include/madwifi*)
+MADWIFI_AVAIL=$(shell test -x ${MADWIFI_SOURCE} && echo y)
+ifeq ($(MADWIFI_AVAIL),y)
+CFLAGS += -I$(shell echo /usr/include/madwifi-*)
+CFLAGS += -I$(shell echo /usr/include/madwifi*)
+CONFIG_DRIVER_MADWIFI=y
+endif
+
@ -83,23 +83,9 @@ Index: hostapd-0.5.7/.config
+# Build IPv6 support for RADIUS operations
+CONFIG_IPV6=y
+
Index: hostapd-0.5.7/driver_madwifi.c
===================================================================
--- hostapd-0.5.7.orig/driver_madwifi.c
+++ hostapd-0.5.7/driver_madwifi.c
@@ -19,6 +19,7 @@
#include <sys/ioctl.h>
#include <include/compat.h>
+#include <net80211/_ieee80211.h>
#include <net80211/ieee80211.h>
#ifdef WME_NUM_AC
/* Assume this is built against BSD branch of madwifi driver. */
Index: hostapd-0.5.7/Makefile
===================================================================
--- hostapd-0.5.7.orig/Makefile
+++ hostapd-0.5.7/Makefile
@@ -18,6 +18,8 @@ CFLAGS += -I. -I../utils -I$(DIR_WPA_SUP
--- hostapd-0.5.8/Makefile
+++ hostapd-0.5.8/Makefile
@@ -18,6 +18,8 @@
-include .config
@ -108,7 +94,7 @@ Index: hostapd-0.5.7/Makefile
ifndef CONFIG_OS
ifdef CONFIG_NATIVE_WINDOWS
CONFIG_OS=win32
@@ -333,7 +335,8 @@ verify_config:
@@ -333,7 +335,8 @@
fi
install: all
@ -118,3 +104,13 @@ Index: hostapd-0.5.7/Makefile
hostapd: $(OBJS)
$(CC) -o hostapd $(OBJS) $(LIBS)
--- hostapd-0.5.8/driver_madwifi.c
+++ hostapd-0.5.8/driver_madwifi.c
@@ -19,6 +19,7 @@
#include <sys/ioctl.h>
#include <include/compat.h>
+#include <net80211/_ieee80211.h>
#include <net80211/ieee80211.h>
#ifdef WME_NUM_AC
/* Assume this is built against BSD branch of madwifi driver. */

View File

@ -1,7 +1,7 @@
#
# spec file for package hostapd (Version 0.5.8)
#
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
@ -17,15 +17,15 @@ BuildRequires: madwifi-devel
%endif
Summary: Turns Your WLAN Card into a WPA capable Access Point
Version: 0.5.8
Release: 1
Release: 66
Group: Hardware/Wifi
License: BSD 3-Clause, GPL v2 or later, Dual licensed under GPL and BSD licence.
License: BSD 3-Clause; GPL v2 or later
BuildRoot: %{_tmppath}/%{name}-%{version}-build
#Provides:
#Requires:
#Conflicts:
URL: http://hostap.epitest.fi/
Autoreqprov: on
Url: http://hostap.epitest.fi/
AutoReqProv: on
Source: hostapd-%{version}.tar.bz2
Patch: hostapd.dif
@ -73,7 +73,9 @@ rm -rf $RPM_BUILD_ROOT
%doc ChangeLog COPYING README madwifi.conf wired.conf
%changelog
* Mon Jul 30 2007 - jg@suse.de
* Mon Jan 21 2008 cstender@suse.de
- fixed madwifi include dir (b.n.c #350982)
* Mon Jul 30 2007 jg@suse.de
- update to version 0.5.8, changes:
* updated driver_devicescape.c to build with the current
wireless-dev.git tree and net/d80211 changes
@ -85,7 +87,7 @@ rm -rf $RPM_BUILD_ROOT
* RADIUS server: added support for processing duplicate messages
(retransmissions from RADIUS client) by replying with the previous
reply
* Wed Mar 14 2007 - jg@suse.de
* Wed Mar 14 2007 jg@suse.de
- split off hostapd in its own package
- update to version 0.5.7, changes (shortened):
* fixed EAP-PSK bit ordering of the Flags field
@ -117,7 +119,7 @@ rm -rf $RPM_BUILD_ROOT
* added support for EAP expanded type (vendor specific EAP methods)
* added support for using EAP-SIM pseudonyms and fast re-authentication
* added support for EAP-AKA in the integrated EAP authenticator
* Mon Sep 18 2006 - jg@suse.de
* Mon Sep 18 2006 jg@suse.de
- hostap-utils: Fixed usage of uninitialised variable (bug 184410)
- hostapd: Update to version 0.4.9, changes:
* added a new configuration option, eapol_version, that can be
@ -128,13 +130,13 @@ rm -rf $RPM_BUILD_ROOT
* fixed stdarg use in hostapd_logger(): if both stdout and syslog
logging was enabled, hostapd could trigger a segmentation fault
in vsyslog on some CPU -- C library combinations
* Sun Feb 05 2006 - ro@suse.de
* Sun Feb 05 2006 ro@suse.de
- use madwifi-devel in BuildRequires
* Sun Feb 05 2006 - aj@suse.de
* Sun Feb 05 2006 aj@suse.de
- Remove BuildRequires on km_wlan.
* Wed Jan 25 2006 - mls@suse.de
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Mon Nov 21 2005 - jg@suse.de
* Mon Nov 21 2005 jg@suse.de
- hostapd: update to 0.4.7, changes:
* driver_wired: fixed EAPOL sending to optionally use PAE group
address as the destination instead of supplicant MAC address
@ -145,9 +147,9 @@ rm -rf $RPM_BUILD_ROOT
- hostapd: updated config file
- hostap-utils: update to 0.4.7 (no changes)
- use %%{jobs}
* Tue Nov 08 2005 - jg@suse.de
* Tue Nov 08 2005 jg@suse.de
- do not build as root
* Fri Nov 04 2005 - jg@suse.de
* Fri Nov 04 2005 jg@suse.de
- hostapd, update to 0.4.6, changes:
* added support for replacing user identity from EAP with RADIUS
User-Name attribute from Access-Accept message, if that is included,
@ -163,7 +165,7 @@ rm -rf $RPM_BUILD_ROOT
two EAP-Response/Identity frames to the authentication server
- hostapd: added support for madwifi-ng
- removed hostap-driver, is part of the kernel now
* Thu Oct 13 2005 - jg@suse.de
* Thu Oct 13 2005 jg@suse.de
- hostapd: update to 0.4.5, changes (shortened):
* added client CA list to the TLS certificate request in order to
make it easier for the client to select which certificate to use
@ -180,9 +182,9 @@ rm -rf $RPM_BUILD_ROOT
- hostap-driver: update to 0.4.5, changes:
* added support for WE-19
- hostap-utils: update to 0.4.0 (no real changes)
* Thu Sep 08 2005 - jg@suse.de
* Thu Sep 08 2005 jg@suse.de
- fixed file permissions
* Mon Aug 22 2005 - jg@suse.de
* Mon Aug 22 2005 jg@suse.de
- hostap-driver: update to 0.4.4, changes:
* added support for pcmcia changes in Linux 2.6.13
* added support for creating sysfs device files (Linux 2.6.x)
@ -194,9 +196,9 @@ rm -rf $RPM_BUILD_ROOT
authentication success rate with some APs that send EAPOL frames
very quickly after the (re)association response)
* added support for setting channel mask for scan requests
* Sun Aug 07 2005 - ro@suse.de
* Sun Aug 07 2005 ro@suse.de
- fix build with current wireless drivers
* Mon Jul 11 2005 - jg@suse.de
* Mon Jul 11 2005 jg@suse.de
- hostapd: update to 0.3.9, changes:
* fixed a bug which caused some RSN pre-authentication cases to
use freed memory and potentially crash hostapd
@ -214,23 +216,23 @@ rm -rf $RPM_BUILD_ROOT
* fixed background scans (iwlist wlan0 scan) not to break data
connection when in host_roaming 2 mode
* fixed beacon frame when moving from monitor mode to master mode
* Wed Jun 08 2005 - meissner@suse.de
* Wed Jun 08 2005 meissner@suse.de
- adjust hostapd/Makefile to be able to correctly
get passed RPM_OPT_FLAGS.
* Wed Jun 08 2005 - meissner@suse.de
* Wed Jun 08 2005 meissner@suse.de
- Use RPM_OPT_FLAGS.
* Fri Mar 11 2005 - jg@suse.de
* Fri Mar 11 2005 jg@suse.de
- hostap-driver:
* create sysfs links for ethernet device, not IEEE80211 device
* disabled sysfs links for hostap_cs, as it breaks association
* Thu Feb 24 2005 - jg@suse.de
* Thu Feb 24 2005 jg@suse.de
- hostap-driver: fixed sysfs support
* Mon Feb 14 2005 - jg@suse.de
* Mon Feb 14 2005 jg@suse.de
- hostapd, hostap-utils, hostap-driver: update to 0.3.7 final
(no real changes, just version rename)
* Mon Feb 07 2005 - jg@suse.de
* Mon Feb 07 2005 jg@suse.de
- disabled support for madwifi on non x86(-64) platforms
* Mon Feb 07 2005 - jg@suse.de
* Mon Feb 07 2005 jg@suse.de
- hostapd: update to version 0.3.7-pre, changes (shortened):
* added support for configuring a forced PEAP version based on
the Phase 1 identity
@ -291,7 +293,7 @@ rm -rf $RPM_BUILD_ROOT
* added support for Linux wireless extension v17
- hostap-utils: update to version 0.3.7-pre (no changes)
- added all example configuration files
* Thu Jan 13 2005 - jg@suse.de
* Thu Jan 13 2005 jg@suse.de
- hostapd: update to version 0.2.6, changes:
* fixed RADIUS accounting to generate a new session id for cases
where a station reassociates without first being complete
@ -306,7 +308,7 @@ rm -rf $RPM_BUILD_ROOT
* split_combined_hex: updated to use head/tail -n argument
- hostap-driver: update to version 0.2.6, changes:
* added support for changed PCI API in Linux 2.6.10-rc1 and newer
* Tue Nov 02 2004 - jg@suse.de
* Tue Nov 02 2004 jg@suse.de
- hostapd: update to version 0.2.5, changes:
* fixed EAPOL reauthentication to trigger WPA/WPA2
reauthentication
@ -326,13 +328,13 @@ rm -rf $RPM_BUILD_ROOT
cases which could prevent packet bridging with new kernel
versions
- hostap-driver: enabled support for non-volatile firmware download
* Fri Oct 01 2004 - jg@suse.de
* Fri Oct 01 2004 jg@suse.de
- fixed sysfs device/driver links (bug 46633)
* Mon Aug 09 2004 - jg@suse.de
* Mon Aug 09 2004 jg@suse.de
- fixed filelist
* Fri Aug 06 2004 - jg@suse.de
* Fri Aug 06 2004 jg@suse.de
- do not install /etc/pcmcia/hostap_cs.conf.example anymore
* Thu Jul 29 2004 - jg@suse.de
* Thu Jul 29 2004 jg@suse.de
- update hostapd to 0.2.4:
* fixed some accounting cases where Accounting-Start was sent
when IEEE 802.1X port was being deauthorized
@ -368,7 +370,7 @@ rm -rf $RPM_BUILD_ROOT
HOSTAP_USE_CRYPTO_API)
* fixed a buffer overflow in TKIP encryption (hostap_crypt_tkip
module) on big endian hosts
* Mon May 17 2004 - jg@suse.de
* Mon May 17 2004 jg@suse.de
- update hostapd to 0.2.1 (shortened):
* added WPA and IEEE 802.11i/RSN (WPA2) Authenticator
functionality
@ -412,15 +414,15 @@ rm -rf $RPM_BUILD_ROOT
* added minimal support for ethtool
- fixed bug in hostap-driver Makefile which prevented hostap_cs.ko
from being built
* Sat Apr 03 2004 - jg@suse.de
* Sat Apr 03 2004 jg@suse.de
- fixed sysfs support in hostap driver (bug #37278)
* Tue Mar 30 2004 - jg@suse.de
* Tue Mar 30 2004 jg@suse.de
- skipping build for UM kernels (bug #37448)
- skipping build of hostap_cs in case PCMCIA is disabled in the
kernel config (also bug #37448)
* Tue Mar 02 2004 - jg@suse.de
* Tue Mar 02 2004 jg@suse.de
- typo fix in makefile
* Sun Feb 29 2004 - jg@suse.de
* Sun Feb 29 2004 jg@suse.de
- update to hostapd-0.1.3, changes:
* fixed event loop to call signal handlers only after returning from
the real signal handler
@ -454,9 +456,9 @@ rm -rf $RPM_BUILD_ROOT
to use correct start address
- added driver race condition fix from hostap CVS
- rewrote driver Makefile
* Mon Jan 26 2004 - jg@suse.de
* Mon Jan 26 2004 jg@suse.de
- removed kernel-source from neededforbuild
* Fri Jan 09 2004 - jg@suse.de
* Fri Jan 09 2004 jg@suse.de
- driver update to version 0.1.2, from ChangeLog
* fixed RTS and Fragmentation thresholds after hw reset
* fixed Managed/Ad-hoc mode authentication with Open System
@ -484,9 +486,9 @@ rm -rf $RPM_BUILD_ROOT
* added support for merging two srec file (Primary and Secondary(STA)
firmware) into one non-volatile (flash) download
- hostapd update to version 0.1.0
* Mon Sep 08 2003 - agruen@suse.de
* Mon Sep 08 2003 agruen@suse.de
- km_hostap-HZ.diff: Adapt to dynamic-hz kernel patch.
* Mon Jul 28 2003 - jg@suse.de
* Mon Jul 28 2003 jg@suse.de
- update to version 0.0.4, from ChangeLog (shortened)
* moved non-hardware specific RX code from hostap_hw.c into a new file,
hostap_80211_rx.c and removed Prism2 RX descriptor dependency from
@ -514,7 +516,7 @@ rm -rf $RPM_BUILD_ROOT
* added support for manual scan and roaming mode (managed/ad-hoc);
* process beacon frames in kernel driver even when hostapd is used
* removed TX power controlling (iwconfig txpower)
* Tue Jun 17 2003 - jg@suse.de
* Tue Jun 17 2003 jg@suse.de
- added directory /usr/src/kernel-modules to filelist
* Wed Jun 04 2003 - jg@suse.de
* Wed Jun 04 2003 jg@suse.de
- Initial package