1 DESCRIPTION = "NetworkManager"
5 DEPENDS = "libnl1 dbus dbus-glib hal wireless-tools policykit gnutls util-linux-ng ppp"
6 RDEPENDS_${PN} = "wpa-supplicant dhcp-client \
7 ${@base_contains('COMBINED_FEATURES', '3gmodem', 'ppp', '', d)} \
10 RCONFLICTS_${PN} = "connman"
12 inherit gnome update-rc.d
14 SRC_URI = "${GNOME_MIRROR}/NetworkManager/${@gnome_verdir("${PV}")}/NetworkManager-${PV}.tar.bz2"
17 --with-distro=debian \
18 --with-crypto=gnutls \
19 --disable-more-warnings"
21 INITSCRIPT_NAME = "NetworkManager"
22 INITSCRIPT_PARAMS = "defaults 28"
24 # Work around dbus permission problems since we lack a proper at_console
25 do_install_prepend() {
26 sed -i -e s:deny:allow:g ${S}/src/NetworkManager.conf
27 sed -i -e s:deny:allow:g ${S}/system-settings/src/nm-system-settings.conf || true
28 sed -i -e s:deny:allow:g ${S}/callouts/nm-dispatcher.conf
31 do_install_append () {
32 install -d ${D}/etc/default/volatiles
33 install -d ${D}/etc/dbus-1/event.d
35 install -d ${D}/usr/bin
36 install -m 0755 ${S}/test/.libs/nm-tool ${D}/usr/bin
37 install -m 0755 ${S}/test/.libs/libnm* ${D}/usr/bin
38 install -m 0755 ${S}/test/.libs/nm-online ${D}/usr/bin
41 pkg_postinst_${PN} () {
42 if [ "x$D" != "x" ]; then
45 /etc/init.d/populate-volatile.sh update
48 PACKAGES =+ "libnmutil libnmglib libnmglib-vpn ${PN}-tests"
50 FILES_libnmutil += "${libdir}/libnm-util.so.*"
51 FILES_libnmglib += "${libdir}/libnm_glib.so.*"
52 FILES_libnmglib-vpn += "${libdir}/libnm_glib_vpn.so.*"
57 ${libdir}/pppd/*/nm-pppd-plugin.so \
58 ${libdir}/NetworkManager/*.so \
59 ${datadir}/PolicyKit \
61 ${base_libdir}/udev/* \
64 FILES_${PN}-dbg += "${libdir}/NetworkManager/.debug/ \
65 ${libdir}/pppd/*/.debug/ "
67 FILES_${PN}-dev += "${datadir}/NetworkManager/gdb-cmd \
68 ${libdir}/pppd/*/*.a \
69 ${libdir}/pppd/*/*.la \
70 ${libdir}/NetworkManager/*.a \
71 ${libdir}/NetworkManager/*.la"
73 FILES_${PN}-tests = "${bindir}/nm-tool \
74 ${bindir}/libnm_glib_test \
75 ${bindir}/nminfotest \
77 ${bindir}/nm-supplicant \
78 ${bindir}/nm-testdevices"