blob: 21cf8c4bce7c735e247fea4bf1bd6d1fc8cbc9cb (
plain)
1 diff -Nru stunnel-4.15.orig/src/Makefile.in stunnel-4.15/src/Makefile.in
2 --- stunnel-4.15.orig/src/Makefile.in 2006-03-12 12:49:36.000000000 +0100
3 +++ stunnel-4.15/src/Makefile.in 2006-03-12 13:19:19.000000000 +0100
4 @@ -222,7 +222,7 @@
5 INCLUDES = -I/usr/kerberos/include
6
7 # Additional compiler flags
8 -AM_CPPFLAGS = -DLIBDIR='"$(libdir)"' -DCONFDIR='"$(sysconfdir)/stunnel"' -DPIDFILE='"$(prefix)/var/run/stunnel/stunnel.pid"'
9 +AM_CPPFLAGS = -DLIBDIR='"$(libdir)"' -DCONFDIR='"$(sysconfdir)"' -DPIDFILE='"/var/run/stunnel/stunnel.pid"'
10
11 # Win32 executable
12 EXTRA_DIST = stunnel.exe make.bat mingw.mak makece.bat evc.mak vc.mak nogui.c
13 diff -Nru stunnel-4.15.orig/tools/stunnel.conf-sample.in stunnel-4.15/tools/stunnel.conf-sample.in
14 --- stunnel-4.15.orig/tools/stunnel.conf-sample.in 2006-03-12 12:49:36.000000000 +0100
15 +++ stunnel-4.15/tools/stunnel.conf-sample.in 2006-03-12 13:19:47.000000000 +0100
16 @@ -3,13 +3,13 @@
17 ; Please make sure you understand them (especially the effect of chroot jail)
18
19 ; Certificate/key is needed in server mode and optional in client mode
20 -cert = @prefix@/etc/stunnel/mail.pem
21 -;key = @prefix@/etc/stunnel/mail.pem
22 +cert = /etc/ssl/certs/stunnel.crt
23 +key = /etc/ssl/keys/stunnel.key
24
25 ; Some security enhancements for UNIX systems - comment them out on Win32
26 -chroot = @prefix@/var/lib/stunnel/
27 +chroot = /var/run/stunnel/
28 setuid = nobody
29 -setgid = nogroup
30 +setgid = nobody
31 ; PID is created inside chroot jail
32 pid = /stunnel.pid
33
34 @@ -36,7 +36,7 @@
35
36 ; Some debugging stuff useful for troubleshooting
37 ;debug = 7
38 -;output = stunnel.log
39 +output = /var/log/stunnel.log
40
41 ; Use it for client mode
42 ;client = yes
|