stunnel/stunnel-4-authpriv.patch
Avesh Agarwal 8c65aaf0be New upstream realease 4.42
Updated local patches
Fixes #732069
2011-08-19 13:40:54 -04:00

53 lines
2.8 KiB
Diff

diff -urNp stunnel-4.42/doc/stunnel.8 stunnel-4.42-cvs-patched/doc/stunnel.8
--- stunnel-4.42/doc/stunnel.8 2011-08-18 13:56:01.000000000 -0400
+++ stunnel-4.42-cvs-patched/doc/stunnel.8 2011-08-19 13:30:51.218600480 -0400
@@ -168,7 +168,7 @@ info (6), or debug (7). All logs for th
all levels numerically less than it will be shown. Use \fIdebug = debug\fR or
\&\fIdebug = 7\fR for greatest debugging output. The default is notice (5).
.Sp
-The syslog facility 'daemon' will be used unless a facility name is supplied.
+The syslog facility 'authpriv' will be used unless a facility name is supplied.
(Facilities are not supported on Win32.)
.Sp
Case is ignored for both facilities and levels.
diff -urNp stunnel-4.42/doc/stunnel.html stunnel-4.42-cvs-patched/doc/stunnel.html
--- stunnel-4.42/doc/stunnel.html 2011-08-18 13:56:02.000000000 -0400
+++ stunnel-4.42-cvs-patched/doc/stunnel.html 2011-08-19 13:30:51.218600480 -0400
@@ -196,7 +196,7 @@ emerg (0), alert (1), crit (2), err (3),
info (6), or debug (7). All logs for the specified level and
all levels numerically less than it will be shown. Use <em>debug = debug</em> or
<em>debug = 7</em> for greatest debugging output. The default is notice (5).</p>
-<p>The syslog facility 'daemon' will be used unless a facility name is supplied.
+<p>The syslog facility 'authpriv' will be used unless a facility name is supplied.
(Facilities are not supported on Win32.)</p>
<p>Case is ignored for both facilities and levels.</p>
</dd>
diff -urNp stunnel-4.42/doc/stunnel.pod stunnel-4.42-cvs-patched/doc/stunnel.pod
--- stunnel-4.42/doc/stunnel.pod 2011-08-18 13:49:51.000000000 -0400
+++ stunnel-4.42-cvs-patched/doc/stunnel.pod 2011-08-19 13:30:51.219600478 -0400
@@ -136,7 +136,7 @@ info (6), or debug (7). All logs for th
all levels numerically less than it will be shown. Use I<debug = debug> or
I<debug = 7> for greatest debugging output. The default is notice (5).
-The syslog facility 'daemon' will be used unless a facility name is supplied.
+The syslog facility 'authpriv' will be used unless a facility name is supplied.
(Facilities are not supported on Win32.)
Case is ignored for both facilities and levels.
diff -urNp stunnel-4.42/src/options.c stunnel-4.42-cvs-patched/src/options.c
--- stunnel-4.42/src/options.c 2011-08-18 13:15:17.000000000 -0400
+++ stunnel-4.42-cvs-patched/src/options.c 2011-08-19 13:30:51.221600474 -0400
@@ -140,8 +140,12 @@ static char *parse_global_option(CMD cmd
case CMD_INIT:
new_global_options.debug_level=LOG_NOTICE;
#if !defined (USE_WIN32) && !defined (__vms)
+#if defined(LOG_AUTHPRIV)
+ new_global_options.facility=LOG_AUTHPRIV;
+#else
new_global_options.facility=LOG_DAEMON;
#endif
+#endif
break;
case CMD_EXEC:
if(strcasecmp(opt, "debug"))