summaryrefslogtreecommitdiff
path: root/extra/iperf
diff options
context:
space:
mode:
Diffstat (limited to 'extra/iperf')
-rw-r--r--extra/iperf/PKGBUILD35
-rw-r--r--extra/iperf/client.cpp.patch17
2 files changed, 0 insertions, 52 deletions
diff --git a/extra/iperf/PKGBUILD b/extra/iperf/PKGBUILD
deleted file mode 100644
index 85694c453..000000000
--- a/extra/iperf/PKGBUILD
+++ /dev/null
@@ -1,35 +0,0 @@
-# $Id: PKGBUILD 153712 2012-03-18 13:40:58Z giovanni $
-# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
-# Contributor: Dale Blount <dale@archlinux.org>
-
-pkgname=iperf
-pkgver=2.0.5
-pkgrel=4
-pkgdesc="A tool to measure maximum TCP bandwidth"
-arch=('i686' 'x86_64')
-license=('custom')
-url="http://iperf.sourceforge.net"
-depends=('gcc-libs')
-source=("http://downloads.sourceforge.net/iperf/iperf-2.0.5.tar.gz"
- 'client.cpp.patch')
-md5sums=('44b5536b67719f4250faed632a3cd016'
- '82ce63c87cc8bb2f0f94069857ac14a9')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
-
- # FS#25159
- patch -Np1 -i ${srcdir}/client.cpp.patch
-
- ./configure --prefix=/usr \
- --enable-ipv6 \
- --enable-threads
- make
-}
-
-package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
-
- make DESTDIR="${pkgdir}" install
- install -Dm644 COPYING "${pkgdir}/usr/share/licenses/iperf/LICENSE"
-}
diff --git a/extra/iperf/client.cpp.patch b/extra/iperf/client.cpp.patch
deleted file mode 100644
index 85f89e765..000000000
--- a/extra/iperf/client.cpp.patch
+++ /dev/null
@@ -1,17 +0,0 @@
---- a/src/Client.cpp 2010-04-01 22:23:17.000000000 +0200
-+++ b/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