]> git.pld-linux.org Git - packages/stunnel.git/blob - stunnel-config.patch
3e4fb4c233877b33961c025b2d714e82ace7a272
[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 @@ -4,19 +4,19 @@
5  ; please read the manual and make sure you understand them
6  
7  ; certificate/key is needed in server mode and optional in client mode
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  ; protocol version (all, SSLv2, SSLv3, TLSv1)
14  sslVersion = SSLv3
15  
16  ; security enhancements for UNIX systems - comment them out on Win32
17  ; for chroot a copy of some devices and files is needed within the jail
18 -chroot = @prefix@/var/lib/stunnel/
19 -setuid = nobody
20 -setgid = @DEFAULT_GROUP@
21 +;chroot = /var/lib/stunnel/
22 +setuid = stunnel
23 +setgid = stunnel
24  ; PID is created inside the chroot jail
25 -pid = /stunnel.pid
26 +pid = /var/run/stunnel/stunnel.pid
27  
28  ; performance tunings
29  socket = l:TCP_NODELAY=1
30 @@ -33,12 +33,12 @@
31  ; CApath is located inside chroot jail
32  ;CApath = /certs
33  ; it's often easier to use CAfile
34 -;CAfile = @prefix@/etc/stunnel/certs.pem
35 +CAfile = /etc/stunnel/certs.pem
36  ; don't forget to c_rehash CRLpath
37  ; CRLpath is located inside chroot jail
38  ;CRLpath = /crls
39  ; alternatively CRLfile can be used
40 -;CRLfile = @prefix@/etc/stunnel/crls.pem
41 +CRLfile = /etc/stunnel/crls.pem
42  
43  ; debugging stuff (may useful for troubleshooting)
44  ;debug = 7
45 @@ -49,17 +49,17 @@
46  
47  ; service-level configuration
48  
49 -[pop3s]
50 -accept  = 995
51 -connect = 110
52 -
53 -[imaps]
54 -accept  = 993
55 -connect = 143
56 -
57 -[ssmtp]
58 -accept  = 465
59 -connect = 25
60 +;[pop3s]
61 +;accept  = 995
62 +;connect = 110
63 +
64 +;[imaps]
65 +;accept  = 993
66 +;connect = 143
67 +
68 +;[ssmtp]
69 +;accept  = 465
70 +;connect = 25
71  
72  ;[https]
73  ;accept  = 443
This page took 0.028071 seconds and 3 git commands to generate.