1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
|
From: Jan Tojnar <jtojnar@gmail.com>
Date: Sat, 21 May 2022 19:02:11 +0200
Subject: dbus: Use non-deprecated installation path
Origin: https://github.com/lathiat/avahi/commit/0ab222c6601535f078f88e9d72b2c70cba03de23
Applied-Upstream: https://github.com/lathiat/avahi/commit/0ab222c6601535f078f88e9d72b2c70cba03de23
Quoting from D-Bus 1.14.0 release notes:
> Third-party software should install default dbus policies for the system
> bus into ${datadir}/dbus-1/system.d (this has been supported since dbus
> 1.10, released in August 2015). Installing default dbus policies in
> ${sysconfdir}/dbus-1/system.d is now considered to be deprecated.
https://gitlab.freedesktop.org/dbus/dbus/-/blob/dbus-1.14.0/NEWS#L45-51
---
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configure.ac b/configure.ac
index 5aea4e7..a1c2df4 100644
--- a/configure.ac
+++ b/configure.ac
@@ -674,7 +674,7 @@ if test "x$HAVE_DBUS" = "xyes" ; then
if ! test -z "$with_dbus_sys" ; then
DBUS_SYS_DIR="$with_dbus_sys"
else
- DBUS_SYS_DIR="${sysconfdir}/dbus-1/system.d"
+ DBUS_SYS_DIR="${datadir}/dbus-1/system.d"
fi
AC_SUBST(DBUS_SYS_DIR)
|