Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Feb 2014 13:25:24 GMT
From:      Matthew Seaman <matthew@FreeBSD.org>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/186791: dns/bind99 -- add option to enable 'newstats' XML output
Message-ID:  <201402151325.s1FDPOwT004133@lucid-nonsense.infracaninophile.co.uk>
Resent-Message-ID: <201402151330.s1FDU0iE083184@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         186791
>Category:       ports
>Synopsis:       dns/bind99 -- add option to enable 'newstats' XML output
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Feb 15 13:30:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Matthew Seaman
>Release:        FreeBSD 9.2-STABLE amd64
>Organization:
>Environment:
System: FreeBSD lucid-nonsense.infracaninophile.co.uk 9.2-STABLE FreeBSD 9.2-STABLE #30 r259416: Sun Dec 15 18:37:44 GMT 2013 root@lucid-nonsense.infracaninophile.co.uk:/usr/obj/usr/src/sys/LUCID-NONSENSE amd64


	
>Description:

bind-9.9.x has a configuration option to enable a new XML statistics
channel output format.  This is much better looking when viewed in a
browser; has various inline graphs and marshalls the statistics data
in a more efficient than the current default in 9.9.x.

I believe this will be the default for bind-10.x.  Not available for
bind-9.8.x or earlier.

Add an option to the dns/bind99 port to enable this output format.

>How-To-Repeat:
	
>Fix:

	

--- bind99.diff begins here ---
Index: Makefile
===================================================================
--- Makefile	(revision 344338)
+++ Makefile	(working copy)
@@ -2,7 +2,7 @@
 
 PORTNAME?=	bind99
 PORTVERSION=	9.9.5
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	dns net ipv6
 MASTER_SITES=	${MASTER_SITE_ISC}
 MASTER_SITE_SUBDIR=	bind9/${ISCVERSION}
@@ -31,7 +31,8 @@
 OPTIONS_DEFINE=		SSL IDN REPLACE_BASE LARGE_FILE \
 			FIXED_RRSET SIGCHASE IPV6 THREADS GSSAPI FILTER_AAAA
 .if !defined(BIND_TOOLS_SLAVE)
-OPTIONS_DEFINE+=	LINKS XML RPZ_NSIP RPZ_NSDNAME RRL DOCS RPZ_PATCH
+OPTIONS_DEFINE+=	LINKS XML RPZ_NSIP RPZ_NSDNAME RRL DOCS RPZ_PATCH \
+			NEWSTATS
 OPTIONS_GROUP=		DLZ
 OPTIONS_GROUP_DLZ=	DLZ_POSTGRESQL DLZ_MYSQL DLZ_BDB \
 			DLZ_LDAP DLZ_FILESYSTEM DLZ_STUB
@@ -46,6 +47,7 @@
 
 LINKS_DESC=		Create conf file symlinks in ${PREFIX}
 XML_DESC=		Support for xml statistics output
+NEWSTATS_DESC=		Enable alternate xml statistics channel format
 RPZ_NSIP_DESC=		Enable RPZ NSIP trigger rules
 RPZ_NSDNAME_DESC=	Enable RPZ NSDNAME policy records
 RPZ_PATCH_DESC=		RPZ improvements
@@ -70,6 +72,8 @@
 XML_LIB_DEPENDS=	libxml2.so:${PORTSDIR}/textproc/libxml2
 XML_CONFIGURE_OFF=	--without-libxml2
 
+NEWSTATS_CONFIGURE_ON=	--enable-newstats
+
 IDN_USES=		iconv
 IDN_CONFIGURE_ON=	--with-idn=${LOCALBASE} ${ICONV_CONFIGURE_BASE}
 IDN_LIB_DEPENDS=	libidnkit.so:${PORTSDIR}/dns/idnkit
--- bind99.diff ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201402151325.s1FDPOwT004133>