2006-01-27 06:08:29 +00:00
|
|
|
Summary: WPA/WPA2/IEEE 802.1X Supplicant
|
|
|
|
Name: wpa_supplicant
|
2006-02-27 07:46:47 +00:00
|
|
|
Epoch: 1
|
2006-10-27 19:17:07 +00:00
|
|
|
Version: 0.4.9
|
|
|
|
Release: 1%{?dist}
|
2006-01-27 06:08:29 +00:00
|
|
|
License: GPL
|
|
|
|
Group: System Environment/Base
|
|
|
|
Source0: http://hostap.epitest.fi/releases/%{name}-%{version}.tar.gz
|
|
|
|
Source1: %{name}.config
|
|
|
|
Source2: %{name}.conf
|
|
|
|
Source3: %{name}.init.d
|
|
|
|
Source4: %{name}.sysconfig
|
2006-04-27 14:11:49 +00:00
|
|
|
Source5: madwifi-headers-r1475.tar.bz2
|
2006-10-27 19:17:07 +00:00
|
|
|
Patch0: wpa_supplicant-ctrl-iface-ap-scan.patch
|
|
|
|
Patch1: wpa_supplicant-assoc-timeout.patch
|
|
|
|
Patch2: wpa_supplicant-driver-wext-debug.patch
|
|
|
|
Patch3: wpa_supplicant-wep-key-fix.patch
|
|
|
|
Patch4: wpa_supplicant-0.4.8-madwifi-ioctl-reorder.patch
|
2006-01-27 06:08:29 +00:00
|
|
|
URL: http://hostap.epitest.fi/wpa_supplicant/
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
|
|
|
|
BuildRequires: qt-devel
|
2006-03-03 20:20:33 +00:00
|
|
|
BuildRequires: openssl-devel
|
|
|
|
BuildRequires: readline-devel
|
|
|
|
|
|
|
|
PreReq: chkconfig
|
2006-01-27 06:08:29 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
wpa_supplicant is a WPA Supplicant for Linux, BSD and Windows with support
|
|
|
|
for WPA and WPA2 (IEEE 802.11i / RSN). Supplicant is the IEEE 802.1X/WPA
|
|
|
|
component that is used in the client stations. It implements key negotiation
|
|
|
|
with a WPA Authenticator and it controls the roaming and IEEE 802.11
|
|
|
|
authentication/association of the wlan driver.
|
|
|
|
|
|
|
|
%package gui
|
|
|
|
Summary: Graphical User Interface for %{name}
|
|
|
|
Group: Application/System
|
|
|
|
|
|
|
|
%description gui
|
|
|
|
Graphical User Interface for wpa_supplicant written using QT3
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
2006-10-27 19:17:07 +00:00
|
|
|
%patch0 -p1 -b .ap-scan
|
|
|
|
%patch1 -p1 -b .assoc-timeout
|
|
|
|
%patch2 -p1 -b .driver-wext-debug
|
|
|
|
%patch3 -p1 -b .wep-key-fix
|
|
|
|
%patch4 -p1 -b .madwifi-ioctl-reorder
|
2006-01-27 06:08:29 +00:00
|
|
|
|
|
|
|
%build
|
|
|
|
cp %{SOURCE1} ./.config
|
|
|
|
tar -xjf %{SOURCE5}
|
|
|
|
make %{_smp_mflags}
|
2006-01-27 06:28:35 +00:00
|
|
|
QTDIR=%{_libdir}/qt-3.3 make wpa_gui %{_smp_mflags}
|
2006-01-27 06:08:29 +00:00
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
|
|
|
|
# init scripts
|
2006-02-12 06:07:03 +00:00
|
|
|
install -d %{buildroot}/%{_sysconfdir}/rc.d/init.d
|
2006-01-27 06:08:29 +00:00
|
|
|
install -d %{buildroot}/%{_sysconfdir}/sysconfig
|
2006-02-12 06:07:03 +00:00
|
|
|
install -m 0755 %{SOURCE3} %{buildroot}/%{_sysconfdir}/rc.d/init.d/%{name}
|
2006-01-27 06:08:29 +00:00
|
|
|
install -m 0644 %{SOURCE4} %{buildroot}/%{_sysconfdir}/sysconfig/%{name}
|
|
|
|
|
|
|
|
# config
|
|
|
|
install -d %{buildroot}/%{_sysconfdir}/%{name}
|
|
|
|
install -m 0600 %{SOURCE2} %{buildroot}/%{_sysconfdir}/%{name}
|
|
|
|
|
|
|
|
# binary
|
|
|
|
install -d %{buildroot}/%{_sbindir}
|
2006-03-01 15:31:08 +00:00
|
|
|
install -m 0755 -s wpa_passphrase %{buildroot}/%{_sbindir}
|
2006-01-27 06:08:29 +00:00
|
|
|
install -m 0755 -s wpa_cli %{buildroot}/%{_sbindir}
|
|
|
|
install -m 0755 -s wpa_supplicant %{buildroot}/%{_sbindir}
|
|
|
|
|
|
|
|
# gui
|
|
|
|
install -d %{buildroot}/%{_bindir}
|
|
|
|
install -m 0755 -s wpa_gui/wpa_gui %{buildroot}/%{_bindir}
|
|
|
|
|
|
|
|
# running
|
|
|
|
mkdir -p %{buildroot}/%{_localstatedir}/run/%{name}
|
|
|
|
|
2006-02-12 22:51:54 +00:00
|
|
|
# man pages
|
|
|
|
install -d %{buildroot}%{_mandir}/man{5,8}
|
|
|
|
install -m 0644 doc/docbook/*.8 %{buildroot}%{_mandir}/man8
|
|
|
|
install -m 0644 doc/docbook/*.5 %{buildroot}%{_mandir}/man5
|
|
|
|
|
|
|
|
# some cleanup in docs
|
|
|
|
rm -f doc/.cvsignore
|
|
|
|
rm -rf doc/docbook
|
|
|
|
|
|
|
|
|
2006-01-27 06:08:29 +00:00
|
|
|
%clean
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
|
|
|
|
%post
|
|
|
|
if [ $1 = 1 ]; then
|
|
|
|
chkconfig --add %{name}
|
|
|
|
fi
|
|
|
|
|
|
|
|
%preun
|
|
|
|
if [ $1 = 0 ]; then
|
|
|
|
service %{name} stop > /dev/null 2>&1
|
|
|
|
/sbin/chkconfig --del %{name}
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-, root, root)
|
2006-10-27 19:17:07 +00:00
|
|
|
%doc COPYING ChangeLog README README-Windows.txt eap_testing.txt todo.txt wpa_supplicant.conf examples
|
2006-01-27 06:08:29 +00:00
|
|
|
%config(noreplace) %{_sysconfdir}/%{name}/%{name}.conf
|
|
|
|
%config(noreplace) %{_sysconfdir}/sysconfig/%{name}
|
2006-02-12 06:07:03 +00:00
|
|
|
%{_sysconfdir}/rc.d/init.d/%{name}
|
2006-03-01 15:31:08 +00:00
|
|
|
%{_sbindir}/wpa_passphrase
|
2006-01-27 06:08:29 +00:00
|
|
|
%{_sbindir}/wpa_supplicant
|
|
|
|
%{_sbindir}/wpa_cli
|
2006-03-03 20:20:33 +00:00
|
|
|
%dir %{_localstatedir}/run/%{name}
|
|
|
|
%dir %{_sysconfdir}/%{name}
|
2006-02-12 22:51:54 +00:00
|
|
|
%{_mandir}/man8/*
|
|
|
|
%{_mandir}/man5/*
|
2006-01-27 06:08:29 +00:00
|
|
|
|
|
|
|
%files gui
|
|
|
|
%defattr(-, root, root)
|
|
|
|
%{_bindir}/wpa_gui
|
|
|
|
|
|
|
|
%changelog
|
2006-10-27 19:17:07 +00:00
|
|
|
* Mon Oct 27 2006 Dan Williams <dcbw@redhat.com> - 0.4.9-1
|
|
|
|
- Update to 0.4.9 for WE-21 fixes, remove upstreamed patches
|
|
|
|
- Don't package doc/ because they aren't actually wpa_supplicant user documentation,
|
|
|
|
and becuase it pulls in perl
|
|
|
|
|
2006-07-12 17:07:06 +00:00
|
|
|
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 0.4.8-10.1
|
2006-07-12 08:50:47 +00:00
|
|
|
- rebuild
|
|
|
|
|
2006-04-27 14:11:49 +00:00
|
|
|
* Thu Apr 27 2006 Dan Williams <dcbw@redhat.com> - 0.4.8-10
|
|
|
|
- Add fix for madwifi and WEP (wpa_supplicant/hostap bud #140) (#rh190075#)
|
|
|
|
- Fix up madwifi-ng private ioctl()s for r1331 and later
|
|
|
|
- Update madwifi headers to r1475
|
|
|
|
|
2006-04-25 14:17:01 +00:00
|
|
|
* Tue Apr 25 2006 Dan Williams <dcbw@redhat.com> - 0.4.8-9
|
|
|
|
- Enable Wired driver, PKCS12, and Smartcard options (#rh189805#)
|
|
|
|
|
2006-04-25 14:09:50 +00:00
|
|
|
* Tue Apr 11 2006 Dan Williams <dcbw@redhat.com> - 0.4.8-8
|
|
|
|
- Fix control interface key obfuscation a bit
|
|
|
|
|
2006-04-02 15:05:15 +00:00
|
|
|
* Sun Apr 2 2006 Dan Williams <dcbw@redhat.com> - 0.4.8-7
|
|
|
|
- Work around older & incorrect drivers that return null-terminated SSIDs
|
|
|
|
|
2006-03-27 19:06:52 +00:00
|
|
|
* Mon Mar 27 2006 Dan Williams <dcbw@redhat.com> - 0.4.8-6
|
|
|
|
- Add patch to make orinoco happy with WEP keys
|
|
|
|
- Enable Prism54-specific driver
|
|
|
|
- Disable ipw-specific driver; ipw2x00 should be using WEXT instead
|
|
|
|
|
2006-03-04 07:24:19 +00:00
|
|
|
* Fri Mar 3 2006 Dan Williams <dcbw@redhat.com> - 0.4.8-5
|
|
|
|
- Increase association timeout, mainly for drivers that don't
|
|
|
|
fully support WPA ioctls yet
|
|
|
|
|
2006-03-03 20:20:33 +00:00
|
|
|
* Fri Mar 3 2006 Dan Williams <dcbw@redhat.com> - 0.4.8-4
|
|
|
|
- Add additional BuildRequires #rh181914#
|
|
|
|
- Add prereq on chkconfig #rh182905# #rh182906#
|
|
|
|
- Own /var/run/wpa_supplicant and /etc/wpa_supplicant #rh183696#
|
|
|
|
|
2006-03-01 15:31:08 +00:00
|
|
|
* Wed Mar 1 2006 Dan Williams <dcbw@redhat.com> - 0.4.8-3
|
|
|
|
- Install wpa_passphrase too #rh183480#
|
|
|
|
|
2006-02-28 05:03:44 +00:00
|
|
|
* Mon Feb 27 2006 Dan Williams <dcbw@redhat.com> - 0.4.8-2
|
|
|
|
- Don't expose private data on the control interface unless requested
|
|
|
|
|
2006-02-27 07:46:47 +00:00
|
|
|
* Fri Feb 24 2006 Dan Williams <dcbw@redhat.com> - 0.4.8-1
|
|
|
|
- Downgrade to 0.4.8 stable release rather than a dev release
|
|
|
|
|
2006-02-12 22:51:54 +00:00
|
|
|
* Sun Feb 12 2006 Dan Williams <dcbw@redhat.com> - 0.5.1-3
|
|
|
|
- Documentation cleanup (Terje Rosten <terje.rosten@ntnu.no>)
|
|
|
|
|
2006-02-12 06:07:03 +00:00
|
|
|
* Sun Feb 12 2006 Dan Williams <dcbw@redhat.com> - 0.5.1-2
|
|
|
|
- Move initscript to /etc/rc.d/init.d
|
|
|
|
|
2006-02-11 06:06:12 +00:00
|
|
|
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 0.5.1-1.2
|
|
|
|
- bump again for double-long bug on ppc(64)
|
|
|
|
|
2006-02-07 14:15:37 +00:00
|
|
|
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 0.5.1-1.1
|
|
|
|
- rebuilt for new gcc4.1 snapshot and glibc changes
|
|
|
|
|
2006-02-06 00:07:16 +00:00
|
|
|
* Sun Feb 5 2006 Dan Williams <dcbw@redhat.com> 0.5.1-1
|
|
|
|
- Update to 0.5.1
|
|
|
|
- Add WE auth fallback to actually work with older drivers
|
|
|
|
|
2006-01-27 06:08:29 +00:00
|
|
|
* Thu Jan 26 2006 Dan Williams <dcbw@redhat.com> 0.4.7-2
|
|
|
|
- Bring package into Fedora Core
|
|
|
|
- Add ap_scan control interface patch
|
|
|
|
- Enable madwifi-ng driver
|
|
|
|
|
|
|
|
* Sun Jan 15 2006 Douglas E. Warner <silfreed@silfreed.net> 0.4.7-1
|
|
|
|
- upgrade to 0.4.7
|
|
|
|
- added package w/ wpa_gui in it
|
|
|
|
|
|
|
|
* Mon Nov 14 2005 Douglas E. Warner <silfreed@silfreed.net> 0.4.6-1
|
|
|
|
- upgrade to 0.4.6
|
|
|
|
- adding ctrl interface changes recommended
|
|
|
|
by Hugo Paredes <hugo.paredes@e-know.org>
|
|
|
|
|
|
|
|
* Sun Oct 9 2005 Douglas E. Warner <silfreed@silfreed.net> 0.4.5-1
|
|
|
|
- upgrade to 0.4.5
|
|
|
|
- updated config file wpa_supplicant is built with
|
|
|
|
especially, the ipw2100 driver changed to just ipw
|
|
|
|
and enabled a bunch more EAP
|
|
|
|
- disabled dist tag
|
|
|
|
|
|
|
|
* Thu Jun 30 2005 Douglas E. Warner <silfreed@silfreed.net> 0.4.2-3
|
|
|
|
- fix typo in init script
|
|
|
|
|
|
|
|
* Thu Jun 30 2005 Douglas E. Warner <silfreed@silfreed.net> 0.4.2-2
|
|
|
|
- fixing init script using fedora-extras' template
|
|
|
|
- removing chkconfig default startup
|
|
|
|
|
|
|
|
* Tue Jun 21 2005 Douglas E. Warner <silfreed@silfreed.net> 0.4.2-1
|
|
|
|
- upgrade to 0.4.2
|
|
|
|
- new sample conf file that will use any unrestricted AP
|
|
|
|
- make sysconfig config entry
|
|
|
|
- new BuildRoot for Fedora Extras
|
|
|
|
- adding dist tag to Release
|
|
|
|
|
|
|
|
* Fri May 06 2005 Douglas E. Warner <silfreed@silfreed.net> 0.3.8-1
|
|
|
|
- upgrade to 0.3.8
|
|
|
|
|
|
|
|
* Thu Feb 10 2005 Douglas E. Warner <silfreed@silfreed.net> 0.3.6-2
|
|
|
|
- compile ipw driver in
|
|
|
|
|
|
|
|
* Wed Feb 09 2005 Douglas E. Warner <silfreed@silfreed.net> 0.3.6-1
|
|
|
|
- upgrade to 0.3.6
|
|
|
|
|
|
|
|
* Thu Dec 23 2004 Douglas E. Warner <silfreed@silfreed.net> 0.2.5-4
|
|
|
|
- fixing init script
|
|
|
|
|
|
|
|
* Mon Dec 20 2004 Douglas E. Warner <silfreed@silfreed.net> 0.2.5-3
|
|
|
|
- fixing init script
|
|
|
|
- adding post/preun items to add/remove via chkconfig
|
|
|
|
|
|
|
|
* Mon Dec 20 2004 Douglas E. Warner <silfreed@silfreed.net> 0.2.5-2
|
|
|
|
- adding sysV scripts
|
|
|
|
|
|
|
|
* Mon Dec 20 2004 Douglas E. Warner <silfreed@silfreed.net> 0.2.5-1
|
|
|
|
- Initial RPM release.
|
|
|
|
|