Accepting request 933476 from home:jsegitz:branches:systemdhardening:network

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/933476
OBS-URL: https://build.opensuse.org/package/show/network/syncthing?expand=0&rev=226
This commit is contained in:
2021-11-24 15:24:44 +00:00
committed by Git OBS Bridge
parent 9c7ba503fe
commit 4ee457e764
5 changed files with 78 additions and 0 deletions

View File

@@ -26,6 +26,9 @@ URL: https://syncthing.net/
Source: https://github.com/%{name}/%{name}/releases/download/v%{version}/%{name}-source-v%{version}.tar.gz
Source1: https://github.com/%{name}/%{name}/releases/download/v%{version}/%{name}-source-v%{version}.tar.gz.asc
Source2: %{name}.keyring
Patch0: harden_strelaysrv.service.patch
Patch1: harden_syncthing-resume.service.patch
Patch2: harden_syncthing@.service.patch
BuildRequires: systemd-rpm-macros
BuildRequires: golang(API) >= 1.14
BuildRequires: pkgconfig(systemd)
@@ -49,6 +52,9 @@ joined to the syncthing relay pool or private.
%prep
%setup -q -n %{name}
%patch0 -p1
%patch1 -p1
%patch2 -p1
%build
# move source archive which is extracted as "syncthing" to be "src/github.com/syncthing/syncthing"