stunnel/stunnel-4-authpriv.patch
Avesh Agarwal 79d4b425fc New upstream realease 4.52
- Updated local patches
2012-03-05 19:03:54 -05:00

53 lines
2.7 KiB
Diff

diff -urNp stunnel-4.52/doc/stunnel.8 stunnel-4.52-patched/doc/stunnel.8
--- stunnel-4.52/doc/stunnel.8 2012-01-09 18:09:55.000000000 -0500
+++ stunnel-4.52-patched/doc/stunnel.8 2012-03-05 18:29:08.910298860 -0500
@@ -178,7 +178,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.52/doc/stunnel.html stunnel-4.52-patched/doc/stunnel.html
--- stunnel-4.52/doc/stunnel.html 2012-01-09 18:09:56.000000000 -0500
+++ stunnel-4.52-patched/doc/stunnel.html 2012-03-05 18:29:50.890228103 -0500
@@ -212,7 +212,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.52/doc/stunnel.pod stunnel-4.52-patched/doc/stunnel.pod
--- stunnel-4.52/doc/stunnel.pod 2012-01-09 18:09:38.000000000 -0500
+++ stunnel-4.52-patched/doc/stunnel.pod 2012-03-05 18:30:27.118167249 -0500
@@ -152,7 +152,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.52/src/options.c stunnel-4.52-patched/src/options.c
--- stunnel-4.52/src/options.c 2012-01-01 16:41:58.000000000 -0500
+++ stunnel-4.52-patched/src/options.c 2012-03-05 18:33:23.820872899 -0500
@@ -175,8 +175,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"))