Files
lirc/harden_lircd.service.patch
Stefan Seyfried 9846bb6ea7 - Update to version 0.10.2
* Vendor latest linux/lirc.h and handle lirc overflows.
  * mode2: support lirc overflows, carrier reports, and timeouts
  * Lots of fixes for python 3.
  * irdroid: fix hang after transmit
  * The deprecated lircd --uinput option is dropped. Use
    lircd-uinput(8) instead.
  * The deprecated generation of lirc.hwdb is dropped. Use
    the configs/*.conf or the python database.py instead.
  * Added a new lirc-postinstall scripts which updates
    configuration and docs in final install destination (#286).
  * Using LIRC_IRDB_CACHE_ID lirc now supports reproducible
    builds. See #301 and updated irdb-get(1) manpage.
  * lircd: Support for the GOLDSTAR flag in lircd.conf(5) is dropped.
  * plugins: srm7500libusb: Major overhaul.
  * plugins:girs: Drop support for LIRC_SET_REC_TIMEOUT, add new
    driver option ending_timeout (#302).
- Drop pyyaml-60-compatibility.patch: merged upstream.
- Drop lirc-autoconf-py310.patch: no longer needed.
- Rebase harden_lircd.service.patch and reproducible.patch.
- Drop rcFOO symlinks.

# Happens to fix build with Python 3.13

OBS-URL: https://build.opensuse.org/package/show/vdr/lirc?expand=0&rev=120
2025-02-12 09:25:20 +00:00

22 lines
673 B
Diff

Index: lirc-0.10.2/systemd/lircd.service
===================================================================
--- lirc-0.10.2.orig/systemd/lircd.service
+++ lirc-0.10.2/systemd/lircd.service
@@ -6,6 +6,16 @@ Wants=lircd-setup.service
After=network.target lircd-setup.service
[Service]
+# added automatically, for details please see
+# https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort
+ProtectHostname=true
+ProtectKernelTunables=true
+ProtectKernelModules=true
+ProtectKernelLogs=true
+ProtectControlGroups=true
+RestrictRealtime=true
+# end of automatic additions
+#
Type=notify
RuntimeDirectory=lirc
ExecStart=/usr/sbin/lircd --nodaemon