Subject: [alpine-aports] [PATCH] testing/iwd: add netdev group to dbus config file

From: Milan P. Stanić <[email-masked]>
Date: Tue, 19 Mar 2019 18:16:54 +0100

add doc subpackage
bump pkgrel
---
 testing/iwd/APKBUILD                |  6 ++++--
 testing/iwd/dbus-netdev-group.patch | 14 ++++++++++++++
 2 files changed, 18 insertions(+), 2 deletions(-)
 create mode 100644 testing/iwd/dbus-netdev-group.patch

diff --git a/testing/iwd/APKBUILD b/testing/iwd/APKBUILD
index bde84a92d6..ba5d786986 100644
--- a/testing/iwd/APKBUILD
+++ b/testing/iwd/APKBUILD
@@ -2,7 +2,7 @@
 # Maintainer: Milan P. Stanić <[email-masked]>
 pkgname=iwd
 pkgver=0.14
-pkgrel=2
+pkgrel=3
 pkgdesc="Internet Wireless Daemon"
 url="https://iwd.wiki.kernel.org/"
 arch="all"
@@ -10,8 +10,9 @@ license="LGPL-2.1-or-later"
 depends=""
 makedepends="ell-dev dbus-dev readline-dev linux-headers"
 install=""
-subpackages="$pkgname-openrc"
+subpackages="$pkgname-doc $pkgname-openrc"
 source="https://mirrors.edge.kernel.org/pub/linux/network/wireless/$pkgname-${pkgver}.tar.gz
+	dbus-netdev-group.patch
 	iwd.initd
 	"
 builddir="$srcdir/$pkgname-${pkgver}"
@@ -48,4 +49,5 @@ package() {
 }
 
 sha512sums="aa4586611d6c7298f9b00fe1de88b83157f037e76c7f01d8c3df8e21d7d6796ce3551be9764681a412bf147e741ff65469adaa6da4d96bdc4e2667059202b656  iwd-0.14.tar.gz
+7d3bc26b558ebfd22335b946f09abd5326e885275979c617af7def1468ade23ba7605f3b13aaf91836035c130aaec04be0ff2708a898f3ae835e0eef4e78fa0e  dbus-netdev-group.patch
 1a913fa19a76a18d92b8f44cb5b4b99a64b4e2f7d2b4a486bf1ba2f939aea7dcca772fca91483011ada58aaa3addc29c76ececd708b2187e57f72aa040ac77e6  iwd.initd"
diff --git a/testing/iwd/dbus-netdev-group.patch b/testing/iwd/dbus-netdev-group.patch
new file mode 100644
index 0000000000..4b72ba45d3
--- /dev/null
+++ b/testing/iwd/dbus-netdev-group.patch
@@ -0,0 +1,14 @@
+--- a/src/iwd-dbus.conf	2018-09-20 19:43:09.000000000 +0200
++++ b/src/iwd-dbus.conf	2018-09-20 21:02:03.000000000 +0100
+@@ -18,6 +18,11 @@
+     <allow send_interface="net.connman.iwd.Agent"/>
+   </policy>
+ 
++  <policy group="netdev">
++    <allow send_destination="net.connman.iwd"/>
++    <allow send_interface="net.connman.iwd.Agent"/>
++  </policy>
++
+   <policy at_console="true">
+     <allow send_destination="net.connman.iwd"/>
+     <allow send_interface="net.connman.iwd.Agent"/>
-- 
2.20.1

---
Unsubscribe:  [email-masked]
Help:         [email-masked]
---