New package: iperf-2.0.5
This commit is contained in:
parent
64257b9c4b
commit
0d89a2d494
2 changed files with 33 additions and 0 deletions
17
srcpkgs/iperf/patches/client.cpp.patch
Normal file
17
srcpkgs/iperf/patches/client.cpp.patch
Normal file
|
@ -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
|
16
srcpkgs/iperf/template
Normal file
16
srcpkgs/iperf/template
Normal file
|
@ -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 <chneukirchen@gmail.com>"
|
||||
license="custom"
|
||||
homepage="http://iperf.sourceforge.net"
|
||||
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
|
||||
checksum=636b4eff0431cea80667ea85a67ce4c68698760a9837e1e9d13096d20362265b
|
||||
|
||||
post_install() {
|
||||
vlicense COPYING LICENSE
|
||||
}
|
Loading…
Reference in a new issue