Gentoo Archives: gentoo-commits

From: Jeroen Roovers <jer@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/iperf/
Date: Mon, 24 Jun 2019 09:08:14
Message-Id: 1561367285.91d82c596a20d53dc4f119117b771dd945d07d11.jer@gentoo
1 commit: 91d82c596a20d53dc4f119117b771dd945d07d11
2 Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
3 AuthorDate: Mon Jun 24 08:46:41 2019 +0000
4 Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
5 CommitDate: Mon Jun 24 09:08:05 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=91d82c59
7
8 net-misc/iperf: Version 3.7
9
10 Package-Manager: Portage-2.3.67, Repoman-2.3.16
11 Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org>
12
13 net-misc/iperf/Manifest | 1 +
14 .../{iperf-3.99999.99999.ebuild => iperf-3.7.ebuild} | 19 ++++++++++---------
15 net-misc/iperf/iperf-3.99999.99999.ebuild | 13 +++++++------
16 net-misc/iperf/metadata.xml | 2 +-
17 4 files changed, 19 insertions(+), 16 deletions(-)
18
19 diff --git a/net-misc/iperf/Manifest b/net-misc/iperf/Manifest
20 index b6e6ccb1364..46828cba4c7 100644
21 --- a/net-misc/iperf/Manifest
22 +++ b/net-misc/iperf/Manifest
23 @@ -1,2 +1,3 @@
24 DIST iperf-2.0.13.tar.gz 326148 BLAKE2B 2a40aea9e2d7fdc935b91be5e4e586bf68dd27604375d2570570145e5db1ea5837469a4989f47586986932bef33cba05ed19ed3a9ce40c0a5531581c6d3ba982 SHA512 40fcfb8f4d27887f53a743ac07396511fb2a7ac59f4b300fe36896bd0241e191945fa253705990711772ee776d5e4227ed62760fc92abebdfebcedd11c27c0ea
25 DIST iperf-3.6.tar.gz 602406 BLAKE2B 791355c52e587bae01560e14448b92c3e4e070afc4f311964d2577ea790886777ca1512ea349d105a83f312f795800c01e13c53b700511df14bcf2a7c28f5dda SHA512 0a1c8fd9b33369a2a018423cf33e63cfe7202ae411996f467199ae5b834ff7977d0e5c7e342f4f1b7d90c1c156453daa4dac9f94d11bb581d6d43c807538206d
26 +DIST iperf-3.7.tar.gz 609874 BLAKE2B a2abd640004713a0d805be4779e5fd17a7a5ce58ef67cbb0ce8050e30000465686466b30b699b2d8cb374be6b5a063ce220cb79e48fa8fd2257cce69cd8a90e8 SHA512 4a861a506d7e37958e1af62d1634d11c4937d5974bfce636d421aa80c88f038c96738d9e196a7667e38ef515f998b467d4ff3db30af7e3efea8d9ac8a63a61e7
27
28 diff --git a/net-misc/iperf/iperf-3.99999.99999.ebuild b/net-misc/iperf/iperf-3.7.ebuild
29 similarity index 57%
30 copy from net-misc/iperf/iperf-3.99999.99999.ebuild
31 copy to net-misc/iperf/iperf-3.7.ebuild
32 index 27de50197b1..9b5ce32eaae 100644
33 --- a/net-misc/iperf/iperf-3.99999.99999.ebuild
34 +++ b/net-misc/iperf/iperf-3.7.ebuild
35 @@ -1,30 +1,31 @@
36 -# Copyright 1999-2018 Gentoo Authors
37 +# Copyright 1999-2019 Gentoo Authors
38 # Distributed under the terms of the GNU General Public License v2
39
40 EAPI=6
41 -inherit autotools eutils git-r3
42 +inherit autotools eutils
43
44 DESCRIPTION="A TCP, UDP, and SCTP network bandwidth measurement tool"
45 HOMEPAGE="https://github.com/esnet/iperf/"
46 -EGIT_REPO_URI="${HOMEPAGE}"
47 +SRC_URI="${HOMEPAGE}archive/${PV/_/}.tar.gz -> ${P}.tar.gz"
48
49 LICENSE="BSD"
50 SLOT="3"
51 -KEYWORDS=""
52 +KEYWORDS="~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint"
53 IUSE="libressl profiling sctp static-libs"
54
55 -DEPEND="!libressl? ( dev-libs/openssl:0= )
56 +DEPEND="
57 + !libressl? ( dev-libs/openssl:0= )
58 libressl? ( dev-libs/libressl:0= )
59 - sctp? ( net-misc/lksctp-tools )"
60 + sctp? ( net-misc/lksctp-tools )
61 +"
62 RDEPEND="${DEPEND}"
63 -
64 S=${WORKDIR}/${P/_/}
65
66 src_configure() {
67 use sctp || export ac_cv_header_netinet_sctp_h=no
68 econf \
69 - $(use_enable static-libs static) \
70 - $(use_enable profiling)
71 + $(use_enable profiling) \
72 + $(use_enable static-libs static)
73 }
74
75 src_install() {
76
77 diff --git a/net-misc/iperf/iperf-3.99999.99999.ebuild b/net-misc/iperf/iperf-3.99999.99999.ebuild
78 index 27de50197b1..5dc516b75b6 100644
79 --- a/net-misc/iperf/iperf-3.99999.99999.ebuild
80 +++ b/net-misc/iperf/iperf-3.99999.99999.ebuild
81 @@ -1,4 +1,4 @@
82 -# Copyright 1999-2018 Gentoo Authors
83 +# Copyright 1999-2019 Gentoo Authors
84 # Distributed under the terms of the GNU General Public License v2
85
86 EAPI=6
87 @@ -13,18 +13,19 @@ SLOT="3"
88 KEYWORDS=""
89 IUSE="libressl profiling sctp static-libs"
90
91 -DEPEND="!libressl? ( dev-libs/openssl:0= )
92 +DEPEND="
93 + !libressl? ( dev-libs/openssl:0= )
94 libressl? ( dev-libs/libressl:0= )
95 - sctp? ( net-misc/lksctp-tools )"
96 + sctp? ( net-misc/lksctp-tools )
97 +"
98 RDEPEND="${DEPEND}"
99 -
100 S=${WORKDIR}/${P/_/}
101
102 src_configure() {
103 use sctp || export ac_cv_header_netinet_sctp_h=no
104 econf \
105 - $(use_enable static-libs static) \
106 - $(use_enable profiling)
107 + $(use_enable profiling) \
108 + $(use_enable static-libs static)
109 }
110
111 src_install() {
112
113 diff --git a/net-misc/iperf/metadata.xml b/net-misc/iperf/metadata.xml
114 index f3c92356707..344d7ddf0bf 100644
115 --- a/net-misc/iperf/metadata.xml
116 +++ b/net-misc/iperf/metadata.xml
117 @@ -10,6 +10,6 @@
118 <remote-id type="sourceforge">iperf</remote-id>
119 </upstream>
120 <use>
121 -<flag name='profiling'>Create a profiled iperf3 binary</flag>
122 +<flag name='profiling'>Install profiled iperf3 binary iperf3_profile</flag>
123 </use>
124 </pkgmetadata>