svn commit: r323384 - in head: . dns dns/dnsperf dns/dnsperf/files
Hiroki Sato
hrs at FreeBSD.org
Sun Jul 21 13:23:45 UTC 2013
Author: hrs
Date: Sun Jul 21 13:23:43 2013
New Revision: 323384
URL: http://svnweb.freebsd.org/changeset/ports/323384
Log:
Re-add dns/dnsperf and update to 2.0.0.0.
Added:
head/dns/dnsperf/
- copied from r316324, head/dns/dnsperf/
Modified:
head/MOVED
head/dns/Makefile
head/dns/dnsperf/Makefile
head/dns/dnsperf/distinfo
head/dns/dnsperf/files/patch-Makefile.in
head/dns/dnsperf/pkg-descr
Modified: head/MOVED
==============================================================================
--- head/MOVED Sun Jul 21 13:09:02 2013 (r323383)
+++ head/MOVED Sun Jul 21 13:23:43 2013 (r323384)
@@ -4198,7 +4198,6 @@ devel/goffice1||2013-04-16|Removed: Only
devel/present||2013-04-16|Removed: No users, blocking libgsf update
audio/icecast|audio/icecast2|2013-04-18|Has expired: Unmaintained upstream since 2004. Use audio/icecast2 instead
net-im/gajim-devel|net-im/gajim|2013-04-18|Has expired: This port is outdated for two years, no distfile available. Please use net-im/gajim instead
-dns/dnsperf||2013-04-20|Removed
dns/bind97||2013-04-20|Has expired: No longer supported by ISC, use Bind 9.8 or 9.9
dns/bind97-sdb||2013-04-20|Has expired: No longer supported by ISC, use Bind 9.8 or 9.9
sysutils/grub||2013-04-22|Unmaintained and broken
Modified: head/dns/Makefile
==============================================================================
--- head/dns/Makefile Sun Jul 21 13:09:02 2013 (r323383)
+++ head/dns/Makefile Sun Jul 21 13:23:43 2013 (r323384)
@@ -38,6 +38,7 @@
SUBDIR += dnsmasq
SUBDIR += dnsmasq-devel
SUBDIR += dnsmax-perl
+ SUBDIR += dnsperf
SUBDIR += dnsproxy
SUBDIR += dnsreflector
SUBDIR += dnstop
Modified: head/dns/dnsperf/Makefile
==============================================================================
--- head/dns/dnsperf/Makefile Tue Apr 23 08:49:56 2013 (r316324)
+++ head/dns/dnsperf/Makefile Sun Jul 21 13:23:43 2013 (r323384)
@@ -2,26 +2,44 @@
# $FreeBSD$
PORTNAME= dnsperf
-PORTVERSION= 1.0.1.0
-PORTREVISION= 2
+PORTVERSION= 2.0.0.0
CATEGORIES= dns benchmarks net
MASTER_SITES= ftp://ftp.nominum.com/pub/nominum/${PORTNAME}/${PORTVERSION}/
DISTNAME= ${PORTNAME}-src-${PORTVERSION}-1
-MAINTAINER= edwin at mavetju.org
-COMMENT= DNSPerf and ResPerf deliver accurate performance metrics of Domain Name Services
+MAINTAINER= hrs at FreeBSD.org
+COMMENT= Accurate performance metrics of Domain Name Services
-BUILD_DEPENDS= isc-config.sh:${PORTSDIR}/dns/bind97
-
-BROKEN= fails to build
-
-HAS_CONFIGURE= yes
-CONFIGURE_ARGS= --prefix=${PREFIX}
+BUILD_DEPENDS= isc-config.sh:${PORTSDIR}/dns/bind98
+USES= iconv
+GNU_CONFIGURE= yes
MAKE_ENV= INSTALL_PROGRAM="${INSTALL_PROGRAM}" \
INSTALL_SCRIPT="${INSTALL_SCRIPT}" \
- INSTALL_DATA="${INSTALL_DATA}"
+ INSTALL_DATA="${INSTALL_DATA}" \
+ INSTALL_MAN="${INSTALL_MAN}"
PLIST_FILES= bin/dnsperf bin/resperf bin/resperf-report
MAN1= dnsperf.1 resperf.1
+PORTDOCS= caching-dns-performance.pdf \
+ dnsperf.pdf \
+ resperf.pdf
+CFLAGS+= -I.
+
+OPTIONS_DEFINE= DOCS
+OPTIONS_DEFAULT=DOCS
+
+.include <bsd.port.options.mk>
+
+# This is a workaround for broken isc/stat.h.
+pre-build:
+ ${MKDIR} ${WRKSRC}/isc
+ ${ECHO_CMD} "#include <sys/types.h>" > ${WRKSRC}/isc/stat.h
+ ${ECHO_CMD} "#include <sys/stat.h>" >> ${WRKSRC}/isc/stat.h
+
+.if ${PORT_OPTIONS:MDOCS}
+post-install:
+ @${MKDIR} ${DOCSDIR}
+ cd ${WRKSRC}/doc && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
+.endif
.include <bsd.port.mk>
Modified: head/dns/dnsperf/distinfo
==============================================================================
--- head/dns/dnsperf/distinfo Tue Apr 23 08:49:56 2013 (r316324)
+++ head/dns/dnsperf/distinfo Sun Jul 21 13:23:43 2013 (r323384)
@@ -1,2 +1,2 @@
-SHA256 (dnsperf-src-1.0.1.0-1.tar.gz) = 2876529516e3600d903e850c81f76adf7a7bec9969a20afa6d08f0f671f27893
-SIZE (dnsperf-src-1.0.1.0-1.tar.gz) = 914154
+SHA256 (dnsperf-src-2.0.0.0-1.tar.gz) = 23d486493f04554d11fca97552e860028f18c5ed6e35348e480a7448fa8cfaad
+SIZE (dnsperf-src-2.0.0.0-1.tar.gz) = 565871
Modified: head/dns/dnsperf/files/patch-Makefile.in
==============================================================================
--- head/dns/dnsperf/files/patch-Makefile.in Tue Apr 23 08:49:56 2013 (r316324)
+++ head/dns/dnsperf/files/patch-Makefile.in Sun Jul 21 13:23:43 2013 (r323384)
@@ -1,22 +1,26 @@
---- Makefile.in.orig 2006-12-22 08:58:01.000000000 +1100
-+++ Makefile.in 2008-03-23 08:34:53.000000000 +1100
-@@ -6,8 +6,8 @@
- mandir = @prefix@/man
+--- Makefile.in.orig 2012-03-02 11:25:22.000000000 +0900
++++ Makefile.in 2013-07-19 11:50:57.000000000 +0900
+@@ -7,8 +7,8 @@
+ datarootdir = @datarootdir@
INSTALL = @INSTALL@
-INSTALL_PROGRAM = @INSTALL_PROGRAM@
-INSTALL_DATA = @INSTALL_DATA@
+#INSTALL_PROGRAM = @INSTALL_PROGRAM@
+#INSTALL_DATA = @INSTALL_DATA@
+ RANLIB = @RANLIB@
-
- CC = @CC@
-@@ -41,7 +41,7 @@
+ CC = @PTHREAD_CC@
+@@ -41,9 +41,9 @@
install: all installdirs
${INSTALL_PROGRAM} dnsperf ${DESTDIR}${bindir}
${INSTALL_PROGRAM} resperf ${DESTDIR}${bindir}
- ${INSTALL_PROGRAM} resperf-report ${DESTDIR}${bindir}
+- ${INSTALL_DATA} dnsperf.1 ${DESTDIR}${mandir}/man1
+- ${INSTALL_DATA} resperf.1 ${DESTDIR}${mandir}/man1
+ ${INSTALL_SCRIPT} resperf-report ${DESTDIR}${bindir}
- ${INSTALL_DATA} dnsperf.1 ${DESTDIR}${mandir}/man1
- ${INSTALL_DATA} resperf.1 ${DESTDIR}${mandir}/man1
++ ${INSTALL_MAN} dnsperf.1 ${DESTDIR}${mandir}/man1
++ ${INSTALL_MAN} resperf.1 ${DESTDIR}${mandir}/man1
+ clean:
+ rm -f *.o dnsperf resperf libperf.a
Modified: head/dns/dnsperf/pkg-descr
==============================================================================
--- head/dns/dnsperf/pkg-descr Tue Apr 23 08:49:56 2013 (r316324)
+++ head/dns/dnsperf/pkg-descr Sun Jul 21 13:23:43 2013 (r323384)
@@ -15,4 +15,4 @@ needed. ResPerf is designed specifically
Name services. To test a caching server, ResPerf systematically
increases the query rate and monitors the response rate.
-WWW: http://www.nominum.com/services/measurement_tools.php
+WWW: http://www.nominum.com/support/measurement-tools/
More information about the svn-ports-head
mailing list