Remove harden_man-db.service.patch as already done upstream

OBS-URL: https://build.opensuse.org/package/show/Base:System/man?expand=0&rev=145
This commit is contained in:
Dr. Werner Fink 2023-05-25 06:39:41 +00:00 committed by Git OBS Bridge
parent 39337c9fd1
commit eb752c9a6e
3 changed files with 6 additions and 26 deletions

View File

@ -1,24 +0,0 @@
Index: man-db-2.9.4/init/systemd/man-db.service.in
===================================================================
--- man-db-2.9.4.orig/init/systemd/man-db.service.in
+++ man-db-2.9.4/init/systemd/man-db.service.in
@@ -4,6 +4,19 @@ Documentation=man:mandb(8)
ConditionACPower=true
[Service]
+# added automatically, for details please see
+# https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort
+ProtectSystem=full
+ProtectHome=true
+PrivateDevices=true
+ProtectHostname=true
+ProtectClock=true
+ProtectKernelTunables=true
+ProtectKernelModules=true
+ProtectKernelLogs=true
+ProtectControlGroups=true
+RestrictRealtime=true
+# end of automatic additions
Type=oneshot
# Recover from deletion, per FHS.
ExecStart=+/usr/bin/install -d -o @cache_top_owner@ -g @cache_top_owner@ -m 0755 /var/cache/man

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu May 25 06:37:13 UTC 2023 - Dr. Werner Fink <werner@suse.de>
- Remove harden_man-db.service.patch as already done upstream
at the end of the service file man-db.service
-------------------------------------------------------------------
Mon Apr 3 14:39:03 UTC 2023 - Dominique Leuenberger <dimstar@opensuse.org>

View File

@ -57,7 +57,6 @@ Patch8: man-db-2.9.4.patch
# PATCH-FEATURE-OPENSUSE -- Add documentation about man0 section (header files)
Patch9: man-db-2.6.3-man0.dif
Patch10: man-db-2.9.4-alternitive.dif
Patch11: harden_man-db.service.patch
# PATCH-FEATURE-OPENSUSE -- Propose to read man pages online
Patch12: man-propose-online.patch
BuildRequires: automake
@ -109,7 +108,6 @@ printer (using groff).
%patch9 -b .p9
%patch10 -b .libalernative
rm -f configure
%patch11 -p1 -b .p11
%patch12 -p1 -b .p12
%build