summaryrefslogtreecommitdiffstats
path: root/debian/patches/Move-corosync-notifyd-policy-file-into-usr-share-dbus-1-s.patch
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-03 17:01:25 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-03 17:01:25 +0000
commit118ef9d7c2944b014d01440ebef86f8aed8045d6 (patch)
tree5e757b39d2dfda3827d839f35f885bea810bcdce /debian/patches/Move-corosync-notifyd-policy-file-into-usr-share-dbus-1-s.patch
parentAdding upstream version 3.1.8. (diff)
downloadcorosync-118ef9d7c2944b014d01440ebef86f8aed8045d6.tar.xz
corosync-118ef9d7c2944b014d01440ebef86f8aed8045d6.zip
Adding debian version 3.1.8-1.debian/3.1.8-1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/patches/Move-corosync-notifyd-policy-file-into-usr-share-dbus-1-s.patch')
-rw-r--r--debian/patches/Move-corosync-notifyd-policy-file-into-usr-share-dbus-1-s.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/debian/patches/Move-corosync-notifyd-policy-file-into-usr-share-dbus-1-s.patch b/debian/patches/Move-corosync-notifyd-policy-file-into-usr-share-dbus-1-s.patch
new file mode 100644
index 0000000..79dc623
--- /dev/null
+++ b/debian/patches/Move-corosync-notifyd-policy-file-into-usr-share-dbus-1-s.patch
@@ -0,0 +1,27 @@
+From: =?utf-8?q?Ferenc_W=C3=A1gner?= <wferi@debian.org>
+Date: Sun, 26 May 2024 11:57:40 +0200
+Subject: Move corosync-notifyd policy file into /usr/share/dbus-1/system.d
+
+As per dbus-daemon(1):
+
+> Third-party packages would historically install XML files into
+> /etc/dbus-1/system.d, but this practice is now considered to be
+> deprecated: that directory should be treated as reserved for the
+> system administrator.
+---
+ conf/Makefile.am | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/conf/Makefile.am b/conf/Makefile.am
+index 44581eb..d02cd21 100644
+--- a/conf/Makefile.am
++++ b/conf/Makefile.am
+@@ -60,7 +60,7 @@ mib_DATA = COROSYNC-MIB.txt
+ endif
+
+ if INSTALL_DBUSCONF
+-dbusdir = $(sysconfdir)/dbus-1/system.d
++dbusdir = $(datadir)/dbus-1/system.d
+ dbus_DATA = corosync-signals.conf
+ endif
+