]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
iperf3: Update to version 3.9
authorAdolf Belka <ahb.ipfire@gmail.com>
Sun, 27 Dec 2020 18:59:29 +0000 (19:59 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Mon, 28 Dec 2020 13:15:27 +0000 (13:15 +0000)
- Update iperf3 from 3.7 to 3.9
- No changes to rootfiles
- Update patch file to remove pg flag
- Release notes from version 3.8 onwards:-

iperf 3.9 2020-08-17
--------------------
* Notable user-visible changes
  * A --timestamps flag has been added, which prepends a timestamp to
    each output line.  An optional argument to this flag, which is a
    format specification to strftime(3), allows for custom timestamp
    formats (#909, #1028).
  * A --server-bitrate-limit flag has been added as a server-side
    command-line argument.  It allows a server to enforce a maximum
    throughput rate; client connections that specify a higher bitrate
    or exceed this bitrate during a test will be terminated.  The
    bitrate is expressed in bits per second, with an optional trailing
    slash and integer count that specifies an averaging interval over
    which to enforce the limit (#999).
  * A bug that caused increased CPU usage with the --bidir option has
    been fixed (#1011).
* Notable developer-visible changes
  * Fixed various minor memory leaks (#1023).

iperf 3.8.1 2020-06-10
----------------------
* Notable user-visible changes
  * A regression with "make install", where the libiperf shared
    library files were not getting installed, has been fixed (#1013 /
    #1014).

iperf 3.8 2020-06-08
--------------------
* Notable user-visible changes
  * Profiled libraries and binaries are no longer built by default
    (#950).
  * A minimal Dockerfile has been added (#824).
  * A bug with burst mode and unlimited rate has been fixed (#898).
  * Configuring with the --enable-static-bin flag will now cause
    a statically-linked iperf3 binary to be built (#989).
  * Configuring with the --without-sctp flag will now prevent SCTP
    from being auto-detected (#1008).  This flag allows building a
    static binary (see above item) on a CentOS system with SCTP
    installed, because no static SCTP libraries are available.
  * Clock skew between the iperf3 client and server will no longer
    skew the computation of jitter during UDP tests (#842 / #990).
  * A possible buffer overflow in the authentication feature has been
    fixed.  This was only relevant when configuration authentication
    using the libiperf3 API, and did not affect command-line usage.
    Various other improvements and fixes in this area were also made
    (#996).
* Notable developer-visible changes
  * The embedded version of cJSON has been updated to 1.7.13 (#978).
  * Some server authentication functions have been added to the API
    (#911).
  * API access has been added to the connection timeout parameter
    (#1001).
  * Tests for some authentication functions have been added.
  * Various compiler errors and warnings have been fixed.

Signed-off-by: Adolf Belka <ahb.ipfire@gmail.com>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
lfs/iperf3
src/patches/iperf3/iperf-3.9-remove-pg-flag.patch [moved from src/patches/iperf3/iperf-3.7-remove-pg-flag.patch with 68% similarity]

index 69b1ed14a344714cbad71e7bb859647e499d7e50..96b1e264d1292f8a7dde892b071656ae683c05e4 100644 (file)
@@ -24,7 +24,7 @@
 
 include Config
 
-VER        = 3.7
+VER        = 3.9
 
 THISAPP    = iperf-$(VER)
 DL_FILE    = $(THISAPP).tar.gz
@@ -32,7 +32,7 @@ DL_FROM    = $(URL_IPFIRE)
 DIR_APP    = $(DIR_SRC)/$(THISAPP)
 TARGET     = $(DIR_INFO)/$(THISAPP)
 PROG       = iperf3
-PAK_VER    = 2
+PAK_VER    = 3
 
 DEPS       =
 
@@ -44,7 +44,7 @@ objects = $(DL_FILE)
 
 $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
 
-$(DL_FILE)_MD5 = 9534aae7430791b46d8cb8fc44afb6f8
+$(DL_FILE)_MD5 = 510fdb0943e88da5e0063f4599fa14f3
 
 install : $(TARGET)
 check : $(patsubst %,$(DIR_CHK)/%,$(objects))
@@ -76,7 +76,7 @@ $(subst %,%_MD5,$(objects)) :
 $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @$(PREBUILD)
        @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
-       cd $(DIR_APP) && patch -Np1 -i $(DIR_SRC)/src/patches/iperf3/iperf-3.7-remove-pg-flag.patch
+       cd $(DIR_APP) && patch -Np1 -i $(DIR_SRC)/src/patches/iperf3/iperf-3.9-remove-pg-flag.patch
        cd $(DIR_APP) && ./configure --prefix=/usr
        cd $(DIR_APP) && make $(MAKETUNING) $(EXTRA_MAKE)
        cd $(DIR_APP) && make install
similarity index 68%
rename from src/patches/iperf3/iperf-3.7-remove-pg-flag.patch
rename to src/patches/iperf3/iperf-3.9-remove-pg-flag.patch
index 1dae2c21186918ff95a62a623b4177d10524c6db..e5fafe4afa541891c13de328f27b87ea027bee29 100644 (file)
@@ -1,6 +1,6 @@
-diff -Naur iperf-3.7.org/src/Makefile.am iperf-3.7/src/Makefile.am
---- iperf-3.7.org/src/Makefile.am      2019-06-21 03:12:47.000000000 +0200
-+++ iperf-3.7/src/Makefile.am  2019-07-17 12:19:38.133540594 +0200
+diff -Naur iperf-3.9.org/src/Makefile.am iperf-3.9/src/Makefile.am
+--- iperf-3.9.org/src/Makefile.am      2020-08-15 00:08:27.000000000 +0200
++++ iperf-3.9/src/Makefile.am  2020-12-22 22:16:14.488228000 +0100
 @@ -58,9 +58,9 @@
  iperf3_profile_SOURCES  = main.c \
                            $(libiperf_la_SOURCES)
@@ -13,10 +13,10 @@ diff -Naur iperf-3.7.org/src/Makefile.am iperf-3.7/src/Makefile.am
  endif
  
  # Specify the sources and various flags for the test cases
-diff -Naur iperf-3.7.org/src/Makefile.in iperf-3.7/src/Makefile.in
---- iperf-3.7.org/src/Makefile.in      2019-06-21 03:12:47.000000000 +0200
-+++ iperf-3.7/src/Makefile.in  2019-07-17 12:19:53.133496336 +0200
-@@ -670,9 +670,9 @@
+diff -Naur iperf-3.9.org/src/Makefile.in iperf-3.9/src/Makefile.in
+--- iperf-3.9.org/src/Makefile.in      2020-08-15 00:08:27.000000000 +0200
++++ iperf-3.9/src/Makefile.in  2020-12-22 22:16:41.934746000 +0100
+@@ -680,9 +680,9 @@
  @ENABLE_PROFILING_TRUE@iperf3_profile_SOURCES = main.c \
  @ENABLE_PROFILING_TRUE@                          $(libiperf_la_SOURCES)