aboutsummaryrefslogtreecommitdiff
path: root/benchmarks/iperf
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2016-11-22 18:43:04 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2016-11-22 18:43:04 +0000
commit9fb71cbf42b43f826220e98c0ae6e301dd1cbfac (patch)
tree3565c9f72c758e96b1fc2f7b6e00e6ad652af9b0 /benchmarks/iperf
parent741ea867ab1c8ac8886e8e26bfdf7bbc9530792c (diff)
downloadports-9fb71cbf42b43f826220e98c0ae6e301dd1cbfac.tar.gz
ports-9fb71cbf42b43f826220e98c0ae6e301dd1cbfac.zip
Notes
Diffstat (limited to 'benchmarks/iperf')
-rw-r--r--benchmarks/iperf/Makefile4
-rw-r--r--benchmarks/iperf/distinfo5
-rw-r--r--benchmarks/iperf/files/patch-src_Client.cpp16
-rw-r--r--benchmarks/iperf/pkg-descr2
4 files changed, 6 insertions, 21 deletions
diff --git a/benchmarks/iperf/Makefile b/benchmarks/iperf/Makefile
index 8fb1415c44bf..531d5a78e1ad 100644
--- a/benchmarks/iperf/Makefile
+++ b/benchmarks/iperf/Makefile
@@ -2,9 +2,9 @@
# $FreeBSD$
PORTNAME= iperf
-PORTVERSION= 2.0.5
+PORTVERSION= 2.0.9
CATEGORIES= benchmarks
-MASTER_SITES= SF/${PORTNAME}
+MASTER_SITES= SF/${PORTNAME}2
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Tool to measure maximum TCP and UDP bandwidth
diff --git a/benchmarks/iperf/distinfo b/benchmarks/iperf/distinfo
index c0ebc89549d8..b5b05e613430 100644
--- a/benchmarks/iperf/distinfo
+++ b/benchmarks/iperf/distinfo
@@ -1,2 +1,3 @@
-SHA256 (iperf-2.0.5.tar.gz) = 636b4eff0431cea80667ea85a67ce4c68698760a9837e1e9d13096d20362265b
-SIZE (iperf-2.0.5.tar.gz) = 248583
+TIMESTAMP = 1479828112
+SHA256 (iperf-2.0.9.tar.gz) = db02911f35686e808ed247160dfa766e08ae3f59d1e7dcedef0ffb2a6643f0bf
+SIZE (iperf-2.0.9.tar.gz) = 279153
diff --git a/benchmarks/iperf/files/patch-src_Client.cpp b/benchmarks/iperf/files/patch-src_Client.cpp
deleted file mode 100644
index 32044bb6f413..000000000000
--- a/benchmarks/iperf/files/patch-src_Client.cpp
+++ /dev/null
@@ -1,16 +0,0 @@
-#
-# If the network card's buffer is full, send returns -1 and sets
-# errno to ENOBUFS, which causes issues with the UDP bandwidth tests.
-# Check if errno != ENOBUFS after write(2).
-#
---- src/Client.cpp.orig 2010-04-01 20:23:17 UTC
-+++ src/Client.cpp
-@@ -157,7 +157,7 @@ void Client::RunTCP( void ) {
-
- // perform write
- currLen = write( mSettings->mSock, mBuf, mSettings->mBufLen );
-- if ( currLen < 0 ) {
-+ if ( currLen < 0 && errno != ENOBUFS ) {
- WARN_errno( currLen < 0, "write2" );
- break;
- }
diff --git a/benchmarks/iperf/pkg-descr b/benchmarks/iperf/pkg-descr
index fc5a9732d291..3b874b8629b5 100644
--- a/benchmarks/iperf/pkg-descr
+++ b/benchmarks/iperf/pkg-descr
@@ -9,4 +9,4 @@ Iperf is a tool to measure maximum TCP bandwidth, allowing
the tuning of various parameters and UDP characteristics.
Iperf reports bandwidth, delay jitter, datagram loss.
-WWW: http://iperf.sourceforge.net/
+WWW: https://sourceforge.net/projects/iperf2/