* [PR PATCH] connman: enable members of network group to control daemon via dbus
@ 2020-05-04 19:10 mobinmob
2020-05-04 19:17 ` [PR PATCH] [Updated] " mobinmob
` (5 more replies)
0 siblings, 6 replies; 7+ messages in thread
From: mobinmob @ 2020-05-04 19:10 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 597 bytes --]
There is a new pull request by mobinmob against master on the void-packages repository
https://github.com/mobinmob/void-packages connman-fix
https://github.com/void-linux/void-packages/pull/21618
connman: enable members of network group to control daemon via dbus
The change enables users of the the network group to use every ui available for the connman daemon. I tested connman-gtk, connman-ncurses, connman-ui and cmst.
Configuration is based on the wiki article: https://wiki.voidlinux.org/Connman
A patch file from https://github.com/void-linux/void-packages/pull/21618.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-connman-fix-21618.patch --]
[-- Type: text/x-diff, Size: 1671 bytes --]
From 4d730524e416816d31ce493528e6288eacb165bf Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Mon, 4 May 2020 22:04:57 +0300
Subject: [PATCH] connman: enable members of network group to control daemon
via dbus
---
srcpkgs/connman/files/connmand.conf | 9 +++++++++
srcpkgs/connman/template | 3 ++-
2 files changed, 11 insertions(+), 1 deletion(-)
create mode 100644 srcpkgs/connman/files/connmand.conf
diff --git a/srcpkgs/connman/files/connmand.conf b/srcpkgs/connman/files/connmand.conf
new file mode 100644
index 00000000000..5da2de429ca
--- /dev/null
+++ b/srcpkgs/connman/files/connmand.conf
@@ -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>
diff --git a/srcpkgs/connman/template b/srcpkgs/connman/template
index 46d7a5eb018..3421e1e8591 100644
--- a/srcpkgs/connman/template
+++ b/srcpkgs/connman/template
@@ -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 etc/dbus-1/system.d/
}
connman-devel_package() {
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PR PATCH] [Updated] connman: enable members of network group to control daemon via dbus
2020-05-04 19:10 [PR PATCH] connman: enable members of network group to control daemon via dbus mobinmob
@ 2020-05-04 19:17 ` mobinmob
2020-05-05 10:29 ` connman: allow " mobinmob
` (4 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: mobinmob @ 2020-05-04 19:17 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 612 bytes --]
There is an updated pull request by mobinmob against master on the void-packages repository
https://github.com/mobinmob/void-packages connman-fix
https://github.com/void-linux/void-packages/pull/21618
connman: enable members of network group to control daemon via dbus
The change enables users of the the network group to use every ui available for the connman daemon. I tested connman-gtk, connman-ncurses, connman-ui, econnman and cmst.
Configuration is based on the wiki article: https://wiki.voidlinux.org/Connman
A patch file from https://github.com/void-linux/void-packages/pull/21618.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-connman-fix-21618.patch --]
[-- Type: text/x-diff, Size: 1670 bytes --]
From d7424ef3385fb4b8655712295c8a29800f72c74a Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Mon, 4 May 2020 22:04:57 +0300
Subject: [PATCH] connman: allow members of network group to control daemon via
dbus
---
srcpkgs/connman/files/connmand.conf | 9 +++++++++
srcpkgs/connman/template | 3 ++-
2 files changed, 11 insertions(+), 1 deletion(-)
create mode 100644 srcpkgs/connman/files/connmand.conf
diff --git a/srcpkgs/connman/files/connmand.conf b/srcpkgs/connman/files/connmand.conf
new file mode 100644
index 00000000000..5da2de429ca
--- /dev/null
+++ b/srcpkgs/connman/files/connmand.conf
@@ -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>
diff --git a/srcpkgs/connman/template b/srcpkgs/connman/template
index 46d7a5eb018..3421e1e8591 100644
--- a/srcpkgs/connman/template
+++ b/srcpkgs/connman/template
@@ -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 etc/dbus-1/system.d/
}
connman-devel_package() {
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: connman: allow members of network group to control daemon via dbus
2020-05-04 19:10 [PR PATCH] connman: enable members of network group to control daemon via dbus mobinmob
2020-05-04 19:17 ` [PR PATCH] [Updated] " mobinmob
@ 2020-05-05 10:29 ` mobinmob
2020-05-05 10:52 ` Duncaen
` (3 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: mobinmob @ 2020-05-05 10:29 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 274 bytes --]
New comment by mobinmob on void-packages repository
https://github.com/void-linux/void-packages/pull/21618#issuecomment-623976451
Comment:
@Gottox : This fixes for connman the same problem https://github.com/void-linux/void-packages/pull/21608 fixes for NetworkManager.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: connman: allow members of network group to control daemon via dbus
2020-05-04 19:10 [PR PATCH] connman: enable members of network group to control daemon via dbus mobinmob
2020-05-04 19:17 ` [PR PATCH] [Updated] " mobinmob
2020-05-05 10:29 ` connman: allow " mobinmob
@ 2020-05-05 10:52 ` Duncaen
2020-05-05 11:29 ` [PR PATCH] [Updated] " mobinmob
` (2 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: Duncaen @ 2020-05-05 10:52 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 199 bytes --]
New comment by Duncaen on void-packages repository
https://github.com/void-linux/void-packages/pull/21618#issuecomment-623985339
Comment:
This should probably go into `/usr/share/dbus-1/system.d`.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PR PATCH] [Updated] connman: allow members of network group to control daemon via dbus
2020-05-04 19:10 [PR PATCH] connman: enable members of network group to control daemon via dbus mobinmob
` (2 preceding siblings ...)
2020-05-05 10:52 ` Duncaen
@ 2020-05-05 11:29 ` mobinmob
2020-05-05 11:31 ` mobinmob
2020-05-05 14:28 ` [PR PATCH] [Merged]: " Gottox
5 siblings, 0 replies; 7+ messages in thread
From: mobinmob @ 2020-05-05 11:29 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 611 bytes --]
There is an updated pull request by mobinmob against master on the void-packages repository
https://github.com/mobinmob/void-packages connman-fix
https://github.com/void-linux/void-packages/pull/21618
connman: allow members of network group to control daemon via dbus
The change enables users of the the network group to use every ui available for the connman daemon. I tested connman-gtk, connman-ncurses, connman-ui, econnman and cmst.
Configuration is based on the wiki article: https://wiki.voidlinux.org/Connman
A patch file from https://github.com/void-linux/void-packages/pull/21618.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-connman-fix-21618.patch --]
[-- Type: text/x-diff, Size: 1676 bytes --]
From 8cf8b667d43f22e6eb20e0c05b6166102b0c73e4 Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Mon, 4 May 2020 22:04:57 +0300
Subject: [PATCH] connman: allow members of network group to control daemon via
dbus
---
srcpkgs/connman/files/connmand.conf | 9 +++++++++
srcpkgs/connman/template | 3 ++-
2 files changed, 11 insertions(+), 1 deletion(-)
create mode 100644 srcpkgs/connman/files/connmand.conf
diff --git a/srcpkgs/connman/files/connmand.conf b/srcpkgs/connman/files/connmand.conf
new file mode 100644
index 00000000000..5da2de429ca
--- /dev/null
+++ b/srcpkgs/connman/files/connmand.conf
@@ -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>
diff --git a/srcpkgs/connman/template b/srcpkgs/connman/template
index 46d7a5eb018..2fbc7f48485 100644
--- a/srcpkgs/connman/template
+++ b/srcpkgs/connman/template
@@ -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() {
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: connman: allow members of network group to control daemon via dbus
2020-05-04 19:10 [PR PATCH] connman: enable members of network group to control daemon via dbus mobinmob
` (3 preceding siblings ...)
2020-05-05 11:29 ` [PR PATCH] [Updated] " mobinmob
@ 2020-05-05 11:31 ` mobinmob
2020-05-05 14:28 ` [PR PATCH] [Merged]: " Gottox
5 siblings, 0 replies; 7+ messages in thread
From: mobinmob @ 2020-05-05 11:31 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 157 bytes --]
New comment by mobinmob on void-packages repository
https://github.com/void-linux/void-packages/pull/21618#issuecomment-624000473
Comment:
@Duncaen Done!
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PR PATCH] [Merged]: connman: allow members of network group to control daemon via dbus
2020-05-04 19:10 [PR PATCH] connman: enable members of network group to control daemon via dbus mobinmob
` (4 preceding siblings ...)
2020-05-05 11:31 ` mobinmob
@ 2020-05-05 14:28 ` Gottox
5 siblings, 0 replies; 7+ messages in thread
From: Gottox @ 2020-05-05 14:28 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 449 bytes --]
There's a merged pull request on the void-packages repository
connman: allow members of network group to control daemon via dbus
https://github.com/void-linux/void-packages/pull/21618
Description:
The change enables users of the the network group to use every ui available for the connman daemon. I tested connman-gtk, connman-ncurses, connman-ui, econnman and cmst.
Configuration is based on the wiki article: https://wiki.voidlinux.org/Connman
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2020-05-05 14:28 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-04 19:10 [PR PATCH] connman: enable members of network group to control daemon via dbus mobinmob
2020-05-04 19:17 ` [PR PATCH] [Updated] " mobinmob
2020-05-05 10:29 ` connman: allow " mobinmob
2020-05-05 10:52 ` Duncaen
2020-05-05 11:29 ` [PR PATCH] [Updated] " mobinmob
2020-05-05 11:31 ` mobinmob
2020-05-05 14:28 ` [PR PATCH] [Merged]: " Gottox
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).