aboutsummaryrefslogtreecommitdiffstats
path: root/dns/queryperf
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2005-08-28 18:38:40 +0800
committeredwin <edwin@FreeBSD.org>2005-08-28 18:38:40 +0800
commit5d0de57f7c909c128751aa9690831dd9ef36cf24 (patch)
tree7f145918482fe08c1aa3981d291799fcf95d1f9a /dns/queryperf
parent4501356b52cfed95cfe2c534575eadf31e4e536d (diff)
downloadfreebsd-ports-gnome-5d0de57f7c909c128751aa9690831dd9ef36cf24.tar.gz
freebsd-ports-gnome-5d0de57f7c909c128751aa9690831dd9ef36cf24.tar.zst
freebsd-ports-gnome-5d0de57f7c909c128751aa9690831dd9ef36cf24.zip
[new port] dns/queryperf
This is queryperf, a DNS server query performance testing tool. It is primarily intended for measuring the performance of authoritative DNS servers, but it has also been used for measuring caching server performance. See /usr/local/share/docs/queryperf//queryperf.txt for more information on the command line option and the required configuration files. ND-of-queryperf/pkg-descr PR: ports/85179 Submitted by: Edwin Groothuis <edwin@mavetju.org>
Diffstat (limited to 'dns/queryperf')
-rw-r--r--dns/queryperf/Makefile32
-rw-r--r--dns/queryperf/distinfo2
-rw-r--r--dns/queryperf/files/patch-contrib::queryperf::Makefile.in11
-rw-r--r--dns/queryperf/pkg-descr8
-rw-r--r--dns/queryperf/pkg-plist2
5 files changed, 55 insertions, 0 deletions
diff --git a/dns/queryperf/Makefile b/dns/queryperf/Makefile
new file mode 100644
index 000000000000..809a7308c31f
--- /dev/null
+++ b/dns/queryperf/Makefile
@@ -0,0 +1,32 @@
+# New ports collection makefile for: qyeryfile
+# Date created: 28 August 2005
+# Whom: Edwin Groothuis <edwin@mavetju.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= queryperf
+PORTVERSION= 1.1.1.2.2.5.4.3
+CATEGORIES= dns net benchmarks
+MASTER_SITES= ${MASTER_SITE_ISC}
+MASTER_SITE_SUBDIR= bind9/${BINDVERSION}
+DISTNAME= bind-${BINDVERSION}
+
+MAINTAINER= edwin@mavetju.org
+COMMENT= DNS Query Perforamnce Testing Tool
+
+BINDVERSION= 9.3.1
+WRKSRC= ${WRKDIR}/bind-${BINDVERSION}/contrib/queryperf/
+HAS_CONFIGURE= yes
+USE_PYTHON_RUN= yes
+PORTDOCS= queryperf.txt
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/queryperf ${PREFIX}/bin
+ ${INSTALL_SCRIPT} ${WRKSRC}/utils/gen-data-queryperf.py ${PREFIX}/bin
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}/queryperf.txt
+.endif
+
+.include <bsd.port.mk>
diff --git a/dns/queryperf/distinfo b/dns/queryperf/distinfo
new file mode 100644
index 000000000000..531f36b6f21d
--- /dev/null
+++ b/dns/queryperf/distinfo
@@ -0,0 +1,2 @@
+MD5 (bind-9.3.1.tar.gz) = 9ff3204eea27184ea0722f37e43fc95d
+SIZE (bind-9.3.1.tar.gz) = 4673603
diff --git a/dns/queryperf/files/patch-contrib::queryperf::Makefile.in b/dns/queryperf/files/patch-contrib::queryperf::Makefile.in
new file mode 100644
index 000000000000..4d62eb0adcd6
--- /dev/null
+++ b/dns/queryperf/files/patch-contrib::queryperf::Makefile.in
@@ -0,0 +1,11 @@
+--- Makefile.in.orig Sun Aug 21 18:28:34 2005
++++ Makefile.in Sun Aug 21 18:29:20 2005
+@@ -5,6 +5,8 @@
+ LIBS = @LIBS@
+ DEFS = @DEFS@
+
++all: queryperf
++
+ queryperf: queryperf.o $(LIBOBJS)
+ $(CC) $(CFLAGS) $(DEFS) $(LDFLAGS) queryperf.o $(LIBOBJS) $(LIBS) -lm -o queryperf
+
diff --git a/dns/queryperf/pkg-descr b/dns/queryperf/pkg-descr
new file mode 100644
index 000000000000..866b78e3e156
--- /dev/null
+++ b/dns/queryperf/pkg-descr
@@ -0,0 +1,8 @@
+This is queryperf, a DNS server query performance testing tool.
+
+It is primarily intended for measuring the performance of authoritative
+DNS servers, but it has also been used for measuring caching server
+performance.
+
+See /usr/local/share/docs/queryperf//queryperf.txt for more information
+on the command line option and the required configuration files.
diff --git a/dns/queryperf/pkg-plist b/dns/queryperf/pkg-plist
new file mode 100644
index 000000000000..41b3f4c61fd4
--- /dev/null
+++ b/dns/queryperf/pkg-plist
@@ -0,0 +1,2 @@
+bin/queryperf
+bin/gen-data-queryperf.py