Skip to contentSkip to conversation

iperf3: Upgrade 3.18 -> 3.20

PATCH New [email protected] 1 participant 2 messages Nov 17, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 iperf3: Upgrade 3.18 -> 3.20

From: Randy MacLeod <[email protected]>

Change summary from:
https://software.es.net/iperf/news.html#iperf-3-19-released
and RELNOTES links:

iperf-3.20 fixes a number of bugs and also adds some minor enhancements.
https://github.com/esnet/iperf/blob/master/RELNOTES.md#iperf-320-2025-11-14

iperf-3.19.1 is a security fix release to address three issues reported by Han Lee of Apple Information Security.
https://github.com/esnet/iperf/blob/master/RELNOTES.md#iperf-3191-2025-07-25

iperf-3.19 includes support for MP-TCPv1 under Linux, keepalives on the control connection, support for the MSG_TRUNC receive option, and a number of minor bug fixes.
https://github.com/esnet/iperf/blob/master/RELNOTES.md#iperf-319-2025-05-16

Drop 2 CVE patches that were backports.
Drop 0001-configure.ac-check-for-CPP-prog.patch
which is merged in:
https://github.com/esnet/iperf/commit/beadb59b90e8

License-Update: The only changes were:
❯ git log --oneline 3.18..3.20 LICENSE
9f6dc21 Copyright updates for 2025.
edf5c75 Fix typo in LICENSE

---
 .../iperf3/0001-fix-build-with-gcc-15.patch   | 66 ---------------
 .../iperf3/iperf3/CVE-2025-54349.patch        | 80 -------------------
 .../iperf3/iperf3/CVE-2025-54350.patch        | 24 ------
 .../iperf3/{iperf3_3.18.bb => iperf3_3.20.bb} |  7 +-
 4 files changed, 2 insertions(+), 175 deletions(-)
 delete mode 100644 meta-oe/recipes-benchmark/iperf3/iperf3/0001-fix-build-with-gcc-15.patch
 delete mode 100644 meta-oe/recipes-benchmark/iperf3/iperf3/CVE-2025-54349.patch
 delete mode 100644 meta-oe/recipes-benchmark/iperf3/iperf3/CVE-2025-54350.patch
 rename meta-oe/recipes-benchmark/iperf3/{iperf3_3.18.bb => iperf3_3.20.bb} (79%)
meta-oe/recipes-benchmark/iperf3/iperf3/0001-fix-build-with-gcc-15.patch deleted +0 -66
deleted file mode 100644
index d3f3e712c9..0000000000
@@ -1,66 +0,0 @@
-From a46630d4e373e9a3ef974c1b67767f6816c66572 Mon Sep 17 00:00:00 2001
-From: Rudi Heitbaum <[email protected]>
-Date: Mon, 9 Dec 2024 10:13:02 +0000
-Subject: [PATCH] fix build with gcc-15
-
-Upstream-Status: Submitted [https://github.com/esnet/iperf/pull/1805]
-
-Signed-off-by: Martin Jansa <[email protected]>
----
- src/iperf_api.c | 8 ++++----
- src/iperf_api.h | 8 ++++----
- 2 files changed, 8 insertions(+), 8 deletions(-)
-
-diff --git a/src/iperf_api.c b/src/iperf_api.c
-index 7fb741e..4bb5b2f 100644
---- a/src/iperf_api.c
-+++ b/src/iperf_api.c
-@@ -599,25 +599,25 @@ iperf_set_mapped_v4(struct iperf_test *ipt, const int val)
- }
- 
- void 
--iperf_set_on_new_stream_callback(struct iperf_test* ipt, void (*callback)())
-+iperf_set_on_new_stream_callback(struct iperf_test* ipt, void (*callback)(struct iperf_stream *))
- {
-         ipt->on_new_stream = callback;
- }
- 
- void 
--iperf_set_on_test_start_callback(struct iperf_test* ipt, void (*callback)())
-+iperf_set_on_test_start_callback(struct iperf_test* ipt, void (*callback)(struct iperf_test *))
- {
-         ipt->on_test_start = callback;
- }
- 
- void 
--iperf_set_on_test_connect_callback(struct iperf_test* ipt, void (*callback)())
-+iperf_set_on_test_connect_callback(struct iperf_test* ipt, void (*callback)(struct iperf_test *))
- {
-         ipt->on_connect = callback;
- }
- 
- void 
--iperf_set_on_test_finish_callback(struct iperf_test* ipt, void (*callback)())
-+iperf_set_on_test_finish_callback(struct iperf_test* ipt, void (*callback)(struct iperf_test *))
- {
-         ipt->on_test_finish = callback;
- }
-diff --git a/src/iperf_api.h b/src/iperf_api.h
-index 1313142..df10c38 100644
---- a/src/iperf_api.h
-+++ b/src/iperf_api.h
-@@ -213,10 +213,10 @@ void    iperf_set_dont_fragment( struct iperf_test* ipt, int dont_fragment );
- void    iperf_set_test_congestion_control(struct iperf_test* ipt, char* cc);
- void    iperf_set_test_mss(struct iperf_test* ipt, int mss);
- void    iperf_set_mapped_v4(struct iperf_test* ipt, const int val);
--void    iperf_set_on_new_stream_callback(struct iperf_test* ipt, void (*callback)());
--void    iperf_set_on_test_start_callback(struct iperf_test* ipt, void (*callback)());
--void    iperf_set_on_test_connect_callback(struct iperf_test* ipt, void (*callback)());
--void    iperf_set_on_test_finish_callback(struct iperf_test* ipt, void (*callback)());
-+void    iperf_set_on_new_stream_callback(struct iperf_test* ipt, void (*callback)(struct iperf_stream *));
-+void    iperf_set_on_test_start_callback(struct iperf_test* ipt, void (*callback)(struct iperf_test *));
-+void    iperf_set_on_test_connect_callback(struct iperf_test* ipt, void (*callback)(struct iperf_test *));
-+void    iperf_set_on_test_finish_callback(struct iperf_test* ipt, void (*callback)(struct iperf_test *));
- 
- #if defined(HAVE_SSL)
- void    iperf_set_test_client_username(struct iperf_test *ipt, const char *client_username);
meta-oe/recipes-benchmark/iperf3/iperf3/CVE-2025-54349.patch deleted +0 -80

80 lines not on this page · raw message

meta-oe/recipes-benchmark/iperf3/iperf3/CVE-2025-54350.patch deleted +0 -24
deleted file mode 100644
index 12ca38b830..0000000000
@@ -1,24 +0,0 @@
-Subject: [PATCH] iperf3: Fix CVE-2025-54350
-CVE: CVE-2025-54350
-Upstream-Status: Backport [https://github.com/esnet/iperf/commit/4eab661da0bbaac04493fa40164e928c6df7934a]
-Comment: Patch is refreshed as per codebase of 3.18
-Signed-off-by: Nitin Wankhade <[email protected]>
----
---- a/src/iperf_auth.c	2025-09-12 10:21:48.186090000 +0530
-+++ b/src/iperf_auth.c	2025-09-15 11:13:21.123222080 +0530
-@@ -28,7 +28,6 @@
- #include "iperf_config.h"
- 
- #include <string.h>
--#include <assert.h>
- #include <time.h>
- #include <sys/types.h>
- /* FreeBSD needs _WITH_GETLINE to enable the getline() declaration */
-@@ -152,7 +151,6 @@
- 
-     BIO_set_flags(bio, BIO_FLAGS_BASE64_NO_NL); //Do not use newlines to flush buffer
-     *length = BIO_read(bio, *buffer, strlen(b64message));
--    assert(*length == decodeLen); //length should equal decodeLen, else something went horribly wrong
-     BIO_free_all(bio);
- 
-     return (0); //success
meta-oe/recipes-benchmark/iperf3/iperf3_3.20.bb renamed from meta-oe/recipes-benchmark/iperf3/iperf3_3.18.bb +2 -5
similarity index 79%
rename from meta-oe/recipes-benchmark/iperf3/iperf3_3.18.bb
rename to meta-oe/recipes-benchmark/iperf3/iperf3_3.20.bb
index a8c74c1b45..7d4d6beeb8 100644
@@ -10,17 +10,14 @@ SECTION = "console/network"
 BUGTRACKER = "https://github.com/esnet/iperf/issues"
 
 LICENSE = "BSD-3-Clause"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=f9873a72f714e240530e759e103ac7b2"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=b51332d7f45357a9410daa9a14a3655f"
 
 SRC_URI = "git://github.com/esnet/iperf.git;branch=master;protocol=https \
            file://0002-Remove-pg-from-profile_CFLAGS.patch \
            file://0001-configure.ac-check-for-CPP-prog.patch \
-           file://0001-fix-build-with-gcc-15.patch \
-           file://CVE-2025-54349.patch \
-           file://CVE-2025-54350.patch \
           "
 
-SRCREV = "2a2984488d6de8f7a2d1f5938e03ca7be57e227c"
+SRCREV = "0711330bacfaf1c2a804be66e7ecc26f481ede5d"
 
 RDEPENDS:${PN} = "libgcc"
 
Signature · 1 line
2.34.1
#1 lore raw

PATCH 2/2 nano: upgrade 8.6 -> 8.7

From: Randy MacLeod <[email protected]>

ChangeLog:
==========
build: avoid a warning when configured with --disable-multibuffer bump version numbers and add a news item for the 8.7 release
display: regenerate the screen after a resize during a spell check
display: regenerate the screen only before and after waiting for input
display: upon resize, redraw the subwindows only when fully initialized
docs: add example of copy-to-clipboard-with-OSC52 to the sample nanorc
docs: mention that execute can pipe buffer or region to the command
gnulib: update to its current upstream state
moving: prevent a negative relative jump from going beyond top of buffer new feature: execute a command without capturing the output
startup: register the handler for SIGWINCH much earlier
text: when blanking a line due to --autoindent, keep the mark in sync
tweaks: improve a few comments, drop one, and unwrap some lines
tweaks: improve the punctuation of one item in the sample nanorc
tweaks: replace a remaining double dash with a true emdash
tweaks: reshuffle some #ifdefs, and rename a function
tweaks: unwrap three lines, for esthetics

---
 meta-oe/recipes-support/nano/{nano_8.6.bb => nano_8.7.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta-oe/recipes-support/nano/{nano_8.6.bb => nano_8.7.bb} (87%)
meta-oe/recipes-support/nano/nano_8.7.bb renamed from meta-oe/recipes-support/nano/nano_8.6.bb +1 -1
similarity index 87%
rename from meta-oe/recipes-support/nano/nano_8.6.bb
rename to meta-oe/recipes-support/nano/nano_8.7.bb
index e45c6df757..b6c65a6f31 100644
@@ -13,7 +13,7 @@ RDEPENDS:${PN} = "ncurses-terminfo-base"
 PV_MAJOR = "${@d.getVar('PV').split('.')[0]}"
 
 SRC_URI = "https://nano-editor.org/dist/v${PV_MAJOR}/nano-${PV}.tar.xz"
-SRC_URI[sha256sum] = "f7abfbf0eed5f573ab51bd77a458f32d82f9859c55e9689f819d96fe1437a619"
+SRC_URI[sha256sum] = "afd287aa672c48b8e1a93fdb6c6588453d527510d966822b687f2835f0d986e9"
 
 UPSTREAM_CHECK_URI = "${GNU_MIRROR}/nano"
 
Signature · 1 line
2.34.1