From 0d89a2d494f446dc4a3e06d5a71f46e07db02f76 Mon Sep 17 00:00:00 2001 From: Christian Neukirchen Date: Mon, 18 Aug 2014 19:52:17 +0200 Subject: [PATCH] New package: iperf-2.0.5 --- srcpkgs/iperf/patches/client.cpp.patch | 17 +++++++++++++++++ srcpkgs/iperf/template | 16 ++++++++++++++++ 2 files changed, 33 insertions(+) create mode 100644 srcpkgs/iperf/patches/client.cpp.patch create mode 100644 srcpkgs/iperf/template diff --git a/srcpkgs/iperf/patches/client.cpp.patch b/srcpkgs/iperf/patches/client.cpp.patch new file mode 100644 index 00000000000..53770f6b20f --- /dev/null +++ b/srcpkgs/iperf/patches/client.cpp.patch @@ -0,0 +1,17 @@ +--- src/Client.cpp 2010-04-01 22:23:17.000000000 +0200 ++++ src/Client.cpp 2011-07-19 11:03:42.000000000 +0200 +@@ -212,10 +212,10 @@ + char* readAt = mBuf; + + #if HAVE_THREAD +- if ( !isUDP( mSettings ) ) { +- RunTCP(); +- return; +- } ++// if ( !isUDP( mSettings ) ) { ++// RunTCP(); ++// return; ++// } + #endif + + // Indicates if the stream is readable diff --git a/srcpkgs/iperf/template b/srcpkgs/iperf/template new file mode 100644 index 00000000000..f2fbeea5a95 --- /dev/null +++ b/srcpkgs/iperf/template @@ -0,0 +1,16 @@ +# Template file for 'iperf' +pkgname=iperf +version=2.0.5 +revision=1 +build_style=gnu-configure +configure_args="--enable-ipv6 --enable-multicast --enable-threads" +short_desc="Perform network throughput tests" +maintainer="Christian Neukirchen " +license="custom" +homepage="http://iperf.sourceforge.net" +distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz" +checksum=636b4eff0431cea80667ea85a67ce4c68698760a9837e1e9d13096d20362265b + +post_install() { + vlicense COPYING LICENSE +}