ports/104663: [new port] dns/queryperf net/dhcperf replacement for dns/queryperf

Edwin Groothuis edwin at mavetju.org
Sat Oct 21 22:50:20 UTC 2006


>Number:         104663
>Category:       ports
>Synopsis:       [new port] dns/queryperf net/dhcperf replacement for dns/queryperf
>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 Oct 21 22:50:17 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Edwin Groothuis
>Release:        FreeBSD 6.1-RELEASE i386
>Organization:
_
>Environment:
System: FreeBSD k7.mavetju 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Sun May 7 04:42:56 UTC 2006 root at opus.cse.buffalo.edu:/usr/obj/usr/src/sys/SMP i386


>Description:

Replaces dns/queryperf

See http://www.nominum.com/testing_tools.php

>How-To-Repeat:
>Fix:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	net/dhcperf/
#	net/dhcperf/pkg-descr
#	net/dhcperf/distinfo
#	net/dhcperf/Makefile
#	dns/queryperf/
#	dns/queryperf/CVS
#	dns/queryperf/CVS/Root
#	dns/queryperf/CVS/Repository
#	dns/queryperf/CVS/Entries
#	dns/queryperf/CVS/Template
#	dns/queryperf/files
#	dns/queryperf/files/CVS
#	dns/queryperf/files/CVS/Root
#	dns/queryperf/files/CVS/Repository
#	dns/queryperf/files/CVS/Entries
#	dns/queryperf/files/patch-contrib::queryperf::Makefile.in
#	dns/queryperf/Makefile
#	dns/queryperf/distinfo
#	dns/queryperf/pkg-descr
#	dns/queryperf/pkg-plist
#
echo c - net/dhcperf/
mkdir -p net/dhcperf/ > /dev/null 2>&1
echo x - net/dhcperf/pkg-descr
sed 's/^X//' >net/dhcperf/pkg-descr << 'END-of-net/dhcperf/pkg-descr'
XDNSPerf and ResPerf Provide Communication Providers with Predictive
XPlanning Tools to Scale Networks.
X
XTwo tools, DNSPerf and ResPerf deliver accurate performance metrics
Xof Domain Name Services (DNS).  These tools are easy-to-use and
Xsimulate real Internet workloads to provide the necessary insight
Xthat carriers need to plan and deploy network services.
X
XDNSPerf measures Authoritative Domain Name services and is designed
Xto simulate network conditions by self-pacing the query load.
X
XCaching services performance and workload profile differ significantly
Xfrom Authoritative Domain services; therefore a different tool is
Xneeded. ResPerf is designed specifically to simulate Caching Domain
XName services. To test a caching server, ResPerf systematically
Xincreases the query rate and monitors the response rate.
X
XWWW: http://www.nominum.com/testing_tools.php
END-of-net/dhcperf/pkg-descr
echo x - net/dhcperf/distinfo
sed 's/^X//' >net/dhcperf/distinfo << 'END-of-net/dhcperf/distinfo'
XMD5 (dhcperf-1.0.0.0-1-freebsd-5.4-i386.tar.gz) = c7750749ffaebc8c40391e39d5fedbef
XSHA256 (dhcperf-1.0.0.0-1-freebsd-5.4-i386.tar.gz) = 5ad2aafcaa441ba6bd3edc162e9197e3ef84953b4c85fdaa8bb99711f558cf55
XSIZE (dhcperf-1.0.0.0-1-freebsd-5.4-i386.tar.gz) = 565825
END-of-net/dhcperf/distinfo
echo x - net/dhcperf/Makefile
sed 's/^X//' >net/dhcperf/Makefile << 'END-of-net/dhcperf/Makefile'
X# New ports collection makefile for:   dhcperf
X# Date created:        1 November 2006
X# Whom:                Edwin Groothuis (edwin at mavetju.org)
X#
X# $FreeBSD$
X#
X
XPORTNAME=	dhcperf
XPORTVERSION=	1.0.0.0
XCATEGORIES=	net benchmarks
XMASTER_SITES=	ftp://ftp.nominum.com/pub/nominum/${PORTNAME}/${PORTVERSION}/
XDISTNAME=	${PORTNAME}-${PORTVERSION}-1-freebsd-5.4-i386
X
XMAINTAINER=	edwin at mavetju.org
XCOMMENT=	DHCPerf delivers accurate performance metrics of Dynamic Host Configuration Protocol service
X
XONLY_ARCHS=	i386
XNO_BUILD=	yes
XWRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}-1/
X
XPLIST_FILES=	bin/dhcperf \
X		share/doc/dhcperf/dcsevaltutorial.pdf \
X		share/doc/dhcperf/dhcperf.pdf
XPLIST_DIRS=	share/doc/dhcperf
XMAN1=		dhcperf.1
X
X.include <bsd.port.pre.mk>
X
X.if ${OSVERSION}<504000
XIGNORE=		requires FreeBSD 5.4 or higher
X.endif
X
X.if ${OSVERSION}>600000
XLIB_DEPENDS=	c.5:${PORTSDIR}/misc/compat5x
X.endif
X
Xpost-extract:
X	${TAR} -C ${WRKSRC} -zxvf ${WRKSRC}/dhcperf-1.0.0.0_1.tgz
X
Xdo-install:
X	${INSTALL_PROGRAM} ${WRKSRC}/usr/local/nom/bin/dhcperf ${PREFIX}/bin/dhcperf
X	${INSTALL_DATA} ${WRKSRC}/usr/local/nom/man/man1/dhcperf.1 ${PREFIX}/man/man1
X	${MKDIR} ${PREFIX}/share/doc/dhcperf
X	${INSTALL_DATA} ${WRKSRC}/usr/local/nom/doc/dhcperf/dcsevaltutorial.pdf ${PREFIX}/share/doc/dhcperf/dcsevaltutorial.pdf
X	${INSTALL_DATA} ${WRKSRC}/usr/local/nom/doc/dhcperf/dhcperf.pdf ${PREFIX}/share/doc/dhcperf/dhcperf.pdf
X
X.include <bsd.port.post.mk>
END-of-net/dhcperf/Makefile
echo c - dns/queryperf/
mkdir -p dns/queryperf/ > /dev/null 2>&1
echo c - dns/queryperf/CVS
mkdir -p dns/queryperf/CVS > /dev/null 2>&1
echo x - dns/queryperf/CVS/Root
sed 's/^X//' >dns/queryperf/CVS/Root << 'END-of-dns/queryperf/CVS/Root'
X:ext:edwin at pcvs.freebsd.org:/home/pcvs
END-of-dns/queryperf/CVS/Root
echo x - dns/queryperf/CVS/Repository
sed 's/^X//' >dns/queryperf/CVS/Repository << 'END-of-dns/queryperf/CVS/Repository'
Xports/dns/queryperf
END-of-dns/queryperf/CVS/Repository
echo x - dns/queryperf/CVS/Entries
sed 's/^X//' >dns/queryperf/CVS/Entries << 'END-of-dns/queryperf/CVS/Entries'
X/Makefile/1.3/Wed Sep 14 23:36:48 2005//
X/distinfo/1.3/Tue Nov  8 21:45:43 2005//
X/pkg-descr/1.1/Sun Aug 28 10:38:40 2005//
X/pkg-plist/1.1/Sun Aug 28 10:38:40 2005//
XD/files////
END-of-dns/queryperf/CVS/Entries
echo x - dns/queryperf/CVS/Template
sed 's/^X//' >dns/queryperf/CVS/Template << 'END-of-dns/queryperf/CVS/Template'
X
XPR:		
XSubmitted by:	
XReviewed by:	
XApproved by:	
XObtained from:	
XMFC after:	
XSecurity:	
XCVS: ----------------------------------------------------------------------
XCVS: PR:              Fill this in if a GNATS PR is affected by the change.
XCVS: Submitted by:    Fill this in if someone else sent in the change.
XCVS: Reviewed by:     Fill this in if someone else reviewed your modification.
XCVS: Approved by:     Fill this in if you needed approval for this commit.
XCVS: Obtained from:   Fill this in if the change is from third party software.
XCVS: MFC after:       N [day[s]|week[s]|month[s]]
XCVS:	Fill in to get MFC notification later. (days assumed unless specified)
XCVS: Security:        vulnerability reference or description
XCVS:	If the change is related to a security vulnerability, include one or
XCVS:	more references (e.g. CVE names, VuXML IDs, URLs) or a description
XCVS:	of the issue.  Please use one `Security:' entry per reference.
END-of-dns/queryperf/CVS/Template
echo c - dns/queryperf/files
mkdir -p dns/queryperf/files > /dev/null 2>&1
echo c - dns/queryperf/files/CVS
mkdir -p dns/queryperf/files/CVS > /dev/null 2>&1
echo x - dns/queryperf/files/CVS/Root
sed 's/^X//' >dns/queryperf/files/CVS/Root << 'END-of-dns/queryperf/files/CVS/Root'
X:ext:edwin at pcvs.freebsd.org:/home/pcvs
END-of-dns/queryperf/files/CVS/Root
echo x - dns/queryperf/files/CVS/Repository
sed 's/^X//' >dns/queryperf/files/CVS/Repository << 'END-of-dns/queryperf/files/CVS/Repository'
Xports/dns/queryperf/files
END-of-dns/queryperf/files/CVS/Repository
echo x - dns/queryperf/files/CVS/Entries
sed 's/^X//' >dns/queryperf/files/CVS/Entries << 'END-of-dns/queryperf/files/CVS/Entries'
X/patch-contrib::queryperf::Makefile.in/1.1/Sun Aug 28 10:38:40 2005//
XD
END-of-dns/queryperf/files/CVS/Entries
echo x - dns/queryperf/files/patch-contrib::queryperf::Makefile.in
sed 's/^X//' >dns/queryperf/files/patch-contrib::queryperf::Makefile.in << 'END-of-dns/queryperf/files/patch-contrib::queryperf::Makefile.in'
X--- Makefile.in.orig	Sun Aug 21 18:28:34 2005
X+++ Makefile.in	Sun Aug 21 18:29:20 2005
X@@ -5,6 +5,8 @@
X LIBS = @LIBS@
X DEFS = @DEFS@
X 
X+all: queryperf
X+
X queryperf: queryperf.o $(LIBOBJS)
X 	$(CC) $(CFLAGS) $(DEFS) $(LDFLAGS) queryperf.o $(LIBOBJS) $(LIBS) -lm -o queryperf
X 
END-of-dns/queryperf/files/patch-contrib::queryperf::Makefile.in
echo x - dns/queryperf/Makefile
sed 's/^X//' >dns/queryperf/Makefile << 'END-of-dns/queryperf/Makefile'
X# New ports collection makefile for:    qyeryfile
X# Date created:                         28 August 2005
X# Whom:                                 Edwin Groothuis <edwin at mavetju.org>
X#
X# $FreeBSD: ports/dns/queryperf/Makefile,v 1.3 2005/09/14 23:36:48 edwin Exp $
X#
X
XPORTNAME=       queryperf
XPORTVERSION=    2.1
XCATEGORIES=     dns net benchmarks
XMASTER_SITES=   ftp://ftp.nominum.com/pub/nominum/
XMASTER_SITE_SUBDIR=     bind9/${BINDVERSION}
XDISTNAME=       ${PORTNAME}-nominum-${PORTVERSION}
X
XMAINTAINER=	edwin at mavetju.org
XCOMMENT=	DNS Query Performance Testing Tool
X
XHAS_CONFIGURE=	yes
XPORTDOCS=	queryperf.txt
XUSE_PYTHON_RUN=	yes
X
Xdo-install:
X	${INSTALL_PROGRAM} ${WRKSRC}/queryperf ${PREFIX}/bin
X	${INSTALL_SCRIPT} ${WRKSRC}/utils/gen-data-queryperf.py ${PREFIX}/bin
X.if !defined(NOPORTDOCS)
X	${MKDIR} ${DOCSDIR}
X	${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}/queryperf.txt
X.endif
X
X.include <bsd.port.mk>
END-of-dns/queryperf/Makefile
echo x - dns/queryperf/distinfo
sed 's/^X//' >dns/queryperf/distinfo << 'END-of-dns/queryperf/distinfo'
XMD5 (queryperf-nominum-2.1.tar.gz) = e1a0cf35f37c9fbee85fbb951f9901fd
XSHA256 (queryperf-nominum-2.1.tar.gz) = 27a4176d267becf725df03db363a42d63a4bb6763a8fb478547aaf0b927d43b7
XSIZE (queryperf-nominum-2.1.tar.gz) = 49798
END-of-dns/queryperf/distinfo
echo x - dns/queryperf/pkg-descr
sed 's/^X//' >dns/queryperf/pkg-descr << 'END-of-dns/queryperf/pkg-descr'
XThis is queryperf, a DNS server query performance testing tool.
X
XIt is primarily intended for measuring the performance of authoritative
XDNS servers, but it has also been used for measuring caching server
Xperformance. 
X
XSee /usr/local/share/docs/queryperf//queryperf.txt for more information
Xon the command line option and the required configuration files.
END-of-dns/queryperf/pkg-descr
echo x - dns/queryperf/pkg-plist
sed 's/^X//' >dns/queryperf/pkg-plist << 'END-of-dns/queryperf/pkg-plist'
Xbin/queryperf
Xbin/gen-data-queryperf.py
END-of-dns/queryperf/pkg-plist
exit


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



More information about the freebsd-ports-bugs mailing list