summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason A. Donenfeld <zx2c4@gentoo.org>2016-01-29 02:21:08 +0100
committerJason A. Donenfeld <zx2c4@gentoo.org>2016-01-29 02:21:08 +0100
commitd09df9740494c773e5d3cdb607b0b28573f76cd6 (patch)
tree8b64e295d7896040707a787d56419836dd67ac0e
parentnet-misc/megatools: version bump (diff)
downloadgentoo-d09df9740494c773e5d3cdb607b0b28573f76cd6.tar.gz
gentoo-d09df9740494c773e5d3cdb607b0b28573f76cd6.tar.bz2
gentoo-d09df9740494c773e5d3cdb607b0b28573f76cd6.zip
net-misc/iperf: add sctp support
Package-Manager: portage-2.2.26
-rw-r--r--net-misc/iperf/iperf-3.1_beta3.ebuild5
-rw-r--r--net-misc/iperf/metadata.xml3
2 files changed, 7 insertions, 1 deletions
diff --git a/net-misc/iperf/iperf-3.1_beta3.ebuild b/net-misc/iperf/iperf-3.1_beta3.ebuild
index 4b4687a92d36..6e0d1842d7a7 100644
--- a/net-misc/iperf/iperf-3.1_beta3.ebuild
+++ b/net-misc/iperf/iperf-3.1_beta3.ebuild
@@ -11,7 +11,10 @@ SLOT="3"
HOMEPAGE="https://github.com/esnet/iperf/"
SRC_URI="https://codeload.github.com/esnet/${PN}/tar.gz/${PV/_beta/b} -> ${P}.tar.gz"
KEYWORDS="~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~m68k-mint"
-IUSE="static-libs"
+IUSE="static-libs sctp"
+
+DEPEND="sctp? ( net-misc/lksctp-tools )"
+RDEPEND="$DEPEND"
S=${WORKDIR}/${P/_beta/b}
diff --git a/net-misc/iperf/metadata.xml b/net-misc/iperf/metadata.xml
index c2391d465b93..dcefadcaa9ac 100644
--- a/net-misc/iperf/metadata.xml
+++ b/net-misc/iperf/metadata.xml
@@ -1,6 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
+ <use>
+ <flag name="sctp">Support for Stream Control Transmission Protocol</flag>
+ </use>
<maintainer type="project">
<email>netmon@gentoo.org</email>
<name>Gentoo network monitoring and analysis project</name>