From a80f5933ade853dbcef130dadea55319aac0cc8c Mon Sep 17 00:00:00 2001 From: Cem Keylan Date: Thu, 18 Feb 2021 03:20:48 +0300 Subject: iwd: add new package at 1.11 --- dbus/iwd/patches/fix-name-request.patch | 65 +++++++++++++++++++++++++++++++++ 1 file changed, 65 insertions(+) create mode 100644 dbus/iwd/patches/fix-name-request.patch (limited to 'dbus/iwd/patches') diff --git a/dbus/iwd/patches/fix-name-request.patch b/dbus/iwd/patches/fix-name-request.patch new file mode 100644 index 00000000..3bad1201 --- /dev/null +++ b/dbus/iwd/patches/fix-name-request.patch @@ -0,0 +1,65 @@ +--- Makefile.am 2019-10-30 06:50:34.000000000 -0400 ++++ Makefile.am 2019-10-30 09:10:08.542128891 -0400 +@@ -139,15 +139,15 @@ + if DBUS_POLICY + dbus_datadir = @DBUS_DATADIR@/dbus-1/system.d + dist_dbus_data_DATA = ++ ++dbus_busdir = @DBUS_BUSDIR@ ++dbus_bus_DATA = + endif + + if SYSTEMD_SERVICE + systemd_unitdir = @SYSTEMD_UNITDIR@ + systemd_unit_DATA = + +-dbus_busdir = @DBUS_BUSDIR@ +-dbus_bus_DATA = +- + systemd_networkdir = @SYSTEMD_NETWORKDIR@ + systemd_network_DATA = + +@@ -244,13 +244,13 @@ + + if DBUS_POLICY + dist_dbus_data_DATA += src/iwd-dbus.conf ++dbus_bus_DATA += src/net.connman.iwd.service + endif + + if SYSTEMD_SERVICE + src_iwd_DEPENDENCIES += src/iwd.service + + systemd_unit_DATA += src/iwd.service +-dbus_bus_DATA += src/net.connman.iwd.service + + systemd_network_DATA += src/80-iwd.link + endif +@@ -320,13 +320,13 @@ + + if DBUS_POLICY + dist_dbus_data_DATA += wired/ead-dbus.conf ++dbus_bus_DATA += wired/net.connman.ead.service + endif + + if SYSTEMD_SERVICE + wired_ead_DEPENDENCIES += wired/ead.service + + systemd_unit_DATA += wired/ead.service +-dbus_bus_DATA += wired/net.connman.ead.service + endif + + if MANUAL_PAGES +diff --git configure.ac configure.ac +index ec0619e..13d6de4 100644 +--- configure.ac ++++ configure.ac +@@ -188,7 +188,7 @@ AM_CONDITIONAL(SYSTEMD_SERVICE, test "${enable_systemd_service}" != "no") + AC_ARG_WITH([dbus-busdir], AC_HELP_STRING([--with-dbus-busdir=DIR], + [path to D-Bus bus services directory]), + [path_dbus_busdir=${withval}]) +-if (test "${enable_systemd_service}" != "no" && test -z "${path_dbus_busdir}"); then ++if (test -z "${path_dbus_busdir}"); then + AC_MSG_CHECKING([D-Bus bus services directory]) + path_dbus_busdir="`$PKG_CONFIG --variable=system_bus_services_dir dbus-1`" + if (test -z "${path_dbus_busdir}"); then + -- cgit v1.2.3