1 |
commit: 78b42a052d6a4a44ec4bee3785429510424ec96b |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jan 2 11:10:33 2021 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jan 2 11:10:59 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=78b42a05 |
7 |
|
8 |
net-misc/iperf: minor style changes |
9 |
|
10 |
Package-Manager: Portage-3.0.12, Repoman-3.0.2 |
11 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
12 |
|
13 |
net-misc/iperf/iperf-2.0.13.ebuild | 6 ++++-- |
14 |
net-misc/iperf/iperf-2.0.14a.ebuild | 7 +++++-- |
15 |
net-misc/iperf/iperf-2.99999.99999.ebuild | 8 +++++--- |
16 |
net-misc/iperf/iperf-3.6.ebuild | 11 +++++++---- |
17 |
net-misc/iperf/iperf-3.9-r1.ebuild | 10 +++++----- |
18 |
net-misc/iperf/iperf-3.99999.99999.ebuild | 14 +++++++------- |
19 |
6 files changed, 33 insertions(+), 23 deletions(-) |
20 |
|
21 |
diff --git a/net-misc/iperf/iperf-2.0.13.ebuild b/net-misc/iperf/iperf-2.0.13.ebuild |
22 |
index 865bc2202da..61b348fe5ba 100644 |
23 |
--- a/net-misc/iperf/iperf-2.0.13.ebuild |
24 |
+++ b/net-misc/iperf/iperf-2.0.13.ebuild |
25 |
@@ -1,4 +1,4 @@ |
26 |
-# Copyright 1999-2020 Gentoo Authors |
27 |
+# Copyright 1999-2021 Gentoo Authors |
28 |
# Distributed under the terms of the GNU General Public License v2 |
29 |
|
30 |
EAPI=7 |
31 |
@@ -12,7 +12,8 @@ SLOT="2" |
32 |
KEYWORDS="amd64 ~arm ~hppa ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" |
33 |
IUSE="ipv6 threads debug" |
34 |
|
35 |
-DOCS="INSTALL README" |
36 |
+DOCS=( "INSTALL README" ) |
37 |
+ |
38 |
PATCHES=( |
39 |
"${FILESDIR}"/${PN}-2.0.12-ipv6.patch |
40 |
) |
41 |
@@ -26,6 +27,7 @@ src_configure() { |
42 |
|
43 |
src_install() { |
44 |
default |
45 |
+ |
46 |
dodoc doc/* |
47 |
newinitd "${FILESDIR}"/${PN}.initd-r1 ${PN} |
48 |
newconfd "${FILESDIR}"/${PN}.confd ${PN} |
49 |
|
50 |
diff --git a/net-misc/iperf/iperf-2.0.14a.ebuild b/net-misc/iperf/iperf-2.0.14a.ebuild |
51 |
index 6c6936429ad..dd006a9af9f 100644 |
52 |
--- a/net-misc/iperf/iperf-2.0.14a.ebuild |
53 |
+++ b/net-misc/iperf/iperf-2.0.14a.ebuild |
54 |
@@ -2,23 +2,25 @@ |
55 |
# Distributed under the terms of the GNU General Public License v2 |
56 |
|
57 |
EAPI=7 |
58 |
+ |
59 |
inherit toolchain-funcs |
60 |
|
61 |
DESCRIPTION="Tool to measure IP bandwidth using UDP or TCP" |
62 |
HOMEPAGE="https://sourceforge.net/projects/iperf2/" |
63 |
SRC_URI="mirror://sourceforge/${PN}2/${PN}-2.0.13.tar.gz" |
64 |
+S="${WORKDIR}/${PN}-2.0.13" |
65 |
|
66 |
LICENSE="HPND" |
67 |
SLOT="2" |
68 |
KEYWORDS="amd64 ~arm ~hppa ~ppc ~ppc64 sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" |
69 |
IUSE="ipv6 threads debug" |
70 |
|
71 |
-DOCS="INSTALL README" |
72 |
+DOCS=( "INSTALL README" ) |
73 |
+ |
74 |
PATCHES=( |
75 |
"${FILESDIR}"/${PN}-2.0.12-ipv6.patch |
76 |
"${FILESDIR}"/${P}.patch |
77 |
) |
78 |
-S=${WORKDIR}/${PN}-2.0.13 |
79 |
|
80 |
src_configure() { |
81 |
econf \ |
82 |
@@ -33,6 +35,7 @@ src_compile() { |
83 |
|
84 |
src_install() { |
85 |
default |
86 |
+ |
87 |
dodoc doc/* |
88 |
newinitd "${FILESDIR}"/${PN}.initd-r1 ${PN} |
89 |
newconfd "${FILESDIR}"/${PN}.confd ${PN} |
90 |
|
91 |
diff --git a/net-misc/iperf/iperf-2.99999.99999.ebuild b/net-misc/iperf/iperf-2.99999.99999.ebuild |
92 |
index 5d1c5b42d4a..1b3a8b85af0 100644 |
93 |
--- a/net-misc/iperf/iperf-2.99999.99999.ebuild |
94 |
+++ b/net-misc/iperf/iperf-2.99999.99999.ebuild |
95 |
@@ -1,7 +1,8 @@ |
96 |
-# Copyright 1999-2020 Gentoo Authors |
97 |
+# Copyright 1999-2021 Gentoo Authors |
98 |
# Distributed under the terms of the GNU General Public License v2 |
99 |
|
100 |
EAPI=7 |
101 |
+ |
102 |
inherit git-r3 toolchain-funcs |
103 |
|
104 |
DESCRIPTION="Tool to measure IP bandwidth using UDP or TCP" |
105 |
@@ -10,10 +11,10 @@ EGIT_REPO_URI="https://git.code.sf.net/p/iperf2/code" |
106 |
|
107 |
LICENSE="HPND" |
108 |
SLOT="2" |
109 |
-KEYWORDS="" |
110 |
IUSE="ipv6 threads debug" |
111 |
|
112 |
-DOCS="INSTALL README" |
113 |
+DOCS=( "INSTALL README" ) |
114 |
+ |
115 |
PATCHES=( |
116 |
"${FILESDIR}"/${PN}-2.0.12-ipv6.patch |
117 |
) |
118 |
@@ -31,6 +32,7 @@ src_compile() { |
119 |
|
120 |
src_install() { |
121 |
default |
122 |
+ |
123 |
dodoc doc/* |
124 |
newinitd "${FILESDIR}"/${PN}.initd-r1 ${PN} |
125 |
newconfd "${FILESDIR}"/${PN}.confd ${PN} |
126 |
|
127 |
diff --git a/net-misc/iperf/iperf-3.6.ebuild b/net-misc/iperf/iperf-3.6.ebuild |
128 |
index 15805e3908a..29d741996fe 100644 |
129 |
--- a/net-misc/iperf/iperf-3.6.ebuild |
130 |
+++ b/net-misc/iperf/iperf-3.6.ebuild |
131 |
@@ -1,12 +1,14 @@ |
132 |
-# Copyright 1999-2020 Gentoo Authors |
133 |
+# Copyright 1999-2021 Gentoo Authors |
134 |
# Distributed under the terms of the GNU General Public License v2 |
135 |
|
136 |
EAPI=6 |
137 |
+ |
138 |
inherit autotools eutils ltprune |
139 |
|
140 |
DESCRIPTION="A TCP, UDP, and SCTP network bandwidth measurement tool" |
141 |
HOMEPAGE="https://github.com/esnet/iperf/" |
142 |
SRC_URI="https://github.com/esnet/iperf/archive/${PV/_/}.tar.gz -> ${P}.tar.gz" |
143 |
+S="${WORKDIR}/${P/_/}" |
144 |
|
145 |
LICENSE="BSD" |
146 |
SLOT="3" |
147 |
@@ -18,9 +20,9 @@ DEPEND="!libressl? ( dev-libs/openssl:0= ) |
148 |
sctp? ( net-misc/lksctp-tools )" |
149 |
RDEPEND="${DEPEND}" |
150 |
|
151 |
-S=${WORKDIR}/${P/_/} |
152 |
- |
153 |
-PATCHES=( "${FILESDIR}"/${PN}-3.0.5-flags.patch ) |
154 |
+PATCHES=( |
155 |
+ "${FILESDIR}"/${PN}-3.0.5-flags.patch |
156 |
+) |
157 |
|
158 |
src_prepare() { |
159 |
default |
160 |
@@ -35,6 +37,7 @@ src_configure() { |
161 |
|
162 |
src_install() { |
163 |
default |
164 |
+ |
165 |
newconfd "${FILESDIR}"/iperf.confd iperf3 |
166 |
newinitd "${FILESDIR}"/iperf3.initd iperf3 |
167 |
prune_libtool_files |
168 |
|
169 |
diff --git a/net-misc/iperf/iperf-3.9-r1.ebuild b/net-misc/iperf/iperf-3.9-r1.ebuild |
170 |
index 05b4323e791..280a900bb9d 100644 |
171 |
--- a/net-misc/iperf/iperf-3.9-r1.ebuild |
172 |
+++ b/net-misc/iperf/iperf-3.9-r1.ebuild |
173 |
@@ -7,6 +7,7 @@ inherit systemd |
174 |
DESCRIPTION="A TCP, UDP, and SCTP network bandwidth measurement tool" |
175 |
HOMEPAGE="https://github.com/esnet/iperf/" |
176 |
SRC_URI="https://github.com/esnet/iperf/archive/${PV/_/}.tar.gz -> ${P}.tar.gz" |
177 |
+S="${WORKDIR}/${P/_/}" |
178 |
|
179 |
LICENSE="BSD" |
180 |
SLOT="3" |
181 |
@@ -18,11 +19,9 @@ DEPEND=" |
182 |
libressl? ( dev-libs/libressl:0= ) |
183 |
sctp? ( net-misc/lksctp-tools ) |
184 |
" |
185 |
-RDEPEND=" |
186 |
- ${DEPEND} |
187 |
-" |
188 |
-S=${WORKDIR}/${P/_/} |
189 |
-DOCS="README.md RELNOTES.md" |
190 |
+RDEPEND="${DEPEND}" |
191 |
+ |
192 |
+DOCS=( "README.md RELNOTES.md" ) |
193 |
|
194 |
src_configure() { |
195 |
econf \ |
196 |
@@ -32,6 +31,7 @@ src_configure() { |
197 |
|
198 |
src_install() { |
199 |
default |
200 |
+ |
201 |
newconfd "${FILESDIR}"/iperf.confd iperf3 |
202 |
newinitd "${FILESDIR}"/iperf3.initd iperf3 |
203 |
systemd_dounit contrib/iperf3.service |
204 |
|
205 |
diff --git a/net-misc/iperf/iperf-3.99999.99999.ebuild b/net-misc/iperf/iperf-3.99999.99999.ebuild |
206 |
index 14dfc1e065c..837cb0d0c3a 100644 |
207 |
--- a/net-misc/iperf/iperf-3.99999.99999.ebuild |
208 |
+++ b/net-misc/iperf/iperf-3.99999.99999.ebuild |
209 |
@@ -1,16 +1,17 @@ |
210 |
-# Copyright 1999-2020 Gentoo Authors |
211 |
+# Copyright 1999-2021 Gentoo Authors |
212 |
# Distributed under the terms of the GNU General Public License v2 |
213 |
|
214 |
EAPI=7 |
215 |
+ |
216 |
inherit autotools git-r3 |
217 |
|
218 |
DESCRIPTION="A TCP, UDP, and SCTP network bandwidth measurement tool" |
219 |
HOMEPAGE="https://github.com/esnet/iperf/" |
220 |
EGIT_REPO_URI="https://github.com/esnet/iperf/" |
221 |
+S="${WORKDIR}/${P/_/}" |
222 |
|
223 |
LICENSE="BSD" |
224 |
SLOT="3" |
225 |
-KEYWORDS="" |
226 |
IUSE="libressl sctp static-libs" |
227 |
|
228 |
DEPEND=" |
229 |
@@ -18,11 +19,9 @@ DEPEND=" |
230 |
libressl? ( dev-libs/libressl:0= ) |
231 |
sctp? ( net-misc/lksctp-tools ) |
232 |
" |
233 |
-RDEPEND=" |
234 |
- ${DEPEND} |
235 |
-" |
236 |
-S=${WORKDIR}/${P/_/} |
237 |
-DOCS="README.md RELNOTES.md" |
238 |
+RDEPEND="${DEPEND}" |
239 |
+ |
240 |
+DOCS=( "README.md RELNOTES.md" ) |
241 |
|
242 |
src_configure() { |
243 |
econf \ |
244 |
@@ -32,6 +31,7 @@ src_configure() { |
245 |
|
246 |
src_install() { |
247 |
default |
248 |
+ |
249 |
newconfd "${FILESDIR}"/iperf.confd iperf3 |
250 |
newinitd "${FILESDIR}"/iperf3.initd iperf3 |
251 |
find "${ED}" -name '*.la' -delete || die |