From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 635AC1396D9 for ; Wed, 8 Nov 2017 17:19:53 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9494CE0F05; Wed, 8 Nov 2017 17:19:51 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 642D9E0F05 for ; Wed, 8 Nov 2017 17:19:51 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 48B4633FE49 for ; Wed, 8 Nov 2017 17:19:50 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id DC71495AF for ; Wed, 8 Nov 2017 17:19:48 +0000 (UTC) From: "Jeroen Roovers" 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" Message-ID: <1510161366.8dee1e0d706dc16854e3d4119e9f3ec0e30929fb.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.3.ebuild X-VCS-Directories: net-misc/iperf/ X-VCS-Committer: jer X-VCS-Committer-Name: Jeroen Roovers X-VCS-Revision: 8dee1e0d706dc16854e3d4119e9f3ec0e30929fb X-VCS-Branch: master Date: Wed, 8 Nov 2017 17:19:48 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 302291ff-e7f4-48b8-999c-1b2f8a86a90f X-Archives-Hash: ec9556afa8aa2623e775133ea1f0fe24 commit: 8dee1e0d706dc16854e3d4119e9f3ec0e30929fb Author: Jeroen Roovers gentoo org> AuthorDate: Wed Nov 8 17:16:06 2017 +0000 Commit: Jeroen Roovers gentoo org> CommitDate: Wed Nov 8 17:16:06 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8dee1e0d net-misc/iperf: Version bump. Package-Manager: Portage-2.3.13, Repoman-2.3.4 net-misc/iperf/Manifest | 1 + net-misc/iperf/iperf-3.3.ebuild | 39 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 40 insertions(+) diff --git a/net-misc/iperf/Manifest b/net-misc/iperf/Manifest index f8c22e1acf1..7b1f4e1f969 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.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.tar.gz 588723 SHA256 cb20d3a33e07a3b45a49a358b044f4998f452ef9d1a8a5cbde476b6ab9e9b526 SHA512 5c49bb832dd53956d15b0a9374b052a4e4e03c7c3b6e8c150001a7aba07b6ad5f8cd2b9ac2d9876981be0adf8b0396535ec9e021d58c8fe909a0f92743b4f855 WHIRLPOOL b14b076bc6588407dedc6ee3d8236d11fb756e443ad851002f28d02ef86fa006275ed57ab97a8ab8657f2c8c51ac9170f92a408e7e3ff5a30d51f37408410032 +DIST iperf-3.3.tar.gz 592986 SHA256 d8f11283fbad9d71d5bd729de3546db119eeafa87dc58950606f25045f996011 SHA512 f01f317f308301cc10abc6f592ba6e5172aa41d191d41927e2aa764210b8572126061d42c517ebda4b593a828ec545b1e04175f2f564999e124ad9a462acc342 WHIRLPOOL b5684f8ef33458ead4ed2ec3c2a694eef94478603eb0e7a213334c6191f0a9de769405130d2ed1ee48bcb58589a7b392df69737e62dd6fdcdd1d3f508f6b80d0 diff --git a/net-misc/iperf/iperf-3.3.ebuild b/net-misc/iperf/iperf-3.3.ebuild new file mode 100644 index 00000000000..37399ff4a4d --- /dev/null +++ b/net-misc/iperf/iperf-3.3.ebuild @@ -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 +}