connman: allow members of network group to control daemon via dbus

This commit is contained in:
mobinmob 2020-05-04 22:04:57 +03:00 committed by Enno Boland
parent 2178537c73
commit 25dbeaa419
2 changed files with 11 additions and 1 deletions

View file

@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN" "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
<busconfig>
<policy group="network">
<allow own="net.connman"/>
<allow send_destination="net.connman"/>
<allow send_interface="net.connman"/>
</policy>
</busconfig>

View file

@ -1,7 +1,7 @@
# Template file for 'connman'
pkgname=connman
version=1.38
revision=1
revision=2
build_style=gnu-configure
configure_args="--enable-polkit --enable-client --enable-pie --enable-ethernet
--enable-wifi --enable-bluetooth --enable-loopback --enable-nmcompat
@ -33,6 +33,7 @@ post_install() {
# Install the client connmanctl.
vbin client/connmanctl
vsv connmand
vinstall ${FILESDIR}/connmand.conf 755 usr/share/dbus-1/system.d/
}
connman-devel_package() {