1 |
commit: 5f05166700675083fedae19c63a6110fce7d47cd |
2 |
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Feb 7 15:46:30 2017 +0000 |
4 |
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Feb 7 15:46:30 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5f051667 |
7 |
|
8 |
net-misc/iperf: Old. |
9 |
|
10 |
Package-Manager: Portage-2.3.3, Repoman-2.3.1 |
11 |
|
12 |
net-misc/iperf/Manifest | 3 - |
13 |
.../files/iperf-bidirectional-tcp-server.patch | 23 ------ |
14 |
.../iperf-cast-to-max_size_t-instead-of-int.patch | 20 ----- |
15 |
net-misc/iperf/files/iperf-die-on-bind-fail.patch | 19 ----- |
16 |
.../iperf/files/iperf-fix-bandwidth-limit.patch | 21 ----- |
17 |
.../files/iperf-fix-format-security-ftbfs.patch | 96 ---------------------- |
18 |
net-misc/iperf/files/iperf-ipv6_mcast_check.patch | 22 ----- |
19 |
net-misc/iperf/iperf-2.0.5-r2.ebuild | 38 --------- |
20 |
net-misc/iperf/iperf-3.0.12.ebuild | 28 ------- |
21 |
net-misc/iperf/iperf-3.1.4.ebuild | 40 --------- |
22 |
10 files changed, 310 deletions(-) |
23 |
|
24 |
diff --git a/net-misc/iperf/Manifest b/net-misc/iperf/Manifest |
25 |
index 23d525e..2566a4f 100644 |
26 |
--- a/net-misc/iperf/Manifest |
27 |
+++ b/net-misc/iperf/Manifest |
28 |
@@ -1,7 +1,4 @@ |
29 |
-DIST iperf-2.0.5.tar.gz 248583 SHA256 636b4eff0431cea80667ea85a67ce4c68698760a9837e1e9d13096d20362265b SHA512 da9a0c01dea2a9dd33aa130b11d938d5f44dd6c3ab27526b0a43df5bf2550fede04238a00b7d54037426afe90ac6d8c4f4ae6861aa170ca7835b6664c9d6537f WHIRLPOOL d66b007fad372516c7f7377872b69ea450fa9ff6d1492f2a224a73f2fb3f7616bd2d57a34a815d4d95683d81fd02d76472d4727323e920410034ba725f6476ce |
30 |
DIST iperf-2.0.9.tar.gz 277702 SHA256 a5350777b191e910334d3a107b5e5219b72ffa393da4186da1e0a4552aeeded6 SHA512 ff75e51af9d368eedb1e1dc4621f7575219525f0e438f1c8fa896aa7e990a6812a9a351db9004952057d81127f52b67350820e85c9ae1d8db2e6a60c1f2534d2 WHIRLPOOL 044a189931459dca8fc35d94d5d0518533a104cf3981d33f0ab768a98ed5bec971799468146d5d980b614341afcff81d939a35e6ba9bd4c221311520d8fa1c19 |
31 |
-DIST iperf-3.0.12.tar.gz 432822 SHA256 280ecdb1b29b8c2dcb502f91be1575ac9e86cc3be198b3a009d8561f5b1bec89 SHA512 7b013e890b27482959a0e60e211ec53f717b895600047f553b34394d36276ba4bf8bcb2344b0c0f9d63ac57d84c597ff6ef316246d5e19fed1cac50f75c7118f WHIRLPOOL 0765e3b2f37cfb9c8124b81dec7157ac6f457cd43511be4c391defc1142e62d5f4a17a9b048dfdb1aca71f3f1bb8db77d7193ab88a4808039c64c0424524d4f7 |
32 |
DIST iperf-3.1.3.tar.gz 549466 SHA256 e34cf60cffc80aa1322d2c3a9b81e662c2576d2b03e53ddf1079615634e6f553 SHA512 67795d9d5b4fc719b3fbbc2683cbe2777412bb7212282a50a378f5bb3793c3c17e278d22816fd9d289b2606ce97624d496ba236e3686ce1a31b9f1d6e6f474e9 WHIRLPOOL 0082f5156df751cbed49e86f794a48ff05857cd7cd4ee3bdb57f4df763a323d84f47d9e0b01e0b5932ae1e065bcf8ac706e6b96b6ac5ecee2daad6615ca4f38d |
33 |
-DIST iperf-3.1.4.tar.gz 550496 SHA256 8d88aa8d1e197084a84994cc1caf2c3eff69e60ce4badc0addeb35d02ec57109 SHA512 00d9018d93fbe4fa3b8c7dc06e2eb55463f52f7d25d0b1573cf685a526b2d7ea3298d4fb304962718724a96aecd1733e2c5d6b957822b200cb8a76bb39c2ff17 WHIRLPOOL 5326334ed004529b25f8a7462d7672eedceefc22dad445728771a843e7289eeaca61e30d95ad3d9251e994b3327ed7923e8d83937a7af3d823e4dc9056299314 |
34 |
DIST iperf-3.1.5.tar.gz 553119 SHA256 e1ba284bc23269f17b850d9f3ed5258719d1a62e35ec7cfc9d943bca11cb6563 SHA512 12880834bb2070abcc88d03341acc795da25047b36b5815a8aabd1eff77122dcbead7549f1ebdfeb072cf6d605771eb708f1af7e776f87ea3b0ef94ac64d939d WHIRLPOOL 8c2d6c5a54e7a716f20052954555fe6579348a3ea12988db715c654c9639dcb5c7c31e394cb4da9b535200c45f9460c61faf14dc9ecfa4c65a14253a37b31200 |
35 |
DIST iperf-3.1.6.tar.gz 553240 SHA256 18326abe2cc4adafceb40ddbd0243a18624facbfbabdc83b4281893032f05073 SHA512 9dbfa3782d9ccbdf2beebac0248fcdaf80bb50c55ab95dad89cf972cbe5bd405b2a11d37c45a20956316edb789a7c4bf3ead4fd8592b1857a23a92807954fba3 WHIRLPOOL 2cb3da3a973c0d69e15dfae08cefb6a3c912cce6378635dfe80ab40c12c5242a494625c242d818d4702e9ab31708813e06946570921c6d6460ab8e3163eb4438 |
36 |
|
37 |
diff --git a/net-misc/iperf/files/iperf-bidirectional-tcp-server.patch b/net-misc/iperf/files/iperf-bidirectional-tcp-server.patch |
38 |
deleted file mode 100644 |
39 |
index 98206ae..00000000 |
40 |
--- a/net-misc/iperf/files/iperf-bidirectional-tcp-server.patch |
41 |
+++ /dev/null |
42 |
@@ -1,23 +0,0 @@ |
43 |
-Description: Fix bidirectional TCP server exiting after the test |
44 |
- iperf bidirectional test using parameter -r or -d doesn't work as |
45 |
- expected, the server exits after the test, but it should continue listening |
46 |
- for new connections. |
47 |
-Author: Roberto Lumbreras <rover@××××××.org> |
48 |
-Bug-Redhat: https://bugzilla.redhat.com/show_bug.cgi?id=449796 |
49 |
-Forwarded: https://sourceforge.net/tracker/?func=detail&aid=1983829&group_id=128336&atid=711371 |
50 |
- |
51 |
---- a/src/Client.cpp |
52 |
-+++ b/src/Client.cpp |
53 |
-@@ -212,10 +212,12 @@ void Client::Run( void ) { |
54 |
- char* readAt = mBuf; |
55 |
- |
56 |
- #if HAVE_THREAD |
57 |
-+ /* |
58 |
- if ( !isUDP( mSettings ) ) { |
59 |
- RunTCP(); |
60 |
- return; |
61 |
- } |
62 |
-+ */ |
63 |
- #endif |
64 |
- |
65 |
- // Indicates if the stream is readable |
66 |
|
67 |
diff --git a/net-misc/iperf/files/iperf-cast-to-max_size_t-instead-of-int.patch b/net-misc/iperf/files/iperf-cast-to-max_size_t-instead-of-int.patch |
68 |
deleted file mode 100644 |
69 |
index 34d37ee..00000000 |
70 |
--- a/net-misc/iperf/files/iperf-cast-to-max_size_t-instead-of-int.patch |
71 |
+++ /dev/null |
72 |
@@ -1,20 +0,0 @@ |
73 |
-Description: iperf does not handle right large time values |
74 |
- Reported by Eugene Butan <eugene@××××××××.com> |
75 |
- When I invoke 'iperf' with '-t 100000000' argument from an ordinary shell |
76 |
- prompt it immediately exits displaying incorrect bandwidth. If I supply |
77 |
- smaller time value, iperf works as expected. |
78 |
-Author: Roberto Lumbreras <rover@××××××.org> |
79 |
-Bug-Debian: http://bugs.debian.org/346099 |
80 |
-Forwarded: https://sourceforge.net/tracker/index.php?func=detail&aid=3140391&group_id=128336&atid=711371 |
81 |
- |
82 |
---- a/src/Settings.cpp |
83 |
-+++ b/src/Settings.cpp |
84 |
-@@ -458,7 +458,7 @@ |
85 |
- case 't': // seconds to write for |
86 |
- // time mode (instead of amount mode) |
87 |
- setModeTime( mExtSettings ); |
88 |
-- mExtSettings->mAmount = (int) (atof( optarg ) * 100.0); |
89 |
-+ mExtSettings->mAmount = (max_size_t) (atof( optarg ) * 100.0); |
90 |
- break; |
91 |
- |
92 |
- case 'u': // UDP instead of TCP |
93 |
|
94 |
diff --git a/net-misc/iperf/files/iperf-die-on-bind-fail.patch b/net-misc/iperf/files/iperf-die-on-bind-fail.patch |
95 |
deleted file mode 100644 |
96 |
index 1f54cf5..00000000 |
97 |
--- a/net-misc/iperf/files/iperf-die-on-bind-fail.patch |
98 |
+++ /dev/null |
99 |
@@ -1,19 +0,0 @@ |
100 |
-Description: iperf die on bind fail |
101 |
- When iperf encounters a fatal error when binding to a port, such as |
102 |
- the port being already in use or lacking permission, it fails to give |
103 |
- fatal error, but instead pretends to continue to listen on the port. |
104 |
-Author: Deny IP Any Any <denyipanyany@×××××.com> |
105 |
-Bug-Debian: http://bugs.debian.org/517239 |
106 |
-Forwarded: https://sourceforge.net/tracker/?func=detail&aid=3140400&group_id=128336&atid=711371 |
107 |
- |
108 |
---- a/src/Listener.cpp |
109 |
-+++ b/src/Listener.cpp |
110 |
-@@ -333,7 +333,7 @@ |
111 |
- #endif |
112 |
- { |
113 |
- rc = bind( mSettings->mSock, (sockaddr*) &mSettings->local, mSettings->size_local ); |
114 |
-- WARN_errno( rc == SOCKET_ERROR, "bind" ); |
115 |
-+ FAIL_errno( rc == SOCKET_ERROR, "bind", mSettings ); |
116 |
- } |
117 |
- // listen for connections (TCP only). |
118 |
- // default backlog traditionally 5 |
119 |
|
120 |
diff --git a/net-misc/iperf/files/iperf-fix-bandwidth-limit.patch b/net-misc/iperf/files/iperf-fix-bandwidth-limit.patch |
121 |
deleted file mode 100644 |
122 |
index eb9df8c..00000000 |
123 |
--- a/net-misc/iperf/files/iperf-fix-bandwidth-limit.patch |
124 |
+++ /dev/null |
125 |
@@ -1,21 +0,0 @@ |
126 |
- |
127 |
-2011-10-14 Israel G. Lugo <israel.lugo@×××××××.com> |
128 |
- |
129 |
-* Fix delay_loop() for delays of 1s and greater. Was causing breakage when a |
130 |
-low bandwidth limit was specified. |
131 |
- |
132 |
- |
133 |
---- a/compat/delay.cpp |
134 |
-+++ b/compat/delay.cpp |
135 |
-@@ -63,8 +63,9 @@ void delay_loop(unsigned long usec) |
136 |
- { |
137 |
- struct timespec requested, remaining; |
138 |
- |
139 |
-- requested.tv_sec = 0; |
140 |
-- requested.tv_nsec = usec * 1000L; |
141 |
-+ /* convert to seconds; nanosleep requires 0 <= tv_nsec <= 999999999 */ |
142 |
-+ requested.tv_sec = usec / 1000000UL; |
143 |
-+ requested.tv_nsec = (usec % 1000000UL) * 1000UL; |
144 |
- |
145 |
- while (nanosleep(&requested, &remaining) == -1) |
146 |
- if (errno == EINTR) |
147 |
|
148 |
diff --git a/net-misc/iperf/files/iperf-fix-format-security-ftbfs.patch b/net-misc/iperf/files/iperf-fix-format-security-ftbfs.patch |
149 |
deleted file mode 100644 |
150 |
index 2f5b032..00000000 |
151 |
--- a/net-misc/iperf/files/iperf-fix-format-security-ftbfs.patch |
152 |
+++ /dev/null |
153 |
@@ -1,96 +0,0 @@ |
154 |
-Description: iperf format string FTBFS with -Werror=format-security |
155 |
- Reported by Didier Raboud <odyx@××××××.org> |
156 |
-Author: Simon Paillard <spaillard@××××××.org> |
157 |
-Bug-Debian: http://bugs.debian.org/643408 |
158 |
- |
159 |
---- a/compat/Thread.c |
160 |
-+++ b/compat/Thread.c |
161 |
-@@ -381,7 +381,7 @@ |
162 |
- Condition_Lock( thread_sNum_cond ); |
163 |
- thread_sNum -= nonterminating_num; |
164 |
- if ( thread_sNum > 1 && nonterminating_num > 0 && interrupt != 0 ) { |
165 |
-- fprintf( stderr, wait_server_threads ); |
166 |
-+ fprintf( stderr, "%s", wait_server_threads ); |
167 |
- } |
168 |
- nonterminating_num = 0; |
169 |
- Condition_Signal( &thread_sNum_cond ); |
170 |
---- a/src/ReportDefault.c |
171 |
-+++ b/src/ReportDefault.c |
172 |
-@@ -78,7 +78,7 @@ |
173 |
- if ( stats->mUDP != (char)kMode_Server ) { |
174 |
- // TCP Reporting |
175 |
- if( !header_printed ) { |
176 |
-- printf( report_bw_header); |
177 |
-+ printf( "%s", report_bw_header); |
178 |
- header_printed = 1; |
179 |
- } |
180 |
- printf( report_bw_format, stats->transferID, |
181 |
-@@ -87,7 +87,7 @@ |
182 |
- } else { |
183 |
- // UDP Reporting |
184 |
- if( !header_printed ) { |
185 |
-- printf( report_bw_jitter_loss_header); |
186 |
-+ printf( "%s", report_bw_jitter_loss_header); |
187 |
- header_printed = 1; |
188 |
- } |
189 |
- printf( report_bw_jitter_loss_format, stats->transferID, |
190 |
-@@ -159,7 +159,7 @@ |
191 |
- (data->mThreadMode == kMode_Listener ? 0 : 1) ); |
192 |
- win_requested = data->mTCPWin; |
193 |
- |
194 |
-- printf( separator_line ); |
195 |
-+ printf( "%s", separator_line ); |
196 |
- if ( data->mThreadMode == kMode_Listener ) { |
197 |
- printf( server_port, |
198 |
- (isUDP( data ) ? "UDP" : "TCP"), |
199 |
-@@ -198,7 +198,7 @@ |
200 |
- printf( warn_window_requested, buffer ); |
201 |
- } |
202 |
- printf( "\n" ); |
203 |
-- printf( separator_line ); |
204 |
-+ printf( "%s", separator_line ); |
205 |
- } |
206 |
- |
207 |
- /* |
208 |
-@@ -286,7 +286,7 @@ |
209 |
- } else if ( checkMSS_MTU( inMSS, 576 ) ) { |
210 |
- net = "minimum"; |
211 |
- mtu = 576; |
212 |
-- printf( warn_no_pathmtu ); |
213 |
-+ printf( "%s", warn_no_pathmtu ); |
214 |
- } else { |
215 |
- mtu = inMSS + 40; |
216 |
- net = "unknown interface"; |
217 |
---- a/src/Reporter.c |
218 |
-+++ b/src/Reporter.c |
219 |
-@@ -896,7 +896,7 @@ |
220 |
- } else if ( checkMSS_MTU( inMSS, 576 ) ) { |
221 |
- net = "minimum"; |
222 |
- mtu = 576; |
223 |
-- printf( warn_no_pathmtu ); |
224 |
-+ printf( "%s", warn_no_pathmtu ); |
225 |
- } else { |
226 |
- mtu = inMSS + 40; |
227 |
- net = "unknown interface"; |
228 |
---- a/src/Settings.cpp |
229 |
-+++ b/src/Settings.cpp |
230 |
-@@ -375,8 +375,8 @@ |
231 |
- break; |
232 |
- |
233 |
- case 'h': // print help and exit |
234 |
-- fprintf(stderr, usage_long1); |
235 |
-- fprintf(stderr, usage_long2); |
236 |
-+ fprintf(stderr, "%s", usage_long1); |
237 |
-+ fprintf(stderr, "%s", usage_long2); |
238 |
- exit(1); |
239 |
- break; |
240 |
- |
241 |
-@@ -482,7 +482,7 @@ |
242 |
- break; |
243 |
- |
244 |
- case 'v': // print version and exit |
245 |
-- fprintf( stderr, version ); |
246 |
-+ fprintf( stderr, "%s", version ); |
247 |
- exit(1); |
248 |
- break; |
249 |
- |
250 |
|
251 |
diff --git a/net-misc/iperf/files/iperf-ipv6_mcast_check.patch b/net-misc/iperf/files/iperf-ipv6_mcast_check.patch |
252 |
deleted file mode 100644 |
253 |
index bef0525..00000000 |
254 |
--- a/net-misc/iperf/files/iperf-ipv6_mcast_check.patch |
255 |
+++ /dev/null |
256 |
@@ -1,22 +0,0 @@ |
257 |
-Description: Fix improper check for IPv6 family when sending multicast |
258 |
- This patch fixes the proper behavior of -T (hop-limit setting) when |
259 |
- sending IPv6 multicast packets. Due to this bug, it was always fixed to 1. |
260 |
- . |
261 |
- SetSocketOptions() is called before socket connection, thus sa_family is |
262 |
- still set to 0. This is causing the if-branch in the multicast check |
263 |
- to always assume a non-IPv6 socket. |
264 |
- Checking the remote-peer family works reliably, instead. |
265 |
-Author: Luca Bruno <lucab@××××××.org> |
266 |
-Last-Update: 2012-05-24 |
267 |
- |
268 |
---- a/src/PerfSocket.cpp |
269 |
-+++ b/src/PerfSocket.cpp |
270 |
-@@ -109,7 +109,7 @@ void SetSocketOptions( thread_Settings * |
271 |
- if ( isMulticast( inSettings ) && ( inSettings->mTTL > 0 ) ) { |
272 |
- int val = inSettings->mTTL; |
273 |
- #ifdef HAVE_MULTICAST |
274 |
-- if ( !SockAddr_isIPv6( &inSettings->local ) ) { |
275 |
-+ if ( !SockAddr_isIPv6( &inSettings->peer ) ) { |
276 |
- int rc = setsockopt( inSettings->mSock, IPPROTO_IP, IP_MULTICAST_TTL, |
277 |
- (const void*) &val, (Socklen_t) sizeof(val)); |
278 |
- |
279 |
|
280 |
diff --git a/net-misc/iperf/iperf-2.0.5-r2.ebuild b/net-misc/iperf/iperf-2.0.5-r2.ebuild |
281 |
deleted file mode 100644 |
282 |
index 376576b..00000000 |
283 |
--- a/net-misc/iperf/iperf-2.0.5-r2.ebuild |
284 |
+++ /dev/null |
285 |
@@ -1,38 +0,0 @@ |
286 |
-# Copyright 1999-2017 Gentoo Foundation |
287 |
-# Distributed under the terms of the GNU General Public License v2 |
288 |
-# $Id$ |
289 |
- |
290 |
-EAPI=5 |
291 |
- |
292 |
-DESCRIPTION="Tool to measure IP bandwidth using UDP or TCP" |
293 |
-HOMEPAGE="http://iperf.sourceforge.net/" |
294 |
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" |
295 |
- |
296 |
-LICENSE="HPND" |
297 |
-SLOT="2" |
298 |
-KEYWORDS="amd64 ~arm hppa ppc ppc64 sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~m68k-mint" |
299 |
-IUSE="ipv6 threads debug" |
300 |
- |
301 |
-PATCHES=( |
302 |
- "${FILESDIR}"/${PN}-fix-bandwidth-limit.patch |
303 |
- "${FILESDIR}"/${PN}-cast-to-max_size_t-instead-of-int.patch |
304 |
- "${FILESDIR}"/${PN}-die-on-bind-fail.patch |
305 |
- "${FILESDIR}"/${PN}-bidirectional-tcp-server.patch |
306 |
- "${FILESDIR}"/${PN}-fix-format-security-ftbfs.patch |
307 |
- "${FILESDIR}"/${PN}-ipv6_mcast_check.patch |
308 |
- ) |
309 |
-DOCS="INSTALL README" |
310 |
- |
311 |
-src_configure() { |
312 |
- econf \ |
313 |
- $(use_enable ipv6) \ |
314 |
- $(use_enable threads) \ |
315 |
- $(use_enable debug debuginfo) |
316 |
-} |
317 |
- |
318 |
-src_install() { |
319 |
- default |
320 |
- dohtml doc/* |
321 |
- newinitd "${FILESDIR}"/${PN}.initd-r1 ${PN} |
322 |
- newconfd "${FILESDIR}"/${PN}.confd ${PN} |
323 |
-} |
324 |
|
325 |
diff --git a/net-misc/iperf/iperf-3.0.12.ebuild b/net-misc/iperf/iperf-3.0.12.ebuild |
326 |
deleted file mode 100644 |
327 |
index 1be1772..00000000 |
328 |
--- a/net-misc/iperf/iperf-3.0.12.ebuild |
329 |
+++ /dev/null |
330 |
@@ -1,28 +0,0 @@ |
331 |
-# Copyright 1999-2017 Gentoo Foundation |
332 |
-# Distributed under the terms of the GNU General Public License v2 |
333 |
-# $Id$ |
334 |
- |
335 |
-EAPI=5 |
336 |
-inherit autotools eutils |
337 |
- |
338 |
-DESCRIPTION="A TCP, UDP, and SCTP network bandwidth measurement tool" |
339 |
-LICENSE="BSD" |
340 |
-SLOT="3" |
341 |
-HOMEPAGE="https://github.com/esnet/iperf/" |
342 |
-SRC_URI="https://codeload.github.com/esnet/${PN}/tar.gz/${PV} -> ${P}.tar.gz" |
343 |
-KEYWORDS="amd64 ~arm hppa ~mips ppc ppc64 sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~m68k-mint" |
344 |
-IUSE="static-libs" |
345 |
- |
346 |
-src_prepare() { |
347 |
- epatch "${FILESDIR}"/${PN}-3.0.5-flags.patch |
348 |
- eautoreconf |
349 |
-} |
350 |
- |
351 |
-src_configure() { |
352 |
- econf $(use_enable static-libs static) |
353 |
-} |
354 |
- |
355 |
-src_install() { |
356 |
- default |
357 |
- prune_libtool_files |
358 |
-} |
359 |
|
360 |
diff --git a/net-misc/iperf/iperf-3.1.4.ebuild b/net-misc/iperf/iperf-3.1.4.ebuild |
361 |
deleted file mode 100644 |
362 |
index 0da709a..00000000 |
363 |
--- a/net-misc/iperf/iperf-3.1.4.ebuild |
364 |
+++ /dev/null |
365 |
@@ -1,40 +0,0 @@ |
366 |
-# Copyright 1999-2017 Gentoo Foundation |
367 |
-# Distributed under the terms of the GNU General Public License v2 |
368 |
-# $Id$ |
369 |
- |
370 |
-EAPI=6 |
371 |
- |
372 |
-inherit autotools eutils |
373 |
- |
374 |
-DESCRIPTION="A TCP, UDP, and SCTP network bandwidth measurement tool" |
375 |
-HOMEPAGE="https://github.com/esnet/iperf/" |
376 |
-SRC_URI="https://codeload.github.com/esnet/${PN}/tar.gz/${PV/_beta/b} -> ${P}.tar.gz" |
377 |
- |
378 |
-LICENSE="BSD" |
379 |
-SLOT="3" |
380 |
-KEYWORDS="~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~m68k-mint" |
381 |
-IUSE="sctp static-libs" |
382 |
- |
383 |
-DEPEND="sctp? ( net-misc/lksctp-tools )" |
384 |
-RDEPEND="${DEPEND}" |
385 |
- |
386 |
-S=${WORKDIR}/${P/_beta/b} |
387 |
- |
388 |
-PATCHES=( "${FILESDIR}"/${PN}-3.0.5-flags.patch ) |
389 |
- |
390 |
-src_prepare() { |
391 |
- default |
392 |
- |
393 |
- eautoreconf |
394 |
-} |
395 |
- |
396 |
-src_configure() { |
397 |
- econf $(use_enable static-libs static) |
398 |
-} |
399 |
- |
400 |
-src_install() { |
401 |
- default |
402 |
- newconfd "${FILESDIR}"/iperf.confd iperf3 |
403 |
- newinitd "${FILESDIR}"/iperf3.initd iperf3 |
404 |
- prune_libtool_files |
405 |
-} |