pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/dnsmasq Updated net/dnsmasq to 2.76



details:   https://anonhg.NetBSD.org/pkgsrc/rev/02738fc1266c
branches:  trunk
changeset: 354768:02738fc1266c
user:      mef <mef%pkgsrc.org@localhost>
date:      Tue Nov 08 11:59:05 2016 +0000

description:
Updated net/dnsmasq to 2.76
---------------------------
version 2.76
            Include 0.0.0.0/8 in DNS rebind checks. This range
            translates to hosts on  the local network, or, at
            least, 0.0.0.0 accesses the local host, so could
            be targets for DNS rebinding. See RFC 5735 section 3
            for details. Thanks to Stephen R?ttger for the bug report.

            Enhance --add-subnet to allow arbitrary subnet addresses.
            Thanks to Ed Barsley for the patch.

            Respect the --no-resolv flag in inotify code. Fixes bug
            which caused dnsmasq to fail to start if a resolv-file
            was a dangling symbolic link, even of --no-resolv set.
            Thanks to Alexander Kurtz for spotting the problem.

            Fix crash when an A or AAAA record is defined locally,
            in a hosts file, and an upstream server sends a reply
            that the same name is empty. Thanks to Edwin T?r?k for
            the patch.

            Fix failure to correctly calculate cache-size when
            reading a hosts-file fails. Thanks to Andr? Gl?pker
            for the patch.

            Fix wrong answer to simple name query when --domain-needed
            set, but no upstream servers configured. Dnsmasq returned
            REFUSED, in this case, when it should be the same as when
            upstream servers are configured - NOERROR. Thanks to
            Allain Legacy for spotting the problem.

            Return REFUSED when running out of forwarding table slots,
            not SERVFAIL.

            Add --max-port configuration. Thanks to Hans Dedecker for
            the patch.

            Add --script-arp and two new functions for the dhcp-script.
            These are "arp" and "arp-old" which announce the arrival and
            removal of entries in the ARP or nieghbour tables.

            Extend --add-mac to allow a new encoding of the MAC address
            as base64, by configurting --add-mac=base64

            Add --add-cpe-id option.

            Don't crash with divide-by-zero if an IPv6 dhcp-range
            is declared as a whole /64.
            (ie xx::0 to xx::ffff:ffff:ffff:ffff)
            Thanks to Laurent Bendel for spotting this problem.

            Add support for a TTL parameter in --host-record and
            --cname.

            Add --dhcp-ttl option.

            Add --tftp-mtu option. Thanks to Patrick McLean for the
            initial patch.

            Check return-code of inet_pton() when parsing dhcp-option.
            Bad addresses could fail to generate errors and result in
            garbage dhcp-options being sent. Thanks to Marc Branchaud
            for spotting this.

            Fix wrong value for EDNS UDP packet size when using
            --servers-file to define upstream DNS servers. Thanks to
            Scott Bonar for the bug report.

            Move the dhcp_release and dhcp_lease_time tools from
            contrib/wrt to contrib/lease-tools.

            Add dhcp_release6 to contrib/lease-tools. Many thanks
            to Sergey Nechaev for this code.

            To avoid filling logs in configurations which define
            many upstream nameservers, don't log more that 30 servers.
            The number to be logged can be changed as SERVERS_LOGGED
            in src/config.h.

            Swap the values if BC_EFI and x86-64_EFI in --pxe-service.
            These were previously wrong due to an error in RFC 4578.
            If you're using BC_EFI to boot 64-bit EFI machines, you
            will need to update your config.

            Add ARM32_EFI and ARM64_EFI as valid architectures in
            --pxe-service.

            Fix PXE booting for UEFI architectures. Modify PXE boot
            sequence in this case to force the client to talk to dnsmasq
            over port 4011. This makes PXE and especially proxy-DHCP PXE
            work with these archictectures.

            Workaround problems with UEFI PXE clients. There exist
            in the wild PXE clients which have problems with PXE
            boot menus. To work around this, when there's a single
            --pxe-service which applies to client, then that target
            will be booted directly, rather then sending a
            single-item boot menu.

            Many thanks to Jarek Polok, Michael Kuron and Dreamcat4
            for their work on the long-standing UEFI PXE problem.

            Subtle change in the semantics of "basename" in
            --pxe-service. The historical behaviour has always been
            that the actual filename downloaded from the TFTP server
            is <basename>.<layer> where <layer> is an integer which
            corresponds to the layer parameter supplied by the client.
            It's not clear what the function of the "layer"
            actually is in the PXE protocol, and in practise layer
            is always zero, so the filename is <basename>.0
            The new behaviour is the same as the old, except when
            <basename> includes a file suffix, in which case
            the layer suffix is no longer added. This allows
            sensible suffices to be used, rather then the
            meaningless ".0". Only in the unlikely event that you
            have a config with a basename which already has a
            suffix, is this an incompatible change, since the file
            downloaded will change from name.suffix.0 to justy
            name.suffix

diffstat:

 net/dnsmasq/Makefile                |   4 ++--
 net/dnsmasq/distinfo                |  11 +++++------
 net/dnsmasq/patches/patch-src_bpf.c |  26 --------------------------
 3 files changed, 7 insertions(+), 34 deletions(-)

diffs (59 lines):

diff -r ef300bd26cf6 -r 02738fc1266c net/dnsmasq/Makefile
--- a/net/dnsmasq/Makefile      Tue Nov 08 11:42:26 2016 +0000
+++ b/net/dnsmasq/Makefile      Tue Nov 08 11:59:05 2016 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.32 2016/02/25 16:20:50 jperkin Exp $
+# $NetBSD: Makefile,v 1.33 2016/11/08 11:59:05 mef Exp $
 
-DISTNAME=              dnsmasq-2.75
+DISTNAME=              dnsmasq-2.76
 CATEGORIES=            net
 MASTER_SITES=          http://www.thekelleys.org.uk/dnsmasq/
 
diff -r ef300bd26cf6 -r 02738fc1266c net/dnsmasq/distinfo
--- a/net/dnsmasq/distinfo      Tue Nov 08 11:42:26 2016 +0000
+++ b/net/dnsmasq/distinfo      Tue Nov 08 11:59:05 2016 +0000
@@ -1,8 +1,7 @@
-$NetBSD: distinfo,v 1.30 2015/11/04 00:34:58 agc Exp $
+$NetBSD: distinfo,v 1.31 2016/11/08 11:59:05 mef Exp $
 
-SHA1 (dnsmasq-2.75.tar.gz) = 17ce713b770a54c2cc9195f6142f9c7d642f6ea4
-RMD160 (dnsmasq-2.75.tar.gz) = 266e7005253f15ce1fe750c9e1ca99f7b8623c29
-SHA512 (dnsmasq-2.75.tar.gz) = 17406223738ae24311bde4a705b4ab5836d0af16a4b75ceeb55584f683644e1c4c6c43d319221810279bed4ed2185ce4e7d2c92d4d65cdf0baaf729152284832
-Size (dnsmasq-2.75.tar.gz) = 684014 bytes
+SHA1 (dnsmasq-2.76.tar.gz) = 3cb264e2505a06705203d616883db5ee6ac00026
+RMD160 (dnsmasq-2.76.tar.gz) = ad7c271b90c8aaeb6f642eb63539cc5c52d7f9a7
+SHA512 (dnsmasq-2.76.tar.gz) = c22627a8d864671096d3b3428ec4f879b513e1f1e7f79be3ab89444c56234e748fbfa6b6b4f9e521984fea95d363f4aa2ca6243f0dfc12ffb74bed0648ae21c5
+Size (dnsmasq-2.76.tar.gz) = 697191 bytes
 SHA1 (patch-dnsmasq.conf.example) = 2974c722a26400915037259c79899e8a3e95bf8f
-SHA1 (patch-src_bpf.c) = 51e1341d940304a5246ee87d5e3b07faf7d70cf1
diff -r ef300bd26cf6 -r 02738fc1266c net/dnsmasq/patches/patch-src_bpf.c
--- a/net/dnsmasq/patches/patch-src_bpf.c       Tue Nov 08 11:42:26 2016 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,26 +0,0 @@
-$NetBSD: patch-src_bpf.c,v 1.6 2015/07/14 09:57:13 fhajny Exp $
-
-Add inet6 include for OS X
-Fix build on SunOS
-
---- src/bpf.c.orig     2015-06-12 20:39:11.000000000 +0000
-+++ src/bpf.c
-@@ -20,7 +20,9 @@
- #include <ifaddrs.h>
- 
- #include <sys/param.h>
-+#if defined(HAVE_BSD_NETWORK)
- #include <sys/sysctl.h>
-+#endif
- #include <net/if.h>
- #include <net/route.h>
- #include <net/if_dl.h>
-@@ -29,7 +31,7 @@
- #  include <net/if_var.h> 
- #endif
- #include <netinet/in_var.h>
--#ifdef HAVE_IPV6
-+#if (defined(HAVE_IPV6) && !defined(HAVE_SOLARIS_NETWORK)) || defined(__APPLE__)
- #  include <netinet6/in6_var.h>
- #endif
- 



Home | Main Index | Thread Index | Old Index