From ae3d16944a2350fc2819ffef1efaad94e4db21fc12ee4a7b16ac64b54e6078f9 Mon Sep 17 00:00:00 2001 From: Daniel Rahn Date: Wed, 29 Jan 2014 17:06:17 +0000 Subject: [PATCH] Readd missing patch. OBS-URL: https://build.opensuse.org/package/show/security:Stunnel/stunnel?expand=0&rev=63 --- stunnel.spec | 2 ++ stunnel3-binpath.patch | 11 +++++++++++ 2 files changed, 13 insertions(+) create mode 100644 stunnel3-binpath.patch diff --git a/stunnel.spec b/stunnel.spec index 61c9013..9e18fa8 100644 --- a/stunnel.spec +++ b/stunnel.spec @@ -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 diff --git a/stunnel3-binpath.patch b/stunnel3-binpath.patch new file mode 100644 index 0000000..0394ab1 --- /dev/null +++ b/stunnel3-binpath.patch @@ -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();