* Support for NFO files as additional resources: Set up in resources and place nfo-files (https://kodi.wiki/view/NFO_files/Templates) next to your media files. * Tweaking mimetypes for clients * Editing Flags in web UI * More statistics on web UI * Add support for ip subnets in client config * Defaults for virtual container upnp class * Configuration for SQLite database modes * Offline mode for initial scan large libraries - Remove 2635.patch - Remove fix-fmt9.patch OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/gerbera?expand=0&rev=41
26 lines
833 B
Diff
26 lines
833 B
Diff
Index: gerbera-1.12.0/scripts/systemd/gerbera.service.cmake
|
|
===================================================================
|
|
--- gerbera-1.12.0.orig/scripts/systemd/gerbera.service.cmake
|
|
+++ gerbera-1.12.0/scripts/systemd/gerbera.service.cmake
|
|
@@ -4,6 +4,20 @@ After=${SYSTEMD_AFTER_TARGET}
|
|
Wants=${SYSTEMD_WANTS_TARGET}
|
|
|
|
[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
|
|
+ReadWritePaths=/usr/share/gerbera/ /etc/gerbera/ /var/log/gerbera
|
|
+# end of automatic additions
|
|
Type=simple
|
|
User=gerbera
|
|
Group=gerbera
|