diff options
Diffstat (limited to 'net-misc/iperf')
-rw-r--r-- | net-misc/iperf/Manifest | 6 | ||||
-rw-r--r-- | net-misc/iperf/iperf-3.7.ebuild | 36 | ||||
-rw-r--r-- | net-misc/iperf/iperf-3.99999.99999.ebuild | 13 | ||||
-rw-r--r-- | net-misc/iperf/metadata.xml | 2 |
4 files changed, 48 insertions, 9 deletions
diff --git a/net-misc/iperf/Manifest b/net-misc/iperf/Manifest index 6f00777688e4..b475f118a072 100644 --- a/net-misc/iperf/Manifest +++ b/net-misc/iperf/Manifest @@ -6,9 +6,11 @@ AUX iperf.initd-r1 437 BLAKE2B 66c72b35df0002d972ea483c3748a2ef5a1809c8e953f4fe1 AUX iperf3.initd 287 BLAKE2B 4e99a38963676e411481f18ebbe492b5d0cea179be7fe590712f4a83c45ef426a8eada38b671c32023e5661e03d9bd52c9f361f8702a94999ce8134534f87bc2 SHA512 39718252b3ffc9e8cbc8da82308a3ba0ecd77f9bb7d5ab27dded0292e15079b8a877996e37d3ecd527ed1de6f6dd65b360180dc624fbbda8541605b657620040 DIST iperf-2.0.13.tar.gz 326148 BLAKE2B 2a40aea9e2d7fdc935b91be5e4e586bf68dd27604375d2570570145e5db1ea5837469a4989f47586986932bef33cba05ed19ed3a9ce40c0a5531581c6d3ba982 SHA512 40fcfb8f4d27887f53a743ac07396511fb2a7ac59f4b300fe36896bd0241e191945fa253705990711772ee776d5e4227ed62760fc92abebdfebcedd11c27c0ea DIST iperf-3.6.tar.gz 602406 BLAKE2B 791355c52e587bae01560e14448b92c3e4e070afc4f311964d2577ea790886777ca1512ea349d105a83f312f795800c01e13c53b700511df14bcf2a7c28f5dda SHA512 0a1c8fd9b33369a2a018423cf33e63cfe7202ae411996f467199ae5b834ff7977d0e5c7e342f4f1b7d90c1c156453daa4dac9f94d11bb581d6d43c807538206d +DIST iperf-3.7.tar.gz 609874 BLAKE2B a2abd640004713a0d805be4779e5fd17a7a5ce58ef67cbb0ce8050e30000465686466b30b699b2d8cb374be6b5a063ce220cb79e48fa8fd2257cce69cd8a90e8 SHA512 4a861a506d7e37958e1af62d1634d11c4937d5974bfce636d421aa80c88f038c96738d9e196a7667e38ef515f998b467d4ff3db30af7e3efea8d9ac8a63a61e7 EBUILD iperf-2.0.13.ebuild 743 BLAKE2B a92d22e57d9c7717bf0c42bf5ea5bc9dd126d50afd0760fabd59df618a783d638a50feac3704b0d341b2ffb7304f9bfcb235b9a2bae892c62ad3724c4bbdae05 SHA512 e4174626f1406777c8613f1bd82528330e9560c555d6ade17ae46da75feb37c33aa4f547276b3a8cd9a9b66fce12be92e48ec2af3a4b546b4dcecc6b2453fa61 EBUILD iperf-2.0.14a.ebuild 809 BLAKE2B 8fed944e9f1e47b14d0ea2f462fd8003393f4c0b47640d6937293130599a6d33a38ba86069e20ef5fc09cdf2429130153eaab7a88e69ff44ffe11cd06f618c06 SHA512 b1cc22a9d741dbce419c724af8462f199f02738c9c78b55b2305a5f3d051d0d64a8a3e369cfa1bffd6c7b251274423683508e57f1c67843eeeca331032f51399 EBUILD iperf-2.99999.99999.ebuild 711 BLAKE2B 569294c8cfae197a94563320c64cd477c993bd71558c85327c292d8b302839b8c83e4814d37c30a567f2ca65570112cbdc9e2025ba48db78414c940cca1322f9 SHA512 c2f68699b11ac215a5819242435dfbe4df964f83c2b864d592b0795ec9506ada2ac7e41abefeaa152fee1138ed9ea0c13d3f200b403dff35b1b3eb70351a2122 EBUILD iperf-3.6.ebuild 996 BLAKE2B dd68b976f0bd58179a934c33f07591633f85a6509ea24e7fa80a6f79191c40257784bf47325a0b4b88df061a8f84e29f55e8b53d314518a73fe42627fe766a00 SHA512 d070a0944b3a3a3c1085b457944ed0417ab8a65a571dd92f43132d527c1f6a8fd14d967188768766f84d7e8eedfbdca0195dac3a07d25945bd99c357d71af359 -EBUILD iperf-3.99999.99999.ebuild 801 BLAKE2B 765ba8ce4ef65d758d9e2e810e9c9751f114c50aa982e9fb0e4f51715e1c59e812f543411ac2e501daff0d7c7f754370aa9b2931fbe8715c1ce5466c4310bfc9 SHA512 19be0032e7db5ff49aa0087317c183dcb629b97c3a27b7250501ca5cf8580053b6a6aa90a80506e35076e870faddb27e0c4f99581c9ece028e296a594310b405 -MISC metadata.xml 469 BLAKE2B b85e0e29a4d36b1dc3757d9388aa8d4f563596c59a239694ca23a4863068e11c96b2ea72c71c9539c164be36698649f88666f0b3ddbf723f8c0d324721b1aee9 SHA512 5a153502b0b521fd82c5e096c80be2de09e2cfb17e638fe1a265e9cecb3eed109b4973541d0f326e7a181cb6b9051314478fac1087b476d712a954b848c53580 +EBUILD iperf-3.7.ebuild 953 BLAKE2B 30d7abc4c2ad9c667323c0fe8073bae77bc0071827e3eab301a7f986fb76d08204bb50bb6c99793c5c827034794ab181bd8c37d2c97a69633aa365adf1a2cd2d SHA512 aa817ef5584a9914151bffb399a77eec290b8e171596dfc424b0a962cde13e1dbba45695ef50c7dd6c00edbfeef40ba1cf0c53f077da4a177d0f7527e719b752 +EBUILD iperf-3.99999.99999.ebuild 803 BLAKE2B 586514d1fb209fccbd940bca4a5e37c0c4e12778f6caf493e959a2acc7bf86c979f4f0b2f47b963446208aa681b900fb5d044a4ff2c827f21a796b79c7b1e052 SHA512 96794cbc42db4da3b6e8bcc8e700f9809f0992f399d1efcbdba304090943321815b83180360eb2286877ce769873a28b51c13025ad4c129a590f3eedea054826 +MISC metadata.xml 483 BLAKE2B 4ea7f7c86966199a3bfc78cb2f8312696a0aab08f97d03f84eafe1c418d849bc69ad5bf89d07125d47677436f666748e09820f119b5ca77e5f8e10d4d97b40a3 SHA512 0d0792352d95821b0d603f0628fca7e447ba9c9b1eb9fc119d58d45de1970dc4dc512a132867eb6bcab3725e1b724594f807461dc2fccfd8308bd2043196ce22 diff --git a/net-misc/iperf/iperf-3.7.ebuild b/net-misc/iperf/iperf-3.7.ebuild new file mode 100644 index 000000000000..9b5ce32eaae2 --- /dev/null +++ b/net-misc/iperf/iperf-3.7.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit autotools eutils + +DESCRIPTION="A TCP, UDP, and SCTP network bandwidth measurement tool" +HOMEPAGE="https://github.com/esnet/iperf/" +SRC_URI="${HOMEPAGE}archive/${PV/_/}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="3" +KEYWORDS="~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint" +IUSE="libressl profiling sctp static-libs" + +DEPEND=" + !libressl? ( dev-libs/openssl:0= ) + libressl? ( dev-libs/libressl:0= ) + sctp? ( net-misc/lksctp-tools ) +" +RDEPEND="${DEPEND}" +S=${WORKDIR}/${P/_/} + +src_configure() { + use sctp || export ac_cv_header_netinet_sctp_h=no + econf \ + $(use_enable profiling) \ + $(use_enable static-libs static) +} + +src_install() { + default + newconfd "${FILESDIR}"/iperf.confd iperf3 + newinitd "${FILESDIR}"/iperf3.initd iperf3 + prune_libtool_files +} diff --git a/net-misc/iperf/iperf-3.99999.99999.ebuild b/net-misc/iperf/iperf-3.99999.99999.ebuild index 27de50197b1e..5dc516b75b6c 100644 --- a/net-misc/iperf/iperf-3.99999.99999.ebuild +++ b/net-misc/iperf/iperf-3.99999.99999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Authors +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -13,18 +13,19 @@ SLOT="3" KEYWORDS="" IUSE="libressl profiling sctp static-libs" -DEPEND="!libressl? ( dev-libs/openssl:0= ) +DEPEND=" + !libressl? ( dev-libs/openssl:0= ) libressl? ( dev-libs/libressl:0= ) - sctp? ( net-misc/lksctp-tools )" + sctp? ( net-misc/lksctp-tools ) +" RDEPEND="${DEPEND}" - S=${WORKDIR}/${P/_/} src_configure() { use sctp || export ac_cv_header_netinet_sctp_h=no econf \ - $(use_enable static-libs static) \ - $(use_enable profiling) + $(use_enable profiling) \ + $(use_enable static-libs static) } src_install() { diff --git a/net-misc/iperf/metadata.xml b/net-misc/iperf/metadata.xml index f3c92356707b..344d7ddf0bf3 100644 --- a/net-misc/iperf/metadata.xml +++ b/net-misc/iperf/metadata.xml @@ -10,6 +10,6 @@ <remote-id type="sourceforge">iperf</remote-id> </upstream> <use> -<flag name='profiling'>Create a profiled iperf3 binary</flag> +<flag name='profiling'>Install profiled iperf3 binary iperf3_profile</flag> </use> </pkgmetadata> |