[oe-commits] Roman I Khimov : dnsmasq: add version 2.52

git version control git at git.openembedded.org
Sat Mar 20 18:57:43 UTC 2010


Module: openembedded.git
Branch: shr/unstable
Commit: e399e99d2594c68ed0405368d52eb1b2c16bf3c8
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=e399e99d2594c68ed0405368d52eb1b2c16bf3c8

Author: Roman I Khimov <khimov at altell.ru>
Date:   Fri Mar 19 16:34:40 2010 +0300

dnsmasq: add version 2.52

Fixes CVE-2009-2957 and CVE-2009-2958 among other things.

Signed-off-by: Roman I Khimov <khimov at altell.ru>

---

 recipes/dnsmasq/dnsmasq-dbus_2.52.bb |   13 +++++++++++++
 recipes/dnsmasq/dnsmasq.inc          |    2 +-
 recipes/dnsmasq/dnsmasq_2.52.bb      |    4 ++++
 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 0000000..896952d
--- /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 68c6337..fb47847 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 0000000..f734816
--- /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





More information about the Openembedded-commits mailing list