On Fri, Sep 15, 2017 at 3:58 PM, Benoît Canet <
benoit.canet.cont...@gmail.com> wrote:

> This one does compile on recent host.
>

Three weeks ago Justin noticed the same problem, and we fixed this by a
trivial fix to iperf's autoconf (commit
fd93d5b996720e60e617e894dccb028ef89e8ccb in apps.git).
If I remember correctly, at the time Justin also mentioned a possibility of
using a different version of iperf, but he mentioned (again, IIRC) that the
different versions are actually different forks and it's not clear what's
actually newer or better...

Since I'm not at all an iperf expert, can you please confirm whether the
different site you used is the new official home or new popular fork, or
something, of iperf? If it is, I can commit your patch even though the
compilation was already fixed (who knows what else this 2.0.9 version
improves). But please do check. Thanks.


>
> Signed-off-by: Benoît Canet <ben...@scylladb.com>
> ---
>  iperf/Makefile | 6 +++---
>  iperf/so.patch | 9 ++++-----
>  2 files changed, 7 insertions(+), 8 deletions(-)
>
> diff --git a/iperf/Makefile b/iperf/Makefile
> index 6a79af1..a18ee36 100644
> --- a/iperf/Makefile
> +++ b/iperf/Makefile
> @@ -5,9 +5,9 @@
>  # BSD license as described in the LICENSE file in the top-level directory.
>  #
>
> -iperfv = iperf-2.0.5
> -tarball = $(iperfv).tar.gz
> -url = http://sourceforge.net/projects/iperf/files/$(tarball)/download
> +iperfv = iperf-2.0.9
> +tarball = $(iperfv)-source.tar.gz
> +url = https://iperf.fr/download/source/$(tarball)
>
>  module: iperf
>
> diff --git a/iperf/so.patch b/iperf/so.patch
> index b49f90f..115a547 100644
> --- a/iperf/so.patch
> +++ b/iperf/so.patch
> @@ -1,7 +1,7 @@
> -diff -ur iperf-2.0.5.orig/src/Makefile.in iperf-2.0.5/src/Makefile.in
> ---- iperf-2.0.5.orig/src/Makefile.in   2014-02-06 15:14:55.013564388
> +0200
> -+++ iperf-2.0.5/src/Makefile.in        2014-02-06 15:19:17.260466699 +0200
> -@@ -193,7 +193,7 @@
> +diff -urN iperf-2.0.9.origin/src/Makefile.in iperf-2.0.9/src/Makefile.in
> +--- iperf-2.0.9.origin/src/Makefile.in 2016-06-06 20:48:21.000000000
> +0200
> ++++ iperf-2.0.9/src/Makefile.in        2017-09-15 14:52:41.141540824 +0200
> +@@ -300,7 +300,7 @@
>
>   AM_CXXFLAGS = -Wall
>   AM_CFLAGS = -Wall
> @@ -10,4 +10,3 @@ diff -ur iperf-2.0.5.orig/src/Makefile.in
> iperf-2.0.5/src/Makefile.in
>   iperf_SOURCES = \
>                 Client.cpp \
>                 Extractor.c \
> -Only in iperf-2.0.5/src: Makefile.in~
> --
> 2.13.5
>
> --
> You received this message because you are subscribed to the Google Groups
> "OSv Development" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to osv-dev+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups "OSv 
Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to osv-dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to