SECTION = "libs/network"
LICENSE = "GPL"
# we need to define the depends here, the dynamic stuff is too late
-DEPENDS = "libnl wpa-supplicant dbus glib-2.0 ppp busybox dhclient resolvconf bluez4"
+DEPENDS = "libnl2 wpa-supplicant dbus glib-2.0 ppp busybox dhclient resolvconf bluez4"
EXTRA_OECONF += "\
ac_cv_path_WPASUPPLICANT=/usr/sbin/wpa_supplicant \
require connman.inc
-
-PR = "r3"
+PR = "r5"
EXTRA_OECONF += "\
--disable-gtk-doc \
--enable-dhclient \
--enable-resolvconf \
--enable-dnsproxy \
+ --enable-tools \
--disable-novatel \
--disable-huawei \
--disable-hso \
SRC_URI = "\
http://www.kernel.org/pub/linux/network/connman/connman-${PV}.tar.gz \
+ file://link-against-libnl2.patch;patch=1 \
file://no_system_user_perms.patch;patch=1 \
file://connman \
"
-
--- /dev/null
+Index: connman-0.46/configure.ac
+===================================================================
+--- connman-0.46.orig/configure.ac
++++ connman-0.46/configure.ac
+@@ -326,7 +326,7 @@
+ AC_ARG_ENABLE(tools, AC_HELP_STRING([--enable-tools],
+ [enable testing tools]), [enable_tools=${enableval}])
+ if (test "${enable_tools}" = "yes"); then
+- PKG_CHECK_MODULES(NETLINK, libnl-1, dummy=yes,
++ PKG_CHECK_MODULES(NETLINK, libnl-2.0, dummy=yes,
+ AC_MSG_ERROR(Netlink library is required))
+ AC_SUBST(NETLINK_CFLAGS)
+ AC_SUBST(NETLINK_LIBS)