iwd: update to 1.20

This commit is contained in:
DaErich 2021-12-04 16:05:07 +01:00 committed by Duncan Overbruck
parent 3f74cdbb60
commit c1618fa5f3
2 changed files with 3 additions and 34 deletions

View file

@ -1,31 +0,0 @@
From 4e61d04e0de69a2c02bb39c774adf84dcbae6bb9 Mon Sep 17 00:00:00 2001
From: James Prestwood <prestwoj@gmail.com>
Date: Tue, 2 Nov 2021 12:57:49 -0700
Subject: client: special case daemon interface for non-interactive
In non-interactive mode, when a dbus method call returns the process
exits. This is true for all methods except agent requests since e.g.
Connect() call automatically requests credentials and the client must
wait for that to return before exiting. The new daemon interface must
also be treated in the same way and not exit.
---
client/dbus-proxy.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/client/dbus-proxy.c b/client/dbus-proxy.c
index ab9fb5a5..0373a3df 100644
--- a/client/dbus-proxy.c
+++ b/client/dbus-proxy.c
@@ -315,7 +315,8 @@ static void proxy_callback(struct l_dbus_message *message, void *user_data)
}
proxy = callback_data->user_data;
- if (!strcmp(proxy->type->interface, IWD_AGENT_MANAGER_INTERFACE))
+ if (!strcmp(proxy->type->interface, IWD_AGENT_MANAGER_INTERFACE) ||
+ !strcmp(proxy->type->interface, IWD_DAEMON_INTERFACE))
return;
quit:
--
cgit 1.2.3-1.el7

View file

@ -1,7 +1,7 @@
# Template file for 'iwd'
pkgname=iwd
version=1.19
revision=2
version=1.20
revision=1
build_style=gnu-configure
configure_args="--disable-systemd-service --enable-pie
--enable-dbus-policy --enable-wired"
@ -15,7 +15,7 @@ license="LGPL-2.1-or-later"
homepage="https://iwd.wiki.kernel.org/"
changelog="https://git.kernel.org/pub/scm/network/wireless/iwd.git/plain/ChangeLog"
distfiles="${KERNEL_SITE}/network/wireless/${pkgname}-${version}.tar.xz"
checksum=dd65a8795f6127fb1b9e29f2092686b0590a0d3738c2b90c792ccd320deaf966
checksum=7d51e2ccabe7c500e44061ac725dbd4f6b0fb518b5e3de1681063d0f15d3050f
make_dirs="/var/lib/iwd 0600 root root
/var/lib/ead 0600 root root
/etc/iwd 755 root root"