connman: add metafile support, update to connman-0.55, use internally dhcp client

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2010-07-27 12:22:26 +02:00
parent b3ad9036d6
commit 3ee29b34c7
5 changed files with 15 additions and 24 deletions

View File

@ -2,15 +2,7 @@
. config/options $1 . config/options $1
$SCRIPTS/build toolchain
$SCRIPTS/build libnl
$SCRIPTS/build dbus
$SCRIPTS/build udev
$SCRIPTS/build busybox
#$SCRIPTS/build bluez
cd $PKG_BUILD cd $PKG_BUILD
./configure --host=$TARGET_NAME \ ./configure --host=$TARGET_NAME \
--build=$HOST_NAME \ --build=$HOST_NAME \
--prefix=/usr \ --prefix=/usr \
@ -26,7 +18,7 @@ cd $PKG_BUILD
--disable-bluetooth \ --disable-bluetooth \
--disable-hh2serial-gps \ --disable-hh2serial-gps \
--disable-ofono \ --disable-ofono \
--enable-udhcp \ --disable-udhcp \
--disable-dhclient \ --disable-dhclient \
--disable-resolvconf \ --disable-resolvconf \
--disable-openconnect \ --disable-openconnect \
@ -47,6 +39,5 @@ cd $PKG_BUILD
--enable-udev \ --enable-udev \
--enable-datafiles \ --enable-datafiles \
--disable-silent-rules \ --disable-silent-rules \
--with-udhcpc=/sbin/udhcpc \
make make

View File

@ -32,4 +32,3 @@ progress "Starting Connection Manager"
$IONICE touch /var/run/resolv.conf $IONICE touch /var/run/resolv.conf
connmand connmand
udhcpc > /dev/null 2>&1

View File

@ -2,15 +2,6 @@
. config/options $1 . config/options $1
$SCRIPTS/install libnl
$SCRIPTS/install dbus
$SCRIPTS/install udev
$SCRIPTS/install Python
$SCRIPTS/install dbus-python
$SCRIPTS/install pygobject
#$SCRIPTS/install bluez
$SCRIPTS/install wpa_supplicant
add_user system x 430 430 "service" "/var/run/connman" "/bin/sh" add_user system x 430 430 "service" "/var/run/connman" "/bin/sh"
add_group system 430 add_group system 430
@ -20,9 +11,6 @@ mkdir -p $INSTALL/etc/dbus-1/system.d
mkdir -p $INSTALL/usr/lib/connman/plugins mkdir -p $INSTALL/usr/lib/connman/plugins
cp $PKG_BUILD/plugins/.libs/*.so $INSTALL/usr/lib/connman/plugins cp $PKG_BUILD/plugins/.libs/*.so $INSTALL/usr/lib/connman/plugins
mkdir -p $INSTALL/usr/lib/connman/scripts
cp $PKG_BUILD/scripts/udhcpc-script $INSTALL/usr/lib/connman/scripts
mkdir -p $INSTALL/usr/sbin mkdir -p $INSTALL/usr/sbin
cp -P $PKG_BUILD/src/connmand $INSTALL/usr/sbin cp -P $PKG_BUILD/src/connmand $INSTALL/usr/sbin

View File

@ -0,0 +1,14 @@
PKG_NAME="connman"
PKG_VERSION="0.55"
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="GPL"
PKG_SITE="http://www.connman.net"
PKG_URL="http://www.kernel.org/pub/linux/network/connman/$PKG_NAME-$PKG_VERSION.tar.bz2"
PKG_DEPENDS="libnl iptables dbus udev Python dbus-python pygobject wpa_supplicant"
PKG_BUILD_DEPENDS="toolchain libnl iptables dbus udev"
PKG_PRIORITY="optional"
PKG_SECTION="network"
PKG_SHORTDESC="connman: Network manager daemon"
PKG_LONGDESC="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."
PKG_IS_ADDON="no"

View File

@ -1 +0,0 @@
http://www.kernel.org/pub/linux/network/connman/connman-0.54.tar.bz2