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
5 ; please read the manual and make sure you understand them
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
13 ; protocol version (all, SSLv2, SSLv3, TLSv1)
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/
20 -setgid = @DEFAULT_GROUP@
21 +;chroot = /var/lib/stunnel/
24 ; PID is created inside the chroot jail
26 +pid = /var/run/stunnel/stunnel.pid
29 socket = l:TCP_NODELAY=1
31 ; CApath is located inside chroot jail
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
39 ; alternatively CRLfile can be used
40 -;CRLfile = @prefix@/etc/stunnel/crls.pem
41 +CRLfile = /etc/stunnel/crls.pem
43 ; debugging stuff (may useful for troubleshooting)
47 ; service-level configuration