diff options
author | Jeroen Roovers <jer@gentoo.org> | 2018-06-26 11:15:52 +0200 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2018-06-26 11:18:53 +0200 |
commit | 6380bed2339d97e9f3e74d75ce9de80d91f168a3 (patch) | |
tree | 6cb27a71e483d28322e67a34f9aa8e9c388a6d46 /net-misc/iperf | |
parent | app-misc/uptimed: Bump to version 0.4.1 (diff) | |
download | gentoo-6380bed2339d97e9f3e74d75ce9de80d91f168a3.tar.gz gentoo-6380bed2339d97e9f3e74d75ce9de80d91f168a3.tar.bz2 gentoo-6380bed2339d97e9f3e74d75ce9de80d91f168a3.zip |
net-misc/iperf: Versions 2.0.12 3.6.
Package-Manager: Portage-2.3.40, Repoman-2.3.9
Diffstat (limited to 'net-misc/iperf')
-rw-r--r-- | net-misc/iperf/Manifest | 2 | ||||
-rw-r--r-- | net-misc/iperf/iperf-2.0.12.ebuild | 29 | ||||
-rw-r--r-- | net-misc/iperf/iperf-3.6.ebuild | 39 |
3 files changed, 70 insertions, 0 deletions
diff --git a/net-misc/iperf/Manifest b/net-misc/iperf/Manifest index 002805589cc9..72a59e23e2cb 100644 --- a/net-misc/iperf/Manifest +++ b/net-misc/iperf/Manifest @@ -1,5 +1,7 @@ DIST iperf-2.0.10.tar.gz 290282 BLAKE2B f36ea3572c53dc94646e09372dc0ad3bda6a3d13dbab2eb059e8ecfbb51ad663c2fb456f3365a1645d84e9865ecd397bf695e2f21def54e83ebdc00b0880e2aa SHA512 74bf49133cd123243c179e174cbaa7d2f74ca9fb47c80ca2c88b2e68ce8bca0a73709e51b3aac6bd85b8c70483b70f33e8a2424e7e0e5922397967330f7e2ecc +DIST iperf-2.0.12.tar.gz 324528 BLAKE2B db5b0a3566912f98f2647ff43ed440704caf6b67aeb3b4c698262aa94868f0fc2b2fd304beb885a0db7062ee274c5435a2a3593f88c6386044d0c4c3d47f9bfd SHA512 fd672e545b6e0a74e5061e4c861378c69490a978b63ee63414842bf379a202484868010deb27cb9f2a3691d74fe3b1e6a61dff37abeabd9e3db4c3317908e461 DIST iperf-2.0.9.tar.gz 277702 BLAKE2B 6de23e43be0c14bce2379e699b1e25a8ac5ed80cdef1493167c80253cbefac3357dadb00c15d572c5e4213528d0e48b9242cd93b71dc367e22753243e56b2496 SHA512 ff75e51af9d368eedb1e1dc4621f7575219525f0e438f1c8fa896aa7e990a6812a9a351db9004952057d81127f52b67350820e85c9ae1d8db2e6a60c1f2534d2 DIST iperf-3.1.3.tar.gz 549466 BLAKE2B 645e9614ef8f4e4f7949d9aaa99631eba604754a7744d1a729408c5549beb4baf692cee99498dddd8150e1cf06adaa13213cf70510e8ab54418274cdcf145ecd SHA512 67795d9d5b4fc719b3fbbc2683cbe2777412bb7212282a50a378f5bb3793c3c17e278d22816fd9d289b2606ce97624d496ba236e3686ce1a31b9f1d6e6f474e9 DIST iperf-3.4.tar.gz 595206 BLAKE2B 948b629178afadce3498f4665ee205dcb6033a1b410d00906da104de72d059e934ed74b69da11c149c88602a280a6d0b4097863ca5867cb197f90621fb619e19 SHA512 dacc1c02515d42276f810609eeeeb95c393222695e541917928f5373e4bc7033da93038a6ffa3898d00e39a47c6e4bdf02d08e39f429e9032f25912d723c71de DIST iperf-3.5.tar.gz 596476 BLAKE2B 756216618b45b637581318afaa5b48366061501c3ee65bbd6788ed1b6ab61073fa5e231a5212cde0a0703970c97af2511aaa59e250f2326cc1e393771828850c SHA512 f1823b5cd23b344b772a37f485e458d6b3703c11892ea4fa2abca61f474eed6229b3cb75db78adedf87092431d11c3174bfbd92833fc56dedab64953f50ac6a4 +DIST iperf-3.6.tar.gz 602406 BLAKE2B 791355c52e587bae01560e14448b92c3e4e070afc4f311964d2577ea790886777ca1512ea349d105a83f312f795800c01e13c53b700511df14bcf2a7c28f5dda SHA512 0a1c8fd9b33369a2a018423cf33e63cfe7202ae411996f467199ae5b834ff7977d0e5c7e342f4f1b7d90c1c156453daa4dac9f94d11bb581d6d43c807538206d diff --git a/net-misc/iperf/iperf-2.0.12.ebuild b/net-misc/iperf/iperf-2.0.12.ebuild new file mode 100644 index 000000000000..3eab18822777 --- /dev/null +++ b/net-misc/iperf/iperf-2.0.12.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DESCRIPTION="Tool to measure IP bandwidth using UDP or TCP" +HOMEPAGE="http://iperf2.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}2/${P}.tar.gz" + +LICENSE="HPND" +SLOT="2" +KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~m68k-mint" +IUSE="ipv6 threads debug" + +DOCS="INSTALL README" + +src_configure() { + econf \ + $(use_enable debug debuginfo) \ + $(use_enable ipv6) \ + $(use_enable threads) +} + +src_install() { + default + dodoc doc/* + newinitd "${FILESDIR}"/${PN}.initd-r1 ${PN} + newconfd "${FILESDIR}"/${PN}.confd ${PN} +} diff --git a/net-misc/iperf/iperf-3.6.ebuild b/net-misc/iperf/iperf-3.6.ebuild new file mode 100644 index 000000000000..3eb759c70f2d --- /dev/null +++ b/net-misc/iperf/iperf-3.6.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit autotools eutils + +DESCRIPTION="A TCP, UDP, and SCTP network bandwidth measurement tool" +HOMEPAGE="https://github.com/esnet/iperf/" +SRC_URI="${HOMEPAGE}archive/${PV/_/}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="3" +KEYWORDS="~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint" +IUSE="sctp static-libs" + +DEPEND="sctp? ( net-misc/lksctp-tools )" +RDEPEND="${DEPEND}" + +S=${WORKDIR}/${P/_/} + +PATCHES=( "${FILESDIR}"/${PN}-3.0.5-flags.patch ) + +src_prepare() { + default + + eautoreconf +} + +src_configure() { + use sctp || export ac_cv_header_netinet_sctp_h=no + econf $(use_enable static-libs static) +} + +src_install() { + default + newconfd "${FILESDIR}"/iperf.confd iperf3 + newinitd "${FILESDIR}"/iperf3.initd iperf3 + prune_libtool_files +} |