pkgsrc-Changes archive

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

CVS commit: pkgsrc/net/dnsmasq



Module Name:    pkgsrc
Committed By:   adam
Date:           Fri Jun  2 08:37:49 UTC 2017

Modified Files:
        pkgsrc/net/dnsmasq: Makefile PLIST distinfo
Added Files:
        pkgsrc/net/dnsmasq: options.mk
Removed Files:
        pkgsrc/net/dnsmasq/patches: patch-dnsmasq.conf.example

Log Message:
version 2.77
            Generate an error when configured with a CNAME loop,
            rather than a crash. Thanks to George Metz for
            spotting this problem.

            Calculate the length of TFTP error reply packet
            correctly. This fixes a problem when the error
            message in a TFTP packet exceeds the arbitrary
            limit of 500 characters. The message was correctly
            truncated, but not the packet length, so
            extra data was appended. This is a possible
            security risk, since the extra data comes from
            a buffer which is also used for DNS, so that
            previous DNS queries or replies may be leaked.

            Fix logic error in Linux netlink code. This could
            cause dnsmasq to enter a tight loop on systems
            with a very large number of network interfaces.

            Fix problem with --dnssec-timestamp whereby receipt
            of SIGHUP would erroneously engage timestamp checking.

            Bump zone serial on reloading /etc/hosts and friends
            when providing authoritative DNS.

            Handle v4-mapped IPv6 addresses sanely in --synth-domain.
            These have standard representation like ::ffff:1.2.3.4
            and are now converted to names like
            <prefix>--ffff-1-2-3-4.<domain>

            Handle binding upstream servers to an interface
            (--server=1.2.3.4@eth0) when the named interface
            is destroyed and recreated in the kernel.

            Allow wildcard CNAME records in authoritative zones.
            For example --cname=*.example.com,default.example.com

more...


To generate a diff of this commit:
cvs rdiff -u -r1.33 -r1.34 pkgsrc/net/dnsmasq/Makefile
cvs rdiff -u -r1.4 -r1.5 pkgsrc/net/dnsmasq/PLIST
cvs rdiff -u -r1.32 -r1.33 pkgsrc/net/dnsmasq/distinfo
cvs rdiff -u -r0 -r1.4 pkgsrc/net/dnsmasq/options.mk
cvs rdiff -u -r1.2 -r0 pkgsrc/net/dnsmasq/patches/patch-dnsmasq.conf.example

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/net/dnsmasq/Makefile
diff -u pkgsrc/net/dnsmasq/Makefile:1.33 pkgsrc/net/dnsmasq/Makefile:1.34
--- pkgsrc/net/dnsmasq/Makefile:1.33    Tue Nov  8 11:59:05 2016
+++ pkgsrc/net/dnsmasq/Makefile Fri Jun  2 08:37:49 2017
@@ -1,13 +1,14 @@
-# $NetBSD: Makefile,v 1.33 2016/11/08 11:59:05 mef Exp $
+# $NetBSD: Makefile,v 1.34 2017/06/02 08:37:49 adam Exp $
 
-DISTNAME=              dnsmasq-2.76
-CATEGORIES=            net
-MASTER_SITES=          http://www.thekelleys.org.uk/dnsmasq/
-
-MAINTAINER=            pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE=              http://www.thekelleys.org.uk/dnsmasq/doc.html
-COMMENT=               Lightweight, easy to configure DNS forwarder
-LICENSE=               gnu-gpl-v3
+DISTNAME=      dnsmasq-2.77
+CATEGORIES=    net
+MASTER_SITES=  http://www.thekelleys.org.uk/dnsmasq/
+EXTRACT_SUFX=  .tar.xz
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      http://www.thekelleys.org.uk/dnsmasq/doc.html
+COMMENT=       Lightweight, easy to configure DNS forwarder
+LICENSE=       gnu-gpl-v3
 
 RCD_SCRIPTS=           dnsmasq
 EGDIR=                 ${PREFIX}/share/examples/dnsmasq
@@ -24,27 +25,9 @@ DNSMASQ_GROUP?=              dnsmasq
 
 PKG_GROUPS=            ${DNSMASQ_GROUP}
 PKG_USERS=             ${DNSMASQ_USER}:${DNSMASQ_GROUP}
-PKG_GECOS.${DNSMASQ_USER}=     DNS\ forwarder\ user
+PKG_GECOS.${DNSMASQ_USER}=DNS\ forwarder\ user
 
-PKG_OPTIONS_VAR=       PKG_OPTIONS.dnsmasq
-PKG_SUPPORTED_OPTIONS= dbus inet6
-PKG_SUGGESTED_OPTIONS= inet6
-PLIST_VARS+=   dbus
-
-.include "../../mk/bsd.options.mk"
-
-.if !empty(PKG_OPTIONS:Mdbus)
-USE_TOOLS+=    pkg-config
-CFLAGS+=       -DHAVE_DBUS
-.include "../../sysutils/dbus/buildlink3.mk"
-CONF_FILES+=   ${EGDIR}/dnsmasq-dbus.conf \
-               ${PKG_SYSCONFDIR}/dbus-1/system.d/dnsmasq-dbus.conf
-PLIST.dbus=    yes
-.endif
-
-.if empty(PKG_OPTIONS:Minet6)
-CFLAGS+=       -DNO_IPV6
-.endif
+.include "options.mk"
 
 CFLAGS.SunOS+= -DNO_IPSET
 

Index: pkgsrc/net/dnsmasq/PLIST
diff -u pkgsrc/net/dnsmasq/PLIST:1.4 pkgsrc/net/dnsmasq/PLIST:1.5
--- pkgsrc/net/dnsmasq/PLIST:1.4        Tue Mar 11 14:05:07 2014
+++ pkgsrc/net/dnsmasq/PLIST    Fri Jun  2 08:37:49 2017
@@ -1,5 +1,5 @@
-@comment $NetBSD: PLIST,v 1.4 2014/03/11 14:05:07 jperkin Exp $
+@comment $NetBSD: PLIST,v 1.5 2017/06/02 08:37:49 adam Exp $
 man/man8/dnsmasq.8
 sbin/dnsmasq
-share/examples/dnsmasq/dnsmasq.conf.example
 ${PLIST.dbus}share/examples/dnsmasq/dnsmasq-dbus.conf
+share/examples/dnsmasq/dnsmasq.conf.example

Index: pkgsrc/net/dnsmasq/distinfo
diff -u pkgsrc/net/dnsmasq/distinfo:1.32 pkgsrc/net/dnsmasq/distinfo:1.33
--- pkgsrc/net/dnsmasq/distinfo:1.32    Tue Mar 21 09:18:15 2017
+++ pkgsrc/net/dnsmasq/distinfo Fri Jun  2 08:37:49 2017
@@ -1,8 +1,7 @@
-$NetBSD: distinfo,v 1.32 2017/03/21 09:18:15 fhajny Exp $
+$NetBSD: distinfo,v 1.33 2017/06/02 08:37:49 adam Exp $
 
-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 (dnsmasq-2.77.tar.xz) = 7afdb6bb017d67576cd3603c69070235a9dce57c
+RMD160 (dnsmasq-2.77.tar.xz) = eb47de3dca460f972d6641285db11707fcde3cd8
+SHA512 (dnsmasq-2.77.tar.xz) = 6ca98a71a8fdfd606e29c58b34dadfa63148c39f931570cca67a287e044d52c6ec2f8acbf5620ada3312e9db3a2fd63877188d829c070beaa730607e3309e768
+Size (dnsmasq-2.77.tar.xz) = 487244 bytes
 SHA1 (patch-src_bpf.c) = 05dc64c016c608e6b963ce9ee80c28e872a88f9e

Added files:

Index: pkgsrc/net/dnsmasq/options.mk
diff -u /dev/null pkgsrc/net/dnsmasq/options.mk:1.4
--- /dev/null   Fri Jun  2 08:37:49 2017
+++ pkgsrc/net/dnsmasq/options.mk       Fri Jun  2 08:37:49 2017
@@ -0,0 +1,22 @@
+# $NetBSD: options.mk,v 1.4 2017/06/02 08:37:49 adam Exp $
+
+PKG_OPTIONS_VAR=       PKG_OPTIONS.dnsmasq
+PKG_SUPPORTED_OPTIONS= dbus inet6
+PKG_SUGGESTED_OPTIONS= inet6
+
+.include "../../mk/bsd.options.mk"
+
+PLIST_VARS+=   dbus
+
+.if !empty(PKG_OPTIONS:Mdbus)
+USE_TOOLS+=    pkg-config
+CFLAGS+=       -DHAVE_DBUS
+CONF_FILES+=   ${EGDIR}/dnsmasq-dbus.conf \
+               ${PKG_SYSCONFDIR}/dbus-1/system.d/dnsmasq-dbus.conf
+PLIST.dbus=    yes
+.include "../../sysutils/dbus/buildlink3.mk"
+.endif
+
+.if empty(PKG_OPTIONS:Minet6)
+CFLAGS+=       -DNO_IPV6
+.endif



Home | Main Index | Thread Index | Old Index