Module Name: src
Committed By: bouyer
Date: Wed Jan 27 21:42:23 UTC 2010
Modified Files:
src/usr.sbin/wpa/wpa_supplicant [netbsd-5]: Makefile wpa_supplicant.8
Log Message:
Pull up following revision(s) (requested by sborrill in ticket #1267):
usr.sbin/wpa/wpa_supplicant/Makefile: revision 1.12
usr.sbin/wpa/wpa_supplicant/wpa_supplicant.8: revision 1.6
usr.sbin/wpa/wpa_supplicant/wpa_supplicant.8: revision 1.7
Enable CONFIG_DEBUG_FILE option to allow debug messages to be sent to
a file instead of stdout.
-f is not mandatory.
To generate a diff of this commit:
cvs rdiff -u -r1.10.2.1 -r1.10.2.2 src/usr.sbin/wpa/wpa_supplicant/Makefile
cvs rdiff -u -r1.5 -r1.5.26.1 \
src/usr.sbin/wpa/wpa_supplicant/wpa_supplicant.8
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/usr.sbin/wpa/wpa_supplicant/Makefile
diff -u src/usr.sbin/wpa/wpa_supplicant/Makefile:1.10.2.1 src/usr.sbin/wpa/wpa_supplicant/Makefile:1.10.2.2
--- src/usr.sbin/wpa/wpa_supplicant/Makefile:1.10.2.1 Thu Jan 22 22:58:01 2009
+++ src/usr.sbin/wpa/wpa_supplicant/Makefile Wed Jan 27 21:42:23 2010
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10.2.1 2009/01/22 22:58:01 snj Exp $
+# $NetBSD: Makefile,v 1.10.2.2 2010/01/27 21:42:23 bouyer Exp $
.include "${.CURDIR}/../Makefile.inc"
@@ -25,6 +25,7 @@
CPPFLAGS+= -DCONFIG_DRIVER_BSD
CPPFLAGS+= -DCONFIG_CTRL_IFACE
+CPPFLAGS+= -DCONFIG_DEBUG_FILE
DPADD+= ${LIBPCAP}
LDADD+= -lpcap
Index: src/usr.sbin/wpa/wpa_supplicant/wpa_supplicant.8
diff -u src/usr.sbin/wpa/wpa_supplicant/wpa_supplicant.8:1.5 src/usr.sbin/wpa/wpa_supplicant/wpa_supplicant.8:1.5.26.1
--- src/usr.sbin/wpa/wpa_supplicant/wpa_supplicant.8:1.5 Wed Jun 28 15:06:59 2006
+++ src/usr.sbin/wpa/wpa_supplicant/wpa_supplicant.8 Wed Jan 27 21:42:23 2010
@@ -1,4 +1,4 @@
-.\" $NetBSD: wpa_supplicant.8,v 1.5 2006/06/28 15:06:59 drochner Exp $
+.\" $NetBSD: wpa_supplicant.8,v 1.5.26.1 2010/01/27 21:42:23 bouyer Exp $
.\"
.\" Copyright (c) 2005 Sam Leffler <[email protected]>
.\" All rights reserved.
@@ -27,7 +27,7 @@
.\" Based on:
.\" $FreeBSD: /repoman/r/ncvs/src/usr.sbin/wpa/wpa_supplicant/wpa_supplicant.8,v 1.2 2005/06/27 06:40:43 ru Exp $
.\"
-.Dd October 1, 2005
+.Dd January 22, 2010
.Dt WPA_SUPPLICANT 8
.Os
.Sh NAME
@@ -36,6 +36,7 @@
.Sh SYNOPSIS
.Nm
.Op Fl BdehLqvw
+.Op Fl f Ar debug-file
.Fl i Ar ifname
.Fl c Ar config-file
.Op Fl N i Ar ifname Fl c Ar config-file ...
@@ -99,10 +100,18 @@
.It Fl d
Enable debugging messages.
If this option is supplied twice, more verbose messages are displayed.
+Messages are sent to stdout by default, even when daemonised.
+This can be changed with the
+.Fl f
+flag.
.It Fl e
Use an external IEEE 802.1X Supplicant program and disable the
internal Supplicant.
This option is not normally used.
+.It Fl f
+Specifies a file to send debug messages to when enabled with the
+.Fl d
+flag.
.It Fl h
Show help text.
.It Fl K