diff options
author | Jeroen Roovers <jer@gentoo.org> | 2019-04-29 11:29:43 +0200 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2019-04-29 11:30:41 +0200 |
commit | 1667ae22ab8e5b448221866c95cc7b60a8534cf3 (patch) | |
tree | 6d87b7fad54c3f6554b60489fa6820f022530fd5 | |
parent | arm/package.use.mask: Masked dev-util/geany-plugins[markdown] (diff) | |
download | gentoo-1667ae22ab8e5b448221866c95cc7b60a8534cf3.tar.gz gentoo-1667ae22ab8e5b448221866c95cc7b60a8534cf3.tar.bz2 gentoo-1667ae22ab8e5b448221866c95cc7b60a8534cf3.zip |
net-misc/iperf: Version 2.0.14a
Package-Manager: Portage-2.3.65, Repoman-2.3.12
Signed-off-by: Jeroen Roovers <jer@gentoo.org>
-rw-r--r-- | net-misc/iperf/files/iperf-2.0.14a.patch | 132 | ||||
-rw-r--r-- | net-misc/iperf/iperf-2.0.14a.ebuild | 34 | ||||
-rw-r--r-- | net-misc/iperf/iperf-2.99999.99999.ebuild | 4 |
3 files changed, 168 insertions, 2 deletions
diff --git a/net-misc/iperf/files/iperf-2.0.14a.patch b/net-misc/iperf/files/iperf-2.0.14a.patch new file mode 100644 index 000000000000..07fbd0c96b84 --- /dev/null +++ b/net-misc/iperf/files/iperf-2.0.14a.patch @@ -0,0 +1,132 @@ +commit 12254fa398e627949af923afd0d48cd9b814f0a0 +Author: rmcmahon <bob.mcmahon@broadcom.com> +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/net-misc/iperf/iperf-2.0.14a.ebuild b/net-misc/iperf/iperf-2.0.14a.ebuild new file mode 100644 index 000000000000..b680ce3d38bb --- /dev/null +++ b/net-misc/iperf/iperf-2.0.14a.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="Tool to measure IP bandwidth using UDP or TCP" +HOMEPAGE="http://iperf2.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}2/${PN}-2.0.13.tar.gz" + +LICENSE="HPND" +SLOT="2" +KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~m68k-mint" +IUSE="ipv6 threads debug" + +DOCS="INSTALL README" +PATCHES=( + "${FILESDIR}"/${PN}-2.0.12-ipv6.patch + "${FILESDIR}"/${P}.patch +) +S=${WORKDIR}/${PN}-2.0.13 + +src_configure() { + econf \ + $(use_enable debug debuginfo) \ + $(use_enable ipv6) \ + $(use_enable threads) +} + +src_install() { + default + dodoc doc/* + newinitd "${FILESDIR}"/${PN}.initd-r1 ${PN} + newconfd "${FILESDIR}"/${PN}.confd ${PN} +} diff --git a/net-misc/iperf/iperf-2.99999.99999.ebuild b/net-misc/iperf/iperf-2.99999.99999.ebuild index ee2ce2958181..99746d3f101f 100644 --- a/net-misc/iperf/iperf-2.99999.99999.ebuild +++ b/net-misc/iperf/iperf-2.99999.99999.ebuild @@ -1,7 +1,7 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=7 inherit git-r3 DESCRIPTION="Tool to measure IP bandwidth using UDP or TCP" |