Accepting request 924937 from network
OBS-URL: https://build.opensuse.org/request/show/924937 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ndppd?expand=0&rev=3
This commit is contained in:
commit
ebe8caad88
23
harden_ndppd.service.patch
Normal file
23
harden_ndppd.service.patch
Normal file
@ -0,0 +1,23 @@
|
||||
Index: ndppd-0.2.5.43/ndppd.service
|
||||
===================================================================
|
||||
--- ndppd-0.2.5.43.orig/ndppd.service
|
||||
+++ ndppd-0.2.5.43/ndppd.service
|
||||
@@ -3,6 +3,18 @@ Description=NDP Proxy Daemon
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
+# added automatically, for details please see
|
||||
+# https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort
|
||||
+ProtectSystem=full
|
||||
+ProtectHome=true
|
||||
+ProtectHostname=true
|
||||
+ProtectClock=true
|
||||
+ProtectKernelTunables=true
|
||||
+ProtectKernelModules=true
|
||||
+ProtectKernelLogs=true
|
||||
+ProtectControlGroups=true
|
||||
+RestrictRealtime=true
|
||||
+# end of automatic additions
|
||||
ExecStart=/usr/sbin/ndppd -d -p /var/run/ndppd/ndppd.pid
|
||||
Type=forking
|
||||
PIDFile=/var/run/ndppd/ndppd.pid
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Oct 11 07:23:40 UTC 2021 - Johannes Segitz <jsegitz@suse.com>
|
||||
|
||||
- Added hardening to systemd service(s) (bsc#1181400). Added patch(es):
|
||||
* harden_ndppd.service.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Dec 18 12:54:41 UTC 2018 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
|
@ -27,6 +27,7 @@ URL: https://github.com/DanielAdolfsson/ndppd
|
||||
#Source: https://github.com/DanielAdolfsson/%%{name}/archive/%%{version}.tar.gz#/%%{name}-%%{version}.tar.gz
|
||||
Source: %{name}-%{version}.tar.xz
|
||||
Source1: ndppd-tmpfiles.conf
|
||||
Patch0: harden_ndppd.service.patch
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: systemd-rpm-macros
|
||||
@ -44,6 +45,7 @@ The daemon is partially compliant with (experimental) RFC4389.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0 -p1
|
||||
|
||||
%build
|
||||
export CXXFLAGS='%{optflags}'
|
||||
|
Loading…
Reference in New Issue
Block a user