SHA256
1
0
forked from pool/stunnel

Accepting request 933485 from home:jsegitz:branches:systemdhardening:security:Stunnel

Automatic systemd hardening effort by the security team. This has not been tested. For details please see https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort

OBS-URL: https://build.opensuse.org/request/show/933485
OBS-URL: https://build.opensuse.org/package/show/security:Stunnel/stunnel?expand=0&rev=145
This commit is contained in:
2021-12-16 10:19:47 +00:00
committed by Git OBS Bridge
parent 0e1f4f9ea1
commit c9cc2b83f1
3 changed files with 32 additions and 0 deletions

View File

@@ -53,6 +53,7 @@ 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
Patch2: harden_stunnel.service.patch
BuildRequires: libopenssl-devel
BuildRequires: tcpd-devel
BuildRequires: zlib-devel
@@ -89,6 +90,7 @@ This package contains additional documentation for the stunnel program.
%patch1 -p1
chmod -x %{_builddir}/stunnel-%{version}/tools/ca.*
chmod -x %{_builddir}/stunnel-%{version}/tools/importCA.*
%patch2 -p1
%build
sed -i 's/-m 1770//g' tools/Makefile.in