1 |
commit: d09df9740494c773e5d3cdb607b0b28573f76cd6 |
2 |
Author: Jason A. Donenfeld <zx2c4 <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Jan 29 01:21:08 2016 +0000 |
4 |
Commit: Jason Donenfeld <zx2c4 <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jan 29 01:21:08 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d09df974 |
7 |
|
8 |
net-misc/iperf: add sctp support |
9 |
|
10 |
Package-Manager: portage-2.2.26 |
11 |
|
12 |
net-misc/iperf/iperf-3.1_beta3.ebuild | 5 ++++- |
13 |
net-misc/iperf/metadata.xml | 3 +++ |
14 |
2 files changed, 7 insertions(+), 1 deletion(-) |
15 |
|
16 |
diff --git a/net-misc/iperf/iperf-3.1_beta3.ebuild b/net-misc/iperf/iperf-3.1_beta3.ebuild |
17 |
index 4b4687a..6e0d184 100644 |
18 |
--- a/net-misc/iperf/iperf-3.1_beta3.ebuild |
19 |
+++ b/net-misc/iperf/iperf-3.1_beta3.ebuild |
20 |
@@ -11,7 +11,10 @@ SLOT="3" |
21 |
HOMEPAGE="https://github.com/esnet/iperf/" |
22 |
SRC_URI="https://codeload.github.com/esnet/${PN}/tar.gz/${PV/_beta/b} -> ${P}.tar.gz" |
23 |
KEYWORDS="~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~m68k-mint" |
24 |
-IUSE="static-libs" |
25 |
+IUSE="static-libs sctp" |
26 |
+ |
27 |
+DEPEND="sctp? ( net-misc/lksctp-tools )" |
28 |
+RDEPEND="$DEPEND" |
29 |
|
30 |
S=${WORKDIR}/${P/_beta/b} |
31 |
|
32 |
|
33 |
diff --git a/net-misc/iperf/metadata.xml b/net-misc/iperf/metadata.xml |
34 |
index c2391d4..dcefadc 100644 |
35 |
--- a/net-misc/iperf/metadata.xml |
36 |
+++ b/net-misc/iperf/metadata.xml |
37 |
@@ -1,6 +1,9 @@ |
38 |
<?xml version="1.0" encoding="UTF-8"?> |
39 |
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
40 |
<pkgmetadata> |
41 |
+ <use> |
42 |
+ <flag name="sctp">Support for Stream Control Transmission Protocol</flag> |
43 |
+ </use> |
44 |
<maintainer type="project"> |
45 |
<email>netmon@g.o</email> |
46 |
<name>Gentoo network monitoring and analysis project</name> |