diff options
Diffstat (limited to 'net-misc')
-rw-r--r-- | net-misc/iperf/Manifest | 1 | ||||
-rw-r--r-- | net-misc/iperf/iperf-3.1.5.ebuild | 40 |
2 files changed, 41 insertions, 0 deletions
diff --git a/net-misc/iperf/Manifest b/net-misc/iperf/Manifest index e8c7f6eaaaa6..e32e709e9242 100644 --- a/net-misc/iperf/Manifest +++ b/net-misc/iperf/Manifest @@ -3,3 +3,4 @@ DIST iperf-2.0.9.tar.gz 277702 SHA256 a5350777b191e910334d3a107b5e5219b72ffa393d DIST iperf-3.0.12.tar.gz 432822 SHA256 280ecdb1b29b8c2dcb502f91be1575ac9e86cc3be198b3a009d8561f5b1bec89 SHA512 7b013e890b27482959a0e60e211ec53f717b895600047f553b34394d36276ba4bf8bcb2344b0c0f9d63ac57d84c597ff6ef316246d5e19fed1cac50f75c7118f WHIRLPOOL 0765e3b2f37cfb9c8124b81dec7157ac6f457cd43511be4c391defc1142e62d5f4a17a9b048dfdb1aca71f3f1bb8db77d7193ab88a4808039c64c0424524d4f7 DIST iperf-3.1.3.tar.gz 549466 SHA256 e34cf60cffc80aa1322d2c3a9b81e662c2576d2b03e53ddf1079615634e6f553 SHA512 67795d9d5b4fc719b3fbbc2683cbe2777412bb7212282a50a378f5bb3793c3c17e278d22816fd9d289b2606ce97624d496ba236e3686ce1a31b9f1d6e6f474e9 WHIRLPOOL 0082f5156df751cbed49e86f794a48ff05857cd7cd4ee3bdb57f4df763a323d84f47d9e0b01e0b5932ae1e065bcf8ac706e6b96b6ac5ecee2daad6615ca4f38d DIST iperf-3.1.4.tar.gz 550496 SHA256 8d88aa8d1e197084a84994cc1caf2c3eff69e60ce4badc0addeb35d02ec57109 SHA512 00d9018d93fbe4fa3b8c7dc06e2eb55463f52f7d25d0b1573cf685a526b2d7ea3298d4fb304962718724a96aecd1733e2c5d6b957822b200cb8a76bb39c2ff17 WHIRLPOOL 5326334ed004529b25f8a7462d7672eedceefc22dad445728771a843e7289eeaca61e30d95ad3d9251e994b3327ed7923e8d83937a7af3d823e4dc9056299314 +DIST iperf-3.1.5.tar.gz 553119 SHA256 e1ba284bc23269f17b850d9f3ed5258719d1a62e35ec7cfc9d943bca11cb6563 SHA512 12880834bb2070abcc88d03341acc795da25047b36b5815a8aabd1eff77122dcbead7549f1ebdfeb072cf6d605771eb708f1af7e776f87ea3b0ef94ac64d939d WHIRLPOOL 8c2d6c5a54e7a716f20052954555fe6579348a3ea12988db715c654c9639dcb5c7c31e394cb4da9b535200c45f9460c61faf14dc9ecfa4c65a14253a37b31200 diff --git a/net-misc/iperf/iperf-3.1.5.ebuild b/net-misc/iperf/iperf-3.1.5.ebuild new file mode 100644 index 000000000000..5d904a45bcdb --- /dev/null +++ b/net-misc/iperf/iperf-3.1.5.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +inherit autotools eutils + +DESCRIPTION="A TCP, UDP, and SCTP network bandwidth measurement tool" +HOMEPAGE="https://github.com/esnet/iperf/" +SRC_URI="https://codeload.github.com/esnet/${PN}/tar.gz/${PV/_beta/b} -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="3" +KEYWORDS="~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~m68k-mint" +IUSE="sctp static-libs" + +DEPEND="sctp? ( net-misc/lksctp-tools )" +RDEPEND="${DEPEND}" + +S=${WORKDIR}/${P/_beta/b} + +PATCHES=( "${FILESDIR}"/${PN}-3.0.5-flags.patch ) + +src_prepare() { + default + + eautoreconf +} + +src_configure() { + econf $(use_enable static-libs static) +} + +src_install() { + default + newconfd "${FILESDIR}"/iperf.confd iperf3 + newinitd "${FILESDIR}"/iperf3.initd iperf3 + prune_libtool_files +} |