Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package smcroute for openSUSE:Factory 
checked in at 2021-11-20 02:39:00
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/smcroute (Old)
 and      /work/SRC/openSUSE:Factory/.smcroute.new.1895 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "smcroute"

Sat Nov 20 02:39:00 2021 rev:7 rq:932325 version:2.5.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/smcroute/smcroute.changes        2021-09-28 
19:17:25.800247889 +0200
+++ /work/SRC/openSUSE:Factory/.smcroute.new.1895/smcroute.changes      
2021-11-20 02:40:07.132586388 +0100
@@ -1,0 +2,6 @@
+Wed Nov 17 10:19:17 UTC 2021 - Johannes Segitz <[email protected]>
+
+- Added hardening to systemd service(s) (bsc#1181400). Added patch(es):
+  * harden_smcroute.service.patch
+
+-------------------------------------------------------------------

New:
----
  harden_smcroute.service.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ smcroute.spec ++++++
--- /var/tmp/diff_new_pack.RAK7jC/_old  2021-11-20 02:40:07.572584936 +0100
+++ /var/tmp/diff_new_pack.RAK7jC/_new  2021-11-20 02:40:07.576584924 +0100
@@ -26,6 +26,7 @@
 URL:            https://troglobit.com/projects/smcroute/
 #Git-Clone:     https://github.com/troglobit/smcroute.git
 Source:         
https://github.com/troglobit/%{name}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
+Patch0:        harden_smcroute.service.patch
 BuildRequires:  autoconf
 BuildRequires:  automake
 BuildRequires:  pkgconfig
@@ -47,6 +48,7 @@
 %prep
 %setup -q
 sed -i 's|@DOCDIR@|%{_docdir}/smcroute/|g' smcroute.service.in
+%patch0 -p1
 
 # remove file not used by Linux with incompatible Apple license
 rm src/ip_mroute.h

++++++ harden_smcroute.service.patch ++++++
Index: smcroute-2.5.3/smcroute.service.in
===================================================================
--- smcroute-2.5.3.orig/smcroute.service.in
+++ smcroute-2.5.3/smcroute.service.in
@@ -20,6 +20,16 @@ NoNewPrivileges=true
 ProtectControlGroups=true
 ProtectSystem=full
 ProtectHome=true
+# added automatically, for details please see
+# https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort
+PrivateDevices=true
+ProtectHostname=true
+ProtectClock=true
+ProtectKernelTunables=true
+ProtectKernelModules=true
+ProtectKernelLogs=true
+RestrictRealtime=true
+# end of automatic additions 
 
 [Install]
 WantedBy=multi-user.target

Reply via email to