mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-31 22:47:51 +00:00
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:
parent
b3ad9036d6
commit
3ee29b34c7
@ -2,15 +2,7 @@
|
||||
|
||||
. config/options $1
|
||||
|
||||
$SCRIPTS/build toolchain
|
||||
$SCRIPTS/build libnl
|
||||
$SCRIPTS/build dbus
|
||||
$SCRIPTS/build udev
|
||||
$SCRIPTS/build busybox
|
||||
#$SCRIPTS/build bluez
|
||||
|
||||
cd $PKG_BUILD
|
||||
|
||||
./configure --host=$TARGET_NAME \
|
||||
--build=$HOST_NAME \
|
||||
--prefix=/usr \
|
||||
@ -26,7 +18,7 @@ cd $PKG_BUILD
|
||||
--disable-bluetooth \
|
||||
--disable-hh2serial-gps \
|
||||
--disable-ofono \
|
||||
--enable-udhcp \
|
||||
--disable-udhcp \
|
||||
--disable-dhclient \
|
||||
--disable-resolvconf \
|
||||
--disable-openconnect \
|
||||
@ -47,6 +39,5 @@ cd $PKG_BUILD
|
||||
--enable-udev \
|
||||
--enable-datafiles \
|
||||
--disable-silent-rules \
|
||||
--with-udhcpc=/sbin/udhcpc \
|
||||
|
||||
make
|
||||
|
@ -32,4 +32,3 @@ progress "Starting Connection Manager"
|
||||
$IONICE touch /var/run/resolv.conf
|
||||
|
||||
connmand
|
||||
udhcpc > /dev/null 2>&1
|
||||
|
@ -2,15 +2,6 @@
|
||||
|
||||
. 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_group system 430
|
||||
|
||||
@ -20,9 +11,6 @@ mkdir -p $INSTALL/etc/dbus-1/system.d
|
||||
mkdir -p $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
|
||||
cp -P $PKG_BUILD/src/connmand $INSTALL/usr/sbin
|
||||
|
||||
|
14
packages/network/connman/meta
Normal file
14
packages/network/connman/meta
Normal 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"
|
@ -1 +0,0 @@
|
||||
http://www.kernel.org/pub/linux/network/connman/connman-0.54.tar.bz2
|
Loading…
x
Reference in New Issue
Block a user