forked from pool/spacenavd
Herbert Graeber
cc6a0bf42d
- Update to version 1.0 * Implemented hugely improved spacenav protocol v1. It includes future expandability provisions, and adds support for a wealth of new capabilities for clients, including: + device information queries (number of buttons and axes, device identification...). + configuration management (allows configuration tools like spnavcfg to be regular clients without special priviledges). + new events, with event selection mechanism (device change, config change, raw axis, raw button). * Improved configuration file handling. Spacenavd now saves changes to the file, and does so while retaining user changes, including comments and empty lines, and modifying existing lines when possible. * Added device level axis remapping (non-configurable), to normalize axis assignments across all known devices, to avoid having to change the configuration every time a different device is connected. * Added initial USB device support on FreeBSD. * Added the ability to bind buttons to actions like sensitivity changes or axis muting. * Added XTEST support for keyboard event injection, which works much more reliably. Falls back to XSendEvent if XTEST is unavailable. * Fixed serial magellan spacemouse compatibility over USB-serial converters with the PL2303 UART. * Added --cfgdir= build option, to change the configuration file directory. * Fixed MacOS X build. * Fixed LED staying on on startup if it was configured otherwise. * Fixed inconsistent handling of the logging method selection arguments. * Fixed spacenavd terminating with SIGPIPE when clients disconnected ungracefully. * Build fixes and improvements. OBS-URL: https://build.opensuse.org/request/show/972858 OBS-URL: https://build.opensuse.org/package/show/hardware/spacenavd?expand=0&rev=22
25 lines
792 B
Diff
25 lines
792 B
Diff
diff -ur spacenavd-1.0.orig/contrib/systemd/spacenavd.service spacenavd-1.0/contrib/systemd/spacenavd.service
|
|
--- spacenavd-1.0.orig/contrib/systemd/spacenavd.service 2022-04-25 16:03:28.338795433 +0200
|
|
+++ spacenavd-1.0/contrib/systemd/spacenavd.service 2022-04-25 15:59:36.042588021 +0200
|
|
@@ -3,9 +3,20 @@
|
|
After=syslog.target
|
|
|
|
[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
|
|
Type=forking
|
|
PIDFile=/run/spnavd.pid
|
|
ExecStart=/usr/sbin/spacenavd
|
|
StandardError=syslog
|
|
|
|
[Install]
|