summaryrefslogtreecommitdiffstats
path: root/recipes/dnsmasq/dnsmasq.inc
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/dnsmasq/dnsmasq.inc')
-rw-r--r--recipes/dnsmasq/dnsmasq.inc7
1 files changed, 3 insertions, 4 deletions
diff --git a/recipes/dnsmasq/dnsmasq.inc b/recipes/dnsmasq/dnsmasq.inc
index a8b8d85c50..68c6337306 100644
--- a/recipes/dnsmasq/dnsmasq.inc
+++ b/recipes/dnsmasq/dnsmasq.inc
@@ -1,14 +1,13 @@
-SECTION = "console/network"
DESCRIPTION = "Dnsmasq is a lightweight, easy to configure DNS forwarder and DHCP server."
HOMEPAGE = "http://www.thekelleys.org.uk/dnsmasq/doc.html"
+SECTION = "console/network"
LICENSE = "GPL"
-SRC_URI = "http://www.thekelleys.org.uk/dnsmasq/dnsmasq-${PV}.tar.gz \
+#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 \
file://init \
file://dnsmasq.conf"
-S = "${WORKDIR}/dnsmasq-${PV}"
-
inherit update-rc.d
INITSCRIPT_NAME = "dnsmasq"