From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Mar 14 22:30:00 2014 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C3AC3D12 for ; Fri, 14 Mar 2014 22:30:00 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (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 9F657783 for ; Fri, 14 Mar 2014 22:30:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.8/8.14.8) with ESMTP id s2EMU0hU066096 for ; Fri, 14 Mar 2014 22:30:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s2EMU0Zx066095; Fri, 14 Mar 2014 22:30:00 GMT (envelope-from gnats) Resent-Date: Fri, 14 Mar 2014 22:30:00 GMT Resent-Message-Id: <201403142230.s2EMU0Zx066095@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Jaap Akkerhuis 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 674FACFA for ; Fri, 14 Mar 2014 22:27:26 +0000 (UTC) Received: from bela.nlnetlabs.nl (bela.nlnetlabs.nl [IPv6:2001:7b8:206:1:222:4dff:fe55:4ccb]) (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 E0BEE772 for ; Fri, 14 Mar 2014 22:27:25 +0000 (UTC) Received: from bela.nlnetlabs.nl (localhost [127.0.0.1]) by bela.nlnetlabs.nl (8.14.8/8.14.8) with ESMTP id s2EMRI06032097 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Fri, 14 Mar 2014 23:27:18 +0100 (CET) (envelope-from jaap@bela.nlnetlabs.nl) Received: (from jaap@localhost) by bela.nlnetlabs.nl (8.14.8/8.14.8/Submit) id s2EMRHD2032096; Fri, 14 Mar 2014 23:27:17 +0100 (CET) (envelope-from jaap) Message-Id: <201403142227.s2EMRHD2032096@bela.nlnetlabs.nl> Date: Fri, 14 Mar 2014 23:27:17 +0100 (CET) From: Jaap Akkerhuis To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: ports/187596: [MAINTAINER] dns/nsd: update to 4.0.3 Cc: jaap@nlnetlabs.nl X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Mar 2014 22:30:00 -0000 >Number: 187596 >Category: ports >Synopsis: [MAINTAINER] dns/nsd: update to 4.0.3 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Fri Mar 14 22:30:00 UTC 2014 >Closed-Date: >Last-Modified: >Originator: Jaap Akkerhuis >Release: FreeBSD 9.2-STABLE amd64 >Organization: NLnet Labs >Environment: System: FreeBSD bela.nlnetlabs.nl 9.2-STABLE FreeBSD 9.2-STABLE #19 r262971: Mon Mar 10 12:51:39 CET >Description: - Update to 4.0.3 Fixes two memory leaks that would build up after repeated zone content loads. By default the use of the syscalls recvmmsg and sendmmsg is disabled, they give too much issues, e.g. endless loops with errors or failure to use IPv6. They can be enabled at compile time. Nonhosted zones get the REFUSED rcode instead of SERVFAIL. This is copied from other authority servers, so that there is identical wire performance. Checks for clean exit on stop (this could take some time if it waits for internal tasks) as well as check for clean-previous-exit on startup and rebuilds nsd.db if needed. Generated with FreeBSD Port Tools 1.00.2014.03.03 (mode: update, diff: SVN) >How-To-Repeat: >Fix: --- nsd-4.0.3.patch begins here --- Index: Makefile =================================================================== --- Makefile (revision 348280) +++ Makefile (working copy) @@ -2,8 +2,7 @@ # $FreeBSD$ PORTNAME= nsd -PORTVERSION= 4.0.1 -PORTREVISION= 3 +PORTVERSION= 4.0.3 CATEGORIES= dns ipv6 MASTER_SITES= http://www.nlnetlabs.nl/downloads/nsd/ \ ftp://ftp.rhnet.is/pub/nsd/ @@ -45,9 +44,10 @@ differences.tex OPTIONS_DEFINE= ROOT_SERVER LARGEFILE IPV6 BIND8_STATS CHECKING \ - MINRESPSIZE NSEC3 NSEC3PREHASH MMAP MAXIPS DOCS RRL EUI_RRTYPES + MINRESPSIZE NSEC3 NSEC3PREHASH MMAP MAXIPS DOCS RRL EUI_RRTYPES \ + RECVMMSG OPTIONS_DEFAULT= LARGEFILE IPV6 NSEC3 NSEC3PREHASH MINRESPSIZE RRL \ - EUI_RRTYPES + EUI_RRTYPES ROOT_SERVER_DESC= Configure as a root server LARGEFILE_DESC= Largefile support @@ -60,6 +60,7 @@ MAXIPS_DESC= Raise max-ips from 8 to ${NSDMAX_IPS} RRL_DESC= Response Rate Limiting EUI_RRTYPES_DESC= EUI48 and EUI64 RRtypes support +RECVMMSG_DESC= Enable use of recvmmsg and sendmmsg LIB_DEPENDS+= libevent-1.4.so:${PORTSDIR}/devel/libevent @@ -75,6 +76,7 @@ MAXIPS_CONFIGURE_ON= --with-max-ips=${NSDMAX_IPS} RRL_CONFIGURE_ENABLE= ratelimit EUI_RRTYPES_CONFIGURE_ENABLE= draft-rrtypes +RECVMMSG_CONFIGURE_ENABLE= enable-recvmmsg post-install: ${INSTALL_DATA} ${WRKSRC}/nsd.conf.sample \ Index: distinfo =================================================================== --- distinfo (revision 348280) +++ distinfo (working copy) @@ -1,2 +1,2 @@ -SHA256 (nsd-4.0.1.tar.gz) = 45bf2adb5ceddc140eab36b8de9fa527175b77559662df1383ef22ccf097d1bd -SIZE (nsd-4.0.1.tar.gz) = 1040758 +SHA256 (nsd-4.0.3.tar.gz) = 4bf05f2234e1b41899198aa1070f409201fc3c4980feef6567cd92c7074c4a8b +SIZE (nsd-4.0.3.tar.gz) = 1043993 Index: files/nsd.in =================================================================== --- files/nsd.in (revision 348280) +++ files/nsd.in (working copy) @@ -12,13 +12,15 @@ # nsd_enable="YES" # -: ${nsd_enable="NO"} - . /etc/rc.subr name=nsd rcvar=nsd_enable +# read settings, set default values +load_rc_config "${name}" +: ${nsd_enable="NO"} + config=${nsd_config:=%%PREFIX%%/etc/nsd/nsd.conf} required_files=${config} pidfile=`%%PREFIX%%/sbin/nsd-checkconf -o pidfile ${config}` --- nsd-4.0.3.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: