summaryrefslogtreecommitdiff
path: root/package/dnsmasq
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-05-13 13:41:59 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2014-05-13 13:45:18 +0200
commite4444fd7564e31f7bb00b66682ef932519a3c1e1 (patch)
tree3a2a3b62435259a6c4c55988736f35a925334ef1 /package/dnsmasq
parent8ef3a1254c0be613a7e44e7ebf99f1d6e679b48b (diff)
add pxe feature to dnsmasq
Diffstat (limited to 'package/dnsmasq')
-rw-r--r--package/dnsmasq/Makefile7
-rw-r--r--package/dnsmasq/files/dnsmasq.conf3
2 files changed, 9 insertions, 1 deletions
diff --git a/package/dnsmasq/Makefile b/package/dnsmasq/Makefile
index 8320b1ed3..9fb04e818 100644
--- a/package/dnsmasq/Makefile
+++ b/package/dnsmasq/Makefile
@@ -5,13 +5,18 @@ include ${TOPDIR}/rules.mk
PKG_NAME:= dnsmasq
PKG_VERSION:= 2.69
-PKG_RELEASE:= 2
+PKG_RELEASE:= 3
PKG_MD5SUM:= c5a1152e646eb54db4f33f8e0deee180
PKG_DESCR:= lightweight DNS and DHCP server
PKG_SECTION:= dns
PKG_URL:= http://thekelleys.org.uk/dnsmasq/
PKG_SITES:= http://thekelleys.org.uk/dnsmasq/
+PKG_FLAVOURS_DNSMASQ:= PXE
+PKGFD_PXE:= enable PXE network boot
+PKGFS_PXE:= pxelinux
+PKGFB_PXE:= syslinux
+
include ${TOPDIR}/mk/package.mk
$(eval $(call PKG_template,DNSMASQ,dnsmasq,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
diff --git a/package/dnsmasq/files/dnsmasq.conf b/package/dnsmasq/files/dnsmasq.conf
index 67f02c5e5..9199da743 100644
--- a/package/dnsmasq/files/dnsmasq.conf
+++ b/package/dnsmasq/files/dnsmasq.conf
@@ -39,3 +39,6 @@ dhcp-option=42,0.0.0.0
# nfsroot example for a host
#dhcp-host=00:0c:42:0a:7d:d3,10.0.0.4,net:rb532
#dhcp-option=rb532,option:root-path,/nfsroot/rb532,nfsvers=3
+
+# pxeboot example
+dhcp-boot=pxelinux.0