summaryrefslogtreecommitdiffstats
path: root/recipes/dnsmasq
diff options
context:
space:
mode:
authorRoman I Khimov <khimov@altell.ru>2010-03-19 16:34:40 +0300
committerRoman I Khimov <khimov@altell.ru>2010-03-20 00:06:05 +0300
commite399e99d2594c68ed0405368d52eb1b2c16bf3c8 (patch)
treed22bcb2ee81baf7b8f1e0d0e50d78572ef9afe47 /recipes/dnsmasq
parent185e4f64ecbcf4024d17ae0a26383fec8bd94291 (diff)
downloadopenembedded-e399e99d2594c68ed0405368d52eb1b2c16bf3c8.tar.gz
dnsmasq: add version 2.52
Fixes CVE-2009-2957 and CVE-2009-2958 among other things. Signed-off-by: Roman I Khimov <khimov@altell.ru>
Diffstat (limited to 'recipes/dnsmasq')
-rw-r--r--recipes/dnsmasq/dnsmasq-dbus_2.52.bb13
-rw-r--r--recipes/dnsmasq/dnsmasq.inc2
-rw-r--r--recipes/dnsmasq/dnsmasq_2.52.bb4
3 files changed, 18 insertions, 1 deletions
diff --git a/recipes/dnsmasq/dnsmasq-dbus_2.52.bb b/recipes/dnsmasq/dnsmasq-dbus_2.52.bb
new file mode 100644
index 0000000000..896952d53b
--- /dev/null
+++ b/recipes/dnsmasq/dnsmasq-dbus_2.52.bb
@@ -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/
+}
diff --git a/recipes/dnsmasq/dnsmasq.inc b/recipes/dnsmasq/dnsmasq.inc
index 68c6337306..fb478472df 100644
--- a/recipes/dnsmasq/dnsmasq.inc
+++ b/recipes/dnsmasq/dnsmasq.inc
@@ -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
index 0000000000..f734816f92
--- /dev/null
+++ b/recipes/dnsmasq/dnsmasq_2.52.bb
@@ -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