diff options
author | Sam James <sam@gentoo.org> | 2022-02-03 06:13:41 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-02-03 06:13:41 +0000 |
commit | c5d6de44a8fa5d40b3ebddc6e50edcff42332ddf (patch) | |
tree | 23444832c7927004e47e97e956e2fbe02afa4809 /net-misc/iperf | |
parent | app-office/calligra: Stabilize 3.2.1-r5 x86, #831562 (diff) | |
download | gentoo-c5d6de44a8fa5d40b3ebddc6e50edcff42332ddf.tar.gz gentoo-c5d6de44a8fa5d40b3ebddc6e50edcff42332ddf.tar.bz2 gentoo-c5d6de44a8fa5d40b3ebddc6e50edcff42332ddf.zip |
net-misc/iperf: add 3.11
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-misc/iperf')
-rw-r--r-- | net-misc/iperf/Manifest | 1 | ||||
-rw-r--r-- | net-misc/iperf/iperf-3.11.ebuild | 40 |
2 files changed, 41 insertions, 0 deletions
diff --git a/net-misc/iperf/Manifest b/net-misc/iperf/Manifest index ea76fdf0478d..5cbf66880d5c 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.1.tar.gz 636957 BLAKE2B 8390b4fb0d4c6590bf73e46d55fbe100f1c9832b4e7baba23b4bec2808b42582bf76cc4250c529a1eb4a58c7214120f0e3a393a7c2602b838b22d97eb53842b3 SHA512 d1139aed0c7a99e8cfc23c41d606854d48a57db24d45ea31412d81222b09faeee6edccdf4030a00eeb6acbfd540d4b985b4a89f81a4d5b84592339ad5e2e9e41 +DIST iperf-3.11.tar.gz 638521 BLAKE2B b2981c170aac947c407b0a5686cd9708012282044be30ec7e5f993a9d61d55c4517003024890a194f6e55d342be0e60f1bcab27460541d2b9631a3bb88e094a5 SHA512 4be3e407f77a083d826bddc5ce2939047c85f5b816a6aeb3293eacabf2ea23bf13df4226e629ade3bf390c2eb08d6a1cb96f8cdb0fefb290a0fa4c8331d11a17 diff --git a/net-misc/iperf/iperf-3.11.ebuild b/net-misc/iperf/iperf-3.11.ebuild new file mode 100644 index 000000000000..ed73b8b11f5d --- /dev/null +++ b/net-misc/iperf/iperf-3.11.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +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:= + sctp? ( net-misc/lksctp-tools )" +RDEPEND="${DEPEND}" + +DOCS=( README.md RELNOTES.md ) + +PATCHES=( + "${FILESDIR}"/${PN}-3.10.1-drop-forced-debugging-symbols.patch +) + +src_configure() { + econf $(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 +} |