connman: update to 1.25 + selected patches
[opendreambox.git] / meta-opendreambox / recipes-connectivity / connman / connman_git.bb
1 require recipes-connectivity/connman/connman.inc
2
3 SRCREV = "df5772cfb157f76005d7b209654ceddf366537d2"
4 PV = "1.25+git${SRCPV}"
5
6 SRC_URI = "git://git.kernel.org/pub/scm/network/connman/connman.git \
7            file://0001-agent-Fix-Peer-authorization-reply-WPS-choice-handli.patch \
8            file://0002-wifi-Add-an-extra-check-for-pending-wifi-data.patch \
9            file://0003-ipconfig-Do-not-pass-a-NULL-pointer-to-D-Bus.patch \
10            file://0004-gdbus-Avoid-reporting-GDBusClient-disconnect-twice.patch \
11            file://0005-gdbus-Fix-use-after-free.patch \
12            file://0006-Revert-gdbus-Don-t-include-just-added-interfaces-in-.patch \
13            file://0007-gdbus-Fix-crash-when-calling-g_dbus_add_service_watc.patch \
14            file://0008-gdbus-Fix-crash-when-watch-is-toggled-or-disconnecte.patch \
15            file://0009-replace-hardcode-and-add-EnvironmentFile-and-Wants.patch \
16            file://connman \
17            file://connmand-env \
18            file://connman-env.service.in"
19
20 S = "${WORKDIR}/git"
21
22 do_install_append() {
23         rm -rf ${D}${sysconfdir}/init.d
24
25         install -m 755 ${WORKDIR}/connmand-env ${D}${sbindir}/connmand-env
26         sed -e 's,@sbindir@,${sbindir},g' < ${WORKDIR}/connman-env.service.in > ${D}${systemd_unitdir}/system/connman-env.service
27         chmod 644 ${D}${systemd_unitdir}/system/connman-env.service
28 }
29
30 FILES_${PN} += "${sbindir}/connmand-env ${systemd_unitdir}/system/connman-env.service"
31
32 INITSCRIPT_PACKAGES = ""