Fixes CVE-2009-2957 and CVE-2009-2958 among other things.
Signed-off-by: Roman I Khimov <khimov@altell.ru>
--- /dev/null
+# dnsmasq with support for DBus interface
+
+require dnsmasq_${PV}.bb
+
+S = "${WORKDIR}/dnsmasq-${PV}"
+
+DEPENDS = "dbus"
+EXTRA_OEMAKE = "COPTS=-DHAVE_DBUS"
+
+do_install_append () {
+ install -d ${D}${sysconfdir}/dbus-1/system.d
+ install -m 644 dbus/dnsmasq.conf ${D}${sysconfdir}/dbus-1/system.d/
+}
LICENSE = "GPL"
#at least versions 2.15 and prior are moved to the archive folder on the server
-SRC_URI = "http://www.thekelleys.org.uk/dnsmasq/${@['archive/', ''][float(bb.data.getVar('PV',d,1).split('.')[1]) > 15]}dnsmasq-${PV}.tar.gz \
+SRC_URI = "http://www.thekelleys.org.uk/dnsmasq/${@['archive/', ''][float(bb.data.getVar('PV',d,1).split('.')[1]) > 15]}dnsmasq-${PV}.tar.gz;name=dnsmasq-${PV} \
file://init \
file://dnsmasq.conf"
--- /dev/null
+require dnsmasq.inc
+
+SRC_URI[dnsmasq-2.52.md5sum] = "1bb32fffdb4f977ead607802b5d701d0"
+SRC_URI[dnsmasq-2.52.sha256sum] = "a3724f875d0d30c0e2612a32926ad2b6c0a49fff7e224e737689e4c7e8b323d9"
\ No newline at end of file