#
-# 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.
include $(TOPDIR)/rules.mk
PKG_NAME:=dnsmasq
-PKG_VERSION:=2.46
+PKG_VERSION:=2.47
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://thekelleys.org.uk/dnsmasq
-PKG_MD5SUM:=79ec740d1a10ee75f13efa4ff36d0250
+PKG_MD5SUM:=4524081e56d0b935717d493e8e8d3e11
include $(INCLUDE_DIR)/package.mk
-Index: dnsmasq-2.44/src/config.h
+Index: dnsmasq-2.47/src/config.h
===================================================================
---- dnsmasq-2.44.orig/src/config.h 2008-07-20 17:17:39.000000000 +0200
-+++ dnsmasq-2.44/src/config.h 2008-07-20 17:20:08.000000000 +0200
-@@ -286,8 +286,9 @@
+--- dnsmasq-2.47.orig/src/config.h 2009-02-15 19:05:25.000000000 +0200
++++ dnsmasq-2.47/src/config.h 2009-02-15 19:05:25.000000000 +0200
+@@ -282,8 +282,9 @@
/* We assume that systems which don't have IPv6
headers don't have ntop and pton either */
-diff -ur dnsmasq-2.42.orig/src/netlink.c dnsmasq-2.42/src/netlink.c
---- dnsmasq-2.42.orig/src/netlink.c 2008-06-03 16:38:25.000000000 +0200
-+++ dnsmasq-2.42/src/netlink.c 2008-06-03 16:41:06.000000000 +0200
+diff -ur dnsmasq-2.47.orig/src/netlink.c dnsmasq-2.47/src/netlink.c
+--- dnsmasq-2.47.orig/src/netlink.c 2009-02-15 19:05:25.000000000 +0200
++++ dnsmasq-2.47/src/netlink.c 2008-02-15 19:05:25.000000000 +0200
@@ -21,6 +21,10 @@
#include <linux/types.h>
#include <linux/netlink.h>