]> git.pld-linux.org Git - packages/stunnel.git/blob - stunnel-config.patch
- updated init script
[packages/stunnel.git] / stunnel-config.patch
1 --- stunnel-4.16/tools/stunnel.conf-sample.in.orig      2006-08-31 19:02:30.000000000 +0000
2 +++ stunnel-4.16/tools/stunnel.conf-sample.in   2006-09-02 12:08:51.776623500 +0000
3 @@ -3,18 +3,18 @@
4  ; Please make sure you understand them (especially the effect of chroot jail)
5  
6  ; Certificate/key is needed in server mode and optional in client mode
7 -cert = @prefix@/etc/stunnel/mail.pem
8 -;key = @prefix@/etc/stunnel/mail.pem
9 +cert = /etc/stunnel/mail.pem
10 +;key = /etc/stunnel/mail.pem
11  
12  ; Protocol version (all, SSLv2, SSLv3, TLSv1)
13  sslVersion = SSLv3
14  
15  ; Some security enhancements for UNIX systems - comment them out on Win32
16 -chroot = @prefix@/var/lib/stunnel/
17 -setuid = nobody
18 -setgid = @DEFAULT_GROUP@
19 +;chroot = /var/lib/stunnel/
20 +setuid = stunnel
21 +setgid = stunnel
22  ; PID is created inside chroot jail
23 -pid = /stunnel.pid
24 +pid = /var/run/stunnel/stunnel.pid
25  
26  ; Some performance tunings
27  socket = l:TCP_NODELAY=1
28 @@ -30,12 +30,12 @@
29  ; CApath is located inside chroot jail
30  ;CApath = /certs
31  ; It's often easier to use CAfile
32 -;CAfile = @prefix@/etc/stunnel/certs.pem
33 +;CAfile = /etc/stunnel/certs.pem
34  ; Don't forget to c_rehash CRLpath
35  ; CRLpath is located inside chroot jail
36  ;CRLpath = /crls
37  ; Alternatively you can use CRLfile
38 -;CRLfile = @prefix@/etc/stunnel/crls.pem
39 +;CRLfile = /etc/stunnel/crls.pem
40  
41  ; Some debugging stuff useful for troubleshooting
42  ;debug = 7
43 @@ -46,17 +46,17 @@
44  
45  ; Service-level configuration
46  
47 -[pop3s]
48 -accept  = 995
49 -connect = 110
50 -
51 -[imaps]
52 -accept  = 993
53 -connect = 143
54 -
55 -[ssmtp]
56 -accept  = 465
57 -connect = 25
58 +;[pop3s]
59 +;accept  = 995
60 +;connect = 110
61 +
62 +;[imaps]
63 +;accept  = 993
64 +;connect = 143
65 +
66 +;[ssmtp]
67 +;accept  = 465
68 +;connect = 25
69  
70  ;[https]
71  ;accept  = 443
This page took 0.070629 seconds and 3 git commands to generate.