]> git.pld-linux.org Git - packages/wpa_supplicant.git/commitdiff
- build and install eapol_test
authorPaweł Gołaszewski <blues@pld-linux.org>
Fri, 24 Oct 2008 14:19:09 +0000 (14:19 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    wpa_supplicant.spec -> 1.57

wpa_supplicant.spec

index 59840912bd504db50c569292d1a242a75fd71226..2e7e1b5a8d76a2c954509245ddcba45f1727ff82 100644 (file)
@@ -19,7 +19,7 @@ Summary:      Linux WPA/WPA2/RSN/IEEE 802.1X supplicant
 Summary(pl.UTF-8):     Suplikant WPA/WPA2/RSN/IEEE 802.1X dla Linuksa
 Name:          wpa_supplicant
 Version:       0.6.4
-Release:       1
+Release:       2
 License:       GPL v2
 Group:         Networking
 Source0:       http://hostap.epitest.fi/releases/%{name}-%{version}.tar.gz
@@ -30,6 +30,8 @@ Source3:      %{name}-dbus.service
 Patch0:                %{name}-makefile.patch
 Patch1:                %{name}-0.4.7_dscape-02.patch
 Patch2:                %{name}-OPTCFLAGS.patch
+# http://www.eduroam.pl/index.php?page=wpa_suplicant_patch:
+#Patch3:               %{name}-rfc4372.patch
 URL:           http://hostap.epitest.fi/wpa_supplicant/
 %{?with_dbus:BuildRequires:    dbus-devel}
 %{?with_madwifi:BuildRequires: madwifi-devel}
@@ -105,6 +107,7 @@ Graficzny interfejs suplikanta WPA/WPA2/RSN/IEEE 802.1X dla Linuksa.
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
+#%patch3 -p1
 
 install %{SOURCE1} wpa_supplicant/.config
 
@@ -122,6 +125,12 @@ echo 'CONFIG_DRIVER_MADWIFI=y' >> wpa_supplicant/.config
        LDFLAGS="%{rpmldflags}" \
        OPTCFLAGS="%{rpmcflags}"
 
+# eapol_test:
+%{__make} -C wpa_supplicant eapol_test \
+       CC="%{__cc}" \
+       LDFLAGS="%{rpmldflags}" \
+       OPTCFLAGS="%{rpmcflags}"
+
 %if %{with gui}
 cd wpa_supplicant/wpa_gui-qt4
 qmake-qt4 -o Makefile wpa_gui.pro
@@ -156,6 +165,8 @@ install wpa_supplicant/wpa_gui-qt4/wpa_gui $RPM_BUILD_ROOT%{_bindir}
 install %{SOURCE2} $RPM_BUILD_ROOT%{_desktopdir}/wpa_gui.desktop
 %endif
 
+install wpa_supplicant/eapol_test $RPM_BUILD_ROOT%{_bindir}
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -165,6 +176,7 @@ rm -rf $RPM_BUILD_ROOT
 %doc wpa_supplicant/{*wpa_supplicant.conf,examples}
 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.conf
 %attr(755,root,root) %{_sbindir}/*
+%attr(755,root,root) %{_bindir}/eapol_test
 %attr(750,root,root) %dir /var/run/%{name}
 %{_mandir}/man[58]/*
 %if %{with dbus}
This page took 0.11242 seconds and 4 git commands to generate.