dnsmasq: add version 2.52
authorRoman I Khimov <khimov@altell.ru>
Fri, 19 Mar 2010 13:34:40 +0000 (16:34 +0300)
committerRoman I Khimov <khimov@altell.ru>
Fri, 19 Mar 2010 21:06:05 +0000 (00:06 +0300)
Fixes CVE-2009-2957 and CVE-2009-2958 among other things.

Signed-off-by: Roman I Khimov <khimov@altell.ru>
recipes/dnsmasq/dnsmasq-dbus_2.52.bb [new file with mode: 0644]
recipes/dnsmasq/dnsmasq.inc
recipes/dnsmasq/dnsmasq_2.52.bb [new file with mode: 0644]

diff --git a/recipes/dnsmasq/dnsmasq-dbus_2.52.bb b/recipes/dnsmasq/dnsmasq-dbus_2.52.bb
new file mode 100644 (file)
index 0000000..896952d
--- /dev/null
@@ -0,0 +1,13 @@
+# 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/
+}
index 68c6337..fb47847 100644 (file)
@@ -4,7 +4,7 @@ SECTION = "console/network"
 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"
 
diff --git a/recipes/dnsmasq/dnsmasq_2.52.bb b/recipes/dnsmasq/dnsmasq_2.52.bb
new file mode 100644 (file)
index 0000000..f734816
--- /dev/null
@@ -0,0 +1,4 @@
+require dnsmasq.inc
+
+SRC_URI[dnsmasq-2.52.md5sum] = "1bb32fffdb4f977ead607802b5d701d0"
+SRC_URI[dnsmasq-2.52.sha256sum] = "a3724f875d0d30c0e2612a32926ad2b6c0a49fff7e224e737689e4c7e8b323d9"
\ No newline at end of file