]> git.pld-linux.org Git - packages/stunnel.git/blob - stunnel-config.patch
- updated to 4.38
[packages/stunnel.git] / stunnel-config.patch
1 diff -ur stunnel-4.30/tools/stunnel.conf-sample.in stunnel-4.30.new/tools/stunnel.conf-sample.in
2 --- stunnel-4.30/tools/stunnel.conf-sample.in   2010-01-18 14:17:49.000000000 +0100
3 +++ stunnel-4.30.new/tools/stunnel.conf-sample.in       2010-01-21 15:17:41.173740613 +0100
4 @@ -5,16 +5,16 @@
5  ; Certificate/key is needed in server mode and optional in client mode
6  ; The default certificate is provided only for testing and should not
7  ; be used in a production environment
8 -cert = @prefix@/etc/stunnel/mail.pem
9 -;key = @prefix@/etc/stunnel/mail.pem
10 +cert = /etc/stunnel/mail.pem
11 +;key = /etc/stunnel/mail.pem
12  
13  ; Security enhancements for UNIX systems - comment them out on Win32
14  ; for chroot a copy of some devices and files is needed within the jail
15 -chroot = @prefix@/var/lib/stunnel/
16 -setuid = nobody
17 -setgid = @DEFAULT_GROUP@
18 +;chroot = /var/lib/stunnel/
19 +setuid = stunnel
20 +setgid = stunnel
21  ; PID is created inside the chroot jail
22 -pid = /stunnel.pid
23 +pid = /var/run/stunnel/stunnel.pid
24  
25  ; Disable support for insecure SSLv2 protocol
26  options = NO_SSLv2
27 @@ -29,12 +29,12 @@
28  ; CApath is located inside chroot jail
29  ;CApath = /certs
30  ; It's often easier to use CAfile
31 -;CAfile = @prefix@/etc/stunnel/certs.pem
32 +CAfile = /etc/stunnel/certs.pem
33  ; Don't forget to c_rehash CRLpath
34  ; CRLpath is located inside chroot jail
35  ;CRLpath = /crls
36  ; Alternatively CRLfile can be used
37 -;CRLfile = @prefix@/etc/stunnel/crls.pem
38 +CRLfile = /etc/stunnel/crls.pem
39  
40  ; Debugging stuff (may useful for troubleshooting)
41  ;debug = 7
42 @@ -49,17 +49,17 @@
43  
44  ; service-level configuration
45  
46 -[pop3s]
47 -accept  = 995
48 -connect = 110
49 -
50 -[imaps]
51 -accept  = 993
52 -connect = 143
53 -
54 -[ssmtp]
55 -accept  = 465
56 -connect = 25
57 +;[pop3s]
58 +;accept  = 995
59 +;connect = 110
60 +
61 +;[imaps]
62 +;accept  = 993
63 +;connect = 143
64 +
65 +;[ssmtp]
66 +;accept  = 465
67 +;connect = 25
68  
69  ;[https]
70  ;accept  = 443
This page took 0.047253 seconds and 3 git commands to generate.