wpa_supplicant: add option to enable syslog support
PATCH 1/1 wpa_supplicant: add option to enable syslog support
Add an option to enable support for sending debug messages to syslog instead of stdout.
--- package/wpa_supplicant/wpa_supplicant.mk | 7 +++++++ 1 file changed, 7 insertions(+)
package/wpa_supplicant/wpa_supplicant.mk +7 -0
@@ -116,6 +116,12 @@ endef endif +ifeq ($(BR2_PACKAGE_WPA_SUPPLICANT_DEBUG_SYSLOG),y) +define WPA_SUPPLICANT_DEBUG_CONFIG + $(SED) 's/\(#\)\(CONFIG_DEBUG_SYSLOG.*\)/\2/' $(WPA_SUPPLICANT_CONFIG) +endef +endif + define WPA_SUPPLICANT_CONFIGURE_CMDS cp $(@D)/wpa_supplicant/defconfig $(WPA_SUPPLICANT_CONFIG) $(SED) 's/\(#\)\(CONFIG_HS20.*\)/\2/' $(WPA_SUPPLICANT_CONFIG)
@@ -133,6 +139,7 @@ define WPA_SUPPLICANT_CONFIGURE_CMDS $(WPA_SUPPLICANT_LIBNL_CONFIG) $(WPA_SUPPLICANT_DBUS_CONFIG) $(WPA_SUPPLICANT_AP_CONFIG) + $(WPA_SUPPLICANT_DEBUG_CONFIG) endef define WPA_SUPPLICANT_BUILD_CMDS
Signature · 1 line
1.8.3.2
PATCH 1/1 wpa_supplicant: add option to enable syslog support
Hi Sven,
Quoted 13 lines · Sven Neumann
Add an option to enable support for sending debug messages to syslog instead of stdout.
Signed-off-by Sven Neumann <[email protected]>--- package/wpa_supplicant/wpa_supplicant.mk | 7 +++++++ 1 file changed, 7 insertions(+)package/wpa_supplicant/wpa_supplicant.mk +0
-0
package/wpa_supplicant/wpa_supplicant.mk endef · line 119
Quoted 4 lines
package/wpa_supplicant/wpa_supplicant.mk +1
-0@@ -116,6 +116,12 @@ endef endif +ifeq ($(BR2_PACKAGE_WPA_SUPPLICANT_DEBUG_SYSLOG),y)
Where is this defined?
baruch
Quoted 18 lines
package/wpa_supplicant/wpa_supplicant.mk +6
-0+define WPA_SUPPLICANT_DEBUG_CONFIG + $(SED) 's/\(#\)\(CONFIG_DEBUG_SYSLOG.*\)/\2/' $(WPA_SUPPLICANT_CONFIG) +endef +endif + define WPA_SUPPLICANT_CONFIGURE_CMDS cp $(@D)/wpa_supplicant/defconfig $(WPA_SUPPLICANT_CONFIG) $(SED) 's/\(#\)\(CONFIG_HS20.*\)/\2/' $(WPA_SUPPLICANT_CONFIG)@@ -133,6 +139,7 @@ define WPA_SUPPLICANT_CONFIGURE_CMDS $(WPA_SUPPLICANT_LIBNL_CONFIG) $(WPA_SUPPLICANT_DBUS_CONFIG) $(WPA_SUPPLICANT_AP_CONFIG) + $(WPA_SUPPLICANT_DEBUG_CONFIG) endef define WPA_SUPPLICANT_BUILD_CMDSSignature · 1 line
1.8.3.2
Signature · 3 lines
http://baruch.siach.name/blog/ ~. .~ Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
- baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -PATCH 1/1 wpa_supplicant: add option to enable syslog support
Quoted 17 lines · Baruch Siach
Hi Sven,
Quoted 14 lines · Sven Neumann
Add an option to enable support for sending debug messages to syslog instead of stdout.
Signed-off-by Sven Neumann <[email protected]>--- package/wpa_supplicant/wpa_supplicant.mk | 7 +++++++ 1 file changed, 7 insertions(+)package/wpa_supplicant/wpa_supplicant.mk +0
-0@@ -116,6 +116,12 @@ endef
Quoted 5 lines
package/wpa_supplicant/wpa_supplicant.mk endef · line 119
Quoted 3 lines
package/wpa_supplicant/wpa_supplicant.mk +1
-0endif +ifeq ($(BR2_PACKAGE_WPA_SUPPLICANT_DEBUG_SYSLOG),y)Where is this defined?
I am sorry, obviously the change to Config.in was not included in the patch. Will resend.
Regards,
Sven
PATCH v2 1/1 wpa_supplicant: add option to enable syslog support
Add an option to enable support for sending debug messages to syslog instead of stdout.
--- package/wpa_supplicant/Config.in | 5 +++++ package/wpa_supplicant/wpa_supplicant.mk | 7 +++++++ 2 files changed, 12 insertions(+)
package/wpa_supplicant/Config.in +5 -0
@@ -49,6 +49,11 @@ config BR2_PACKAGE_WPA_SUPPLICANT_DBUS_INTROSPECTION help Add introspection support for new DBus control interface. +config BR2_PACKAGE_WPA_SUPPLICANT_DEBUG_SYSLOG + bool "Enable syslog support" + help + Enable support for sending debug messages to syslog + config BR2_PACKAGE_WPA_SUPPLICANT_WPS bool "Enable support for WPS" help
package/wpa_supplicant/wpa_supplicant.mk +7 -0
@@ -116,6 +116,12 @@ endef endif +ifeq ($(BR2_PACKAGE_WPA_SUPPLICANT_DEBUG_SYSLOG),y) +define WPA_SUPPLICANT_DEBUG_CONFIG + $(SED) 's/\(#\)\(CONFIG_DEBUG_SYSLOG.*\)/\2/' $(WPA_SUPPLICANT_CONFIG) +endef +endif + define WPA_SUPPLICANT_CONFIGURE_CMDS cp $(@D)/wpa_supplicant/defconfig $(WPA_SUPPLICANT_CONFIG) $(SED) 's/\(#\)\(CONFIG_HS20.*\)/\2/' $(WPA_SUPPLICANT_CONFIG)
@@ -133,6 +139,7 @@ define WPA_SUPPLICANT_CONFIGURE_CMDS $(WPA_SUPPLICANT_LIBNL_CONFIG) $(WPA_SUPPLICANT_DBUS_CONFIG) $(WPA_SUPPLICANT_AP_CONFIG) + $(WPA_SUPPLICANT_DEBUG_CONFIG) endef define WPA_SUPPLICANT_BUILD_CMDS
Signature · 1 line
1.8.3.2
PATCH v2 1/1 wpa_supplicant: add option to enable syslog support
Quoted 6 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Sven" == Sven Neumann <[email protected]> writes:
Add an option to enable support for sending debug messages to syslog instead of stdout.
Signed-off-by Sven Neumann <[email protected]>
Committed, thanks.
Signature · 1 line
Bye, Peter Korsgaard