summaryrefslogtreecommitdiff
path: root/package/dnsmasq
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-07-12 13:58:25 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-07-12 13:58:25 +0000
commitf506ac7d818878107ecea1611ca773295823de2b (patch)
tree40c1aec171d3f892e45cb87cd7a345b147587b4c /package/dnsmasq
parent13c862a0d5ea08c115b9bbfbdec6acdffb401d94 (diff)
downloadmtk-20170518-f506ac7d818878107ecea1611ca773295823de2b.zip
mtk-20170518-f506ac7d818878107ecea1611ca773295823de2b.tar.gz
mtk-20170518-f506ac7d818878107ecea1611ca773295823de2b.tar.bz2
upgrade dnsmasq (#1975)
SVN-Revision: 7944
Diffstat (limited to 'package/dnsmasq')
-rw-r--r--package/dnsmasq/Makefile4
-rw-r--r--package/dnsmasq/patches/101-ipv6.patch8
-rw-r--r--package/dnsmasq/patches/102-rtnetlink.patch6
-rw-r--r--package/dnsmasq/patches/103-hosts-fqdn.patch17
4 files changed, 9 insertions, 26 deletions
diff --git a/package/dnsmasq/Makefile b/package/dnsmasq/Makefile
index 6b76374..de2571a 100644
--- a/package/dnsmasq/Makefile
+++ b/package/dnsmasq/Makefile
@@ -9,12 +9,12 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=dnsmasq
-PKG_VERSION:=2.38
+PKG_VERSION:=2.39
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://thekelleys.org.uk/dnsmasq
-PKG_MD5SUM:=ab066a97c226066485ad20e5ad5ce424
+PKG_MD5SUM:=1ffccc1f0d9b8a08f2b99e03ba9cc08b
include $(INCLUDE_DIR)/package.mk
diff --git a/package/dnsmasq/patches/101-ipv6.patch b/package/dnsmasq/patches/101-ipv6.patch
index e107fe2..047d7ef 100644
--- a/package/dnsmasq/patches/101-ipv6.patch
+++ b/package/dnsmasq/patches/101-ipv6.patch
@@ -1,8 +1,8 @@
-Index: dnsmasq-2.38/src/config.h
+Index: dnsmasq-2.39/src/config.h
===================================================================
---- dnsmasq-2.38.orig/src/config.h 2007-06-04 13:22:23.553274640 +0200
-+++ dnsmasq-2.38/src/config.h 2007-06-04 13:22:23.626263544 +0200
-@@ -280,8 +280,9 @@
+--- dnsmasq-2.39.orig/src/config.h 2007-06-26 19:16:31.000000000 +0200
++++ dnsmasq-2.39/src/config.h 2007-06-26 19:16:31.000000000 +0200
+@@ -281,8 +281,9 @@
/* We assume that systems which don't have IPv6
headers don't have ntop and pton either */
diff --git a/package/dnsmasq/patches/102-rtnetlink.patch b/package/dnsmasq/patches/102-rtnetlink.patch
index 3079c1e..79f3b44 100644
--- a/package/dnsmasq/patches/102-rtnetlink.patch
+++ b/package/dnsmasq/patches/102-rtnetlink.patch
@@ -1,7 +1,7 @@
-Index: dnsmasq-2.38/src/netlink.c
+Index: dnsmasq-2.39/src/netlink.c
===================================================================
---- dnsmasq-2.38.orig/src/netlink.c 2007-06-04 13:22:23.531277984 +0200
-+++ dnsmasq-2.38/src/netlink.c 2007-06-04 13:22:23.814234968 +0200
+--- dnsmasq-2.39.orig/src/netlink.c 2007-06-26 19:16:31.000000000 +0200
++++ dnsmasq-2.39/src/netlink.c 2007-06-26 19:16:31.000000000 +0200
@@ -17,6 +17,10 @@
#include <linux/types.h>
#include <linux/netlink.h>
diff --git a/package/dnsmasq/patches/103-hosts-fqdn.patch b/package/dnsmasq/patches/103-hosts-fqdn.patch
deleted file mode 100644
index 243e73b..0000000
--- a/package/dnsmasq/patches/103-hosts-fqdn.patch
+++ /dev/null
@@ -1,17 +0,0 @@
-Index: dnsmasq-2.38/src/cache.c
-===================================================================
---- dnsmasq-2.38.orig/src/cache.c 2007-06-04 13:22:23.510281176 +0200
-+++ dnsmasq-2.38/src/cache.c 2007-06-04 13:22:24.014204568 +0200
-@@ -749,10 +749,11 @@
- while ((token = strtok(NULL, " \t\n\r")) && (*token != '#'))
- {
- struct crec *cache;
-+ int fqdn = !!strchr(token, '.');
- if (canonicalise(token))
- {
- /* If set, add a version of the name with a default domain appended */
-- if ((opts & OPT_EXPAND) && domain_suffix && !strchr(token, '.') &&
-+ if ((opts & OPT_EXPAND) && domain_suffix && !fqdn &&
- (cache = malloc(sizeof(struct crec) +
- strlen(token)+2+strlen(domain_suffix)-SMALLDNAME)))
- {