[minidlna] bump to latest cvs revision (fixes some bugs with an xbox360 as client)
[opendreambox.git] / meta-opendreambox / recipes-connectivity / wpa-supplicant / wpa-supplicant_0.7.3.bbappend
1 DEPENDS += "openssl"
2 PR .= "-dream2"
3
4 SRC_URI += " \
5         file://action_wpa.sh \
6         file://functions.sh \
7         file://ifupdown.sh \
8         file://wpa_action \
9         file://wpa_action.8 \
10 "
11
12 do_configure_append() {
13         sed -e '/^CONFIG_TLS = gnutls/d' -i .config
14         echo "CONFIG_DEBUG_SYSLOG=y" >> .config
15 }
16 do_install_append() {
17         rm -rf ${D}${sysconfdir}/network/if-*.d
18
19         install -d ${D}${sysconfdir}/wpa_supplicant
20         install -m 755 ${WORKDIR}/action_wpa.sh ${D}${sysconfdir}/wpa_supplicant
21         install -m 755 ${WORKDIR}/functions.sh ${D}${sysconfdir}/wpa_supplicant
22         install -m 755 ${WORKDIR}/ifupdown.sh ${D}${sysconfdir}/wpa_supplicant
23
24         install -d ${D}${sbindir}
25         install -m 755 ${WORKDIR}/wpa_action ${D}${sbindir}
26
27         install -d ${D}${mandir}/man8
28         install -m 755 ${WORKDIR}/wpa_action.8 ${D}${mandir}/man8
29
30         install -d ${D}${sysconfdir}/network/if-down.d
31         install -d ${D}${sysconfdir}/network/if-post-down.d
32         install -d ${D}${sysconfdir}/network/if-pre-up.d
33         install -d ${D}${sysconfdir}/network/if-up.d
34         ln -s ../../wpa_supplicant/ifupdown.sh ${D}${sysconfdir}/network/if-down.d/${PN}
35         ln -s ../../wpa_supplicant/ifupdown.sh ${D}${sysconfdir}/network/if-post-down.d/${PN}
36         ln -s ../../wpa_supplicant/ifupdown.sh ${D}${sysconfdir}/network/if-pre-up.d/${PN}
37         ln -s ../../wpa_supplicant/ifupdown.sh ${D}${sysconfdir}/network/if-up.d/${PN}
38 }
39
40 FILESEXTRAPATHS_prepend := "${THISDIR}/${P}:"