summaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-support/dnsmasq
diff options
context:
space:
mode:
authorBruce Ashfield <bruce.ashfield@windriver.com>2013-11-04 00:49:41 -0500
committerJoe MacDonald <joe@deserted.net>2013-11-06 15:12:45 -0500
commitffb5434823195cbdc41c76a110eaa6ae04e2b010 (patch)
tree5bf149562794fc2639e3c9b3012d208c5dce7a06 /meta-networking/recipes-support/dnsmasq
parenta1b14825aaef4e3430849bd9e3f93302b2f83af1 (diff)
downloadmeta-openembedded-ffb5434823195cbdc41c76a110eaa6ae04e2b010.tar.gz
dnsmasq: uprev to 2.6.3
A minimum dnsmasq version of 2.5.9 is required deal with IPv6 link local addresses. So instead of just going to the minimum version, we can go all the way to 2.6.3. As part of this update, the following changes have been made in addition to the pure version update: - PR is dropped in favour of PRSERVER functionality - dhcp_release is added to the default build, since it is used in the cleanup phase for virtual machines. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Joe MacDonald <joe@deserted.net>
Diffstat (limited to 'meta-networking/recipes-support/dnsmasq')
-rw-r--r--meta-networking/recipes-support/dnsmasq/dnsmasq.inc8
-rw-r--r--meta-networking/recipes-support/dnsmasq/dnsmasq_2.55.bb6
-rw-r--r--meta-networking/recipes-support/dnsmasq/dnsmasq_2.63.bb4
3 files changed, 12 insertions, 6 deletions
diff --git a/meta-networking/recipes-support/dnsmasq/dnsmasq.inc b/meta-networking/recipes-support/dnsmasq/dnsmasq.inc
index 0f5b27325..e57ab727e 100644
--- a/meta-networking/recipes-support/dnsmasq/dnsmasq.inc
+++ b/meta-networking/recipes-support/dnsmasq/dnsmasq.inc
@@ -22,6 +22,12 @@ PACKAGECONFIG ??= ""
22PACKAGECONFIG[dbus] = "COPTS=-DHAVE_DBUS,,dbus" 22PACKAGECONFIG[dbus] = "COPTS=-DHAVE_DBUS,,dbus"
23EXTRA_OEMAKE = "${EXTRA_OECONF}" 23EXTRA_OEMAKE = "${EXTRA_OECONF}"
24 24
25do_compile_append() {
26 # build dhcp_release
27 cd ${S}/contrib/wrt
28 oe_runmake
29}
30
25do_install () { 31do_install () {
26 oe_runmake "PREFIX=${D}${prefix}" \ 32 oe_runmake "PREFIX=${D}${prefix}" \
27 "BINDIR=${D}${bindir}" \ 33 "BINDIR=${D}${bindir}" \
@@ -34,6 +40,8 @@ do_install () {
34 install -d ${D}${systemd_unitdir}/system 40 install -d ${D}${systemd_unitdir}/system
35 install -m 0644 ${WORKDIR}/dnsmasq.service ${D}${systemd_unitdir}/system 41 install -m 0644 ${WORKDIR}/dnsmasq.service ${D}${systemd_unitdir}/system
36 42
43 install -m 0755 ${S}/contrib/wrt/dhcp_release ${D}${bindir}
44
37 if [ "${@base_contains('PACKAGECONFIG', 'dbus', 'dbus', '', d)}" != "" ]; then 45 if [ "${@base_contains('PACKAGECONFIG', 'dbus', 'dbus', '', d)}" != "" ]; then
38 install -d ${D}${sysconfdir}/dbus-1/system.d 46 install -d ${D}${sysconfdir}/dbus-1/system.d
39 install -m 644 dbus/dnsmasq.conf ${D}${sysconfdir}/dbus-1/system.d/ 47 install -m 644 dbus/dnsmasq.conf ${D}${sysconfdir}/dbus-1/system.d/
diff --git a/meta-networking/recipes-support/dnsmasq/dnsmasq_2.55.bb b/meta-networking/recipes-support/dnsmasq/dnsmasq_2.55.bb
deleted file mode 100644
index ae37db739..000000000
--- a/meta-networking/recipes-support/dnsmasq/dnsmasq_2.55.bb
+++ /dev/null
@@ -1,6 +0,0 @@
1require dnsmasq.inc
2
3PR = "r3"
4
5SRC_URI[dnsmasq-2.55.md5sum] = "b093d7c6bc7f97ae6fd35d048529232a"
6SRC_URI[dnsmasq-2.55.sha256sum] = "cf63ecf5977f00474cbda98376a9d8743500a82fd98e13f43d7037bce9f9f929"
diff --git a/meta-networking/recipes-support/dnsmasq/dnsmasq_2.63.bb b/meta-networking/recipes-support/dnsmasq/dnsmasq_2.63.bb
new file mode 100644
index 000000000..2df371390
--- /dev/null
+++ b/meta-networking/recipes-support/dnsmasq/dnsmasq_2.63.bb
@@ -0,0 +1,4 @@
1require dnsmasq.inc
2
3SRC_URI[dnsmasq-2.63.md5sum] = "43e771997615ebcd8f6c6ffa60c3e40b"
4SRC_URI[dnsmasq-2.63.sha256sum] = "fd86e3bcc6a63c76e35e4a20baa790e7bbbfc7b43845cae85ca8ffd024467710"