SPECS: wpa_supplicant.spec - build and install eapol_test
blues
blues at pld-linux.org
Fri Oct 24 16:19:15 CEST 2008
Author: blues Date: Fri Oct 24 14:19:15 2008 GMT
Module: SPECS Tag: HEAD
---- Log message:
- build and install eapol_test
---- Files affected:
SPECS:
wpa_supplicant.spec (1.56 -> 1.57)
---- Diffs:
================================================================
Index: SPECS/wpa_supplicant.spec
diff -u SPECS/wpa_supplicant.spec:1.56 SPECS/wpa_supplicant.spec:1.57
--- SPECS/wpa_supplicant.spec:1.56 Fri Oct 17 13:16:24 2008
+++ SPECS/wpa_supplicant.spec Fri Oct 24 16:19:09 2008
@@ -20,7 +20,7 @@
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
@@ -31,6 +31,8 @@
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}
@@ -106,6 +108,7 @@
%patch0 -p1
%patch1 -p1
%patch2 -p1
+#%patch3 -p1
install %{SOURCE1} wpa_supplicant/.config
@@ -123,6 +126,12 @@
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
@@ -157,6 +166,8 @@
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
@@ -166,6 +177,7 @@
%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}
@@ -186,6 +198,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.57 2008/10/24 14:19:09 blues
+- build and install eapol_test
+
Revision 1.56 2008/10/17 11:16:24 arekm
- up to 0.6.4
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/wpa_supplicant.spec?r1=1.56&r2=1.57&f=u
More information about the pld-cvs-commit
mailing list