From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-936763-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id 03938139694
	for <garchives@archives.gentoo.org>; Tue,  7 Mar 2017 08:48:13 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 1DE1FE0C89;
	Tue,  7 Mar 2017 08:48:12 +0000 (UTC)
Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id D9C7DE0C75
	for <gentoo-commits@lists.gentoo.org>; Tue,  7 Mar 2017 08:48:11 +0000 (UTC)
Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id BA07D34108B
	for <gentoo-commits@lists.gentoo.org>; Tue,  7 Mar 2017 08:48:10 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 8388C5F52
	for <gentoo-commits@lists.gentoo.org>; Tue,  7 Mar 2017 08:48:09 +0000 (UTC)
From: "Jeroen Roovers" <jer@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Jeroen Roovers" <jer@gentoo.org>
Message-ID: <1488876481.6659cb146f2e18ca75e5e4219dd2b24f1c5fd3f8.jer@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/iperf/
X-VCS-Repository: repo/gentoo
X-VCS-Files: net-misc/iperf/Manifest net-misc/iperf/iperf-3.1.7.ebuild
X-VCS-Directories: net-misc/iperf/
X-VCS-Committer: jer
X-VCS-Committer-Name: Jeroen Roovers
X-VCS-Revision: 6659cb146f2e18ca75e5e4219dd2b24f1c5fd3f8
X-VCS-Branch: master
Date: Tue,  7 Mar 2017 08:48:09 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Archives-Salt: 22bef035-9e37-4a41-82df-c0758753f438
X-Archives-Hash: 283d709ab45e21fdfa1bc95785a40f6f

commit:     6659cb146f2e18ca75e5e4219dd2b24f1c5fd3f8
Author:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Tue Mar  7 08:45:10 2017 +0000
Commit:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Tue Mar  7 08:48:01 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6659cb14

net-misc/iperf: Version bump.

Package-Manager: Portage-2.3.4, Repoman-2.3.1

 net-misc/iperf/Manifest           |  1 +
 net-misc/iperf/iperf-3.1.7.ebuild | 40 +++++++++++++++++++++++++++++++++++++++
 2 files changed, 41 insertions(+)

diff --git a/net-misc/iperf/Manifest b/net-misc/iperf/Manifest
index 374b9126a67..f57877529f9 100644
--- a/net-misc/iperf/Manifest
+++ b/net-misc/iperf/Manifest
@@ -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.6.tar.gz 553240 SHA256 18326abe2cc4adafceb40ddbd0243a18624facbfbabdc83b4281893032f05073 SHA512 9dbfa3782d9ccbdf2beebac0248fcdaf80bb50c55ab95dad89cf972cbe5bd405b2a11d37c45a20956316edb789a7c4bf3ead4fd8592b1857a23a92807954fba3 WHIRLPOOL 2cb3da3a973c0d69e15dfae08cefb6a3c912cce6378635dfe80ab40c12c5242a494625c242d818d4702e9ab31708813e06946570921c6d6460ab8e3163eb4438
+DIST iperf-3.1.7.tar.gz 552793 SHA256 1d99e3b309aa94d8f4fe7b4e953f038396ab46c1fc809ac06fffbe21ffcb64b3 SHA512 9bcc011de99356467341bd9082d2a57d243a3543c65afc18f8027b1bc7e54c1544a750640fa5230b9610ac2241571395a1bd011812edd141607b59dd3cd08ce0 WHIRLPOOL 8b938ae6b38308c15cc22e918469433fa3fbd8bd782071e160195f5f068d4cff3a696120f07f8cb24f1f2bbe0cd111f94ffd764364a74cf678f4b3f70f3bee0d

diff --git a/net-misc/iperf/iperf-3.1.7.ebuild b/net-misc/iperf/iperf-3.1.7.ebuild
new file mode 100644
index 00000000000..5e08d8feafa
--- /dev/null
+++ b/net-misc/iperf/iperf-3.1.7.ebuild
@@ -0,0 +1,40 @@
+# 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="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 ~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() {
+	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
+}