]> git.pld-linux.org Git - packages/stunnel.git/blob - stunnel-config.patch
- not needed in 4.15
[packages/stunnel.git] / stunnel-config.patch
1 diff -burN stunnel-4.06.orig/tools/stunnel.conf-sample.in stunnel-4.06/tools/stunnel.conf-sample.in
2 --- stunnel-4.06.orig/tools/stunnel.conf-sample.in      2004-12-26 18:33:15.119066912 +0100
3 +++ stunnel-4.06/tools/stunnel.conf-sample.in   2004-12-26 19:14:48.552007488 +0100
4 @@ -3,15 +3,15 @@
5  ; Please make sure you understand them (especially the effect of chroot jail)
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  ; Some security enhancements for UNIX systems - comment them out on Win32
14 -chroot = @prefix@/var/stunnel/
15 -setuid = nobody
16 -setgid = nogroup
17 +;chroot = @prefix@/var/stunnel/
18 +setuid = stunnel
19 +setgid = stunnel
20  ; PID is created inside chroot jail
21 -pid = /stunnel.pid
22 +pid = /var/run/stunnel/stunnel.pid
23  
24  ; Some performance tunings
25  socket = l:TCP_NODELAY=1
26 @@ -41,17 +41,17 @@
27  
28  ; Service-level configuration
29  
30 -[pop3s]
31 -accept  = 995
32 -connect = 110
33 -
34 -[imaps]
35 -accept  = 993
36 -connect = 143
37 -
38 -[ssmtp]
39 -accept  = 465
40 -connect = 25
41 +;[pop3s]
42 +;accept  = 995
43 +;connect = 110
44 +
45 +;[imaps]
46 +;accept  = 993
47 +;connect = 143
48 +
49 +;[ssmtp]
50 +;accept  = 465
51 +;connect = 25
52  
53  ;[https]
54  ;accept  = 443
This page took 0.022857 seconds and 3 git commands to generate.