Sat Nov 30 20:31:18 2013 UTC ()
Add new "dnsperf" package:
DNSPerf, ResPerf, and DHCPerf are free tools developed by Nominum that
make it simple to gather accurate latency and throughput metrics for
Domain Name Service (DNS) and Dynamic Host Configuration Protocol
(DHCP). These tools are easy-to-use and simulate typical Internet so
network operators can benchmark their naming and addressing
infrastructure and plan for upgrades. The latest version of the DNS
test tools (DNSPerf and ResPerf) can be used with new test files that
include IPv6 queries.

DNSPerf "self-paces" the DNS query load to simulate network
conditions. New features in DNSPerf improve the precision of latency
measurements and allow for per packet per-query latency reporting is
possible. DNSPerf is now multithreaded, multiple DNSPerf clients can
be supported in multicore systems (each client requires two
cores). The output of DNSPerf has also been improved so it is more
concise and useful. Latency data can be used to make detailed graphs
so it is simple for network operators to take advantage of the data.


(tron)
diff -r0 -r1.1 pkgsrc/benchmarks/dnsperf/DESCR
diff -r0 -r1.1 pkgsrc/benchmarks/dnsperf/Makefile
diff -r0 -r1.1 pkgsrc/benchmarks/dnsperf/PLIST
diff -r0 -r1.1 pkgsrc/benchmarks/dnsperf/distinfo
diff -r0 -r1.1 pkgsrc/benchmarks/dnsperf/patches/patch-Makefile.in

File Added: pkgsrc/benchmarks/dnsperf/DESCR
DNSPerf, ResPerf, and DHCPerf are free tools developed by Nominum that
make it simple to gather accurate latency and throughput metrics for
Domain Name Service (DNS) and Dynamic Host Configuration Protocol
(DHCP). These tools are easy-to-use and simulate typical Internet so
network operators can benchmark their naming and addressing
infrastructure and plan for upgrades. The latest version of the DNS
test tools (DNSPerf and ResPerf) can be used with new test files that
include IPv6 queries.

DNSPerf "self-paces" the DNS query load to simulate network
conditions. New features in DNSPerf improve the precision of latency
measurements and allow for per packet per-query latency reporting is
possible. DNSPerf is now multithreaded, multiple DNSPerf clients can
be supported in multicore systems (each client requires two
cores). The output of DNSPerf has also been improved so it is more
concise and useful. Latency data can be used to make detailed graphs
so it is simple for network operators to take advantage of the data.

File Added: pkgsrc/benchmarks/dnsperf/Makefile
# $NetBSD: Makefile,v 1.1 2013/11/30 20:31:18 tron Exp $

DISTNAME=	dnsperf-src-2.0.0.0-1
PKGNAME=	dnsperf-2.0.0.0
CATEGORIES=	benchmarks net
MASTER_SITES=	ftp://ftp.nominum.com/pub/nominum/${PKGBASE}/${PKGVERSION}/

MAINTAINER=	tron@NetBSD.org
HOMEPAGE=	http://www.nominum.com/support/measurement-tools/
COMMENT=	DNS server performance measurement tools
LICENSE=	mit

GNU_CONFIGURE=	yes
USE_TOOLS+=	sh:run

# This package needs "isc" include files and "isc-config.sh" to build.
# The built-in check only considers "libbind".
USE_BUILTIN.bind=	no

REPLACE_SH+=	resperf-report

.include "../../net/bind99/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

File Added: pkgsrc/benchmarks/dnsperf/PLIST
@comment $NetBSD: PLIST,v 1.1 2013/11/30 20:31:18 tron Exp $
bin/dnsperf
bin/resperf
bin/resperf-report
man/man1/dnsperf.1
man/man1/resperf.1

File Added: pkgsrc/benchmarks/dnsperf/distinfo
$NetBSD: distinfo,v 1.1 2013/11/30 20:31:18 tron Exp $

SHA1 (dnsperf-src-2.0.0.0-1.tar.gz) = a0cf8f95de821a9ca1b7f8001e5ef7334e968540
RMD160 (dnsperf-src-2.0.0.0-1.tar.gz) = 1d2f856651e82755e0c7071100574dba682e1e8f
Size (dnsperf-src-2.0.0.0-1.tar.gz) = 565871 bytes
SHA1 (patch-Makefile.in) = 9f5377a75d9674a3aeb12f933f0a552564534d91

File Added: pkgsrc/benchmarks/dnsperf/patches/Attic/patch-Makefile.in
$NetBSD: patch-Makefile.in,v 1.1 2013/11/30 20:31:18 tron Exp $

Don't attempt to strip shell scripts which breaks the installation.

--- Makefile.in.orig	2012-03-02 02:25:22.000000000 +0000
+++ Makefile.in	2013-11-30 19:48:44.000000000 +0000
@@ -41,7 +41,7 @@
 install: all installdirs
 	${INSTALL_PROGRAM} dnsperf ${DESTDIR}${bindir}
 	${INSTALL_PROGRAM} resperf ${DESTDIR}${bindir}
-	${INSTALL_PROGRAM} resperf-report ${DESTDIR}${bindir}
+	${BSD_INSTALL_SCRIPT} resperf-report ${DESTDIR}${bindir}
 	${INSTALL_DATA} dnsperf.1 ${DESTDIR}${mandir}/man1
 	${INSTALL_DATA} resperf.1 ${DESTDIR}${mandir}/man1