--- stunnel-4.40/tools/stunnel.conf-sample.in.orig 2011-07-07 16:47:37.000000000 +0000
+++ stunnel-4.40/tools/stunnel.conf-sample.in 2011-07-24 09:40:54.658924150 +0000
-@@ -8,13 +8,13 @@
-
- ; A copy of some devices and system files is needed within the chroot jail
+@@ -11,11 +11,11 @@
; Chroot conflicts with configuration file reload and many other features
--chroot = @prefix@/var/lib/stunnel/
-+;chroot = /var/lib/stunnel/
+ ;chroot = @prefix@/var/lib/stunnel/
; Chroot jail can be escaped if setuid option is not used
-setuid = nobody
-setgid = @DEFAULT_GROUP@
+setuid = stunnel
+setgid = stunnel
- ; PID is created inside the chroot jail
--pid = /stunnel.pid
+ ; PID file is created inside the chroot jail (if enabled)
+-;pid = @prefix@/var/run/stunnel.pid
+pid = /var/run/stunnel/stunnel.pid
- ; Debugging stuff (may useful for troubleshooting)
+ ; Debugging stuff (may be useful for troubleshooting)
;debug = 7
@@ -25,8 +25,8 @@
; *****************************************************************************
Summary: Universal SSL tunnel
Summary(pl.UTF-8): Uniwersalne narzędzie do bezpiecznego tunelowania
Name: stunnel
-Version: 4.56
+Version: 5.05
Release: 1
License: GPL v2+ with OpenSSL exception
Group: Networking/Daemons
Source0: ftp://ftp.stunnel.org/stunnel/%{name}-%{version}.tar.gz
-# Source0-md5: ac4c4a30bd7a55b6687cbd62d864054c
+# Source0-md5: 39e2e678eb5572c9d86ae391db5da30b
Source1: %{name}.init
Source2: %{name}.sysconfig
Source3: %{name}.inet