SHA256
1
0
forked from pool/stunnel

Accepting request 885049 from home:dstoecker:branches:security:Stunnel

Submitted to author by e-mail.

P.S. The change in the comment line removes a rpm warning.

OBS-URL: https://build.opensuse.org/request/show/885049
OBS-URL: https://build.opensuse.org/package/show/security:Stunnel/stunnel?expand=0&rev=142
This commit is contained in:
2021-04-21 15:02:39 +00:00
committed by Git OBS Bridge
parent 6365ab1daf
commit 536b741d30
3 changed files with 20 additions and 1 deletions

View File

@@ -29,7 +29,7 @@ BuildRequires: pkgconfig(systemd)
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Requires(pre): %insserv_prereq
Requires(pre): /usr/sbin/useradd
# %{_sbindir} does not work here!
# macro _sbindir does not work here!
%endif
@@ -51,6 +51,8 @@ Source2: https://www.stunnel.org/pgp.asc#/%{name}.keyring
Source3: sysconfig.syslog-stunnel
Source4: stunnel.rc
Source7: stunnel.README
# PATCH-FIX-UPSTREAM Fix service file, so it ensure we are starting after network is really up!
Patch1: stunnel-5.59_service_always_after_network.patch
BuildRequires: libopenssl-devel
BuildRequires: tcpd-devel
BuildRequires: zlib-devel
@@ -84,6 +86,7 @@ This package contains additional documentation for the stunnel program.
%prep
%setup -q -n stunnel-%{version}
%patch1 -p1
chmod -x %{_builddir}/stunnel-%{version}/tools/ca.*
chmod -x %{_builddir}/stunnel-%{version}/tools/importCA.*