[Lunar-commits] <moonbase> connman: a new network connection manager

Auke Kok sofar at foo-projects.org
Thu Apr 17 22:14:57 CEST 2008


commit 79c37d4e0279c2814cb215e33d25a5254c6436c2
Author: Auke Kok <auke at foo-projects.org>
Date:   Thu Apr 17 22:14:26 2008 +0200

    connman: a new network connection manager
    
    This includes required dependencies connman-gnome, libgdbus, resolvconf.
    
    connman is a background daemon that runs as root. the userspace connman-applet
    runs in the systray and gives a configuration interface to the user.
    
    this interface can be used to manage WPA and the daemon will choose to
    enable the best link available where ever possible.
    
    connman requires dhclient so 'dhcp' package is needed. resolvconf is a
    simple debian package to mitigate /etc/resolv.conf changes. The whole
    set of programs heavily uses dbus allthough they're planning on making
    a dbus-less version as well for embedded. obviously wpa_supplicant
    is required for managing wireless connections.
    
    all in all this is a great addition for the xfce desktop and can replace airconfig
    where used, so Brian can stop messing with it and do real work ;)
---
 zlocal/connman-git/BUILD           |    6 ++++++
 zlocal/connman-git/DEPENDS         |    4 ++++
 zlocal/connman-git/DETAILS         |   17 +++++++++++++++++
 zlocal/connman-git/init.d/connmand |   10 ++++++++++
 zlocal/connman-gnome-git/BUILD     |    6 ++++++
 zlocal/connman-gnome-git/DEPENDS   |    2 ++
 zlocal/connman-gnome-git/DETAILS   |   20 ++++++++++++++++++++
 zlocal/libgdbus-git/BUILD          |    8 ++++++++
 zlocal/libgdbus-git/DEPENDS        |    2 ++
 zlocal/libgdbus-git/DETAILS        |   12 ++++++++++++
 zlocal/resolvconf/BUILD            |    9 +++++++++
 zlocal/resolvconf/DETAILS          |   13 +++++++++++++
 12 files changed, 109 insertions(+), 0 deletions(-)

diff --git a/zlocal/connman-git/BUILD b/zlocal/connman-git/BUILD
new file mode 100644
index 0000000..a563ddc
--- /dev/null
+++ b/zlocal/connman-git/BUILD
@@ -0,0 +1,6 @@
+(
+
+  sh bootstrap &&
+  default_build
+
+) > $C_FIFO 2>&1
diff --git a/zlocal/connman-git/DEPENDS b/zlocal/connman-git/DEPENDS
new file mode 100644
index 0000000..5231d53
--- /dev/null
+++ b/zlocal/connman-git/DEPENDS
@@ -0,0 +1,4 @@
+depends libgdbus-git
+depends dhcp
+depends resolvconf
+depends wpa_supplicant
diff --git a/zlocal/connman-git/DETAILS b/zlocal/connman-git/DETAILS
new file mode 100644
index 0000000..e485ebf
--- /dev/null
+++ b/zlocal/connman-git/DETAILS
@@ -0,0 +1,17 @@
+          MODULE=connman-git
+         VERSION=git
+          SOURCE=$MODULE-$VERSION.tar.bz2
+      SOURCE_URL=git+http://moblin.org/repos/projects/connman.git
+SOURCE_DIRECTORY=$BUILD_DIRECTORY/$MODULE-$VERSION
+        WEB_SITE="http://moblin.org/projects/projects_connman.php"
+         ENTERED=20080417
+         UPDATED=20080417
+           SHORT="Network Connection Manager daemon"
+cat <<EOF
+This daemon provides profiles and link management for both wireless
+and wired network connections. The daemon will react to link changes
+and automatically select preferred networks.
+
+The user uses the connman-gnome interface to configure and manage
+the daemon.
+EOF
diff --git a/zlocal/connman-git/init.d/connmand b/zlocal/connman-git/init.d/connmand
new file mode 100644
index 0000000..8b9d0bf
--- /dev/null
+++ b/zlocal/connman-git/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/zlocal/connman-gnome-git/BUILD b/zlocal/connman-gnome-git/BUILD
new file mode 100644
index 0000000..a563ddc
--- /dev/null
+++ b/zlocal/connman-gnome-git/BUILD
@@ -0,0 +1,6 @@
+(
+
+  sh bootstrap &&
+  default_build
+
+) > $C_FIFO 2>&1
diff --git a/zlocal/connman-gnome-git/DEPENDS b/zlocal/connman-gnome-git/DEPENDS
new file mode 100644
index 0000000..f4c5248
--- /dev/null
+++ b/zlocal/connman-gnome-git/DEPENDS
@@ -0,0 +1,2 @@
+depends gtk+-2
+depends connman-git
diff --git a/zlocal/connman-gnome-git/DETAILS b/zlocal/connman-gnome-git/DETAILS
new file mode 100644
index 0000000..d66633c
--- /dev/null
+++ b/zlocal/connman-gnome-git/DETAILS
@@ -0,0 +1,20 @@
+          MODULE=connman-gnome-git
+         VERSION=git
+          SOURCE=$MODULE-$VERSION.tar.bz2
+      SOURCE_URL=git+http://moblin.org/repos/projects/connman-gnome.git
+SOURCE_DIRECTORY=$BUILD_DIRECTORY/$MODULE-$VERSION
+        WEB_SITE="http://moblin.org/projects/projects_connman.php"
+         ENTERED=20080417
+         UPDATED=20080417
+           SHORT="User configuration frontend to connmand"
+cat <<EOF
+The Linux Connection Manager 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 in
+other Moblin-based embedded systems. It is 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/zlocal/libgdbus-git/BUILD b/zlocal/libgdbus-git/BUILD
new file mode 100644
index 0000000..4604a03
--- /dev/null
+++ b/zlocal/libgdbus-git/BUILD
@@ -0,0 +1,8 @@
+(
+
+  OPTS="$OPTS --enable-dbus-glib"
+
+  sh bootstrap &&
+  default_build
+
+) > $C_FIFO 2>&1
diff --git a/zlocal/libgdbus-git/DEPENDS b/zlocal/libgdbus-git/DEPENDS
new file mode 100644
index 0000000..fc744a4
--- /dev/null
+++ b/zlocal/libgdbus-git/DEPENDS
@@ -0,0 +1,2 @@
+depends glib-2
+depends dbus
diff --git a/zlocal/libgdbus-git/DETAILS b/zlocal/libgdbus-git/DETAILS
new file mode 100644
index 0000000..2222257
--- /dev/null
+++ b/zlocal/libgdbus-git/DETAILS
@@ -0,0 +1,12 @@
+          MODULE=libgdbus-git
+         VERSION=git
+          SOURCE=$MODULE-$VERSION.tar.bz2
+      SOURCE_URL=git+http://moblin.org/repos/projects/libgdbus.git
+SOURCE_DIRECTORY=$BUILD_DIRECTORY/$MODULE-$VERSION
+        WEB_SITE="http://moblin.org/projects/projects_connman.php"
+         ENTERED=20080417
+         UPDATED=20080417
+           SHORT="glib DBUS bindings"
+cat <<EOF
+glib DBUS bindings, used for connman.
+EOF
diff --git a/zlocal/resolvconf/BUILD b/zlocal/resolvconf/BUILD
new file mode 100644
index 0000000..5e3353e
--- /dev/null
+++ b/zlocal/resolvconf/BUILD
@@ -0,0 +1,9 @@
+(
+
+  prepare_install &&
+  install -m755 bin/resolvconf bin/list-records /bin/ &&
+  cp -rv etc/resolvconf /etc/ &&
+  install -m644 man/resolvconf.8 /usr/share/man/man8/ &&
+  install -m644 man/interface-order.5 /usr/share/man/man5/
+
+) > $C_FIFO 2>&1
diff --git a/zlocal/resolvconf/DETAILS b/zlocal/resolvconf/DETAILS
new file mode 100644
index 0000000..88961d5
--- /dev/null
+++ b/zlocal/resolvconf/DETAILS
@@ -0,0 +1,13 @@
+          MODULE=resolvconf
+         VERSION=1.39
+          SOURCE=${MODULE}_${VERSION}.tar.gz
+      SOURCE_URL=http://ftp.de.debian.org/debian/pool/main/r/resolvconf/
+SOURCE_DIRECTORY=$BUILD_DIRECTORY/$MODULE-$VERSION
+      SOURCE_VFY=sha1:2d247f6f7365b2520cd63c0b17a8af5538eae2a5
+        WEB_SITE="http://packages.debian.org/source/unstable/resolvconf"
+         ENTERED=20080417
+         UPDATED=20080417
+           SHORT="Manages changes to /etc/resolv.conf"
+cat <<EOF
+Manages changes to /etc/resolv.conf
+EOF


More information about the Lunar-commits mailing list