Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 233215 - iperf 2.02 out of date
Summary: iperf 2.02 out of date
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2008-07-28 22:24 UTC by Jeff Waller
Modified: 2008-07-30 02:25 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jeff Waller 2008-07-28 22:24:47 UTC
The iperf ebuild uses iperf 2.0.2 and gets the source code
from http://dast.nlanr.net/Projects/Iperf.  This is no longer
the most up-to-date source or for that matter the right 
website.  The project has moved to sourceforge, and the
latest version is 2.0.4.  Whereas 2.0.2 is ca 2005, 2.0.4 
was released in 2008.  I've attached a new (tested) ebuild.

Reproducible: Always

Steps to Reproduce:
N/A




# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-misc/iperf/iperf-2.0.4.ebuild,v 1.6 2008/07/25 17:54:39 jeffw Exp $

DESCRIPTION="tool to measure IP bandwidth using UDP or TCP"
HOMEPAGE="http://www.sourceforge.net/projects/iperf/"
SRC_URI="mirror://sourceforge/${PN}/iperf-${PV}.tar.gz"

LICENSE="as-is"
SLOT="0"
KEYWORDS="amd64 hppa ~ppc ppc64 x86 ~x86-fbsd"
IUSE="ipv6 threads debug"

DEPEND="virtual/libc"

src_compile() {
    econf \
        $(use_enable ipv6) \
        $(use_enable threads) \
        $(use_enable debug debuginfo) \
        || die "econf failed"
    emake || die "emake failed"
}

src_install() {
    make DESTDIR="${D}" install || die "make install failed"
    dodoc INSTALL README
    dohtml doc/*
    newinitd ${FILESDIR}/${PN}.initd ${PN}
    newconfd ${FILESDIR}/${PN}.confd ${PN}
}

pkg_postinst() {
    echo
    einfo "To run iperf in server mode, run:"
    einfo "  /etc/init.d/iperf start"
    echo
}
Comment 1 Ferris McCormick (RETIRED) gentoo-dev 2008-07-28 22:36:36 UTC
Not devrel.  Reassigning.
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2008-07-30 01:50:47 UTC
Thanks for reporting. It's in the tree, including the HOMEPAGE and SRC_URI changes.