From d0450dc332d4c7ea39531c1049ac48f14d8ca856 Mon Sep 17 00:00:00 2001 From: Krzesimir Nowak Date: Thu, 17 Feb 2022 08:13:38 +0100 Subject: [PATCH] net-misc/iperf: Sync with gentoo It's from gentoo commit c5d6de44a8fa5d40b3ebddc6e50edcff42332ddf. --- .../portage-stable/net-misc/iperf/ChangeLog | 145 --------- .../net-misc/iperf/ChangeLog-2015 | 280 ------------------ .../portage-stable/net-misc/iperf/Manifest | 24 +- .../iperf/files/iperf-2.0.12-ipv6.patch | 23 ++ .../net-misc/iperf/files/iperf-2.0.14a.patch | 132 +++++++++ .../iperf/files/iperf-3.0.5-flags.patch | 31 -- ...3.10.1-drop-forced-debugging-symbols.patch | 148 +++++++++ .../iperf-bidirectional-tcp-server.patch | 23 -- ...rf-cast-to-max_size_t-instead-of-int.patch | 20 -- .../iperf/files/iperf-die-on-bind-fail.patch | 19 -- .../files/iperf-fix-bandwidth-limit.patch | 21 -- .../iperf-fix-format-security-ftbfs.patch | 96 ------ .../iperf/files/iperf-ipv6_mcast_check.patch | 22 -- .../net-misc/iperf/files/iperf.confd | 1 - .../net-misc/iperf/files/iperf.initd-r1 | 1 - .../net-misc/iperf/files/iperf3.initd | 1 - .../net-misc/iperf/iperf-2.0.14a.ebuild | 42 +++ .../net-misc/iperf/iperf-2.0.5-r2.ebuild | 38 --- .../net-misc/iperf/iperf-2.99999.99999.ebuild | 35 +++ .../net-misc/iperf/iperf-3.0.11.ebuild | 28 -- .../net-misc/iperf/iperf-3.0.12.ebuild | 28 -- .../net-misc/iperf/iperf-3.1.3.ebuild | 38 --- .../net-misc/iperf/iperf-3.10.1.ebuild | 44 +++ .../net-misc/iperf/iperf-3.11.ebuild | 40 +++ .../net-misc/iperf/iperf-3.99999.99999.ebuild | 38 +++ .../net-misc/iperf/metadata.xml | 10 +- 26 files changed, 511 insertions(+), 817 deletions(-) delete mode 100644 sdk_container/src/third_party/portage-stable/net-misc/iperf/ChangeLog delete mode 100644 sdk_container/src/third_party/portage-stable/net-misc/iperf/ChangeLog-2015 create mode 100644 sdk_container/src/third_party/portage-stable/net-misc/iperf/files/iperf-2.0.12-ipv6.patch create mode 100644 sdk_container/src/third_party/portage-stable/net-misc/iperf/files/iperf-2.0.14a.patch delete mode 100644 sdk_container/src/third_party/portage-stable/net-misc/iperf/files/iperf-3.0.5-flags.patch create mode 100644 sdk_container/src/third_party/portage-stable/net-misc/iperf/files/iperf-3.10.1-drop-forced-debugging-symbols.patch delete mode 100644 sdk_container/src/third_party/portage-stable/net-misc/iperf/files/iperf-bidirectional-tcp-server.patch delete mode 100644 sdk_container/src/third_party/portage-stable/net-misc/iperf/files/iperf-cast-to-max_size_t-instead-of-int.patch delete mode 100644 sdk_container/src/third_party/portage-stable/net-misc/iperf/files/iperf-die-on-bind-fail.patch delete mode 100644 sdk_container/src/third_party/portage-stable/net-misc/iperf/files/iperf-fix-bandwidth-limit.patch delete mode 100644 sdk_container/src/third_party/portage-stable/net-misc/iperf/files/iperf-fix-format-security-ftbfs.patch delete mode 100644 sdk_container/src/third_party/portage-stable/net-misc/iperf/files/iperf-ipv6_mcast_check.patch create mode 100644 sdk_container/src/third_party/portage-stable/net-misc/iperf/iperf-2.0.14a.ebuild delete mode 100644 sdk_container/src/third_party/portage-stable/net-misc/iperf/iperf-2.0.5-r2.ebuild create mode 100644 sdk_container/src/third_party/portage-stable/net-misc/iperf/iperf-2.99999.99999.ebuild delete mode 100644 sdk_container/src/third_party/portage-stable/net-misc/iperf/iperf-3.0.11.ebuild delete mode 100644 sdk_container/src/third_party/portage-stable/net-misc/iperf/iperf-3.0.12.ebuild delete mode 100644 sdk_container/src/third_party/portage-stable/net-misc/iperf/iperf-3.1.3.ebuild create mode 100644 sdk_container/src/third_party/portage-stable/net-misc/iperf/iperf-3.10.1.ebuild create mode 100644 sdk_container/src/third_party/portage-stable/net-misc/iperf/iperf-3.11.ebuild create mode 100644 sdk_container/src/third_party/portage-stable/net-misc/iperf/iperf-3.99999.99999.ebuild diff --git a/sdk_container/src/third_party/portage-stable/net-misc/iperf/ChangeLog b/sdk_container/src/third_party/portage-stable/net-misc/iperf/ChangeLog deleted file mode 100644 index ffa985f52e..0000000000 --- a/sdk_container/src/third_party/portage-stable/net-misc/iperf/ChangeLog +++ /dev/null @@ -1,145 +0,0 @@ -# ChangeLog for net-misc/iperf -# Copyright 1999-2016 Gentoo Foundation; Distributed under the GPL v2 -# (auto-generated from git log) - -*iperf-3.1_beta3 (09 Aug 2015) -*iperf-3.0.11 (09 Aug 2015) -*iperf-2.0.5-r2 (09 Aug 2015) - - 09 Aug 2015; Robin H. Johnson - +files/iperf-3.0.5-flags.patch, +files/iperf-bidirectional-tcp-server.patch, - +files/iperf-cast-to-max_size_t-instead-of-int.patch, - +files/iperf-die-on-bind-fail.patch, +files/iperf-fix-bandwidth-limit.patch, - +files/iperf-fix-format-security-ftbfs.patch, - +files/iperf-ipv6_mcast_check.patch, +files/iperf.confd, - +files/iperf.initd-r1, +iperf-2.0.5-r2.ebuild, +iperf-3.0.11.ebuild, - +iperf-3.1_beta3.ebuild, +metadata.xml: - proj/gentoo: Initial commit - - This commit represents a new era for Gentoo: - Storing the gentoo-x86 tree in Git, as converted from CVS. - - This commit is the start of the NEW history. - Any historical data is intended to be grafted onto this point. - - Creation process: - 1. Take final CVS checkout snapshot - 2. Remove ALL ChangeLog* files - 3. Transform all Manifests to thin - 4. Remove empty Manifests - 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ - 5.1. Do not touch files with -kb/-ko keyword flags. - - Signed-off-by: Robin H. Johnson - X-Thanks: Alec Warner - did the GSoC 2006 migration - tests - X-Thanks: Robin H. Johnson - infra guy, herding this - project - X-Thanks: Nguyen Thai Ngoc Duy - Former Gentoo - developer, wrote Git features for the migration - X-Thanks: Brian Harring - wrote much python to improve - cvs2svn - X-Thanks: Rich Freeman - validation scripts - X-Thanks: Patrick Lauer - Gentoo dev, running new 2014 - work in migration - X-Thanks: Michał Górny - scripts, QA, nagging - X-Thanks: All of other Gentoo developers - many ideas and lots of paint on - the bikeshed - - 24 Aug 2015; Justin Lecher metadata.xml: - Use https by default - - Convert all URLs for sites supporting encrypted connections from http to - https - - Signed-off-by: Justin Lecher - - 24 Aug 2015; Mike Gilbert metadata.xml: - Revert DOCTYPE SYSTEM https changes in metadata.xml - - repoman does not yet accept the https version. - This partially reverts eaaface92ee81f30a6ac66fe7acbcc42c00dc450. - - Bug: https://bugs.gentoo.org/552720 - - 01 Oct 2015; Justin Lecher metadata.xml: - Add missing remote-id type=sourceforge - - Signed-off-by: Justin Lecher - - 24 Jan 2016; Michał Górny metadata.xml: - Unify quoting in metadata.xml files for machine processing - - Force unified quoting in all metadata.xml files since lxml does not - preserve original use of single and double quotes. Ensuring unified - quoting before the process allows distinguishing the GLEP 67-related - metadata.xml changes from unrelated quoting changes. - - 24 Jan 2016; Michał Górny metadata.xml: - Replace all herds with appropriate projects (GLEP 67) - - Replace all uses of herd with appropriate project maintainers, or no - maintainers in case of herds requested to be disbanded. - - 24 Jan 2016; Michał Górny metadata.xml: - Set appropriate maintainer types in metadata.xml (GLEP 67) - - 29 Jan 2016; Jason A. Donenfeld iperf-3.1_beta3.ebuild, - metadata.xml: - add sctp support - - Package-Manager: portage-2.2.26 - -*iperf-3.1.2 (16 Feb 2016) - - 16 Feb 2016; Jeroen Roovers +files/iperf3.initd, - -iperf-3.1_beta3.ebuild, +iperf-3.1.2.ebuild: - Version bump. - - Add init.d/conf.d scripts for iamben - - Package-Manager: portage-2.2.27 - - 16 Feb 2016; Jeroen Roovers iperf-2.0.5-r2.ebuild: - Drop unused base.eclass - - Package-Manager: portage-2.2.27 - - 18 May 2016; Austin English files/iperf.initd-r1, - files/iperf3.initd: - use #!/sbin/openrc-run instead of #!/sbin/runscript - -*iperf-3.1.3 (10 Jun 2016) -*iperf-3.0.12 (10 Jun 2016) - - 10 Jun 2016; Jeroen Roovers +iperf-3.0.12.ebuild, - +iperf-3.1.3.ebuild: - Version bump. - - Package-Manager: portage-2.3.0_rc1 - - 10 Jun 2016; Agostino Sarubbo iperf-3.0.12.ebuild: - amd64 stable wrt bug #585504 - - Package-Manager: portage-2.2.28 - RepoMan-Options: --include-arches="amd64" - Signed-off-by: Agostino Sarubbo - - 11 Jun 2016; Jeroen Roovers -iperf-3.1.2.ebuild: - Old. - - Package-Manager: portage-2.3.0_rc1 - - 11 Jun 2016; Jeroen Roovers iperf-3.0.12.ebuild: - Stable for HPPA PPC64 (bug #585504). - - Package-Manager: portage-2.3.0_rc1 - RepoMan-Options: --ignore-arches - - 27 Jun 2016; Agostino Sarubbo iperf-3.0.12.ebuild: - x86 stable wrt bug #585504 - - Package-Manager: portage-2.2.28 - RepoMan-Options: --include-arches="x86" - Signed-off-by: Agostino Sarubbo - diff --git a/sdk_container/src/third_party/portage-stable/net-misc/iperf/ChangeLog-2015 b/sdk_container/src/third_party/portage-stable/net-misc/iperf/ChangeLog-2015 deleted file mode 100644 index d5b36e26fd..0000000000 --- a/sdk_container/src/third_party/portage-stable/net-misc/iperf/ChangeLog-2015 +++ /dev/null @@ -1,280 +0,0 @@ -# ChangeLog for net-misc/iperf -# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/iperf/ChangeLog,v 1.76 2015/08/07 05:05:25 jer Exp $ - - 07 Aug 2015; Jeroen Roovers -iperf-3.0.7.ebuild, - -iperf-3.0.9.ebuild, -iperf-3.0.10.ebuild: - Old. - - 06 Aug 2015; Agostino Sarubbo iperf-3.0.11.ebuild: - Stable for x86, wrt bug #554706 - - 03 Aug 2015; Agostino Sarubbo iperf-3.0.11.ebuild: - Stable for amd64, wrt bug #554706 - - 02 Aug 2015; Pacho Ramos iperf-3.0.11.ebuild: - sparc stable wrt bug #554706 - - 23 Jul 2015; Pacho Ramos iperf-3.0.11.ebuild: - ppc stable wrt bug #554706 - - 18 Jul 2015; Jeroen Roovers iperf-3.0.11.ebuild: - Stable for HPPA (bug #554706). - - 13 Jul 2015; Jeroen Roovers iperf-3.0.11.ebuild: - Stable for PPC64 (bug #554706). - -*iperf-3.1_beta3 (13 Jul 2015) - - 13 Jul 2015; Jeroen Roovers +iperf-3.1_beta3.ebuild: - Version bump. - -*iperf-3.0.11 (13 Jan 2015) - - 13 Jan 2015; Jeroen Roovers +iperf-3.0.11.ebuild: - Version bump. - -*iperf-3.0.10 (18 Dec 2014) - - 18 Dec 2014; Jeroen Roovers -iperf-3.0.8.ebuild, - +iperf-3.0.10.ebuild: - Version bump. - - 29 Oct 2014; Agostino Sarubbo iperf-3.0.7.ebuild: - Stable for sparc, wrt bug #524444 - -*iperf-3.0.9 (16 Oct 2014) - - 16 Oct 2014; Jeroen Roovers +iperf-3.0.9.ebuild: - Version bump. - - 10 Oct 2014; Agostino Sarubbo iperf-3.0.7.ebuild: - Stable for x86, wrt bug #524444 - - 09 Oct 2014; Agostino Sarubbo iperf-3.0.7.ebuild: - Stable for amd64, wrt bug #524444 - - 04 Oct 2014; Jeroen Roovers iperf-3.0.7.ebuild: - Stable for HPPA (bug #524444). - - 04 Oct 2014; Anthony G. Basile iperf-3.0.7.ebuild: - Stable on ppc/ppc64, bug #524444 - -*iperf-3.0.8 (04 Oct 2014) - - 04 Oct 2014; Jeroen Roovers +iperf-3.0.8.ebuild: - Version bump. - - 15 Sep 2014; Jeroen Roovers -files/iperf.initd: - Old. - - 14 Sep 2014; Jeroen Roovers -iperf-2.0.5.ebuild, - -iperf-2.0.5-r1.ebuild, -iperf-3.0.5.ebuild, -iperf-3.0.6.ebuild: - Old. - - 14 Sep 2014; Agostino Sarubbo iperf-2.0.5-r2.ebuild: - Stable for ppc64, wrt bug #517430 - - 07 Sep 2014; Agostino Sarubbo iperf-2.0.5-r2.ebuild: - Stable for ppc, wrt bug #517430 - - 06 Sep 2014; Chema Alonso iperf-2.0.5-r2.ebuild: - Stable for amd64 wrt bug #517430 - -*iperf-3.0.7 (03 Sep 2014) - - 03 Sep 2014; Jeroen Roovers +iperf-3.0.7.ebuild: - Version bump. - -*iperf-3.0.6 (06 Aug 2014) - - 06 Aug 2014; Jeroen Roovers +iperf-3.0.6.ebuild: - Version bump. - - 01 Aug 2014; Raúl Porcel iperf-2.0.5-r2.ebuild: - sparc/x86 stable wrt #517430 - - 23 Jul 2014; Jeroen Roovers iperf-2.0.5-r2.ebuild: - Stable for HPPA (bug #517430). - - 22 Jul 2014; Markos Chandras iperf-3.0.5.ebuild: - Add ~mips. Bug #517754 - - 19 Jul 2014; Jeroen Roovers iperf-2.0.5.ebuild, - iperf-2.0.5-r1.ebuild, iperf-2.0.5-r2.ebuild, iperf-3.0.5.ebuild: - Move iperf3 to a new SLOT (bug #517488). - - 19 Jul 2014; Jeroen Roovers files/iperf.initd-r1: - Drop "need net" in init script (bug #439654 by Matthew Schultz). - - 19 Jul 2014; Jeroen Roovers iperf-3.0.5.ebuild, - +files/iperf-3.0.5-flags.patch: - Do not inject -g into CFLAGS/LDFLAGS, do not create an additional profiled - build (bug #517488 by Ronny Boesger). - -*iperf-3.0.5 (18 Jul 2014) - - 18 Jul 2014; Jeroen Roovers +iperf-3.0.5.ebuild: - Version bump (bug #466508 by Bryan Duff). - - 18 Jul 2014; Jeroen Roovers iperf-2.0.5-r2.ebuild, - files/iperf-bidirectional-tcp-server.patch, - files/iperf-cast-to-max_size_t-instead-of-int.patch, - files/iperf-die-on-bind-fail.patch, files/iperf-fix-bandwidth-limit.patch, - files/iperf-fix-format-security-ftbfs.patch, - files/iperf-ipv6_mcast_check.patch: - Clean up, and patches. - -*iperf-2.0.5-r2 (05 Sep 2013) - - 05 Sep 2013; Tiziano Müller - +files/iperf-bidirectional-tcp-server.patch, - +files/iperf-cast-to-max_size_t-instead-of-int.patch, - +files/iperf-die-on-bind-fail.patch, - +files/iperf-fix-format-security-ftbfs.patch, - +files/iperf-ipv6_mcast_check.patch, +files/iperf.initd-r1, - +iperf-2.0.5-r2.ebuild: - Rewrite init.d-script to avoid -D as a workaround for bug #344875, import some - important patches from Debian/Ubuntu. - - 06 Oct 2012; Sergey Popov iperf-2.0.5.ebuild, - iperf-2.0.5-r1.ebuild: - Change package license from as-is to HPND - -*iperf-2.0.5-r1 (06 Oct 2012) - - 06 Oct 2012; Sergey Popov +iperf-2.0.5-r1.ebuild, - +files/iperf-fix-bandwidth-limit.patch: - Revision bump, add fix for bug #387129, bump to EAPI 4 - - 11 Dec 2011; Markus Meier iperf-2.0.5.ebuild: - add ~arm, bug #389451 - - 10 Oct 2010; Raúl Porcel iperf-2.0.5.ebuild: - sparc stable wrt #336656 - - 14 Sep 2010; Jeroen Roovers iperf-2.0.5.ebuild: - Stable for HPPA (bug #336656). - - 13 Sep 2010; Joseph Jezak iperf-2.0.5.ebuild: - Marked ppc/ppc64 stable for bug #336656. - - 12 Sep 2010; Markos Chandras iperf-2.0.5.ebuild: - Stable on amd64 wrt bug #336656 - - 12 Sep 2010; Pawel Hajdan jr iperf-2.0.5.ebuild: - x86 stable wrt bug #336656 - -*iperf-2.0.5 (26 Jul 2010) - - 26 Jul 2010; Jeroen Roovers +iperf-2.0.5.ebuild: - Version bump by Tim Harder (bug #329185). - - 07 Jan 2010; Christian Faulhammer iperf-2.0.4.ebuild: - Transfer Prefix keywords - - 01 Jun 2009; Peter Volkov -iperf-1.7.0.ebuild, - -iperf-2.0.1.ebuild, -iperf-2.0.2.ebuild, iperf-2.0.4.ebuild: - Removed old, small cleanup. - - 31 May 2009; Brent Baude iperf-2.0.4.ebuild: - stable ppc64, bug 263878 - - 30 May 2009; Tiago Cunha iperf-2.0.4.ebuild: - stable sparc, bug 263878 - - 30 May 2009; nixnut iperf-2.0.4.ebuild: - ppc stable #263878 - - 29 May 2009; Steve Dibb iperf-2.0.4.ebuild: - amd64 stable, bug 263878 - - 26 May 2009; Christian Faulhammer iperf-2.0.4.ebuild: - stable x86, bug 263878 - - 26 May 2009; Jeroen Roovers iperf-2.0.4.ebuild: - Fix quoting issue. - - 26 May 2009; Jeroen Roovers iperf-2.0.4.ebuild: - Stable for HPPA (bug #263878). - - 25 Mar 2009; Tiago Cunha iperf-2.0.4.ebuild: - keyworded ~arch for sparc, bug 263724 - -*iperf-2.0.4 (30 Jul 2008) - - 30 Jul 2008; Jeroen Roovers +iperf-2.0.4.ebuild: - Version bump thanks to Jeff Waller (bug #233215). - - 12 Jun 2007; Joe Peterson iperf-2.0.2.ebuild: - Add ~x86-fbsd keyword - - 16 Apr 2007; Markus Rothe iperf-2.0.2.ebuild: - Stable on ppc64 - - 17 Mar 2007; Steve Dibb iperf-2.0.2.ebuild: - amd64 stable - - 13 Mar 2007; Raúl Porcel iperf-2.0.2.ebuild: - x86 stable - - 20 Feb 2007; Markus Ullmann ChangeLog: - Redigest for Manifest2 - - 19 Nov 2006; Guy Martin iperf-2.0.2.ebuild: - Stable on hppa. - - 04 Dec 2005; Tom Gall iperf-2.0.1.ebuild: - stable on ppc64 - - 29 Nov 2005; iperf-2.0.1.ebuild: - Marked stable on amd64 - -*iperf-2.0.2 (11 Aug 2005) - - 11 Aug 2005; Aaron Walker +iperf-2.0.2.ebuild: - Version bump for bug 101960. - - 09 Aug 2005; Brent Baude iperf-1.7.0.ebuild: - Adding ~ppc64 keyword to the 1.70 iperf ebuild. This is the "stable" version - according to their website. - - 10 May 2005; Herbie Hopkins iperf-2.0.1.ebuild: - Marked ~amd64 wrt bug #92149. - - 06 May 2005; Omkhar Arasaratnam iperf-2.0.1.ebuild: - Added ~ppc64 wrt #91738 - - 25 Feb 2005; Aaron Walker iperf-2.0.1.ebuild: - Marked stable on x86. - -*iperf-2.0.1 (23 Jan 2005) - - 23 Jan 2005; Aaron Walker +files/iperf.confd, - files/iperf.initd, +iperf-2.0.1.ebuild: - Version bump for bug 77616; added conf.d file as well. - - 21 Jan 2005; Aaron Walker +files/iperf.initd, - iperf-1.7.0.ebuild: - Added init.d script for running iperf in server mode; fixes bug 69609. - - 25 Sep 2004; David Holm iperf-1.7.0.ebuild: - Added to ~ppc. - - 01 Jul 2004; Jon Hood iperf-1.7.0.ebuild: - change virtual/glibc to virtual/libc, add IUSE - -*iperf-1.7.0 (30 Jul 2003) - - 30 Jul 2003; Martin Holzer iperf-1.7.0.ebuild: - Version bumped. - - 28 Jul 2003; Martin Holzer iperf-1.6.3.ebuild: - Fixing install dir. - -*iperf-1.6.3 (14 Nov 2002) - - 14 Nov 2002; Martin Holzer iperf-1.6.3.ebuild - ChangeLog files/digest-iperf-1.6.3 files/iperf-1.6.3-Makefile-gentoo.diff : - - Iperf is a tool to measure IP bandwidth using UDP or TCP. diff --git a/sdk_container/src/third_party/portage-stable/net-misc/iperf/Manifest b/sdk_container/src/third_party/portage-stable/net-misc/iperf/Manifest index a969edd762..5cbf66880d 100644 --- a/sdk_container/src/third_party/portage-stable/net-misc/iperf/Manifest +++ b/sdk_container/src/third_party/portage-stable/net-misc/iperf/Manifest @@ -1,21 +1,3 @@ -AUX iperf-3.0.5-flags.patch 1323 SHA256 239b00aa090e7cfbd45f14ef0dc88a90fa24760f05cf005a17bded6df342e01f SHA512 d5e106b9b6fdc704e1e8d5c87f767a912a3e643994b51f09fee34fffcf9007b3eb91adcf3b87e04f90c994e29691dff0e400fb2f13a94e68c58183a39d833403 WHIRLPOOL 9dee2ef383d5dcc39358964be09e0d19d1a5cb0fe864067c6274dacfd994380c1bd4a5afd0789bcd4052af31c36578dc3a62c196134442b27f5b2c844ed06768 -AUX iperf-bidirectional-tcp-server.patch 709 SHA256 732fea9c648dcb9c75213d49275567228c9cbcb49a1eaa32b84fe6fd8af60894 SHA512 b08f6c9e884f9a6b0945c806d471d5007c0e357e90fc344f19f17cf785fb603f0da4c7de667f85823c66f39f58b0a0be46359284730421dc9a573baa67ea6d28 WHIRLPOOL 368615b1ebc63b3959b1519e6f6f2431f7c25aa3c20094a7e8b6c76deec9ef6631be0d9fe4de1c4b4f71ec687c5c01ac834a16784c0ad4cb37270a551d40bbb4 -AUX iperf-cast-to-max_size_t-instead-of-int.patch 904 SHA256 c7c7630151f53a24e504359c8f773daf5b08e81c782b87937de12152b91f1502 SHA512 a3a8ab1c745dce9ba5d7f52747490ced0a485b9f92d254e64bdbc4302a0ab057f4203b1e85ba680db8828b6390b38d95eb3c65c74a4679cf81e9760838ecf777 WHIRLPOOL b4282e3fd72ce472576a9110f32b5d9c770e38874f5f5ce94c7b1373e7bbb0a77ed61a2fcdcf9a708efaebe8339186337dd32ad54de335e36a837f8f8d4d3c11 -AUX iperf-die-on-bind-fail.patch 812 SHA256 f56e0affd91a41675b8f756c969f175723dfa2b5ab9dba8b4f20b94f1fe5b3c5 SHA512 0986619d046c4a7f792bdc5b18e600840b70df14bbe5e78bd4240df57989ea82a8fb8df0f6589a4d182e7fb8035b1d6b1472edbafe3f7cf4e361550fdbea6487 WHIRLPOOL 92b640e4ab4dd706c570fe41ecb97ea5e20feb4acd0469addbe8955d769fdbc40e958c005d03e3625858509492b209da13b589aca33bf2433dab364533bfba86 -AUX iperf-fix-bandwidth-limit.patch 640 SHA256 d2ca83dc24affb54f6131ee2ca747103c6eed03c983485830e9f8a98efd57c40 SHA512 7a135fbfd45d3c75bc5a0833acf554e73b6d066ca110f7ce46222dc54bc784c986020a7be255e3b9c270925abe8315c51b40a56e42b52911d91e6c8cf935398c WHIRLPOOL c8d8a5ee353c318b3ea6967d28bbeccb1cd607030b067409e3fb7b0af3342a857931c646e40f59d499bd0588e3817569efcada39382ed150364769d3fa94bd87 -AUX iperf-fix-format-security-ftbfs.patch 3000 SHA256 dd94279fa0d20251731d2c09f6faff448ea63bfa92a862b89126b17f7d2d6798 SHA512 393c8845d38ee4813dcf95cbe719630c0ef7b26eea9a80d2635d30baaa08b31b3c79313caca23cb7f8f937012cf3e8e58b57073b9b180be523cd98c5638af3a2 WHIRLPOOL 3a47a9fcace83f76984d717c144d2849b71db78eaed93073a9df2825c023445f2adcd949adc52db1f8cdecfeb85544993d27bfc598149cf20078b5d0ae8f6974 -AUX iperf-ipv6_mcast_check.patch 1005 SHA256 2830abbf7e38a6532a3a9403a2ee68825f9227483f18e05e7c6ef66025f34c36 SHA512 300e2fb60fa5c5359cd12d4e688e2d22636123f25196db113ea57d30afb2034249706d588a2c6e6e4362c58185b60b15215409f0687a7195edec48093f2b0651 WHIRLPOOL 67bb59c232bed51fefd29bf33d113b458e9379ffc87614d0468ea50935248484450bac5377c53afd8f93082f2cfe1cc2029277a5fec271a60e3296e22be00e2f -AUX iperf.confd 207 SHA256 878c7d1c82c6c093f80a70af22f7e4de83dd5a1fc4b27c024783a006a39121b0 SHA512 9450d758315a836c75ef2e8d221407e4b0076b8a6cbc469efcaf23e7ac32e48d79ac601b57b03d042d791bfe63b2d82529e94a283125c398b10e784317f27bcc WHIRLPOOL 8669b397fb4637c94dddbab74084b6722bd7bc51767e4eb657f9d6239bc783e042f136e08e76f609bcca7228fa105c295205436f084ef846c71f8f66b3a614c3 -AUX iperf.initd-r1 444 SHA256 2588b8fb473fea4185c42603d5a3e3cbdfca1d840abe1cccac14961fa6adea83 SHA512 86e8279dabd8c35d55e4aa921aff172028303f0c4b80395252f133c6c5c447cfe96804ef1d3c82dd3170884a828b84b88cce2a41f6ba8fcff7a929e30ce325ad WHIRLPOOL 56be8d1d6af9253728101e683724f15b1bd3d3c2680e45d8fc4740c2d2b95512e0fc33e862a6f63a8c7361ea1e3e66cfd5ca80a81ad27337507bc93fcce5fd3c -AUX iperf3.initd 294 SHA256 8e4227d3a424e7477954d1d13730f3974bd23692153af22fb615aba1524d9c52 SHA512 f81ac435bc7a75ecd37738c5ffc62530b54d8536bf6c5c2ce44e93b268a1d4e22ed06d2aa262d385620c0c7bec2af728fedbbd380babe708ed1114b2de8f6eca WHIRLPOOL d162d9e8b2c48bff2d7abf178cf2da77a6fd5cd0352ab79032d9146d707bc5ee309fe375ac650301450ae4f7d48d15e8f07904c508dbd86e2df315cf65cb5169 -DIST iperf-2.0.5.tar.gz 248583 SHA256 636b4eff0431cea80667ea85a67ce4c68698760a9837e1e9d13096d20362265b SHA512 da9a0c01dea2a9dd33aa130b11d938d5f44dd6c3ab27526b0a43df5bf2550fede04238a00b7d54037426afe90ac6d8c4f4ae6861aa170ca7835b6664c9d6537f WHIRLPOOL d66b007fad372516c7f7377872b69ea450fa9ff6d1492f2a224a73f2fb3f7616bd2d57a34a815d4d95683d81fd02d76472d4727323e920410034ba725f6476ce -DIST iperf-3.0.11.tar.gz 426434 SHA256 c774b807ea4db20e07558c47951df186b6fb1dd0cdef4282c078853ad87cc712 SHA512 292b826099a1fc813f2fbe4506f8bd8b3b2e4dde04e33a097cce966d7502b3c521a29b9ba74e55fe38406fdb85090695f59febbf4ca31bb1ffc801b3b7615d19 WHIRLPOOL e16799997d7e3c0abe2e2a93bd559a69c0d3c96aab954cd9fb4be93cc8ce4f38c7a2ced034b1b03b2dc257bd5c82d202b4da528ee11f86ed99890fb02cad4b04 -DIST iperf-3.0.12.tar.gz 432822 SHA256 280ecdb1b29b8c2dcb502f91be1575ac9e86cc3be198b3a009d8561f5b1bec89 SHA512 7b013e890b27482959a0e60e211ec53f717b895600047f553b34394d36276ba4bf8bcb2344b0c0f9d63ac57d84c597ff6ef316246d5e19fed1cac50f75c7118f WHIRLPOOL 0765e3b2f37cfb9c8124b81dec7157ac6f457cd43511be4c391defc1142e62d5f4a17a9b048dfdb1aca71f3f1bb8db77d7193ab88a4808039c64c0424524d4f7 -DIST iperf-3.1.3.tar.gz 549466 SHA256 e34cf60cffc80aa1322d2c3a9b81e662c2576d2b03e53ddf1079615634e6f553 SHA512 67795d9d5b4fc719b3fbbc2683cbe2777412bb7212282a50a378f5bb3793c3c17e278d22816fd9d289b2606ce97624d496ba236e3686ce1a31b9f1d6e6f474e9 WHIRLPOOL 0082f5156df751cbed49e86f794a48ff05857cd7cd4ee3bdb57f4df763a323d84f47d9e0b01e0b5932ae1e065bcf8ac706e6b96b6ac5ecee2daad6615ca4f38d -EBUILD iperf-2.0.5-r2.ebuild 1028 SHA256 7bb3f01b6650087a1f5832832ecb07b28ed68a1c6b45d1ac8bab7b30037be351 SHA512 09897a7338c04b58e374e30857b94cdf1a1cd0c810ad8ac4ed11731d4941e5a1cee8389155b8fbc9ba20d16e7d0b34dedb064488d87e3f310339c062de7d67d8 WHIRLPOOL 4816dfe842d0fe8d4ef7202373e50aecaccf7706b5560697699f42f2b3c6d87595b1df46ac66ff5de3c7b042df292c4c292595b01f3635a200827effec79a459 -EBUILD iperf-3.0.11.ebuild 702 SHA256 8c83726528d823ba782d8036b7144be44f9dc6ef5362c938ae0c1f20eeeab9d0 SHA512 f834048a806671b0aea957d5f9bceeecd93e1d1de333d84e0b5d6f41f46c867c7e640a06b44aceed09c0ab11f9a76e9e16e0574793e203cd8b3c35e64bb74c39 WHIRLPOOL a0bbf608043e4e6de2b21165ec1649b3e3380dcda4d5ec9d757c6df1c658c2109c6b33018163522735cd38e944f64f4eccacbc32eeee7092d41174a40ad881f3 -EBUILD iperf-3.0.12.ebuild 704 SHA256 b6c25610e17e1a19d76875a062d04598a35842833361d75459791c3ebbaae732 SHA512 73ec87bef73c2912dafe2cec842896f3f0ae3ff8c86615f375b8abea13e1d0e431ebc5da1579a9c0e2dcde0660321d6907be94f9463e45b238599162931255b7 WHIRLPOOL 17d09d4ca69021a67948b1413e76b4bba9b34197569eb2fabf214924b45ba76b9a7d89899057a77da4380d3ffdba1012d08a800b2a0eb54269a592e1972d99e3 -EBUILD iperf-3.1.3.ebuild 910 SHA256 7ed68d64d24346b249d7afbc2c2583f22bd31751e62ef36c55fd1ed012acee90 SHA512 fd39f159bd46c558b66aa3655469e3324f2c437fbb39e9d8d274b9bb0441c6e89d063d810a4c7dd69076da0d92d3520da92bb43ad2bf284eb908ee0e3aab592f WHIRLPOOL 3f82081737d079ed796720a124451675cbc449da3e39e601029540a33a8f5eb42567846ddc3cbc807c2fb2be0dd849891a8b1681b629fd3fc81bc2c05e2c5641 -MISC ChangeLog 5053 SHA256 b0d8e18e1a669ca8f5c5af6e77b604344f0d4d19970a2d74c566ba61d4f32cbc SHA512 fe76f8b32402bfbba78baa7e00c7c9158932441d28abbd79ac032efefce96816b564cc6aa7f7479ebcca16aa45983e3b7794a5213985db45281b5894dc9ec244 WHIRLPOOL 33bd3d7591befe4bf937ec263411b6068ffb5b3ebbf7968be469cd667fbbb37e7f5961a8b3e6404f74c375621034dff7eab4ec8c48f1d58dfcc387ad4ff28290 -MISC ChangeLog-2015 9232 SHA256 a66a1c8b971ea90db0e055b706cd8af8778e04e0337297572baadd1b02c509ff SHA512 e04814dc84b7438914386bfc49f703993a6c447f3fbcfc3711d0c7e704c30274602028a4f07bb265181971c3bb374b26d07ca1f135d1db43c9c7c6f296754370 WHIRLPOOL a702b60e9c2a253890e5dd838050ade03b4ae212b85455e5352e3c3b8224cfce3b7a22e0430a80356a1b6641cec85a974456e3577cacca47376667f4bbcfeda7 -MISC metadata.xml 497 SHA256 856534126b9d4ec2efec378a35e8487e5f5db91024d877c5c1a33ed4ce0b7105 SHA512 6a21a8446768d04dd25cf7c9748b82c82f93ecf144886532d9885c0aace88a28ef46747e5a946832baab0d80672e1d9c3ac7d7aafc2c45fbd7355adc196b5bca WHIRLPOOL bd7a596fbf48858014b30d7a2be93c37381decb24d30b5697e168689e65dde4a973040e40f38ed6881fc335cfde90a59d9589692f0356777140676bd86b955a7 +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/sdk_container/src/third_party/portage-stable/net-misc/iperf/files/iperf-2.0.12-ipv6.patch b/sdk_container/src/third_party/portage-stable/net-misc/iperf/files/iperf-2.0.12-ipv6.patch new file mode 100644 index 0000000000..cd189f6210 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/net-misc/iperf/files/iperf-2.0.12-ipv6.patch @@ -0,0 +1,23 @@ +--- a/src/Listener.cpp ++++ b/src/Listener.cpp +@@ -670,6 +670,7 @@ + + // Now optimize packet flow up the raw socket + // Establish the flow BPF to forward up only "connected" packets to this raw socket ++#ifdef HAVE_IPV6 + if (l->sa_family == AF_INET6) { + struct in6_addr *v6peer = SockAddr_get_in6_addr(&server->peer); + struct in6_addr *v6local = SockAddr_get_in6_addr(&server->local); +@@ -682,9 +683,12 @@ + WARN_errno( rc == SOCKET_ERROR, "l2 v4in6 connect ip bpf"); + } + } else { ++#endif + rc = SockAddr_v4_Connect_BPF(server->mSock, ((struct sockaddr_in *)(l))->sin_addr.s_addr, ((struct sockaddr_in *)(p))->sin_addr.s_addr, ((struct sockaddr_in *)(l))->sin_port, ((struct sockaddr_in *)(p))->sin_port); + WARN_errno( rc == SOCKET_ERROR, "l2 connect ip bpf"); ++#ifdef HAVE_IPV6 + } ++#endif + if (rc < 0) + return -1; + else diff --git a/sdk_container/src/third_party/portage-stable/net-misc/iperf/files/iperf-2.0.14a.patch b/sdk_container/src/third_party/portage-stable/net-misc/iperf/files/iperf-2.0.14a.patch new file mode 100644 index 0000000000..07fbd0c96b --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/net-misc/iperf/files/iperf-2.0.14a.patch @@ -0,0 +1,132 @@ +commit 12254fa398e627949af923afd0d48cd9b814f0a0 +Author: rmcmahon +Date: Tue Jan 29 23:11:18 2019 -0800 + + new version 2.0.14a, fix for -P w/server and summing + +diff --git a/configure b/configure +index f1a9983..706e7a3 100755 +--- a/configure ++++ b/configure +@@ -1,6 +1,6 @@ + #! /bin/sh + # Guess values for system-dependent variables and create Makefiles. +-# Generated by GNU Autoconf 2.69 for Iperf 2.0.13. ++# Generated by GNU Autoconf 2.69 for Iperf 2.0.14a. + # + # + # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. +@@ -577,8 +577,8 @@ MAKEFLAGS= + # Identity of this package. + PACKAGE_NAME='Iperf' + PACKAGE_TARNAME='iperf' +-PACKAGE_VERSION='2.0.13' +-PACKAGE_STRING='Iperf 2.0.13' ++PACKAGE_VERSION='2.0.14a' ++PACKAGE_STRING='Iperf 2.0.14a' + PACKAGE_BUGREPORT='' + PACKAGE_URL='' + +@@ -1313,7 +1313,7 @@ if test "$ac_init_help" = "long"; then + # Omit some internal or obsolete options to make the list less imposing. + # This message is too long to be a string in the A/UX 3.1 sh. + cat <<_ACEOF +-\`configure' configures Iperf 2.0.13 to adapt to many kinds of systems. ++\`configure' configures Iperf 2.0.14a to adapt to many kinds of systems. + + Usage: $0 [OPTION]... [VAR=VALUE]... + +@@ -1383,7 +1383,7 @@ fi + + if test -n "$ac_init_help"; then + case $ac_init_help in +- short | recursive ) echo "Configuration of Iperf 2.0.13:";; ++ short | recursive ) echo "Configuration of Iperf 2.0.14a:";; + esac + cat <<\_ACEOF + +@@ -1493,7 +1493,7 @@ fi + test -n "$ac_init_help" && exit $ac_status + if $ac_init_version; then + cat <<\_ACEOF +-Iperf configure 2.0.13 ++Iperf configure 2.0.14a + generated by GNU Autoconf 2.69 + + Copyright (C) 2012 Free Software Foundation, Inc. +@@ -2236,7 +2236,7 @@ cat >config.log <<_ACEOF + This file contains any messages produced by compilers while + running configure, to aid debugging if configure makes a mistake. + +-It was created by Iperf $as_me 2.0.13, which was ++It was created by Iperf $as_me 2.0.14a, which was + generated by GNU Autoconf 2.69. Invocation command line was + + $ $0 $@ +@@ -3101,7 +3101,7 @@ fi + + # Define the identity of the package. + PACKAGE='iperf' +- VERSION='2.0.13' ++ VERSION='2.0.14a' + + + cat >>confdefs.h <<_ACEOF +@@ -8854,7 +8854,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 + # report actual input values of CONFIG_FILES etc. instead of their + # values after options handling. + ac_log=" +-This file was extended by Iperf $as_me 2.0.13, which was ++This file was extended by Iperf $as_me 2.0.14a, which was + generated by GNU Autoconf 2.69. Invocation command line was + + CONFIG_FILES = $CONFIG_FILES +@@ -8920,7 +8920,7 @@ _ACEOF + cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 + ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" + ac_cs_version="\\ +-Iperf config.status 2.0.13 ++Iperf config.status 2.0.14a + configured by $0, generated by GNU Autoconf 2.69, + with options \\"\$ac_cs_config\\" + +diff --git a/configure.ac b/configure.ac +index cd3c9a0..4c93328 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -5,7 +5,7 @@ dnl =================================================================== + + + AC_PREREQ(2.59) +-AC_INIT(Iperf,2.0.13) ++AC_INIT(Iperf,2.0.14a) + AC_CONFIG_HEADER([config.h]) + AM_INIT_AUTOMAKE() + +diff --git a/include/version.h b/include/version.h +index 87279a7..d6f9d89 100644 +--- a/include/version.h ++++ b/include/version.h +@@ -1,4 +1,4 @@ +-#define IPERF_VERSION "2.0.13" +-#define IPERF_VERSION_DATE "21 Jan 2019" ++#define IPERF_VERSION "2.0.14a" ++#define IPERF_VERSION_DATE "29 Jan 2019" + #define IPERF_VERSION_MAJORHEX 0x00020000 +-#define IPERF_VERSION_MINORHEX 0x000D0003 ++#define IPERF_VERSION_MINORHEX 0x000E0000 +diff --git a/src/Reporter.c b/src/Reporter.c +index 80891aa..d5164ef 100644 +--- a/src/Reporter.c ++++ b/src/Reporter.c +@@ -151,7 +151,9 @@ MultiHeader* InitMulti( thread_Settings *agent, int inID) { + memset( multihdr, 0, sizeof(MultiHeader) ); + Condition_Initialize( &multihdr->barrier ); + multihdr->groupID = inID; +- multihdr->threads = agent->mThreads; ++ if (agent->mThreadMode == kMode_Client) { ++ multihdr->threads = agent->mThreads; ++ } + if ( isMultipleReport( agent ) ) { + int i; + ReporterData *data = NULL; diff --git a/sdk_container/src/third_party/portage-stable/net-misc/iperf/files/iperf-3.0.5-flags.patch b/sdk_container/src/third_party/portage-stable/net-misc/iperf/files/iperf-3.0.5-flags.patch deleted file mode 100644 index 9c11c282c3..0000000000 --- a/sdk_container/src/third_party/portage-stable/net-misc/iperf/files/iperf-3.0.5-flags.patch +++ /dev/null @@ -1,31 +0,0 @@ -* Do not inject -g -* Do not make a profiled build - ---- a/src/Makefile.am -+++ b/src/Makefile.am -@@ -1,6 +1,6 @@ - lib_LTLIBRARIES = libiperf.la # Build and install an iperf library - bin_PROGRAMS = iperf3 # Build and install an iperf binary --noinst_PROGRAMS = t_timer t_units t_uuid iperf3_profile # Build, but don't install the test programs and a profiled version of iperf3 -+noinst_PROGRAMS = t_timer t_units t_uuid # Build, but don't install the test programs and a profiled version of iperf3 - include_HEADERS = iperf_api.h # Defines the headers that get installed with the program - - -@@ -37,14 +37,13 @@ - - # Specify the sources and various flags for the iperf binary - iperf3_SOURCES = main.c --iperf3_CFLAGS = -g -+iperf3_CFLAGS = - iperf3_LDADD = libiperf.la --iperf3_LDFLAGS = -g -+iperf3_LDFLAGS = - - # Specify the sources and various flags for the profiled iperf binary. This - # binary recompiles all the source files to make sure they are all profiled. --iperf3_profile_SOURCES = main.c \ -- $(libiperf_la_SOURCES) -+iperf3_profile_SOURCES = main.c - - iperf3_profile_CFLAGS = -pg -g - iperf3_profile_LDADD = libiperf.la diff --git a/sdk_container/src/third_party/portage-stable/net-misc/iperf/files/iperf-3.10.1-drop-forced-debugging-symbols.patch b/sdk_container/src/third_party/portage-stable/net-misc/iperf/files/iperf-3.10.1-drop-forced-debugging-symbols.patch new file mode 100644 index 0000000000..5ea5695754 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/net-misc/iperf/files/iperf-3.10.1-drop-forced-debugging-symbols.patch @@ -0,0 +1,148 @@ +https://bugs.gentoo.org/788973 + +From 456e9460f9320123c5449fd2314bc1b2a001547a Mon Sep 17 00:00:00 2001 +From: Sam James +Date: Fri, 2 Jul 2021 05:21:46 +0100 +Subject: [PATCH] Drop forced -g + +--- + examples/Makefile.am | 4 ---- + examples/Makefile.in | 4 ---- + src/Makefile.am | 11 ++--------- + src/Makefile.in | 11 ++--------- + 4 files changed, 4 insertions(+), 26 deletions(-) + +diff --git a/examples/Makefile.am b/examples/Makefile.am +index 829f242..aad0ae2 100644 +--- a/examples/Makefile.am ++++ b/examples/Makefile.am +@@ -3,11 +3,7 @@ noinst_PROGRAMS = mic mis # Build, but don't install + AM_CPPFLAGS = -I$(top_srcdir)/src + + mic_SOURCES = mic.c +-mic_CFLAGS = -g + mic_LDADD = ../src/libiperf.la +-mic_LDFLAGS = -g + + mis_SOURCES = mis.c +-mis_CFLAGS = -g + mis_LDADD = ../src/libiperf.la +-mis_LDFLAGS = -g +diff --git a/examples/Makefile.in b/examples/Makefile.in +index d74c3c8..089b45d 100644 +--- a/examples/Makefile.in ++++ b/examples/Makefile.in +@@ -304,13 +304,9 @@ top_builddir = @top_builddir@ + top_srcdir = @top_srcdir@ + AM_CPPFLAGS = -I$(top_srcdir)/src + mic_SOURCES = mic.c +-mic_CFLAGS = -g + mic_LDADD = ../src/libiperf.la +-mic_LDFLAGS = -g + mis_SOURCES = mis.c +-mis_CFLAGS = -g + mis_LDADD = ../src/libiperf.la +-mis_LDFLAGS = -g + all: all-am + + .SUFFIXES: +diff --git a/src/Makefile.am b/src/Makefile.am +index 11d3e17..190ff26 100644 +--- a/src/Makefile.am ++++ b/src/Makefile.am +@@ -47,9 +47,7 @@ libiperf_la_SOURCES = \ + + # Specify the sources and various flags for the iperf binary + iperf3_SOURCES = main.c +-iperf3_CFLAGS = -g + iperf3_LDADD = libiperf.la +-iperf3_LDFLAGS = -g + + if ENABLE_PROFILING + # If the iperf-profiled-binary is enabled +@@ -58,34 +56,29 @@ if ENABLE_PROFILING + iperf3_profile_SOURCES = main.c \ + $(libiperf_la_SOURCES) + +-iperf3_profile_CFLAGS = -pg -g ++iperf3_profile_CFLAGS = -pg + iperf3_profile_LDADD = libiperf.la +-iperf3_profile_LDFLAGS = -pg -g ++iperf3_profile_LDFLAGS = -pg + endif + + # Specify the sources and various flags for the test cases + t_timer_SOURCES = t_timer.c +-t_timer_CFLAGS = -g + t_timer_LDFLAGS = + t_timer_LDADD = libiperf.la + + t_units_SOURCES = t_units.c +-t_units_CFLAGS = -g + t_units_LDFLAGS = + t_units_LDADD = libiperf.la + + t_uuid_SOURCES = t_uuid.c +-t_uuid_CFLAGS = -g + t_uuid_LDFLAGS = + t_uuid_LDADD = libiperf.la + + t_api_SOURCES = t_api.c +-t_api_CFLAGS = -g + t_api_LDFLAGS = + t_api_LDADD = libiperf.la + + t_auth_SOURCES = t_auth.c +-t_auth_CFLAGS = -g + t_auth_LDFLAGS = + t_auth_LDADD = libiperf.la + +diff --git a/src/Makefile.in b/src/Makefile.in +index 34d92fa..2144ff7 100644 +--- a/src/Makefile.in ++++ b/src/Makefile.in +@@ -671,9 +671,7 @@ libiperf_la_SOURCES = \ + + # Specify the sources and various flags for the iperf binary + iperf3_SOURCES = main.c +-iperf3_CFLAGS = -g + iperf3_LDADD = libiperf.la +-iperf3_LDFLAGS = -g + + # If the iperf-profiled-binary is enabled + # Specify the sources and various flags for the profiled iperf binary. This +@@ -681,29 +679,24 @@ iperf3_LDFLAGS = -g + @ENABLE_PROFILING_TRUE@iperf3_profile_SOURCES = main.c \ + @ENABLE_PROFILING_TRUE@ $(libiperf_la_SOURCES) + +-@ENABLE_PROFILING_TRUE@iperf3_profile_CFLAGS = -pg -g ++@ENABLE_PROFILING_TRUE@iperf3_profile_CFLAGS = -pg + @ENABLE_PROFILING_TRUE@iperf3_profile_LDADD = libiperf.la +-@ENABLE_PROFILING_TRUE@iperf3_profile_LDFLAGS = -pg -g ++@ENABLE_PROFILING_TRUE@iperf3_profile_LDFLAGS = -pg + + # Specify the sources and various flags for the test cases + t_timer_SOURCES = t_timer.c +-t_timer_CFLAGS = -g + t_timer_LDFLAGS = + t_timer_LDADD = libiperf.la + t_units_SOURCES = t_units.c +-t_units_CFLAGS = -g + t_units_LDFLAGS = + t_units_LDADD = libiperf.la + t_uuid_SOURCES = t_uuid.c +-t_uuid_CFLAGS = -g + t_uuid_LDFLAGS = + t_uuid_LDADD = libiperf.la + t_api_SOURCES = t_api.c +-t_api_CFLAGS = -g + t_api_LDFLAGS = + t_api_LDADD = libiperf.la + t_auth_SOURCES = t_auth.c +-t_auth_CFLAGS = -g + t_auth_LDFLAGS = + t_auth_LDADD = libiperf.la + dist_man_MANS = iperf3.1 libiperf.3 +-- +2.32.0 + diff --git a/sdk_container/src/third_party/portage-stable/net-misc/iperf/files/iperf-bidirectional-tcp-server.patch b/sdk_container/src/third_party/portage-stable/net-misc/iperf/files/iperf-bidirectional-tcp-server.patch deleted file mode 100644 index 88a1a4f00c..0000000000 --- a/sdk_container/src/third_party/portage-stable/net-misc/iperf/files/iperf-bidirectional-tcp-server.patch +++ /dev/null @@ -1,23 +0,0 @@ -Description: Fix bidirectional TCP server exiting after the test - iperf bidirectional test using parameter -r or -d doesn't work as - expected, the server exits after the test, but it should continue listening - for new connections. -Author: Roberto Lumbreras -Bug-Redhat: https://bugzilla.redhat.com/show_bug.cgi?id=449796 -Forwarded: http://sourceforge.net/tracker/?func=detail&aid=1983829&group_id=128336&atid=711371 - ---- a/src/Client.cpp -+++ b/src/Client.cpp -@@ -212,10 +212,12 @@ void Client::Run( void ) { - char* readAt = mBuf; - - #if HAVE_THREAD -+ /* - if ( !isUDP( mSettings ) ) { - RunTCP(); - return; - } -+ */ - #endif - - // Indicates if the stream is readable diff --git a/sdk_container/src/third_party/portage-stable/net-misc/iperf/files/iperf-cast-to-max_size_t-instead-of-int.patch b/sdk_container/src/third_party/portage-stable/net-misc/iperf/files/iperf-cast-to-max_size_t-instead-of-int.patch deleted file mode 100644 index 34d37eef67..0000000000 --- a/sdk_container/src/third_party/portage-stable/net-misc/iperf/files/iperf-cast-to-max_size_t-instead-of-int.patch +++ /dev/null @@ -1,20 +0,0 @@ -Description: iperf does not handle right large time values - Reported by Eugene Butan - When I invoke 'iperf' with '-t 100000000' argument from an ordinary shell - prompt it immediately exits displaying incorrect bandwidth. If I supply - smaller time value, iperf works as expected. -Author: Roberto Lumbreras -Bug-Debian: http://bugs.debian.org/346099 -Forwarded: https://sourceforge.net/tracker/index.php?func=detail&aid=3140391&group_id=128336&atid=711371 - ---- a/src/Settings.cpp -+++ b/src/Settings.cpp -@@ -458,7 +458,7 @@ - case 't': // seconds to write for - // time mode (instead of amount mode) - setModeTime( mExtSettings ); -- mExtSettings->mAmount = (int) (atof( optarg ) * 100.0); -+ mExtSettings->mAmount = (max_size_t) (atof( optarg ) * 100.0); - break; - - case 'u': // UDP instead of TCP diff --git a/sdk_container/src/third_party/portage-stable/net-misc/iperf/files/iperf-die-on-bind-fail.patch b/sdk_container/src/third_party/portage-stable/net-misc/iperf/files/iperf-die-on-bind-fail.patch deleted file mode 100644 index 1f54cf556d..0000000000 --- a/sdk_container/src/third_party/portage-stable/net-misc/iperf/files/iperf-die-on-bind-fail.patch +++ /dev/null @@ -1,19 +0,0 @@ -Description: iperf die on bind fail - When iperf encounters a fatal error when binding to a port, such as - the port being already in use or lacking permission, it fails to give - fatal error, but instead pretends to continue to listen on the port. -Author: Deny IP Any Any -Bug-Debian: http://bugs.debian.org/517239 -Forwarded: https://sourceforge.net/tracker/?func=detail&aid=3140400&group_id=128336&atid=711371 - ---- a/src/Listener.cpp -+++ b/src/Listener.cpp -@@ -333,7 +333,7 @@ - #endif - { - rc = bind( mSettings->mSock, (sockaddr*) &mSettings->local, mSettings->size_local ); -- WARN_errno( rc == SOCKET_ERROR, "bind" ); -+ FAIL_errno( rc == SOCKET_ERROR, "bind", mSettings ); - } - // listen for connections (TCP only). - // default backlog traditionally 5 diff --git a/sdk_container/src/third_party/portage-stable/net-misc/iperf/files/iperf-fix-bandwidth-limit.patch b/sdk_container/src/third_party/portage-stable/net-misc/iperf/files/iperf-fix-bandwidth-limit.patch deleted file mode 100644 index eb9df8cd31..0000000000 --- a/sdk_container/src/third_party/portage-stable/net-misc/iperf/files/iperf-fix-bandwidth-limit.patch +++ /dev/null @@ -1,21 +0,0 @@ - -2011-10-14 Israel G. Lugo - -* Fix delay_loop() for delays of 1s and greater. Was causing breakage when a -low bandwidth limit was specified. - - ---- a/compat/delay.cpp -+++ b/compat/delay.cpp -@@ -63,8 +63,9 @@ void delay_loop(unsigned long usec) - { - struct timespec requested, remaining; - -- requested.tv_sec = 0; -- requested.tv_nsec = usec * 1000L; -+ /* convert to seconds; nanosleep requires 0 <= tv_nsec <= 999999999 */ -+ requested.tv_sec = usec / 1000000UL; -+ requested.tv_nsec = (usec % 1000000UL) * 1000UL; - - while (nanosleep(&requested, &remaining) == -1) - if (errno == EINTR) diff --git a/sdk_container/src/third_party/portage-stable/net-misc/iperf/files/iperf-fix-format-security-ftbfs.patch b/sdk_container/src/third_party/portage-stable/net-misc/iperf/files/iperf-fix-format-security-ftbfs.patch deleted file mode 100644 index 2f5b032772..0000000000 --- a/sdk_container/src/third_party/portage-stable/net-misc/iperf/files/iperf-fix-format-security-ftbfs.patch +++ /dev/null @@ -1,96 +0,0 @@ -Description: iperf format string FTBFS with -Werror=format-security - Reported by Didier Raboud -Author: Simon Paillard -Bug-Debian: http://bugs.debian.org/643408 - ---- a/compat/Thread.c -+++ b/compat/Thread.c -@@ -381,7 +381,7 @@ - Condition_Lock( thread_sNum_cond ); - thread_sNum -= nonterminating_num; - if ( thread_sNum > 1 && nonterminating_num > 0 && interrupt != 0 ) { -- fprintf( stderr, wait_server_threads ); -+ fprintf( stderr, "%s", wait_server_threads ); - } - nonterminating_num = 0; - Condition_Signal( &thread_sNum_cond ); ---- a/src/ReportDefault.c -+++ b/src/ReportDefault.c -@@ -78,7 +78,7 @@ - if ( stats->mUDP != (char)kMode_Server ) { - // TCP Reporting - if( !header_printed ) { -- printf( report_bw_header); -+ printf( "%s", report_bw_header); - header_printed = 1; - } - printf( report_bw_format, stats->transferID, -@@ -87,7 +87,7 @@ - } else { - // UDP Reporting - if( !header_printed ) { -- printf( report_bw_jitter_loss_header); -+ printf( "%s", report_bw_jitter_loss_header); - header_printed = 1; - } - printf( report_bw_jitter_loss_format, stats->transferID, -@@ -159,7 +159,7 @@ - (data->mThreadMode == kMode_Listener ? 0 : 1) ); - win_requested = data->mTCPWin; - -- printf( separator_line ); -+ printf( "%s", separator_line ); - if ( data->mThreadMode == kMode_Listener ) { - printf( server_port, - (isUDP( data ) ? "UDP" : "TCP"), -@@ -198,7 +198,7 @@ - printf( warn_window_requested, buffer ); - } - printf( "\n" ); -- printf( separator_line ); -+ printf( "%s", separator_line ); - } - - /* -@@ -286,7 +286,7 @@ - } else if ( checkMSS_MTU( inMSS, 576 ) ) { - net = "minimum"; - mtu = 576; -- printf( warn_no_pathmtu ); -+ printf( "%s", warn_no_pathmtu ); - } else { - mtu = inMSS + 40; - net = "unknown interface"; ---- a/src/Reporter.c -+++ b/src/Reporter.c -@@ -896,7 +896,7 @@ - } else if ( checkMSS_MTU( inMSS, 576 ) ) { - net = "minimum"; - mtu = 576; -- printf( warn_no_pathmtu ); -+ printf( "%s", warn_no_pathmtu ); - } else { - mtu = inMSS + 40; - net = "unknown interface"; ---- a/src/Settings.cpp -+++ b/src/Settings.cpp -@@ -375,8 +375,8 @@ - break; - - case 'h': // print help and exit -- fprintf(stderr, usage_long1); -- fprintf(stderr, usage_long2); -+ fprintf(stderr, "%s", usage_long1); -+ fprintf(stderr, "%s", usage_long2); - exit(1); - break; - -@@ -482,7 +482,7 @@ - break; - - case 'v': // print version and exit -- fprintf( stderr, version ); -+ fprintf( stderr, "%s", version ); - exit(1); - break; - diff --git a/sdk_container/src/third_party/portage-stable/net-misc/iperf/files/iperf-ipv6_mcast_check.patch b/sdk_container/src/third_party/portage-stable/net-misc/iperf/files/iperf-ipv6_mcast_check.patch deleted file mode 100644 index bef05259a4..0000000000 --- a/sdk_container/src/third_party/portage-stable/net-misc/iperf/files/iperf-ipv6_mcast_check.patch +++ /dev/null @@ -1,22 +0,0 @@ -Description: Fix improper check for IPv6 family when sending multicast - This patch fixes the proper behavior of -T (hop-limit setting) when - sending IPv6 multicast packets. Due to this bug, it was always fixed to 1. - . - SetSocketOptions() is called before socket connection, thus sa_family is - still set to 0. This is causing the if-branch in the multicast check - to always assume a non-IPv6 socket. - Checking the remote-peer family works reliably, instead. -Author: Luca Bruno -Last-Update: 2012-05-24 - ---- a/src/PerfSocket.cpp -+++ b/src/PerfSocket.cpp -@@ -109,7 +109,7 @@ void SetSocketOptions( thread_Settings * - if ( isMulticast( inSettings ) && ( inSettings->mTTL > 0 ) ) { - int val = inSettings->mTTL; - #ifdef HAVE_MULTICAST -- if ( !SockAddr_isIPv6( &inSettings->local ) ) { -+ if ( !SockAddr_isIPv6( &inSettings->peer ) ) { - int rc = setsockopt( inSettings->mSock, IPPROTO_IP, IP_MULTICAST_TTL, - (const void*) &val, (Socklen_t) sizeof(val)); - diff --git a/sdk_container/src/third_party/portage-stable/net-misc/iperf/files/iperf.confd b/sdk_container/src/third_party/portage-stable/net-misc/iperf/files/iperf.confd index 01bd473328..7d82492a30 100644 --- a/sdk_container/src/third_party/portage-stable/net-misc/iperf/files/iperf.confd +++ b/sdk_container/src/third_party/portage-stable/net-misc/iperf/files/iperf.confd @@ -1,6 +1,5 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Id$ # extra options (run iperf -h for a list of supported options) IPERF_OPTS="--format Mbytes" diff --git a/sdk_container/src/third_party/portage-stable/net-misc/iperf/files/iperf.initd-r1 b/sdk_container/src/third_party/portage-stable/net-misc/iperf/files/iperf.initd-r1 index e7d13ff3bf..cd17a7b47e 100644 --- a/sdk_container/src/third_party/portage-stable/net-misc/iperf/files/iperf.initd-r1 +++ b/sdk_container/src/third_party/portage-stable/net-misc/iperf/files/iperf.initd-r1 @@ -1,7 +1,6 @@ #!/sbin/openrc-run # Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Id$ description="IP bandwidth measurement server" command="/usr/bin/iperf" diff --git a/sdk_container/src/third_party/portage-stable/net-misc/iperf/files/iperf3.initd b/sdk_container/src/third_party/portage-stable/net-misc/iperf/files/iperf3.initd index bb79f15b2a..281ebf5ae2 100644 --- a/sdk_container/src/third_party/portage-stable/net-misc/iperf/files/iperf3.initd +++ b/sdk_container/src/third_party/portage-stable/net-misc/iperf/files/iperf3.initd @@ -1,7 +1,6 @@ #!/sbin/openrc-run # Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Id$ description="IP bandwidth measurement server" command="/usr/bin/iperf3" diff --git a/sdk_container/src/third_party/portage-stable/net-misc/iperf/iperf-2.0.14a.ebuild b/sdk_container/src/third_party/portage-stable/net-misc/iperf/iperf-2.0.14a.ebuild new file mode 100644 index 0000000000..1f6705f71e --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/net-misc/iperf/iperf-2.0.14a.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit toolchain-funcs + +DESCRIPTION="Tool to measure IP bandwidth using UDP or TCP" +HOMEPAGE="https://sourceforge.net/projects/iperf2/" +SRC_URI="mirror://sourceforge/${PN}2/${PN}-2.0.13.tar.gz" +S="${WORKDIR}/${PN}-2.0.13" + +LICENSE="HPND" +SLOT="2" +KEYWORDS="amd64 ~arm ~hppa ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos" +IUSE="ipv6 threads debug" + +DOCS=( INSTALL README ) + +PATCHES=( + "${FILESDIR}"/${PN}-2.0.12-ipv6.patch + "${FILESDIR}"/${P}.patch +) + +src_configure() { + econf \ + $(use_enable debug debuginfo) \ + $(use_enable ipv6) \ + $(use_enable threads) +} + +src_compile() { + emake AR="$(tc-getAR)" +} + +src_install() { + default + + dodoc doc/* + newinitd "${FILESDIR}"/${PN}.initd-r1 ${PN} + newconfd "${FILESDIR}"/${PN}.confd ${PN} +} diff --git a/sdk_container/src/third_party/portage-stable/net-misc/iperf/iperf-2.0.5-r2.ebuild b/sdk_container/src/third_party/portage-stable/net-misc/iperf/iperf-2.0.5-r2.ebuild deleted file mode 100644 index dc081c8d11..0000000000 --- a/sdk_container/src/third_party/portage-stable/net-misc/iperf/iperf-2.0.5-r2.ebuild +++ /dev/null @@ -1,38 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -DESCRIPTION="Tool to measure IP bandwidth using UDP or TCP" -HOMEPAGE="http://iperf.sourceforge.net/" -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" - -LICENSE="HPND" -SLOT="2" -KEYWORDS="amd64 ~arm hppa ppc ppc64 sparc x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~m68k-mint" -IUSE="ipv6 threads debug" - -PATCHES=( - "${FILESDIR}"/${PN}-fix-bandwidth-limit.patch - "${FILESDIR}"/${PN}-cast-to-max_size_t-instead-of-int.patch - "${FILESDIR}"/${PN}-die-on-bind-fail.patch - "${FILESDIR}"/${PN}-bidirectional-tcp-server.patch - "${FILESDIR}"/${PN}-fix-format-security-ftbfs.patch - "${FILESDIR}"/${PN}-ipv6_mcast_check.patch - ) -DOCS="INSTALL README" - -src_configure() { - econf \ - $(use_enable ipv6) \ - $(use_enable threads) \ - $(use_enable debug debuginfo) -} - -src_install() { - default - dohtml doc/* - newinitd "${FILESDIR}"/${PN}.initd-r1 ${PN} - newconfd "${FILESDIR}"/${PN}.confd ${PN} -} diff --git a/sdk_container/src/third_party/portage-stable/net-misc/iperf/iperf-2.99999.99999.ebuild b/sdk_container/src/third_party/portage-stable/net-misc/iperf/iperf-2.99999.99999.ebuild new file mode 100644 index 0000000000..6c9197a333 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/net-misc/iperf/iperf-2.99999.99999.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit git-r3 toolchain-funcs + +DESCRIPTION="Tool to measure IP bandwidth using UDP or TCP" +HOMEPAGE="https://sourceforge.net/projects/iperf2/" +EGIT_REPO_URI="https://git.code.sf.net/p/iperf2/code" + +LICENSE="HPND" +SLOT="2" +IUSE="ipv6 threads debug" + +DOCS=( INSTALL README ) + +src_configure() { + econf \ + $(use_enable debug debuginfo) \ + $(use_enable ipv6) \ + $(use_enable threads) +} + +src_compile() { + emake AR="$(tc-getAR)" +} + +src_install() { + default + + dodoc doc/* + newinitd "${FILESDIR}"/${PN}.initd-r1 ${PN} + newconfd "${FILESDIR}"/${PN}.confd ${PN} +} diff --git a/sdk_container/src/third_party/portage-stable/net-misc/iperf/iperf-3.0.11.ebuild b/sdk_container/src/third_party/portage-stable/net-misc/iperf/iperf-3.0.11.ebuild deleted file mode 100644 index 4291b3a31d..0000000000 --- a/sdk_container/src/third_party/portage-stable/net-misc/iperf/iperf-3.0.11.ebuild +++ /dev/null @@ -1,28 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 -inherit autotools eutils - -DESCRIPTION="A TCP, UDP, and SCTP network bandwidth measurement tool" -LICENSE="BSD" -SLOT="3" -HOMEPAGE="https://github.com/esnet/iperf/" -SRC_URI="https://codeload.github.com/esnet/${PN}/tar.gz/${PV} -> ${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" - -src_prepare() { - epatch "${FILESDIR}"/${PN}-3.0.5-flags.patch - eautoreconf -} - -src_configure() { - econf $(use_enable static-libs static) -} - -src_install() { - default - prune_libtool_files -} diff --git a/sdk_container/src/third_party/portage-stable/net-misc/iperf/iperf-3.0.12.ebuild b/sdk_container/src/third_party/portage-stable/net-misc/iperf/iperf-3.0.12.ebuild deleted file mode 100644 index 753bd91034..0000000000 --- a/sdk_container/src/third_party/portage-stable/net-misc/iperf/iperf-3.0.12.ebuild +++ /dev/null @@ -1,28 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 -inherit autotools eutils - -DESCRIPTION="A TCP, UDP, and SCTP network bandwidth measurement tool" -LICENSE="BSD" -SLOT="3" -HOMEPAGE="https://github.com/esnet/iperf/" -SRC_URI="https://codeload.github.com/esnet/${PN}/tar.gz/${PV} -> ${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" - -src_prepare() { - epatch "${FILESDIR}"/${PN}-3.0.5-flags.patch - eautoreconf -} - -src_configure() { - econf $(use_enable static-libs static) -} - -src_install() { - default - prune_libtool_files -} diff --git a/sdk_container/src/third_party/portage-stable/net-misc/iperf/iperf-3.1.3.ebuild b/sdk_container/src/third_party/portage-stable/net-misc/iperf/iperf-3.1.3.ebuild deleted file mode 100644 index 67636123ec..0000000000 --- a/sdk_container/src/third_party/portage-stable/net-misc/iperf/iperf-3.1.3.ebuild +++ /dev/null @@ -1,38 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=6 -inherit autotools eutils - -DESCRIPTION="A TCP, UDP, and SCTP network bandwidth measurement tool" -LICENSE="BSD" -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 sctp" - -DEPEND="sctp? ( net-misc/lksctp-tools )" -RDEPEND="$DEPEND" - -S=${WORKDIR}/${P/_beta/b} - -src_prepare() { - epatch "${FILESDIR}"/${PN}-3.0.5-flags.patch - - eapply_user - - eautoreconf -} - -src_configure() { - econf $(use_enable static-libs static) -} - -src_install() { - default - newconfd "${FILESDIR}"/iperf.confd iperf3 - newinitd "${FILESDIR}"/iperf3.initd iperf3 - prune_libtool_files -} diff --git a/sdk_container/src/third_party/portage-stable/net-misc/iperf/iperf-3.10.1.ebuild b/sdk_container/src/third_party/portage-stable/net-misc/iperf/iperf-3.10.1.ebuild new file mode 100644 index 0000000000..d16bea61f8 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/net-misc/iperf/iperf-3.10.1.ebuild @@ -0,0 +1,44 @@ +# 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 ) + +PATCHES=( + "${FILESDIR}"/${PN}-3.10.1-drop-forced-debugging-symbols.patch +) + +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 +} diff --git a/sdk_container/src/third_party/portage-stable/net-misc/iperf/iperf-3.11.ebuild b/sdk_container/src/third_party/portage-stable/net-misc/iperf/iperf-3.11.ebuild new file mode 100644 index 0000000000..ed73b8b11f --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/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 +} diff --git a/sdk_container/src/third_party/portage-stable/net-misc/iperf/iperf-3.99999.99999.ebuild b/sdk_container/src/third_party/portage-stable/net-misc/iperf/iperf-3.99999.99999.ebuild new file mode 100644 index 0000000000..fcfe1f4f75 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/net-misc/iperf/iperf-3.99999.99999.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit git-r3 + +DESCRIPTION="A TCP, UDP, and SCTP network bandwidth measurement tool" +HOMEPAGE="https://github.com/esnet/iperf" +EGIT_REPO_URI="https://github.com/esnet/iperf" +S="${WORKDIR}/${P/_/}" + +LICENSE="BSD" +SLOT="3" +IUSE="sctp static-libs" + +DEPEND=" + dev-libs/openssl:0= + sctp? ( net-misc/lksctp-tools ) +" +RDEPEND="${DEPEND}" + +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 +} diff --git a/sdk_container/src/third_party/portage-stable/net-misc/iperf/metadata.xml b/sdk_container/src/third_party/portage-stable/net-misc/iperf/metadata.xml index dcefadcaa9..e966dec4de 100644 --- a/sdk_container/src/third_party/portage-stable/net-misc/iperf/metadata.xml +++ b/sdk_container/src/third_party/portage-stable/net-misc/iperf/metadata.xml @@ -1,14 +1,16 @@ - + - - Support for Stream Control Transmission Protocol - + + sam@gentoo.org + Sam James + netmon@gentoo.org Gentoo network monitoring and analysis project + cpe:/a:iperf_project:iperf esnet/iperf iperf