From b7a66b7c5a24bf55dcfea22279aaf72ec0408e35 Mon Sep 17 00:00:00 2001 From: shtrom Date: Tue, 27 Jan 2009 04:17:44 +0000 Subject: [PATCH] [iperf-dccp-tcpcc-cbr] No support of UDPLite in thise version. Properly removed no longer needed patchfile. git-svn-id: svn+ssh://scm.narf.ssji.net/svn/archlinux-packages@134 df209809-8e4a-0410-9a64-c169741eb0fc --- .SRCINFO | 18 ++++++++++++++++++ PKGBUILD | 28 ++++++++++++++++++++++++++++ license | 25 +++++++++++++++++++++++++ 3 files changed, 71 insertions(+) create mode 100644 .SRCINFO create mode 100644 PKGBUILD create mode 100644 license diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..ba4bb8a1d746 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,18 @@ +pkgbase = iperf-dccp-tcpcc-cbr + pkgdesc = A tool to measure maximum TCP bandwidth, with support for DCCP, TCP pluggable congestion control and continuous runs + pkgver = 2.0.2 + pkgrel = 3 + url = http://www.erg.abdn.ac.uk/users/gerrit/dccp/apps/#iperf + arch = i686 + arch = x86_64 + license = custom + depends = gcc-libs + source = http://www.erg.abdn.ac.uk/users/gerrit/dccp/apps/iperf/zip/iperf-2.0.2_DCCP-patched-CBR-continuous.tar.bz2 + source = license + source = http://www.erg.abdn.ac.uk/users/gerrit/dccp/apps/iperf/doc/README + md5sums = fd3627f47bd1667d9fd095799b649224 + md5sums = a2879f900b76668b28a1cc922909db18 + md5sums = 8952b2cbcdbcecc9a8972255c1f1a210 + +pkgname = iperf-dccp-tcpcc-cbr + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..2220a08875df --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,28 @@ +# $Id$ +# Maintainer: Olivier Mehani +# Contributor: Giovanni Scafora + +pkgname=iperf-dccp-tcpcc-cbr +pkgver=2.0.2 +_srcpkgname=iperf-${pkgver}_DCCP-patched-CBR-continuous +pkgrel=3 +pkgdesc="A tool to measure maximum TCP bandwidth, with support for DCCP, TCP pluggable congestion control and continuous runs" +arch=('i686' 'x86_64') +license=('custom') +url="http://www.erg.abdn.ac.uk/users/gerrit/dccp/apps/#iperf" +depends=(gcc-libs) +source=(http://www.erg.abdn.ac.uk/users/gerrit/dccp/apps/iperf/zip/${_srcpkgname}.tar.bz2 + license + http://www.erg.abdn.ac.uk/users/gerrit/dccp/apps/iperf/doc/README) +md5sums=('fd3627f47bd1667d9fd095799b649224' + 'a2879f900b76668b28a1cc922909db18' + '8952b2cbcdbcecc9a8972255c1f1a210') + +build() { + cd ${srcdir}/${_srcpkgname} + ./configure --prefix=/usr --program-suffix=-dccp + make || return 1 + make DESTDIR=${pkgdir}/ install + install -Dm644 ${srcdir}/license ${pkgdir}/usr/share/licenses/${pkgname}/license.txt + install -Dm644 ${srcdir}/README ${pkgdir}/usr/share/doc/${pkgname}/README-dccp-tcpcc-cbr-udplite +} diff --git a/license b/license new file mode 100644 index 000000000000..e31f980809b4 --- /dev/null +++ b/license @@ -0,0 +1,25 @@ +Copyright (c) 1999-2006, The Board of Trustees of the University of Illinois +All Rights Reserved. + +Iperf performance test +Mark Gates +Ajay Tirumala +Jim Ferguson +Jon Dugan +Feng Qin +Kevin Gibbs +John Estabrook +National Laboratory for Applied Network Research +National Center for Supercomputing Applications +University of Illinois at Urbana-Champaign +http://www.ncsa.uiuc.edu + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software (Iperf) and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + + * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimers. + + * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimers in the documentation and/or other materials provided with the distribution. + + * Neither the names of the University of Illinois, NCSA, nor the names of its contributors may be used to endorse or promote products derived from this Software without specific prior written permission. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE CONTIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.