diff options
| author | Koen Kooi <koen@dominion.thruhere.net> | 2011-07-13 09:52:45 +0200 |
|---|---|---|
| committer | Koen Kooi <koen@dominion.thruhere.net> | 2011-07-13 12:28:49 +0200 |
| commit | e8636471d26edce61803b004118b5cce13eaa9aa (patch) | |
| tree | 143fc23a3775cec0dbb8703c7dab946777215ffb /meta-oe/recipes-connectivity/connman | |
| parent | 7a8b1010e850b0338f05eacf181e78462355eac6 (diff) | |
| download | meta-openembedded-e8636471d26edce61803b004118b5cce13eaa9aa.tar.gz | |
connman: update to 0.75
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Diffstat (limited to 'meta-oe/recipes-connectivity/connman')
| -rw-r--r-- | meta-oe/recipes-connectivity/connman/connman.inc | 13 | ||||
| -rw-r--r-- | meta-oe/recipes-connectivity/connman/connman_0.75.bb (renamed from meta-oe/recipes-connectivity/connman/connman_0.74.bb) | 11 |
2 files changed, 16 insertions, 8 deletions
diff --git a/meta-oe/recipes-connectivity/connman/connman.inc b/meta-oe/recipes-connectivity/connman/connman.inc index c0cdf7b4ce..1022ce700e 100644 --- a/meta-oe/recipes-connectivity/connman/connman.inc +++ b/meta-oe/recipes-connectivity/connman/connman.inc | |||
| @@ -43,10 +43,15 @@ do_compile_append() { | |||
| 43 | do_install_append() { | 43 | do_install_append() { |
| 44 | install -d ${D}${sysconfdir}/init.d | 44 | install -d ${D}${sysconfdir}/init.d |
| 45 | install -m 0755 ${WORKDIR}/connman ${D}${sysconfdir}/init.d/connman | 45 | install -m 0755 ${WORKDIR}/connman ${D}${sysconfdir}/init.d/connman |
| 46 | |||
| 47 | install -d ${D}${bindir} | ||
| 48 | install -m 0755 ${S}/tools/*-test ${D}${bindir} | ||
| 49 | install -m 0755 ${S}/tools/wispr ${D}${bindir} | ||
| 50 | install -m 0755 ${S}/tools/wifi-scan ${D}${bindir} | ||
| 46 | } | 51 | } |
| 47 | 52 | ||
| 48 | python populate_packages_prepend() { | 53 | python populate_packages_prepend() { |
| 49 | depmap = dict( pppd="ppp", udhcp="busybox connman-scripts", dhclient="dhcp-client", wifi="wpa-supplicant", resolvconf="resolvconf", bluetooth="bluez4", ntpd="ntp" ) | 54 | depmap = dict( pppd="ppp", udhcp="busybox connman-scripts", dhclient="dhcp-client", wifi="wpa-supplicant", resolvconf="resolvconf", bluetooth="bluez4", ntpd="ntp", ofono="ofono" ) |
| 50 | packages = [] | 55 | packages = [] |
| 51 | hook = lambda file,pkg,b,c,d:packages.append((file,pkg)) | 56 | hook = lambda file,pkg,b,c,d:packages.append((file,pkg)) |
| 52 | plugin_dir = bb.data.expand('${libdir}/connman/plugins/', d) | 57 | plugin_dir = bb.data.expand('${libdir}/connman/plugins/', d) |
| @@ -62,8 +67,10 @@ python populate_packages_prepend() { | |||
| 62 | 67 | ||
| 63 | PACKAGES_DYNAMIC = "${PN}-plugin-*" | 68 | PACKAGES_DYNAMIC = "${PN}-plugin-*" |
| 64 | 69 | ||
| 65 | PACKAGES += "${PN}-scripts ${PN}-test-utils" | 70 | PACKAGES =+ "${PN}-scripts ${PN}-tools ${PN}-tests" |
| 66 | 71 | ||
| 72 | FILES_${PN}-tools = "${bindir}/wispr ${bindir}/wifi-scan" | ||
| 73 | FILES_${PN{-tests = "${bindir}/*-test" | ||
| 67 | FILES_${PN} = "${bindir}/* ${sbindir}/* ${libexecdir}/* ${libdir}/lib*.so.* \ | 74 | FILES_${PN} = "${bindir}/* ${sbindir}/* ${libexecdir}/* ${libdir}/lib*.so.* \ |
| 68 | ${sysconfdir} ${sharedstatedir} ${localstatedir} \ | 75 | ${sysconfdir} ${sharedstatedir} ${localstatedir} \ |
| 69 | ${base_bindir}/* ${base_sbindir}/* ${base_libdir}/*.so* ${datadir}/${PN} \ | 76 | ${base_bindir}/* ${base_sbindir}/* ${base_libdir}/*.so* ${datadir}/${PN} \ |
| @@ -97,8 +104,6 @@ pkg_postrm_connman-systemd() { | |||
| 97 | # Needed when using DNS proxy feature | 104 | # Needed when using DNS proxy feature |
| 98 | RRECOMMENDS_${PN} += "dnsmasq-dbus" | 105 | RRECOMMENDS_${PN} += "dnsmasq-dbus" |
| 99 | 106 | ||
| 100 | FILES_${PN}-test-utils += "${libdir}/connman/test/*" | ||
| 101 | |||
| 102 | FILES_${PN}-scripts += "${libdir}/connman/scripts" | 107 | FILES_${PN}-scripts += "${libdir}/connman/scripts" |
| 103 | FILES_${PN}-dbg += "${libdir}/connman/*/.debug" | 108 | FILES_${PN}-dbg += "${libdir}/connman/*/.debug" |
| 104 | FILES_${PN}-dev += "${libdir}/connman/*/*.la" | 109 | FILES_${PN}-dev += "${libdir}/connman/*/*.la" |
diff --git a/meta-oe/recipes-connectivity/connman/connman_0.74.bb b/meta-oe/recipes-connectivity/connman/connman_0.75.bb index 7e29487670..827076175c 100644 --- a/meta-oe/recipes-connectivity/connman/connman_0.74.bb +++ b/meta-oe/recipes-connectivity/connman/connman_0.75.bb | |||
| @@ -1,7 +1,5 @@ | |||
| 1 | require connman.inc | 1 | require connman.inc |
| 2 | 2 | ||
| 3 | PR = "r1" | ||
| 4 | |||
| 5 | EXTRA_OECONF += "\ | 3 | EXTRA_OECONF += "\ |
| 6 | --disable-gtk-doc \ | 4 | --disable-gtk-doc \ |
| 7 | --enable-debug \ | 5 | --enable-debug \ |
| @@ -25,5 +23,10 @@ SRC_URI = "\ | |||
| 25 | file://connman \ | 23 | file://connman \ |
| 26 | " | 24 | " |
| 27 | 25 | ||
| 28 | SRC_URI[md5sum] = "3feb49e7c6dea22de83647cb1790a1b3" | 26 | SRC_URI[md5sum] = "9973cb89a11fff6b51fc85b51c13b711" |
| 29 | SRC_URI[sha256sum] = "a283b590bd2ed5c1cd08630cbc7880d9906a3ca763cad121a66c9a5ddfc2882d" | 27 | SRC_URI[sha256sum] = "b15361237f7ec8092fb0e55d4585550ab35491485edaf10ddd032d6e36299db7" |
| 28 | |||
| 29 | # alg-test doesn't build, so disable that | ||
| 30 | do_configure_prepend() { | ||
| 31 | sed -i 's:tools/alg-test ::g' Makefile.am | ||
| 32 | } | ||
