1 ## Do several path fixups, removing unneeded @prefix@s
2 --- a/tools/stunnel.conf-sample.in
3 +++ b/tools/stunnel.conf-sample.in
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 = @sysconfdir@/stunnel/stunnel.pem
11 +;key = @sysconfdir@/stunnel/stunnel.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/
19 +chroot = @localstatedir@
21 setgid = @DEFAULT_GROUP@
22 ; PID is created inside the chroot jail
23 @@ -33,16 +33,16 @@ socket = r:TCP_NODELAY=1
24 ; CApath is located inside chroot jail
26 ; it's often easier to use CAfile
27 -;CAfile = @prefix@/etc/stunnel/certs.pem
28 +;CAfile = @sysconfdir@/stunnel/certs.pem
29 ; don't forget to c_rehash CRLpath
30 ; CRLpath is located inside chroot jail
32 ; alternatively CRLfile can be used
33 -;CRLfile = @prefix@/etc/stunnel/crls.pem
34 +;CRLfile = @sysconfdir@/stunnel/crls.pem
36 ; debugging stuff (may useful for troubleshooting)
38 -;output = stunnel.log
39 +;output = @localstatedir@/log/stunnel.log