diff options
author | Felix Fietkau <nbd@openwrt.org> | 2007-07-12 13:58:25 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2007-07-12 13:58:25 +0000 |
commit | 09e3e7ecd18bd9110c6e4f38ca63d16f0c3b1676 (patch) | |
tree | cdee6fa005b6167f015056088deadcfdf9b86c6d /package/dnsmasq/patches | |
parent | 292d583544e86e370d4037e624ac10b232fd3467 (diff) | |
download | master-187ad058-09e3e7ecd18bd9110c6e4f38ca63d16f0c3b1676.tar.gz master-187ad058-09e3e7ecd18bd9110c6e4f38ca63d16f0c3b1676.tar.bz2 master-187ad058-09e3e7ecd18bd9110c6e4f38ca63d16f0c3b1676.zip |
upgrade dnsmasq (#1975)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7944 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/dnsmasq/patches')
-rw-r--r-- | package/dnsmasq/patches/101-ipv6.patch | 8 | ||||
-rw-r--r-- | package/dnsmasq/patches/102-rtnetlink.patch | 6 | ||||
-rw-r--r-- | package/dnsmasq/patches/103-hosts-fqdn.patch | 17 |
3 files changed, 7 insertions, 24 deletions
diff --git a/package/dnsmasq/patches/101-ipv6.patch b/package/dnsmasq/patches/101-ipv6.patch index e107fe20f8..047d7efee4 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 3079c1eec3..79f3b4456d 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 243e73b02e..0000000000 --- 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))) - { |