Summary: WPA/WPA2/IEEE 802.1X Supplicant Name: wpa_supplicant Version: 0.7.3 Release: 4%{?_dist_release} License: BSD Group: System Environment/Base URL: http://w1.fi/wpa_supplicant/ Source0: http://hostap.epitest.fi/releases/%{name}-%{version}.tar.gz Source1: %{name}.build-config Source2: %{name}.conf Source3: %{name}.init.d Source4: %{name}.sysconfig Source6: %{name}.logrotate # import from Fedora package # distro specific customization and not suitable for upstream, # works around busted drivers Patch0: wpa_supplicant-assoc-timeout.patch # ensures that debug output gets flushed immediately to help diagnose driver # bugs, not suitable for upstream Patch1: wpa_supplicant-flush-debug-output.patch # disto specific customization for log paths, not suitable for upstream Patch2: wpa_supplicant-dbus-service-file-args.patch # quiet an annoying and frequent syslog message Patch3: wpa_supplicant-quiet-scan-results-message.patch # recover from streams of driver disconnect messages (iwl3945) Patch4: wpa_supplicant-squelch-driver-disconnect-spam.patch # allow more private key encryption algorithms Patch5: wpa_supplicant-openssl-more-algs.patch # Send PropertyChanged notificationes when the BSS list changes Patch6: wpa_supplicant-bss-changed-prop-notify.patch # Don't crash trying to pass NULL to dbus Patch7: wpa_supplicant-dbus-null-error.patch # Fix signal quality reporting for some drivers when using nl80211 Patch8: rh752032-0001-nl80211-Fix-UNSPEC-signal-quality-reporting.patch # Be less aggressive when choosing to roam (rh #837402) Patch50: rh837402-less-aggressive-roaming.patch # Fixes for CVE-2015-0210 (wpa_supplicant: broken certificate subject check) Patch51: rh1186806-0001-dbus_server_cert_info.patch Patch52: rh1186806-0002-move_calls_to_notify.patch Patch53: rh1186806-0003-write_server_cert.patch Patch54: rh1186806-0004-domain_match.patch Patch55: rh1186806-0005-cert_in_cb.patch # Fix integer underflow in WMM Action frame parser: rh #1221178 Patch56: 0056-rh1221178-fix-int-unferflow-AP-WMM.patch # Do not quote values for scan_freq and freq_list: rh #1254486 Patch57: rh1254486-dont-qoute-scan_freq-and-freq_list.patch # Deauthenticate on reconfiguration: rh #1359044 Patch59: 0058-rh1359044-Deauthenticate-on-reconfiguration.patch # KRACK Patch60: rh1495530-0001-Clear-TK-part-of-PTK-after-driver-key-configuration.patch Patch61: rh1495530-0002-Fix-TK-configuration-to-the-driver-in-EAPOL-Key-3-4-.patch Patch62: rh1495530-0003-Reduce-the-amount-of-time-PTK-TPTK-GTK-is-kept-in-me.patch Patch63: rh1495530-0004-Prevent-reinstallation-of-an-already-in-use-group-ke.patch Patch64: rh1495530-0005-Prevent-installation-of-an-all-zero-TK.patch Patch65: rh1495530-0006-Fix-PTK-rekeying-to-generate-a-new-ANonce.patch Patch66: rh1495530-0007-FT-Do-not-allow-multiple-Reassociation-Response-fram.patch Patch100: wpa_supplicant-0.7.3_gui-build-fix.patch BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRequires: qt4-devel BuildRequires: qt4-designer BuildRequires: openssl-devel BuildRequires: readline-devel BuildRequires: dbus-devel BuildRequires: libnl-devel Requires(post): chkconfig Requires(preun): chkconfig Vendor: Project Vine Distribution: Vine Linux %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} Summary(ja): wpa_supplicant のグラフィカルユーザインタフェース Group: Applications/System %description gui Graphical User Interface for wpa_supplicant written using QT4 %description -l ja gui QT4 を用いた wpa_supplicant のグラフィカルユーザインタフェース %prep %setup -q %patch0 -p1 -b .assoc-timeout %patch1 -p1 -b .flush-debug-output %patch2 -p1 -b .dbus-service-file %patch3 -p1 -b .quiet-scan-results-msg %patch4 -p1 -b .disconnect-spam %patch5 -p1 -b .more-openssl-algs %patch6 -p1 -b .bss-changed-prop-notify %patch7 -p1 -b .dbus-null %patch8 -p1 -b .unspec-qual %patch50 -p1 -b .less-agressive-roaming %patch51 -p1 -b .dbus-server-cert-info %patch52 -p1 -b .move-calls-to-notify %patch53 -p1 -b .write-server-cert %patch54 -p1 -b .domain-match %patch55 -p1 -b .cert-in-cb %patch56 -p1 -b .rh1221178-WMM-fix %patch57 -p1 -b .rh1254486-dont-qoute-scan_freq-and-freq_list %patch59 -p1 -b .deauthenticate-on-reconfiguration %patch60 -p1 -b .rh1495530-0001 %patch61 -p1 -b .rh1495530-0002 %patch62 -p1 -b .rh1495530-0003 %patch63 -p1 -b .rh1495530-0004 %patch64 -p1 -b .rh1495530-0005 %patch65 -p1 -b .rh1495530-0006 %patch66 -p1 -b .rh1495530-0007 %patch100 -p1 -b .gui %build pushd wpa_supplicant cp %{SOURCE1} ./.config CFLAGS="${CFLAGS:-%optflags}" ; export CFLAGS ; CXXFLAGS="${CXXFLAGS:-%optflags}" ; export CXXFLAGS ; make %{_smp_mflags} PATH=$PATH:%{_libdir}/qt4/bin QTDIR=%{_libdir}/qt4 make wpa_gui-qt4 %{_smp_mflags} popd %install rm -rf %{buildroot} # init scripts install -D -m 0755 %{SOURCE3} %{buildroot}/%{_sysconfdir}/rc.d/init.d/%{name} install -D -m 0644 %{SOURCE4} %{buildroot}/%{_sysconfdir}/sysconfig/%{name} install -D -m 0644 %{SOURCE6} %{buildroot}/%{_sysconfdir}/logrotate.d/%{name} # config install -D -m 0600 %{SOURCE2} %{buildroot}/%{_sysconfdir}/%{name}/%{name}.conf # binary install -d %{buildroot}/%{_sbindir} install -m 0755 %{name}/wpa_passphrase %{buildroot}/%{_sbindir} install -m 0755 %{name}/wpa_cli %{buildroot}/%{_sbindir} install -m 0755 %{name}/wpa_supplicant %{buildroot}/%{_sbindir} install -D -m 0644 %{name}/dbus/dbus-wpa_supplicant.conf %{buildroot}/%{_sysconfdir}/dbus-1/system.d/wpa_supplicant.conf install -D -m 0644 %{name}/dbus/fi.w1.wpa_supplicant1.service %{buildroot}/%{_datadir}/dbus-1/system-services/fi.w1.wpa_supplicant1.service install -D -m 0644 %{name}/dbus/fi.epitest.hostap.WPASupplicant.service %{buildroot}/%{_datadir}/dbus-1/system-services/fi.epitest.hostap.WPASupplicant.service # gui install -d %{buildroot}/%{_bindir} install -m 0755 %{name}/wpa_gui-qt4/wpa_gui %{buildroot}/%{_bindir} # running mkdir -p %{buildroot}/%{_localstatedir}/run/%{name} # man pages install -d %{buildroot}%{_mandir}/man{5,8} install -m 0644 %{name}/doc/docbook/*.8 %{buildroot}%{_mandir}/man8 install -m 0644 %{name}/doc/docbook/*.5 %{buildroot}%{_mandir}/man5 # some cleanup in docs rm -f %{name}/doc/.cvsignore rm -rf %{name}/doc/docbook %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 killall -TERM wpa_supplicant >/dev/null 2>&1 /sbin/chkconfig --del %{name} fi %files %defattr(-, root, root) %doc COPYING %{name}/ChangeLog README %{name}/eap_testing.txt %{name}/todo.txt %{name}/wpa_supplicant.conf %{name}/examples %config(noreplace) %{_sysconfdir}/%{name}/%{name}.conf %config(noreplace) %{_sysconfdir}/sysconfig/%{name} %config(noreplace) %{_sysconfdir}/logrotate.d/%{name} %{_sysconfdir}/rc.d/init.d/%{name} %{_sysconfdir}/dbus-1/system.d/%{name}.conf %{_datadir}/dbus-1/system-services/fi.epitest.hostap.WPASupplicant.service %{_datadir}/dbus-1/system-services/fi.w1.wpa_supplicant1.service %{_sbindir}/wpa_passphrase %{_sbindir}/wpa_supplicant %{_sbindir}/wpa_cli %dir %{_localstatedir}/run/%{name} %dir %{_sysconfdir}/%{name} %{_mandir}/man8/* %{_mandir}/man5/* %files gui %defattr(-, root, root) %{_bindir}/wpa_gui %changelog * Thu Oct 19 2017 Satoshi IWAMOTO 0.7.3-4 - add Vendor/Distri tags * Thu Oct 19 2017 Satoshi IWAMOTO 0.7.3-3 - add patch7,8 for sync cos6 - add patch50 - 66 for security fixes from cos6 - add patch100 gui build fix * Mon Jan 10 2011 Yoji TOYODA 0.7.3-2 - rebuild with openssl-1.0.0c - add BuildRequires: qt4-designer, libnl-devel * Thu Jan 06 2011 Daisuke SUZUKI 0.7.3-1 - new upstream release - update patches - change License to BSD due to linkage against OpsnSSL since there is no OpenSSL exception in upstream GPLv2 license text. - build with qt4 - update build config * Wed Jan 28 2009 Daisuke SUZUKI 0.6.4-1 - new upstream release - remove hostap/madwifi/prism54 drivers, use 'wext' instead. - drop upstream patches - import some fedora patches - Handle encryption keys correctly when switching 802.11 modes (rh #459399) - Better scanning behavior on resume from suspend/hibernate - Better interaction with newer kernels and drivers * Sun Aug 03 2008 Daisuke SUZUKI 0.6.3-2 - start wpa_supplicant by default. * Sun Aug 03 2008 Daisuke SUZUKI 0.6.3-1 - new upstream release - import some fedora patches * Thu May 17 2007 Daisuke SUZUKI 0.5.7-0vl2 - rebuild with new openssl * Mon May 14 2007 Daisuke SUZUKI 0.5.7-0vl1 - new upstream release * Wed Jun 21 2006 Daisuke SUZUKI 0.4.8-0vl1 - initial build for Vine Linux based on FC package. * Thu Apr 27 2006 Dan Williams - 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 * Tue Apr 25 2006 Dan Williams - 0.4.8-9 - Enable Wired driver, PKCS12, and Smartcard options (#rh189805#) * Tue Apr 11 2006 Dan Williams - 0.4.8-8 - Fix control interface key obfuscation a bit * Sun Apr 2 2006 Dan Williams - 0.4.8-7 - Work around older & incorrect drivers that return null-terminated SSIDs * Mon Mar 27 2006 Dan Williams - 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 * Fri Mar 3 2006 Dan Williams - 0.4.8-5 - Increase association timeout, mainly for drivers that don't fully support WPA ioctls yet * Fri Mar 3 2006 Dan Williams - 0.4.8-4 - Add additional BuildRequires #rh181914# - Add prereq on chkconfig #rh182905# #rh182906# - Own /var/run/wpa_supplicant and /etc/wpa_supplicant #rh183696# * Wed Mar 1 2006 Dan Williams - 0.4.8-3 - Install wpa_passphrase too #rh183480# * Mon Feb 27 2006 Dan Williams - 0.4.8-2 - Don't expose private data on the control interface unless requested * Fri Feb 24 2006 Dan Williams - 0.4.8-1 - Downgrade to 0.4.8 stable release rather than a dev release * Sun Feb 12 2006 Dan Williams - 0.5.1-3 - Documentation cleanup (Terje Rosten ) * Sun Feb 12 2006 Dan Williams - 0.5.1-2 - Move initscript to /etc/rc.d/init.d * Fri Feb 10 2006 Jesse Keating - 0.5.1-1.2 - bump again for double-long bug on ppc(64) * Tue Feb 07 2006 Jesse Keating - 0.5.1-1.1 - rebuilt for new gcc4.1 snapshot and glibc changes * Sun Feb 5 2006 Dan Williams 0.5.1-1 - Update to 0.5.1 - Add WE auth fallback to actually work with older drivers * Thu Jan 26 2006 Dan Williams 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 0.4.7-1 - upgrade to 0.4.7 - added package w/ wpa_gui in it * Mon Nov 14 2005 Douglas E. Warner 0.4.6-1 - upgrade to 0.4.6 - adding ctrl interface changes recommended by Hugo Paredes * Sun Oct 9 2005 Douglas E. Warner 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 0.4.2-3 - fix typo in init script * Thu Jun 30 2005 Douglas E. Warner 0.4.2-2 - fixing init script using fedora-extras' template - removing chkconfig default startup * Tue Jun 21 2005 Douglas E. Warner 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 0.3.8-1 - upgrade to 0.3.8 * Thu Feb 10 2005 Douglas E. Warner 0.3.6-2 - compile ipw driver in * Wed Feb 09 2005 Douglas E. Warner 0.3.6-1 - upgrade to 0.3.6 * Thu Dec 23 2004 Douglas E. Warner 0.2.5-4 - fixing init script * Mon Dec 20 2004 Douglas E. Warner 0.2.5-3 - fixing init script - adding post/preun items to add/remove via chkconfig * Mon Dec 20 2004 Douglas E. Warner 0.2.5-2 - adding sysV scripts * Mon Dec 20 2004 Douglas E. Warner 0.2.5-1 - Initial RPM release.