1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-18 19:49:40 +00:00

- Update to 2.0.9

- While I'm here, update WWW

Changes:	https://sourceforge.net/projects/iperf2/files/readme.txt/view
PR:		213241
Submitted by:	arved
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2016-11-22 18:43:04 +00:00
parent 741ea867ab
commit 9fb71cbf42
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=426847
4 changed files with 6 additions and 21 deletions

View File

@ -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

View File

@ -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

View File

@ -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;
}

View File

@ -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/