Summary: Host AP deamon. Name: hostapd Version: 0.6.0 %define madwifi_version 0.9.4 Release: 14%{?dist} License: GPL2 Group: System Environment/Kernel URL: http://hostap.epitest.fi/ Source0: http://hostap.epitest.fi/releases/%{name}-%{version}.tar.gz Source1: madwifi-%{madwifi_version}-r2431.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root BuildRequires: openssl-devel %description hostapd is an optional user space component for Host AP driver. It adds more features to the basic IEEE 802.11 management included in the kernel driver: using external RADIUS authentication server for MAC address based access control, IEEE 802.1X Authenticator and dynamic WEP keying, RADIUS accounting. %prep %setup -q -a 1 cp -a hostapd/defconfig hostapd/.config perl -pi -e's,#CONFIG_DRIVER_PRISM54=y,CONFIG_DRIVER_PRISM54=y,' hostapd/.config perl -pi -e's,#CONFIG_DRIVER_MADWIFI=y,CONFIG_DRIVER_MADWIFI=y,' hostapd/.config perl -pi -e's|#CFLAGS \+= -I../head .*|CFLAGS += %{optflags} -I/usr/kerberos/include -I../madwifi-%{madwifi_version}|' hostapd/.config %build cd hostapd/ make %install rm -rf %{buildroot} mkdir -p %{buildroot}%{_sbindir} mkdir -p %{buildroot}%{_sysconfdir}/ cp -a hostapd/hostapd %{buildroot}%{_sbindir}/ cp -a hostapd/hostapd.conf hostapd/hostapd.accept hostapd/hostapd.deny %{buildroot}%{_sysconfdir}/ %clean rm -rf %{buildroot} %files %defattr(-,root,root,-) %doc README COPYING hostapd/developer.txt %config(noreplace) %{_sysconfdir}/hostapd.* %{_sbindir}/hostapd %changelog * Sat Jun 23 2007 Angel Marin - Update to 0.6.0 - Update madwifi sources to 0.9.4-r2431 * Wed May 31 2006 Axel Thimm - Update to 0.4.9. - Update madwifi sources to 0.9.0. * Thu Feb 16 2006 Axel Thimm - Update to 0.4.8. * Sun Dec 11 2005 Axel Thimm - Update to 0.4.7. * Thu Oct 6 2005 Axel Thimm - Update to 0.3.9. * Sat Mar 5 2005 Axel Thimm - Update to 0.3.7. * Wed Jan 5 2005 Axel Thimm - Update to 0.2.6. * Sat Oct 16 2004 Axel Thimm - Update to 0.2.5. * Sat Jun 26 2004 Axel Thimm - Initial build.