forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Package-Manager: Portage-2.3.6, Repoman-2.3.2
- Loading branch information
Jeroen Roovers
committed
Jun 21, 2017
1 parent
912f91f
commit 2cf674b
Showing
2 changed files
with
40 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
DIST iperf-2.0.9.tar.gz 277702 SHA256 a5350777b191e910334d3a107b5e5219b72ffa393da4186da1e0a4552aeeded6 SHA512 ff75e51af9d368eedb1e1dc4621f7575219525f0e438f1c8fa896aa7e990a6812a9a351db9004952057d81127f52b67350820e85c9ae1d8db2e6a60c1f2534d2 WHIRLPOOL 044a189931459dca8fc35d94d5d0518533a104cf3981d33f0ab768a98ed5bec971799468146d5d980b614341afcff81d939a35e6ba9bd4c221311520d8fa1c19 | ||
DIST iperf-3.1.3.tar.gz 549466 SHA256 e34cf60cffc80aa1322d2c3a9b81e662c2576d2b03e53ddf1079615634e6f553 SHA512 67795d9d5b4fc719b3fbbc2683cbe2777412bb7212282a50a378f5bb3793c3c17e278d22816fd9d289b2606ce97624d496ba236e3686ce1a31b9f1d6e6f474e9 WHIRLPOOL 0082f5156df751cbed49e86f794a48ff05857cd7cd4ee3bdb57f4df763a323d84f47d9e0b01e0b5932ae1e065bcf8ac706e6b96b6ac5ecee2daad6615ca4f38d | ||
DIST iperf-3.1.7.tar.gz 552793 SHA256 1d99e3b309aa94d8f4fe7b4e953f038396ab46c1fc809ac06fffbe21ffcb64b3 SHA512 9bcc011de99356467341bd9082d2a57d243a3543c65afc18f8027b1bc7e54c1544a750640fa5230b9610ac2241571395a1bd011812edd141607b59dd3cd08ce0 WHIRLPOOL 8b938ae6b38308c15cc22e918469433fa3fbd8bd782071e160195f5f068d4cff3a696120f07f8cb24f1f2bbe0cd111f94ffd764364a74cf678f4b3f70f3bee0d | ||
DIST iperf-3.2_rc1.tar.gz 587479 SHA256 1bdce5a78ce15001215e8dc5ca8a362adbbd10758a793298c870e8973af7f9de SHA512 e876e592eeab2c440a4b193a10a17d1079f7887cb94a9ffda09d6c405d026e9dd0cd09729c212f729babee718b55171727ef335ec06a4c7c18131b3f55174665 WHIRLPOOL 2f0d1fbf643eeb6a7d9657976957f5a5e4c1a1aefb8136ad83a552479f6360717e8d72edd461b782cb5b4882b782c0e0197f73935bbb2ce8755e6a7b5286afe0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
# Copyright 1999-2017 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 ~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 | ||
} |