diff options
author | Jeroen Roovers <jer@gentoo.org> | 2020-08-17 23:21:04 +0200 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2020-08-17 23:21:28 +0200 |
commit | 5a327b4477940db5d9064ed8c4304b05d6312d7b (patch) | |
tree | e49da64fffbef9ce00ea025f68b7d1545c08921c /net-misc/iperf | |
parent | dev-python/jupyter_console: Increase test timeout to 5 min (diff) | |
download | gentoo-5a327b4477940db5d9064ed8c4304b05d6312d7b.tar.gz gentoo-5a327b4477940db5d9064ed8c4304b05d6312d7b.tar.bz2 gentoo-5a327b4477940db5d9064ed8c4304b05d6312d7b.zip |
net-misc/iperf: Version 3.9
Package-Manager: Portage-3.0.3, Repoman-3.0.0
Signed-off-by: Jeroen Roovers <jer@gentoo.org>
Diffstat (limited to 'net-misc/iperf')
-rw-r--r-- | net-misc/iperf/Manifest | 1 | ||||
-rw-r--r-- | net-misc/iperf/iperf-3.9.ebuild | 37 |
2 files changed, 38 insertions, 0 deletions
diff --git a/net-misc/iperf/Manifest b/net-misc/iperf/Manifest index 7673a26c687e..152ccbdb0d54 100644 --- a/net-misc/iperf/Manifest +++ b/net-misc/iperf/Manifest @@ -2,3 +2,4 @@ DIST iperf-2.0.13.tar.gz 326148 BLAKE2B 2a40aea9e2d7fdc935b91be5e4e586bf68dd2760 DIST iperf-3.6.tar.gz 602406 BLAKE2B 791355c52e587bae01560e14448b92c3e4e070afc4f311964d2577ea790886777ca1512ea349d105a83f312f795800c01e13c53b700511df14bcf2a7c28f5dda SHA512 0a1c8fd9b33369a2a018423cf33e63cfe7202ae411996f467199ae5b834ff7977d0e5c7e342f4f1b7d90c1c156453daa4dac9f94d11bb581d6d43c807538206d DIST iperf-3.7.tar.gz 609874 BLAKE2B a2abd640004713a0d805be4779e5fd17a7a5ce58ef67cbb0ce8050e30000465686466b30b699b2d8cb374be6b5a063ce220cb79e48fa8fd2257cce69cd8a90e8 SHA512 4a861a506d7e37958e1af62d1634d11c4937d5974bfce636d421aa80c88f038c96738d9e196a7667e38ef515f998b467d4ff3db30af7e3efea8d9ac8a63a61e7 DIST iperf-3.8.1.tar.gz 622721 BLAKE2B 8afcf0ba0ca9d82caf62eca1da4f656921f5b7b1e1b284533da57410db714744f5b3e80562d273a98bde7981e6204d309d36e8e6ebe399f4b4a8a94b02dbfd27 SHA512 3b551e2d603724374228682b316a0b1572f8630d51dcfed673b9d3df8589ce27679c27f3e9ce9539fabc111faa96fe5981778599076abe4f24b7a1d48ab63b09 +DIST iperf-3.9.tar.gz 627100 BLAKE2B c09018dc066612c61076ed4c53dd93b4dba766fbcbc359eb402055dcaa90af63e2df2b6c67ba8a0a72a17648014240dc5b355084e69550afed4d59257a224de8 SHA512 3da0939bed576a7c14baa03c996e6f407f20bfe58c4b3a36a66e74f41bd5442c0b23ab18c8eb1f2f37fd47449af533b61b658d810c68707b2b06d28894ac2035 diff --git a/net-misc/iperf/iperf-3.9.ebuild b/net-misc/iperf/iperf-3.9.ebuild new file mode 100644 index 000000000000..eaf20a65cee9 --- /dev/null +++ b/net-misc/iperf/iperf-3.9.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +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" + +LICENSE="BSD" +SLOT="3" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint" +IUSE="libressl sctp static-libs" + +DEPEND=" + !libressl? ( dev-libs/openssl:0= ) + libressl? ( dev-libs/libressl:0= ) + sctp? ( net-misc/lksctp-tools ) +" +RDEPEND=" + ${DEPEND} +" +S=${WORKDIR}/${P/_/} +DOCS="README.md RELNOTES.md" + +src_configure() { + econf \ + $(use_enable static-libs static) \ + $(use_with sctp) +} + +src_install() { + default + newconfd "${FILESDIR}"/iperf.confd iperf3 + newinitd "${FILESDIR}"/iperf3.initd iperf3 + find "${ED}" -name '*.la' -delete || die +} |