src/connmand
src/connman.exp
src/connman.ver
+src/connman.conf
src/connman.service
src/*-connman.rules
scripts/connman
connmand_DEPENDENCIES = connman.ver
-CLEANFILES = connman.ver connman.exp 92-connman.rules
+CLEANFILES = connman.ver connman.exp connman.conf 92-connman.rules
statedir = $(localstatedir)/run/connman
-DPLUGINDIR=\""$(plugindir)"\"
INCLUDES = -I$(top_builddir)/include
-EXTRA_DIST = $(dbus_DATA) connman.rules
+EXTRA_DIST = connman-dbus.conf connman-polkit.conf connman.rules
MAINTAINERCLEANFILES = Makefile.in
cat $< | sed -e "s/\(.*\)/\1;/" >> $@
echo "local: *; };" >> $@
+connman.conf: connman-dbus.conf connman-polkit.conf
+if POLKIT
+ cp $(top_srcdir)/src/connman-polkit.conf $@
+else
+ cp $(top_srcdir)/src/connman-dbus.conf $@
+endif
+
92-connman.rules: connman.rules
cp $< $@
--- /dev/null
+<!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
+ "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
+<busconfig>
+ <policy user="root">
+ <allow own="org.moblin.connman"/>
+ <allow send_destination="org.moblin.connman"/>
+ <allow send_interface="org.moblin.connman.Agent"/>
+ </policy>
+ <policy at_console="true">
+ <allow send_destination="org.moblin.connman"/>
+ </policy>
+ <policy context="default">
+ <deny send_destination="org.moblin.connman"/>
+ </policy>
+</busconfig>
--- /dev/null
+<!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
+ "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
+<busconfig>
+ <policy user="root">
+ <allow own="org.moblin.connman"/>
+ <allow send_interface="org.moblin.connman.Agent"/>
+ </policy>
+ <policy context="default">
+ <allow send_destination="org.moblin.connman"/>
+ </policy>
+</busconfig>
+++ /dev/null
-<!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
- "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
-<busconfig>
- <policy user="root">
- <allow own="org.moblin.connman"/>
- <allow send_destination="org.moblin.connman"/>
- <allow send_interface="org.moblin.connman.Agent"/>
- </policy>
- <policy at_console="true">
- <allow send_destination="org.moblin.connman"/>
- </policy>
- <policy context="default">
- <!-- use "allow" with enabled PolicyKit support -->
- <deny send_destination="org.moblin.connman"/>
- </policy>
-</busconfig>