Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Jan 2014 04:56:03 +0000 (UTC)
From:      "Bruce A. Mah" <bmah@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r340548 - in head/benchmarks: . iperf3
Message-ID:  <201401210456.s0L4u34w076337@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bmah
Date: Tue Jan 21 04:56:03 2014
New Revision: 340548
URL: http://svnweb.freebsd.org/changeset/ports/340548
QAT: https://qat.redports.org/buildarchive/r340548/

Log:
  New port:  benchmarks/iperf3
  
  iperf is a tool for measuring the maximum TCP and UDP bandwidth along
  a path between two hosts.  It allows the tuning of various
  parameters and UDP characteristics, and reports bandwidth, delay
  jitter, datagram loss.  iperf was originally developed by NLANR/DAST.
  
  iperf3 is a new implementation from scratch, with the goal of a
  smaller, simpler code base, and a library version of the functionality
  that can be used in other programs.  iperf3 also a number of features
  found in other tools such as nuttcp and netperf, but were missing from
  iperf 2.x.  iperf3 is not backwards compatible with iperf 2.x.
  
  WWW: https://code.google.com/p/iperf/
  
  Approved by:	mat (mentor)

Added:
  head/benchmarks/iperf3/
  head/benchmarks/iperf3/Makefile   (contents, props changed)
  head/benchmarks/iperf3/distinfo   (contents, props changed)
  head/benchmarks/iperf3/pkg-descr   (contents, props changed)
Modified:
  head/benchmarks/Makefile

Modified: head/benchmarks/Makefile
==============================================================================
--- head/benchmarks/Makefile	Tue Jan 21 03:48:40 2014	(r340547)
+++ head/benchmarks/Makefile	Tue Jan 21 04:56:03 2014	(r340548)
@@ -30,6 +30,7 @@
     SUBDIR += iozone
     SUBDIR += iozone21
     SUBDIR += iperf
+    SUBDIR += iperf3
     SUBDIR += libmicro
     SUBDIR += lmbench
     SUBDIR += mdtest

Added: head/benchmarks/iperf3/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/benchmarks/iperf3/Makefile	Tue Jan 21 04:56:03 2014	(r340548)
@@ -0,0 +1,44 @@
+# Created by: Bruce A. Mah <bmah@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME=	iperf
+PORTVERSION=	3.0.1
+CATEGORIES=	benchmarks ipv6
+MASTER_SITES=	http://stats.es.net/software/
+PKGNAMESUFFIX=	3
+
+MAINTAINER=	bmah@FreeBSD.org
+COMMENT=	Improved tool to measure TCP and UDP bandwidth
+
+LICENSE=	BSD3CLAUSE
+
+GNU_CONFIGURE=	yes
+
+# Set ${DOCSDIR} to avoid conflict with benchmarks/iperf ${DOCSDIR}
+DOCSDIR=	${PREFIX}/share/doc/${PORTNAME}${PKGNAMESUFFIX}
+
+PLIST_FILES=	bin/iperf3 \
+		include/iperf_api.h \
+		lib/libiperf.a \
+		man/man1/iperf3.1.gz \
+		man/man3/libiperf.3.gz
+PORTDOCS=	*
+
+post-patch:
+# automake generates a buggy Makefile.in that tries to do ${RANLIB} on
+# libiperf3.a after installing with mode 444; this breaks staging.
+# Since ${RANLIB} was already run on the library, this broken
+# invocation was redundant, and can be eliminated.  The fix below is
+# based on the solution for a similar situation for an unrelated port
+# in r339298.
+	@${REINPLACE_CMD} -e '/echo.*RANLIB/,+1d' ${WRKSRC}/src/Makefile.in
+# Don't build stuff that we're not going to install.  Among other
+# things this means we're not going to try to build profiled objects
+# and/or executables.
+	@${REINPLACE_CMD} -e '/^PROGRAMS /s/\$$(noinst_PROGRAMS)//' ${WRKSRC}/src/Makefile.in
+
+post-install:
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	(cd ${WRKSRC} && ${INSTALL_DATA} AUTHORS README RELEASE_NOTES TODO ${STAGEDIR}${DOCSDIR})
+
+.include <bsd.port.mk>

Added: head/benchmarks/iperf3/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/benchmarks/iperf3/distinfo	Tue Jan 21 04:56:03 2014	(r340548)
@@ -0,0 +1,2 @@
+SHA256 (iperf-3.0.1.tar.gz) = 32b419ef634dd7670328c3cecc158babf7d706bd4b3d248cf95965528a20e614
+SIZE (iperf-3.0.1.tar.gz) = 338151

Added: head/benchmarks/iperf3/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/benchmarks/iperf3/pkg-descr	Tue Jan 21 04:56:03 2014	(r340548)
@@ -0,0 +1,12 @@
+iperf is a tool for measuring the maximum TCP and UDP bandwidth along
+a path between two hosts.  It allows the tuning of various
+parameters and UDP characteristics, and reports bandwidth, delay
+jitter, datagram loss.  iperf was originally developed by NLANR/DAST.
+
+iperf3 is a new implementation from scratch, with the goal of a
+smaller, simpler code base, and a library version of the functionality
+that can be used in other programs.  iperf3 also a number of features
+found in other tools such as nuttcp and netperf, but were missing from
+iperf 2.x.  iperf3 is not backwards compatible with iperf 2.x.
+
+WWW: https://code.google.com/p/iperf/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401210456.s0L4u34w076337>