[Lunar-commits] <moonbase> connman: non-git version.

Auke Kok sofar at foo-projects.org
Sun Jun 12 08:48:08 CEST 2011


commit 1e8b4aec07d20063af9a9f9974b351e5570324c6
Author: Auke Kok <sofar at foo-projects.org>
Date:   Sun Jun 12 08:48:08 2011 +0200

    connman: non-git version.
---
 zbeta/connman/BUILD                     |   24 ++++++++++++++++++++++++
 zbeta/connman/DEPENDS                   |    5 +++++
 zbeta/connman/DETAILS                   |   20 ++++++++++++++++++++
 zbeta/connman/init.d/connmand           |   10 ++++++++++
 zbeta/connman/systemd.d/connman.service |   11 +++++++++++
 5 files changed, 70 insertions(+), 0 deletions(-)

diff --git a/zbeta/connman/BUILD b/zbeta/connman/BUILD
new file mode 100644
index 0000000..2df7797
--- /dev/null
+++ b/zbeta/connman/BUILD
@@ -0,0 +1,24 @@
+(
+
+  # --enable-iwmx  -- needs intel wimax tools
+
+  OPTS+=" --enable-ethernet=builtin
+    --enable-wifi=builtin  
+    --enable-ofono=builtin  
+    --enable-bluetooth=builtin  
+    --enable-loopback=builtin  
+    --enable-portal=builtin  
+    --enable-meego=builtin  
+    --enable-openconnect=builtin  
+    --enable-openvpn=builtin  
+    --enable-pacrunner=builtin  
+    --enable-ntpd=builtin  
+    --with-ntpd=/usr/sbin/ntpd  
+    --enable-threads  
+    --enable-test
+    --enable-pie
+    --enable-iospm
+    --enable-polkit" &&
+  default_build
+
+) > $C_FIFO 2>&1
diff --git a/zbeta/connman/DEPENDS b/zbeta/connman/DEPENDS
new file mode 100644
index 0000000..fd3e126
--- /dev/null
+++ b/zbeta/connman/DEPENDS
@@ -0,0 +1,5 @@
+depends dbus
+depends glib-2
+depends dhcp
+depends resolvconf
+depends wpa_supplicant
diff --git a/zbeta/connman/DETAILS b/zbeta/connman/DETAILS
new file mode 100644
index 0000000..acbf8b0
--- /dev/null
+++ b/zbeta/connman/DETAILS
@@ -0,0 +1,20 @@
+          MODULE=connman
+         VERSION=0.73
+          SOURCE=${MODULE}-${VERSION}.tar.bz2
+      SOURCE_URL=http://www.kernel.org/pub/linux/network/connman/
+SOURCE_DIRECTORY=$BUILD_DIRECTORY/$MODULE-$VERSION
+        WEB_SITE="http://connman.net/"
+         ENTERED=20110202
+         UPDATED=20110424
+           SHORT="Fast and moduler network connection manager."
+cat <<EOF
+The ConnMan project provides a daemon for managing internet connections
+within embedded devices running the Linux operating system. The
+Connection Manager is designed to be slim and to use as few resources
+as possible, so it can be easily integrated. It is a fully modular
+system that can be extended, through plug-ins, to support all kinds
+of wired or wireless technologies. Also, configuration methods, like
+DHCP and domain name resolving, are implemented using plug-ins. The
+plug-in approach allows for easy adaption and modification for various
+use cases.
+EOF
diff --git a/zbeta/connman/init.d/connmand b/zbeta/connman/init.d/connmand
new file mode 100644
index 0000000..8b9d0bf
--- /dev/null
+++ b/zbeta/connman/init.d/connmand
@@ -0,0 +1,10 @@
+#! /bin/bash
+#
+# connmand      Start/Stop the connmand network connection manager
+#
+# chkconfig: 345 15 90
+# description: network connection manager daemon
+# processname: connmand
+# pidfile: /var/run/connmand.pid
+
+. /lib/lsb/init-functions
diff --git a/zbeta/connman/systemd.d/connman.service b/zbeta/connman/systemd.d/connman.service
new file mode 100644
index 0000000..26fb023
--- /dev/null
+++ b/zbeta/connman/systemd.d/connman.service
@@ -0,0 +1,11 @@
+[Unit]
+Description=Connection service
+After=syslog.target
+
+[Service]
+Type=dbus
+BusName=net.connman
+ExecStart=/usr/sbin/connmand -n
+
+[Install]
+WantedBy=multi-user.target


More information about the Lunar-commits mailing list