components/stunnel/patches/stunnel-4.29-authpriv.patch
changeset 1131 4c414ada49de
child 1252 86b53be32d7c
equal deleted inserted replaced
1130:a4adf8cbfa5d 1131:4c414ada49de
       
     1 diff -urNp stunnel-4.29-orig/doc/stunnel.8 stunnel-4.29/doc/stunnel.8
       
     2 --- stunnel-4.29-orig/doc/stunnel.8	2009-11-20 15:50:52.000000000 -0500
       
     3 +++ stunnel-4.29/doc/stunnel.8	2009-12-09 16:44:25.000000000 -0500
       
     4 @@ -169,7 +169,7 @@ info (6), or debug (7).  All logs for th
       
     5  all levels numerically less than it will be shown.  Use \fBdebug = debug\fR or
       
     6  \&\fBdebug = 7\fR for greatest debugging output.  The default is notice (5).
       
     7  .Sp
       
     8 -The syslog facility 'daemon' will be used unless a facility name is supplied.
       
     9 +The syslog facility 'authpriv' will be used unless a facility name is supplied.
       
    10  (Facilities are not supported on Win32.)
       
    11  .Sp
       
    12  Case is ignored for both facilities and levels.
       
    13 diff -urNp stunnel-4.29-orig/doc/stunnel.html stunnel-4.29/doc/stunnel.html
       
    14 --- stunnel-4.29-orig/doc/stunnel.html	2009-11-20 15:50:52.000000000 -0500
       
    15 +++ stunnel-4.29/doc/stunnel.html	2009-12-09 16:43:09.000000000 -0500
       
    16 @@ -192,7 +192,7 @@ emerg (0), alert (1), crit (2), err (3),
       
    17  info (6), or debug (7).  All logs for the specified level and
       
    18  all levels numerically less than it will be shown.  Use <strong>debug = debug</strong> or
       
    19  <strong>debug = 7</strong> for greatest debugging output.  The default is notice (5).</p>
       
    20 -<p>The syslog facility 'daemon' will be used unless a facility name is supplied.
       
    21 +<p>The syslog facility 'authpriv' will be used unless a facility name is supplied.
       
    22  (Facilities are not supported on Win32.)</p>
       
    23  <p>Case is ignored for both facilities and levels.</p>
       
    24  </dd>
       
    25 diff -urNp stunnel-4.29-orig/doc/stunnel.pod stunnel-4.29/doc/stunnel.pod
       
    26 --- stunnel-4.29-orig/doc/stunnel.pod	2009-11-20 15:48:33.000000000 -0500
       
    27 +++ stunnel-4.29/doc/stunnel.pod	2009-12-09 16:43:52.000000000 -0500
       
    28 @@ -144,7 +144,7 @@ info (6), or debug (7).  All logs for th
       
    29  all levels numerically less than it will be shown.  Use B<debug = debug> or
       
    30  B<debug = 7> for greatest debugging output.  The default is notice (5).
       
    31  
       
    32 -The syslog facility 'daemon' will be used unless a facility name is supplied.
       
    33 +The syslog facility 'authpriv' will be used unless a facility name is supplied.
       
    34  (Facilities are not supported on Win32.)
       
    35  
       
    36  Case is ignored for both facilities and levels.
       
    37 diff -urNp stunnel-4.29-orig/src/options.c stunnel-4.29/src/options.c
       
    38 --- stunnel-4.29-orig/src/options.c	2009-11-20 15:55:12.000000000 -0500
       
    39 +++ stunnel-4.29/src/options.c	2009-12-09 16:45:57.000000000 -0500
       
    40 @@ -136,8 +136,12 @@ static char *global_options(CMD cmd, cha
       
    41      case CMD_INIT:
       
    42          options.debug_level=5;
       
    43  #if !defined (USE_WIN32) && !defined (__vms)
       
    44 +#if defined(LOG_AUTHPRIV)
       
    45 +        options.facility=LOG_AUTHPRIV;
       
    46 +#else
       
    47          options.facility=LOG_DAEMON;
       
    48  #endif
       
    49 +#endif
       
    50          break;
       
    51      case CMD_EXEC:
       
    52          if(strcasecmp(opt, "debug"))