From ef71629a65f6e8052d66775f07b079bf08322476 Mon Sep 17 00:00:00 2001 From: root Date: Fri, 25 Jan 2013 00:06:28 -0800 Subject: Fri Jan 25 00:06:28 PST 2013 --- community/iperf/PKGBUILD | 16 +++++----------- community/iperf/iperf-tcp.service | 1 + community/iperf/iperf-udp.service | 1 + 3 files changed, 7 insertions(+), 11 deletions(-) (limited to 'community/iperf') diff --git a/community/iperf/PKGBUILD b/community/iperf/PKGBUILD index 5985ba0d1..fb4539a72 100644 --- a/community/iperf/PKGBUILD +++ b/community/iperf/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 80971 2012-12-08 03:52:17Z seblu $ +# $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=6 +pkgrel=7 pkgdesc='A tool to measure maximum TCP bandwidth' arch=('i686' 'x86_64') license=('custom') @@ -13,16 +13,12 @@ url='http://iperf.sourceforge.net' depends=('gcc-libs') install=iperf.install source=("http://downloads.sourceforge.net/iperf/iperf-$pkgver.tar.gz" - 'iperf.rc' - 'iperf.conf' 'iperf-tcp.service' 'iperf-udp.service' 'client.cpp.patch') md5sums=('44b5536b67719f4250faed632a3cd016' - 'e99dc0d41eb800970390dd149d70b544' - 'c75cb18434c6bf19fdc89b9caa766d7d' - 'd2203fb26bb50a3378c2699714ada8e5' - '573964ec1b1558a78cd667459676cdb7' + '1d8660b540aa0db2e627d3d400cb8de4' + 'a27a8d27b1585bc999a04a2f082e2726' '82ce63c87cc8bb2f0f94069857ac14a9') build() { @@ -41,9 +37,7 @@ package() { make DESTDIR="$pkgdir" install install -Dm644 COPYING "$pkgdir/usr/share/licenses/iperf/LICENSE" popd - # install initscripts - install -Dm755 iperf.rc "$pkgdir/etc/rc.d/iperf" - install -Dm644 iperf.conf "$pkgdir/etc/conf.d/iperf" + # 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" } diff --git a/community/iperf/iperf-tcp.service b/community/iperf/iperf-tcp.service index 29967815a..ccb8401c8 100644 --- a/community/iperf/iperf-tcp.service +++ b/community/iperf/iperf-tcp.service @@ -1,5 +1,6 @@ [Unit] Description=Iperf TCP Server +After=network.target [Service] ExecStart=/usr/bin/iperf -s -V diff --git a/community/iperf/iperf-udp.service b/community/iperf/iperf-udp.service index 2253f9c45..b3c5d2686 100644 --- a/community/iperf/iperf-udp.service +++ b/community/iperf/iperf-udp.service @@ -1,5 +1,6 @@ [Unit] Description=Iperf UDP Server +After=network.target [Service] ExecStart=/usr/bin/iperf -u -s -V -- cgit v1.2.3-54-g00ecf