[packages/wpa_supplicant] enable CONFIG_DEBUG_FILE for -f option to work

glen glen at pld-linux.org
Sat Sep 1 21:07:50 CEST 2012


commit 8b73356c26637f32eaf0651ed2d1464c7a98f10a
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Sat Sep 1 22:07:33 2012 +0300

    enable CONFIG_DEBUG_FILE for -f option to work

 wpa_supplicant.config | 2 +-
 wpa_supplicant.spec   | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/wpa_supplicant.spec b/wpa_supplicant.spec
index 69cbf8d..bdc8708 100644
--- a/wpa_supplicant.spec
+++ b/wpa_supplicant.spec
@@ -17,7 +17,7 @@ Summary(pl.UTF-8):	Suplikant WPA/WPA2/RSN/IEEE 802.1X dla Linuksa
 Name:		wpa_supplicant
 Version:	1.0
 # TODO: systemd post macros
-Release:	2.1
+Release:	2.2
 License:	GPL v2
 Group:		Networking
 Source0:	http://hostap.epitest.fi/releases/%{name}-%{version}.tar.gz
@@ -142,7 +142,7 @@ Pliki programistyczne dla biblioteki eap.
 
 %{__sed} -i -e 's, at LIB@,%{_lib},' src/eap_peer/libeap0.pc
 
-install %{SOURCE1} wpa_supplicant/.config
+cp -p %{SOURCE1} wpa_supplicant/.config
 
 %if %{with dbus}
 echo 'CONFIG_CTRL_IFACE_DBUS=y' >> wpa_supplicant/.config
diff --git a/wpa_supplicant.config b/wpa_supplicant.config
index 5d0c3e3..d9ee6b7 100644
--- a/wpa_supplicant.config
+++ b/wpa_supplicant.config
@@ -324,7 +324,7 @@ CONFIG_IEEE80211W=y
 CONFIG_IEEE80211R=y
 
 # Add support for writing debug log to a file (/tmp/wpa_supplicant-log-#.txt)
-#CONFIG_DEBUG_FILE=y
+CONFIG_DEBUG_FILE=y
 
 # Send debug messages to syslog instead of stdout
 #CONFIG_DEBUG_SYSLOG=y
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/wpa_supplicant.git/commitdiff/8b73356c26637f32eaf0651ed2d1464c7a98f10a



More information about the pld-cvs-commit mailing list