diff options
author | Hiroki Sato <hrs@FreeBSD.org> | 2021-08-24 10:49:06 +0900 |
---|---|---|
committer | Hiroki Sato <hrs@FreeBSD.org> | 2021-08-24 10:50:44 +0900 |
commit | 3268f3350f3d7f2f3343c26eeede622f06863f9a (patch) | |
tree | d2194ed44e4a5e4f3f0fc0405daa88fa534586d1 /dns | |
parent | sysutils/keyd: use -l for finding LDFLAGS candidates (diff) |
dns/dnsperf: resurrect dnsperf and update it to 2.7.0
PR: 247478
Diffstat (limited to 'dns')
-rw-r--r-- | dns/Makefile | 1 | ||||
-rw-r--r-- | dns/dnsperf/Makefile | 36 | ||||
-rw-r--r-- | dns/dnsperf/distinfo | 3 | ||||
-rw-r--r-- | dns/dnsperf/pkg-descr | 18 |
4 files changed, 58 insertions, 0 deletions
diff --git a/dns/Makefile b/dns/Makefile index 3902cd11bec8..83a25830788b 100644 --- a/dns/Makefile +++ b/dns/Makefile @@ -47,6 +47,7 @@ SUBDIR += dnsmasq SUBDIR += dnsmasq-devel SUBDIR += dnsmax-perl + SUBDIR += dnsperf SUBDIR += dnsproxy SUBDIR += dnsrecon SUBDIR += dnsreflector diff --git a/dns/dnsperf/Makefile b/dns/dnsperf/Makefile new file mode 100644 index 000000000000..d323deaf61e4 --- /dev/null +++ b/dns/dnsperf/Makefile @@ -0,0 +1,36 @@ +# Created by: Edwin Groothuis (edwin@mavetju.org) + +PORTNAME= dnsperf +PORTVERSION= 2.7.0 +DISTVERSIONPREFIX=v +CATEGORIES= dns benchmarks net + +MAINTAINER= hrs@FreeBSD.org +COMMENT= Performance measurement of Domain Name System (DNS) servers + +LICENSE= APACHE20 + +LIB_DEPENDS= libnghttp2.so:www/libnghttp2 \ + libck.so:devel/concurrencykit \ + libldns.so:dns/ldns + +USES= autoreconf compiler:c11 libtool ssl +USE_GITHUB= yes +GH_ACCOUNT= DNS-OARC + +GNU_CONFIGURE= yes +CONFIGURE_ENV= libssl_LIBS="-lssl -L${OPENSSLLIB}" \ + libssl_CFLAGS="-I${OPENSSLINC}" \ + libcrypto_LIBS="-lcrypto -L${OPENSSLLIB}" \ + libcrypto_CFLAGS="-I${OPENSSLINC}" +MAKE_ENV= INSTALL_PROGRAM="${INSTALL_PROGRAM}" \ + INSTALL_SCRIPT="${INSTALL_SCRIPT}" \ + INSTALL_DATA="${INSTALL_DATA}" \ + INSTALL_MAN="${INSTALL_MAN}" +PLIST_FILES= bin/dnsperf \ + bin/resperf \ + bin/resperf-report \ + man/man1/dnsperf.1.gz \ + man/man1/resperf.1.gz + +.include <bsd.port.mk> diff --git a/dns/dnsperf/distinfo b/dns/dnsperf/distinfo new file mode 100644 index 000000000000..f4039645a435 --- /dev/null +++ b/dns/dnsperf/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1629768486 +SHA256 (DNS-OARC-dnsperf-v2.7.0_GH0.tar.gz) = 3344201d1e09d2547ccce8b1501400a732229d804ab51a83bd994ab5642ccd51 +SIZE (DNS-OARC-dnsperf-v2.7.0_GH0.tar.gz) = 106420 diff --git a/dns/dnsperf/pkg-descr b/dns/dnsperf/pkg-descr new file mode 100644 index 000000000000..cdd0971f9cd2 --- /dev/null +++ b/dns/dnsperf/pkg-descr @@ -0,0 +1,18 @@ +DNSPerf and ResPerf are free tools developed by Nominum that make it +simple to gather accurate latency and throughput metrics for Domain +Name System (DNS) servers. The latest version of the DNSPerf and +ResPerf can be used with 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. + +ResPerf systematically increases the query rate and monitors the +response rate to simulate caching DNS services. + +WWW: https://www.dns-oarc.net/tools/dnsperf |