cups: configure: disable acl
[14.07/packages.git] / net / stunnel / patches / 104-fix-paths.patch
1 ## Do several path fixups, removing unneeded @prefix@s
2 --- a/tools/stunnel.conf-sample.in
3 +++ b/tools/stunnel.conf-sample.in
4 @@ -4,15 +4,15 @@
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 = @sysconfdir@/stunnel/stunnel.pem
11 +;key = @sysconfdir@/stunnel/stunnel.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 +chroot = @localstatedir@
20  setuid = nobody
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
25  ;CApath = /certs
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
31  ;CRLpath = /crls
32  ; alternatively CRLfile can be used
33 -;CRLfile = @prefix@/etc/stunnel/crls.pem
34 +;CRLfile = @sysconfdir@/stunnel/crls.pem
35  
36  ; debugging stuff (may useful for troubleshooting)
37  ;debug = 7
38 -;output = stunnel.log
39 +;output = @localstatedir@/log/stunnel.log
40  
41  ; SSL client mode
42  ;client = yes