author | Norm Jacobs <Norm.Jacobs@Oracle.COM> |
Tue, 09 Apr 2013 12:17:40 -0700 | |
changeset 1252 | 86b53be32d7c |
parent 1131 | 4c414ada49de |
permissions | -rw-r--r-- |
1252
86b53be32d7c
16533604 stunnel should upgrade to 4.56
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
1131
diff
changeset
|
1 |
# Make the 'authpriv' syslog facility the default on Solaris |
86b53be32d7c
16533604 stunnel should upgrade to 4.56
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
1131
diff
changeset
|
2 |
# |
86b53be32d7c
16533604 stunnel should upgrade to 4.56
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
1131
diff
changeset
|
3 |
|
86b53be32d7c
16533604 stunnel should upgrade to 4.56
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
1131
diff
changeset
|
4 |
diff -u -r stunnel-4.55.orig/doc/stunnel.fr.pod stunnel-4.55/doc/stunnel.fr.pod |
86b53be32d7c
16533604 stunnel should upgrade to 4.56
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
1131
diff
changeset
|
5 |
--- stunnel-4.55.orig/doc/stunnel.fr.pod 2012-12-02 11:00:24.000000000 -0800 |
86b53be32d7c
16533604 stunnel should upgrade to 4.56
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
1131
diff
changeset
|
6 |
+++ stunnel-4.55/doc/stunnel.fr.pod 2013-03-21 22:30:02.672293057 -0700 |
86b53be32d7c
16533604 stunnel should upgrade to 4.56
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
1131
diff
changeset
|
7 |
@@ -178,7 +178,7 @@ |
86b53be32d7c
16533604 stunnel should upgrade to 4.56
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
1131
diff
changeset
|
8 |
B<debug = 7> donneront le maximum d'informations. La valeur par défaut |
86b53be32d7c
16533604 stunnel should upgrade to 4.56
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
1131
diff
changeset
|
9 |
est notice (5). |
86b53be32d7c
16533604 stunnel should upgrade to 4.56
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
1131
diff
changeset
|
10 |
|
86b53be32d7c
16533604 stunnel should upgrade to 4.56
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
1131
diff
changeset
|
11 |
-La facilité syslog «E<nbsp>daemonE<nbsp>» est utilisée, sauf si un autre nom est spécifié |
86b53be32d7c
16533604 stunnel should upgrade to 4.56
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
1131
diff
changeset
|
12 |
+La facilité syslog «E<nbsp>authprivE<nbsp>» est utilisée, sauf si un autre nom est spécifié |
86b53be32d7c
16533604 stunnel should upgrade to 4.56
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
1131
diff
changeset
|
13 |
(Win32 ne permet pas l'usage des facilités.) |
86b53be32d7c
16533604 stunnel should upgrade to 4.56
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
1131
diff
changeset
|
14 |
|
86b53be32d7c
16533604 stunnel should upgrade to 4.56
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
1131
diff
changeset
|
15 |
La casse est ignorée, aussi bien pour la facilité que pour le niveau. |
86b53be32d7c
16533604 stunnel should upgrade to 4.56
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
1131
diff
changeset
|
16 |
diff -u -r stunnel-4.55.orig/doc/stunnel.pod stunnel-4.55/doc/stunnel.pod |
86b53be32d7c
16533604 stunnel should upgrade to 4.56
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
1131
diff
changeset
|
17 |
--- stunnel-4.55.orig/doc/stunnel.pod 2013-01-13 09:25:20.000000000 -0800 |
86b53be32d7c
16533604 stunnel should upgrade to 4.56
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
1131
diff
changeset
|
18 |
+++ stunnel-4.55/doc/stunnel.pod 2013-03-21 22:28:04.473314299 -0700 |
86b53be32d7c
16533604 stunnel should upgrade to 4.56
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
1131
diff
changeset
|
19 |
@@ -184,7 +184,7 @@ |
86b53be32d7c
16533604 stunnel should upgrade to 4.56
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
1131
diff
changeset
|
20 |
all levels numerically less than it will be shown. Use I<debug = debug> or |
86b53be32d7c
16533604 stunnel should upgrade to 4.56
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
1131
diff
changeset
|
21 |
I<debug = 7> for greatest debugging output. The default is notice (5). |
1131
4c414ada49de
16133924 Move stunnel from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
22 |
|
4c414ada49de
16133924 Move stunnel from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
23 |
-The syslog facility 'daemon' will be used unless a facility name is supplied. |
4c414ada49de
16133924 Move stunnel from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
24 |
+The syslog facility 'authpriv' will be used unless a facility name is supplied. |
4c414ada49de
16133924 Move stunnel from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
25 |
(Facilities are not supported on Win32.) |
4c414ada49de
16133924 Move stunnel from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
26 |
|
4c414ada49de
16133924 Move stunnel from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
27 |
Case is ignored for both facilities and levels. |
1252
86b53be32d7c
16533604 stunnel should upgrade to 4.56
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
1131
diff
changeset
|
28 |
diff -u -r stunnel-4.55.orig/src/options.c stunnel-4.55/src/options.c |
86b53be32d7c
16533604 stunnel should upgrade to 4.56
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
1131
diff
changeset
|
29 |
--- stunnel-4.55.orig/src/options.c 2013-02-02 08:20:32.000000000 -0800 |
86b53be32d7c
16533604 stunnel should upgrade to 4.56
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
1131
diff
changeset
|
30 |
+++ stunnel-4.55/src/options.c 2013-03-21 22:27:13.163038368 -0700 |
86b53be32d7c
16533604 stunnel should upgrade to 4.56
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
1131
diff
changeset
|
31 |
@@ -185,8 +185,12 @@ |
86b53be32d7c
16533604 stunnel should upgrade to 4.56
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
1131
diff
changeset
|
32 |
case CMD_BEGIN: |
86b53be32d7c
16533604 stunnel should upgrade to 4.56
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
1131
diff
changeset
|
33 |
new_global_options.debug_level=LOG_NOTICE; |
1131
4c414ada49de
16133924 Move stunnel from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
34 |
#if !defined (USE_WIN32) && !defined (__vms) |
4c414ada49de
16133924 Move stunnel from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
35 |
+#if defined(LOG_AUTHPRIV) |
1252
86b53be32d7c
16533604 stunnel should upgrade to 4.56
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
1131
diff
changeset
|
36 |
+ new_global_options.facility=LOG_AUTHPRIV; |
1131
4c414ada49de
16133924 Move stunnel from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
37 |
+#else |
1252
86b53be32d7c
16533604 stunnel should upgrade to 4.56
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
1131
diff
changeset
|
38 |
new_global_options.facility=LOG_DAEMON; |
1131
4c414ada49de
16133924 Move stunnel from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
39 |
#endif |
4c414ada49de
16133924 Move stunnel from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
40 |
+#endif |
4c414ada49de
16133924 Move stunnel from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
41 |
break; |
4c414ada49de
16133924 Move stunnel from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
42 |
case CMD_EXEC: |
4c414ada49de
16133924 Move stunnel from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
43 |
if(strcasecmp(opt, "debug")) |