package/iperf3: bump to version 3.19

Release notes:
https://github.com/esnet/iperf/releases/tag/3.19

Updated license hash due to copyright year bump:
9f6dc2164d

Added a patch to fix the build error with uClibc.

Signed-off-by: Kadambini Nema <kadambini.nema@gmail.com>
Signed-off-by: Julien Olivain <ju.o@free.fr>
This commit is contained in:
Kadambini Nema
2025-05-17 20:27:22 -07:00
committed by Julien Olivain
parent 3a43be7df4
commit 0575a3ab10
3 changed files with 55 additions and 4 deletions

View File

@@ -0,0 +1,51 @@
From e5c4263c6b2c5b84a6edeb1cf3c95bddd73d4d7c Mon Sep 17 00:00:00 2001
From: Kadambini Nema <kadambini.nema@gmail.com>
Date: Sat, 17 May 2025 16:20:07 -0700
Subject: [PATCH] Fix a compilation issue with uClibc due to a missing include
file.
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
------
In file included from t_auth.c:35:
iperf_api.h:395:77: error: unknown type name va_list
395 | void iperf_exit(struct iperf_test *test, int exit_code, const char *format, va_list argp) __attribute__ ((noreturn));
| ^~~~~~~
iperf_api.h:33:1: note: va_list is defined in header <stdarg.h>; did you forget to #include <stdarg.h>?
32 | #include <setjmp.h>
+++ |+#include <stdarg.h>
33 | #include <stdio.h>
-----
Signed-off-by: Kadambini Nema <kadambini.nema@gmail.com>
Upstream: https://github.com/esnet/iperf/pull/1888
---
src/iperf_api.c | 1 -
src/iperf_api.h | 1 +
2 files changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/iperf_api.c b/src/iperf_api.c
index aeec91dd3..d4a06bec9 100644
--- a/src/iperf_api.c
+++ b/src/iperf_api.c
@@ -53,7 +53,6 @@
#include <sys/stat.h>
#include <sched.h>
#include <setjmp.h>
-#include <stdarg.h>
#include <math.h>
#if defined(HAVE_CPUSET_SETAFFINITY)
diff --git a/src/iperf_api.h b/src/iperf_api.h
index 03d273e8c..cd82e6f9b 100644
--- a/src/iperf_api.h
+++ b/src/iperf_api.h
@@ -30,6 +30,7 @@
#include <sys/socket.h>
#include <sys/time.h>
#include <setjmp.h>
+#include <stdarg.h>
#include <stdio.h>
#include <stdint.h>
#ifdef __cplusplus

View File

@@ -1,4 +1,4 @@
# From https://downloads.es.net/pub/iperf/iperf-3.18.tar.gz.sha256
sha256 c0618175514331e766522500e20c94bfb293b4424eb27d7207fb427b88d20bab iperf-3.18.tar.gz
# From https://downloads.es.net/pub/iperf/iperf-3.19.tar.gz.sha256
sha256 040161da1555ec7411a9d81191049830ef37717d429a94ee6cf0842618e0e29c iperf-3.19.tar.gz
# Locally computed
sha256 3dc3e2076dd9cdea2b66d8fe213997ff25fb6171594f055b59fe25321b438f6f LICENSE
sha256 7c9ba0385fcf35c4c9e08ad0c0cba72d4315f36f0f742fef4de826a28cc33a97 LICENSE

View File

@@ -4,7 +4,7 @@
#
################################################################################
IPERF3_VERSION = 3.18
IPERF3_VERSION = 3.19
IPERF3_SITE = https://downloads.es.net/pub/iperf
IPERF3_SOURCE = iperf-$(IPERF3_VERSION).tar.gz
IPERF3_LICENSE = BSD-3-Clause, BSD-2-Clause, MIT