From 18a41d682d6e91e0d28fce23eb75292f477bd620 Mon Sep 17 00:00:00 2001 From: root Date: Sun, 11 Aug 2013 01:21:34 -0700 Subject: Sun Aug 11 01:21:31 PDT 2013 --- community/iperf/PKGBUILD | 45 --------------------------------------- community/iperf/client.cpp.patch | 17 --------------- community/iperf/iperf-tcp.service | 9 -------- community/iperf/iperf-udp.service | 9 -------- community/iperf/iperf.install | 11 ---------- 5 files changed, 91 deletions(-) delete mode 100644 community/iperf/PKGBUILD delete mode 100644 community/iperf/client.cpp.patch delete mode 100644 community/iperf/iperf-tcp.service delete mode 100644 community/iperf/iperf-udp.service delete mode 100644 community/iperf/iperf.install (limited to 'community/iperf') diff --git a/community/iperf/PKGBUILD b/community/iperf/PKGBUILD deleted file mode 100644 index fb4539a72..000000000 --- a/community/iperf/PKGBUILD +++ /dev/null @@ -1,45 +0,0 @@ -# $Id: PKGBUILD 82783 2013-01-24 12:34:05Z seblu $ -# Maintainer: Sébastien Luttringer -# Contributor: Giovanni Scafora -# Contributor: Dale Blount - -pkgname=iperf -pkgver=2.0.5 -pkgrel=7 -pkgdesc='A tool to measure maximum TCP bandwidth' -arch=('i686' 'x86_64') -license=('custom') -url='http://iperf.sourceforge.net' -depends=('gcc-libs') -install=iperf.install -source=("http://downloads.sourceforge.net/iperf/iperf-$pkgver.tar.gz" - 'iperf-tcp.service' - 'iperf-udp.service' - 'client.cpp.patch') -md5sums=('44b5536b67719f4250faed632a3cd016' - '1d8660b540aa0db2e627d3d400cb8de4' - 'a27a8d27b1585bc999a04a2f082e2726' - '82ce63c87cc8bb2f0f94069857ac14a9') - -build() { - cd $pkgname-$pkgver - # fix FS#25159 - patch -Np1 -i "$srcdir/client.cpp.patch" - ./configure --prefix=/usr \ - --enable-ipv6 \ - --enable-multicast \ - --enable-threads - make -} - -package() { - pushd $pkgname-$pkgver - make DESTDIR="$pkgdir" install - install -Dm644 COPYING "$pkgdir/usr/share/licenses/iperf/LICENSE" - popd - # systemd - install -Dm644 iperf-tcp.service "$pkgdir/usr/lib/systemd/system/iperf-tcp.service" - install -Dm644 iperf-udp.service "$pkgdir/usr/lib/systemd/system/iperf-udp.service" -} - -# vim:set ts=2 sw=2 et: diff --git a/community/iperf/client.cpp.patch b/community/iperf/client.cpp.patch deleted file mode 100644 index 85f89e765..000000000 --- a/community/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 diff --git a/community/iperf/iperf-tcp.service b/community/iperf/iperf-tcp.service deleted file mode 100644 index ccb8401c8..000000000 --- a/community/iperf/iperf-tcp.service +++ /dev/null @@ -1,9 +0,0 @@ -[Unit] -Description=Iperf TCP Server -After=network.target - -[Service] -ExecStart=/usr/bin/iperf -s -V - -[Install] -WantedBy=multi-user.target diff --git a/community/iperf/iperf-udp.service b/community/iperf/iperf-udp.service deleted file mode 100644 index b3c5d2686..000000000 --- a/community/iperf/iperf-udp.service +++ /dev/null @@ -1,9 +0,0 @@ -[Unit] -Description=Iperf UDP Server -After=network.target - -[Service] -ExecStart=/usr/bin/iperf -u -s -V - -[Install] -WantedBy=multi-user.target diff --git a/community/iperf/iperf.install b/community/iperf/iperf.install deleted file mode 100644 index 2fa553d52..000000000 --- a/community/iperf/iperf.install +++ /dev/null @@ -1,11 +0,0 @@ -# arg 1: the new package version -# arg 2: the old package version -post_upgrade() { - if [ "$(vercmp $2 2.0.5-6)" -lt 0 ]; then - cat << EOF -===> iperf.service unit has been moved to iperf-udp.service and iperf-tcp.service. -EOF - fi -} - -# vim:set ts=2 sw=2 ft=sh et: -- cgit v1.2.3-54-g00ecf