[Midnightbsd-cvs] mports [23608] trunk/benchmarks/iperf: update iperf to 2.0.12
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Wed Jul 4 16:29:29 EDT 2018
Revision: 23608
http://svnweb.midnightbsd.org/mports/?rev=23608
Author: laffer1
Date: 2018-07-04 16:29:28 -0400 (Wed, 04 Jul 2018)
Log Message:
-----------
update iperf to 2.0.12
Modified Paths:
--------------
trunk/benchmarks/iperf/Makefile
trunk/benchmarks/iperf/distinfo
Added Paths:
-----------
trunk/benchmarks/iperf/files/patch-config.h.in
Removed Paths:
-------------
trunk/benchmarks/iperf/files/patch-src__Client.cpp
Modified: trunk/benchmarks/iperf/Makefile
===================================================================
--- trunk/benchmarks/iperf/Makefile 2018-07-01 18:14:36 UTC (rev 23607)
+++ trunk/benchmarks/iperf/Makefile 2018-07-04 20:29:28 UTC (rev 23608)
@@ -1,10 +1,9 @@
# $MidnightBSD$
PORTNAME= iperf
-PORTVERSION= 2.0.5
-PORTREVISION= 1
+PORTVERSION= 2.0.12
CATEGORIES= benchmarks
-MASTER_SITES= SF/${PORTNAME}
+MASTER_SITES= SF/${PORTNAME}2
MAINTAINER= ports at MidnightBSD.org
COMMENT= Tool to measure maximum TCP and UDP bandwidth
Modified: trunk/benchmarks/iperf/distinfo
===================================================================
--- trunk/benchmarks/iperf/distinfo 2018-07-01 18:14:36 UTC (rev 23607)
+++ trunk/benchmarks/iperf/distinfo 2018-07-04 20:29:28 UTC (rev 23608)
@@ -1,2 +1,3 @@
-SHA256 (iperf-2.0.5.tar.gz) = 636b4eff0431cea80667ea85a67ce4c68698760a9837e1e9d13096d20362265b
-SIZE (iperf-2.0.5.tar.gz) = 248583
+TIMESTAMP = 1530736126
+SHA256 (iperf-2.0.12.tar.gz) = 367f651fb1264b13f6518e41b8a7e08ce3e41b2a1c80e99ff0347561eed32646
+SIZE (iperf-2.0.12.tar.gz) = 324528
Added: trunk/benchmarks/iperf/files/patch-config.h.in
===================================================================
--- trunk/benchmarks/iperf/files/patch-config.h.in (rev 0)
+++ trunk/benchmarks/iperf/files/patch-config.h.in 2018-07-04 20:29:28 UTC (rev 23608)
@@ -0,0 +1,12 @@
+--- config.h.in.orig 2010-04-10 19:23:05 UTC
++++ config.h.in
+@@ -268,7 +268,9 @@
+ #undef _REENTRANT
+
+ /* */
++#ifndef __cplusplus
+ #undef bool
++#endif
+
+ /* Define to empty if `const' does not conform to ANSI C. */
+ #undef const
Property changes on: trunk/benchmarks/iperf/files/patch-config.h.in
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Deleted: trunk/benchmarks/iperf/files/patch-src__Client.cpp
===================================================================
--- trunk/benchmarks/iperf/files/patch-src__Client.cpp 2018-07-01 18:14:36 UTC (rev 23607)
+++ trunk/benchmarks/iperf/files/patch-src__Client.cpp 2018-07-04 20:29:28 UTC (rev 23608)
@@ -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 Wed Dec 13 11:22:18 2006
-+++ src/Client.cpp Wed Dec 13 11:22:47 2006
-@@ -215,7 +215,7 @@
-
- // perform write
- currLen = write( mSettings->mSock, mBuf, mSettings->mBufLen );
-- if ( currLen < 0 ) {
-+ if ( currLen < 0 && errno != ENOBUFS ) {
- WARN_errno( currLen < 0, "write2" );
- break;
- }
More information about the Midnightbsd-cvs
mailing list