Readd missing patch.

OBS-URL: https://build.opensuse.org/package/show/security:Stunnel/stunnel?expand=0&rev=63
This commit is contained in:
Daniel Rahn 2014-01-29 17:06:17 +00:00 committed by Git OBS Bridge
parent 5fada29b31
commit ae3d16944a
2 changed files with 13 additions and 0 deletions

View File

@ -34,6 +34,7 @@ Source3: sysconfig.syslog-stunnel
Source4: stunnel.rc
Source5: stunnel.service
Patch0: stunnel-listenqueue-option.patch
Patch1: stunnel3-binpath.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: openssl openssl-devel zlib-devel
BuildRequires: tcpd-devel
@ -66,6 +67,7 @@ stunnel.
%prep
%setup -q -n stunnel-5.00
%patch0 -p0
%patch1 -p0
%build
#autoreconf -fi

11
stunnel3-binpath.patch Normal file
View File

@ -0,0 +1,11 @@
--- src/stunnel3.in
+++ src/stunnel3.in
@@ -22,7 +22,7 @@
use Getopt::Std;
# Configuration - path to stunnel (version >=4.05)
-$stunnel_bin='@prefix@/bin/stunnel';
+$stunnel_bin='@prefix@/sbin/stunnel';
# stunnel3 script body begins here
($read_fd, $write_fd)=POSIX::pipe();