#
-# Copyright (C) 2006 OpenWrt.org
+# Copyright (C) 2006-2009 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
PKG_NAME:=dnsmasq
PKG_VERSION:=2.46
-PKG_RELEASE:=1
+PKG_RELEASE:=2
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://thekelleys.org.uk/dnsmasq
append_bool "$cfg" dbus "-1"
append_bool "$cfg" boguspriv "-b"
append_bool "$cfg" expandhosts "-E"
+ append_bool "$cfg" enable_tftp "--enable-tftp"
append_parm "$cfg" dnsforwardmax "-0"
append_parm "$cfg" port "-p"
append_parm "$cfg" "local" "-S"
append_parm "$cfg" "leasefile" "-l"
append_parm "$cfg" "resolvfile" "-r"
+ append_parm "$cfg" "tftp_root" "--tftp-root"
+ append_parm "$cfg" "dhcp_boot" "--dhcp-boot"
config_get leasefile $cfg leasefile
[ -e "$leasefile" ] || touch "$leasefile"