summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-05-27 23:39:18 +0000
committerSam James <sam@gentoo.org>2021-05-27 23:39:18 +0000
commit2580f85a96873f0318e858d116e007ba87e6047d (patch)
tree854e0eb9069538d50226ef6d33e1a8956e18ccb2 /net-misc/iperf
parentx11-base/xorg-proto: Stabilize 2021.4 hppa, #787818 (diff)
downloadgentoo-2580f85a96873f0318e858d116e007ba87e6047d.tar.gz
gentoo-2580f85a96873f0318e858d116e007ba87e6047d.tar.bz2
gentoo-2580f85a96873f0318e858d116e007ba87e6047d.zip
net-misc/iperf: add 3.10
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-misc/iperf')
-rw-r--r--net-misc/iperf/Manifest1
-rw-r--r--net-misc/iperf/iperf-3.10.ebuild40
2 files changed, 41 insertions, 0 deletions
diff --git a/net-misc/iperf/Manifest b/net-misc/iperf/Manifest
index a3540cc13ac4..1e825d3b16b6 100644
--- a/net-misc/iperf/Manifest
+++ b/net-misc/iperf/Manifest
@@ -1,2 +1,3 @@
DIST iperf-2.0.13.tar.gz 326148 BLAKE2B 2a40aea9e2d7fdc935b91be5e4e586bf68dd27604375d2570570145e5db1ea5837469a4989f47586986932bef33cba05ed19ed3a9ce40c0a5531581c6d3ba982 SHA512 40fcfb8f4d27887f53a743ac07396511fb2a7ac59f4b300fe36896bd0241e191945fa253705990711772ee776d5e4227ed62760fc92abebdfebcedd11c27c0ea
+DIST iperf-3.10.tar.gz 636646 BLAKE2B a8a7e01aa02a0dfb320311812a5e0d95213c5c67990fd30e9747d0372e125e4318bb211dc97a614015b75418a70d6a62f1dfd08d7499fd78765dcff9d99a4ca0 SHA512 f9ccc0dc0dc74f708d75a6992318b615259e8fa716175ee916462ebf75a370dc06a0ab5ac2aa314bf9c6f6f56dd2a00648bba34c65da848cbde1ea196c5a6f4e
DIST iperf-3.9.tar.gz 627100 BLAKE2B c09018dc066612c61076ed4c53dd93b4dba766fbcbc359eb402055dcaa90af63e2df2b6c67ba8a0a72a17648014240dc5b355084e69550afed4d59257a224de8 SHA512 3da0939bed576a7c14baa03c996e6f407f20bfe58c4b3a36a66e74f41bd5442c0b23ab18c8eb1f2f37fd47449af533b61b658d810c68707b2b06d28894ac2035
diff --git a/net-misc/iperf/iperf-3.10.ebuild b/net-misc/iperf/iperf-3.10.ebuild
new file mode 100644
index 000000000000..a1502f64dcc3
--- /dev/null
+++ b/net-misc/iperf/iperf-3.10.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit systemd
+
+DESCRIPTION="A TCP, UDP, and SCTP network bandwidth measurement tool"
+HOMEPAGE="https://github.com/esnet/iperf"
+SRC_URI="https://github.com/esnet/iperf/archive/${PV/_/}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/${P/_/}"
+
+LICENSE="BSD"
+SLOT="3"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
+IUSE="sctp"
+
+DEPEND="
+ dev-libs/openssl:0=
+ sctp? ( net-misc/lksctp-tools )
+"
+RDEPEND="${DEPEND}"
+
+DOCS=( README.md RELNOTES.md )
+
+src_configure() {
+ econf \
+ --disable-static
+ $(use_with sctp)
+}
+
+src_install() {
+ default
+
+ newconfd "${FILESDIR}"/iperf.confd iperf3
+ newinitd "${FILESDIR}"/iperf3.initd iperf3
+ systemd_dounit contrib/iperf3.service
+
+ find "${ED}" -name '*.la' -delete || die
+}