From owner-svn-ports-all@FreeBSD.ORG Sun Dec 8 18:05:36 2013 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 4A4C8BD4; Sun, 8 Dec 2013 18:05:36 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 361581376; Sun, 8 Dec 2013 18:05:36 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rB8I5aBt081653; Sun, 8 Dec 2013 18:05:36 GMT (envelope-from mandree@svn.freebsd.org) Received: (from mandree@localhost) by svn.freebsd.org (8.14.7/8.14.7/Submit) id rB8I5Z6n081650; Sun, 8 Dec 2013 18:05:35 GMT (envelope-from mandree@svn.freebsd.org) Message-Id: <201312081805.rB8I5Z6n081650@svn.freebsd.org> From: Matthias Andree Date: Sun, 8 Dec 2013 18:05:35 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r335916 - in head/dns: dnsmasq dnsmasq-devel X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Dec 2013 18:05:36 -0000 Author: mandree Date: Sun Dec 8 18:05:35 2013 New Revision: 335916 URL: http://svnweb.freebsd.org/changeset/ports/335916 Log: Upgrade dnsmasq to new stable 2.68 release. Fixes bind-interfaces with IPv6 on FreeBSD. version 2.68 Use random addresses for DHCPv6 temporary address allocations, instead of algorithmically determined stable addresses. Fix bug which meant that the DHCPv6 DUID was not available in DHCP script runs during the lifetime of the dnsmasq process which created the DUID de-novo. Once the DUID was created and stored in the lease file and dnsmasq restarted, this bug disappeared. Fix bug introduced in 2.67 which could result in erroneous NXDOMAIN returns to CNAME queries. Fix build failures on MacOS X and openBSD. Allow subnet specifications in --auth-zone to be interface names as well as address literals. This makes it possible to configure authoritative DNS when local address ranges are dynamic and works much better than the previous work-around which exempted contructed DHCP ranges from the IP address filtering. As a consequence, that work-around is removed. Under certain circumstances, this change wil break existing configuration: if you're relying on the contructed-range exception, you need to change --auth-zone to specify the same interface as is used to construct your DHCP ranges, probably with a trailing /6 like this: --auth-zone=example.com,eth0/6 to limit the addresses to IPv6 addresses of eth0. Fix problems when advertising deleted IPv6 prefixes. If the prefix is deleted (rather than replaced), it doesn't get advertised with zero preferred time. Thanks to Tsachi for the bug report. Fix segfault with some locally configured CNAMEs. Thanks to Andrew Childs for spotting the problem. Fix memory leak on re-reading /etc/hosts and friends, introduced in 2.67. Check the arrival interface of incoming DNS and TFTP requests via IPv6, even in --bind-interfaces mode. This isn't possible for IPv4 and can generate scary warnings, but as it's always possible for IPv6 (the API always exists) then we should do it always. Tweak the rules on prefix-lengths in --dhcp-range for IPv6. The new rule is that the specified prefix length must be larger than or equal to the prefix length of the corresponding address on the local interface. Modified: head/dns/dnsmasq-devel/Makefile head/dns/dnsmasq/Makefile head/dns/dnsmasq/distinfo Modified: head/dns/dnsmasq-devel/Makefile ============================================================================== --- head/dns/dnsmasq-devel/Makefile Sun Dec 8 17:51:50 2013 (r335915) +++ head/dns/dnsmasq-devel/Makefile Sun Dec 8 18:05:35 2013 (r335916) @@ -13,7 +13,7 @@ COMMENT= Lightweight DNS forwarder, DHCP LICENSE= GPLv2 CONFLICTS_INSTALL=dnsmasq-2* -#IGNORE= - build stable version instead, it is newer than this release candidate +IGNORE= - build stable version instead, it is newer than this release candidate PORTDOCS= CHANGELOG CHANGELOG.archive FAQ doc.html setup.html Modified: head/dns/dnsmasq/Makefile ============================================================================== --- head/dns/dnsmasq/Makefile Sun Dec 8 17:51:50 2013 (r335915) +++ head/dns/dnsmasq/Makefile Sun Dec 8 18:05:35 2013 (r335916) @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= dnsmasq -DISTVERSION= 2.67 +DISTVERSION= 2.68 PORTEPOCH= 1 CATEGORIES= dns ipv6 MASTER_SITES= http://www.thekelleys.org.uk/dnsmasq/ \ Modified: head/dns/dnsmasq/distinfo ============================================================================== --- head/dns/dnsmasq/distinfo Sun Dec 8 17:51:50 2013 (r335915) +++ head/dns/dnsmasq/distinfo Sun Dec 8 18:05:35 2013 (r335916) @@ -1,2 +1,2 @@ -SHA256 (dnsmasq-2.67.tar.xz) = a8f1cec9d3f38d19c7c54e2879703d42748ace0f62c32e695b082051bdd2705d -SIZE (dnsmasq-2.67.tar.xz) = 418484 +SHA256 (dnsmasq-2.68.tar.xz) = 055904f39a65bf651ccbe0f25922c88cf6e7e1b85e8b1905804253b6957ec7a0 +SIZE (dnsmasq-2.68.tar.xz) = 420968