summaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity/connman/files
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-connectivity/connman/files')
-rwxr-xr-xmeta/recipes-connectivity/connman/files/connman42
-rw-r--r--meta/recipes-connectivity/connman/files/connman-install-tests-d52de88aff4771283b2ebee4f48a7af15862d0ae.patch13
-rw-r--r--meta/recipes-connectivity/connman/files/connman-install-tests.patch15
-rw-r--r--meta/recipes-connectivity/connman/files/dbusperms.patch12
-rw-r--r--meta/recipes-connectivity/connman/files/udevfix.patch12
5 files changed, 94 insertions, 0 deletions
diff --git a/meta/recipes-connectivity/connman/files/connman b/meta/recipes-connectivity/connman/files/connman
new file mode 100755
index 0000000000..f8154f68f9
--- /dev/null
+++ b/meta/recipes-connectivity/connman/files/connman
@@ -0,0 +1,42 @@
1#!/bin/sh
2
3DAEMON=/usr/sbin/connmand
4PIDFILE=/var/run/connmand.pid
5DESC="Connection Manager"
6
7if [ -f /etc/default/connman ] ; then
8 . /etc/default/connman
9fi
10
11set -e
12
13do_start() {
14 $DAEMON
15}
16
17do_stop() {
18 start-stop-daemon --stop --name connmand --quiet
19}
20
21case "$1" in
22 start)
23 echo "Starting $DESC"
24 do_start
25 ;;
26 stop)
27 echo "Stopping $DESC"
28 do_stop
29 ;;
30 restart|force-reload)
31 echo "Restarting $DESC"
32 do_stop
33 sleep 1
34 do_start
35 ;;
36 *)
37 echo "Usage: $0 {start|stop|restart|force-reload}" >&2
38 exit 1
39 ;;
40esac
41
42exit 0
diff --git a/meta/recipes-connectivity/connman/files/connman-install-tests-d52de88aff4771283b2ebee4f48a7af15862d0ae.patch b/meta/recipes-connectivity/connman/files/connman-install-tests-d52de88aff4771283b2ebee4f48a7af15862d0ae.patch
new file mode 100644
index 0000000000..57df7196ec
--- /dev/null
+++ b/meta/recipes-connectivity/connman/files/connman-install-tests-d52de88aff4771283b2ebee4f48a7af15862d0ae.patch
@@ -0,0 +1,13 @@
1Index: git/test/Makefile.am
2===================================================================
3--- git.orig/test/Makefile.am 2009-05-21 12:07:39.000000000 +0100
4+++ git/test/Makefile.am 2009-05-21 17:29:33.000000000 +0100
5@@ -1,5 +1,7 @@
6
7-EXTRA_DIST = get-state list-profiles list-services \
8+testdir = $(pkgdatadir)/tests
9+
10+test_SCRIPTS = get-state list-profiles list-services \
11 list-connections select-connection \
12 list-devices enable-device disable-device start-scanning \
13 list-networks select-network disable-network create-network \
diff --git a/meta/recipes-connectivity/connman/files/connman-install-tests.patch b/meta/recipes-connectivity/connman/files/connman-install-tests.patch
new file mode 100644
index 0000000000..0ea3758f2d
--- /dev/null
+++ b/meta/recipes-connectivity/connman/files/connman-install-tests.patch
@@ -0,0 +1,15 @@
1Index: git/Makefile.am
2===================================================================
3--- git.orig/Makefile.am 2009-08-24 15:56:33.000000000 +0100
4+++ git/Makefile.am 2009-08-24 16:02:38.000000000 +0100
5@@ -115,7 +115,9 @@
6 tools_wifi_scan_LDADD = @GLIB_LIBS@ @NETLINK_LIBS@
7 endif
8
9-EXTRA_DIST += test/get-state test/list-profiles test/list-services \
10+testdir = $(pkgdatadir)/tests
11+
12+test_SCRIPTS = test/get-state test/list-profiles test/list-services \
13 test/connect-service test/list-connections \
14 test/select-connection test/list-devices test/enable-device \
15 test/disable-device test/start-scanning test/list-networks \
diff --git a/meta/recipes-connectivity/connman/files/dbusperms.patch b/meta/recipes-connectivity/connman/files/dbusperms.patch
new file mode 100644
index 0000000000..100af0367b
--- /dev/null
+++ b/meta/recipes-connectivity/connman/files/dbusperms.patch
@@ -0,0 +1,12 @@
1Index: git/src/connman-dbus.conf
2===================================================================
3--- git.orig/src/connman-dbus.conf 2009-05-26 00:34:35.000000000 +0100
4+++ git/src/connman-dbus.conf 2009-05-26 00:34:48.000000000 +0100
5@@ -10,6 +10,6 @@
6 <allow send_destination="org.moblin.connman"/>
7 </policy>
8 <policy context="default">
9- <deny send_destination="org.moblin.connman"/>
10+ <allow send_destination="org.moblin.connman"/>
11 </policy>
12 </busconfig>
diff --git a/meta/recipes-connectivity/connman/files/udevfix.patch b/meta/recipes-connectivity/connman/files/udevfix.patch
new file mode 100644
index 0000000000..803bec5281
--- /dev/null
+++ b/meta/recipes-connectivity/connman/files/udevfix.patch
@@ -0,0 +1,12 @@
1Index: git/src/connman.rules
2===================================================================
3--- git.orig/src/connman.rules 2009-05-25 14:24:53.000000000 +0100
4+++ git/src/connman.rules 2009-05-25 14:25:16.000000000 +0100
5@@ -3,6 +3,7 @@
6
7 SUBSYSTEM=="net", KERNEL=="eth*", ENV{CONNMAN_TYPE}="ethernet"
8 SUBSYSTEM=="net", KERNEL=="wlan*", ENV{CONNMAN_TYPE}="wifi"
9+SUBSYSTEM=="net", KERNEL=="ra0", ENV{CONNMAN_TYPE}="wifi"
10
11 SUBSYSTEM=="net", DRIVERS=="hso", ENV{CONNMAN_TYPE}="hso"
12