Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package cups-filters for openSUSE:Factory 
checked in at 2021-11-27 00:50:45
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/cups-filters (Old)
 and      /work/SRC/openSUSE:Factory/.cups-filters.new.1895 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "cups-filters"

Sat Nov 27 00:50:45 2021 rev:51 rq:933433 version:1.28.8

Changes:
--------
--- /work/SRC/openSUSE:Factory/cups-filters/cups-filters.changes        
2021-06-13 23:05:33.747605576 +0200
+++ /work/SRC/openSUSE:Factory/.cups-filters.new.1895/cups-filters.changes      
2021-11-27 00:51:26.658777219 +0100
@@ -1,0 +2,6 @@
+Fri Oct 15 07:30:49 UTC 2021 - Johannes Segitz <jseg...@suse.com>
+
+- Added hardening to systemd service(s) (bsc#1181400). Added patch(es):
+  * harden_cups-browsed.service.patch
+
+-------------------------------------------------------------------

New:
----
  harden_cups-browsed.service.patch

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

Other differences:
------------------
++++++ cups-filters.spec ++++++
--- /var/tmp/diff_new_pack.iEWoEq/_old  2021-11-27 00:51:27.234775231 +0100
+++ /var/tmp/diff_new_pack.iEWoEq/_new  2021-11-27 00:51:27.238775217 +0100
@@ -40,6 +40,7 @@
 Version:        1.28.8
 Release:        0
 Source0:        
http://www.openprinting.org/download/cups-filters/cups-filters-%{version}.tar.gz
+Patch0:        harden_cups-browsed.service.patch
 # Upstream fix for https://bugs.linuxfoundation.org/show_bug.cgi?id=1421
 # in 
https://github.com/OpenPrinting/cups-filters/commit/6db3b08d3b20332b1525b8dd1a47950381b8f637
 # dowloaded via
@@ -216,6 +217,7 @@
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 # Just do what is described in the upstream INSTALL file

++++++ harden_cups-browsed.service.patch ++++++
Index: cups-filters-1.28.8/utils/cups-browsed.service
===================================================================
--- cups-filters-1.28.8.orig/utils/cups-browsed.service
+++ cups-filters-1.28.8/utils/cups-browsed.service
@@ -5,6 +5,17 @@ After=cups.service avahi-daemon.service
 Wants=avahi-daemon.service
 
 [Service]
+# added automatically, for details please see
+# https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort
+ProtectSystem=full
+ProtectHome=true
+ProtectHostname=true
+ProtectKernelTunables=true
+ProtectKernelModules=true
+ProtectKernelLogs=true
+ProtectControlGroups=true
+RestrictRealtime=true
+# end of automatic additions 
 ExecStart=/usr/sbin/cups-browsed
 
 [Install]

Reply via email to