Accepting request 355231 from home:dstoecker

Fix was extremely easy, so I did it.

OBS-URL: https://build.opensuse.org/request/show/355231
OBS-URL: https://build.opensuse.org/package/show/security:Stunnel/stunnel?expand=0&rev=74
This commit is contained in:
2016-01-21 20:09:15 +00:00
committed by Git OBS Bridge
parent 2b40af0db6
commit fd5e6cd131
9 changed files with 33 additions and 438 deletions

View File

@@ -16,7 +16,7 @@
#
Name: stunnel
Version: 5.22
Version: 5.29
Release: 0
Summary: Universal SSL Tunnel
License: GPL-2.0+
@@ -30,7 +30,6 @@ Source3: sysconfig.syslog-stunnel
Source4: stunnel.rc
Source5: stunnel.service
Patch0: stunnel-listenqueue-option.patch
Patch1: stunnel-ocsp-host.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%define VENDOR openSUSE
BuildRequires: tcpd-devel zlib-devel
@@ -63,9 +62,6 @@ stunnel.
%prep
%setup -q -n stunnel-%{version}
%patch0 -p0
%if 0%{?suse_version} <= 1130
%patch1 -p1
%endif
chmod -x $RPM_BUILD_DIR/stunnel-%{version}/tools/ca.*
chmod -x $RPM_BUILD_DIR/stunnel-%{version}/tools/importCA.*
@@ -87,6 +83,7 @@ mkdir -p $RPM_BUILD_ROOT/var/adm/fillup-templates
cp -p %{S:3} $RPM_BUILD_ROOT/var/adm/fillup-templates/
%if 0%{?has_systemd}
install -D -m 0644 $RPM_SOURCE_DIR/stunnel.service $RPM_BUILD_ROOT/%_unitdir/stunnel.service
ln -s service $RPM_BUILD_ROOT/usr/sbin/rcstunnel
%else
mkdir -p $RPM_BUILD_ROOT/etc/init.d/
install -m 744 $RPM_SOURCE_DIR/stunnel.rc $RPM_BUILD_ROOT/etc/init.d/stunnel
@@ -183,4 +180,3 @@ fi
%doc doc/stunnel.*.html
%doc doc/en/*
%doc doc/pl