[packages/iperf3] up to 3.17 (fixes CVE-2024-26306)

atler atler at pld-linux.org
Fri May 10 21:32:49 CEST 2024


commit 61e2540b21fb1bc59b03283ad153a92e88b5dca2
Author: Jan Palus <atler at pld-linux.org>
Date:   Fri May 10 21:22:21 2024 +0200

    up to 3.17 (fixes CVE-2024-26306)

 iperf3.spec          |  6 ++----
 link-libatomic.patch | 36 ------------------------------------
 2 files changed, 2 insertions(+), 40 deletions(-)
---
diff --git a/iperf3.spec b/iperf3.spec
index e67c6ec..98fee35 100644
--- a/iperf3.spec
+++ b/iperf3.spec
@@ -4,13 +4,12 @@
 Summary:	Network performance measurement tool
 Summary(pl.UTF-8):	Narzędzie do szacowania wydajności sieci
 Name:		iperf3
-Version:	3.16
+Version:	3.17
 Release:	1
 License:	BSD-like
 Group:		Networking/Utilities
 Source0:	https://downloads.es.net/pub/iperf/%{orgname}-%{version}.tar.gz
-# Source0-md5:	cbcdeae143cbd82a1f41a80ed01ede6c
-Patch0:		link-libatomic.patch
+# Source0-md5:	1b5fd5cf61460a31ed34404ec60ece0c
 URL:		https://software.es.net/iperf/
 BuildRequires:	autoconf >= 2.71
 BuildRequires:	automake
@@ -61,7 +60,6 @@ Pliki nagłówkowe bibliotek iperf3.
 
 %prep
 %setup -q -n %{orgname}-%{version}
-%patch0 -p1
 
 %build
 %{__libtoolize}
diff --git a/link-libatomic.patch b/link-libatomic.patch
deleted file mode 100644
index dd7ec46..0000000
--- a/link-libatomic.patch
+++ /dev/null
@@ -1,36 +0,0 @@
-From 1511e9f85b548891ea53d4e378903344df1fd31e Mon Sep 17 00:00:00 2001
-From: Jan Palus <jpalus at fastmail.com>
-Date: Sun, 3 Dec 2023 12:14:05 +0100
-Subject: [PATCH] Check and link libatomic if needed
-
-Some architectures without native support for 64-bit atomics need
-linking with libatomic.
----
- configure.ac | 14 +++++++++++++-
- 1 file changed, 13 insertions(+), 1 deletion(-)
-
-diff --git a/configure.ac b/configure.ac
-index 2594b395e..ad7eaf120 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -92,7 +92,19 @@ CXX="$PTHREAD_CXX"
- ])
- 
- # Atomics
--AC_CHECK_HEADERS([stdatomic.h])
-+AC_CHECK_HEADERS([stdatomic.h],
-+    [AC_MSG_CHECKING([whether libatomic is required])
-+    AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <stdatomic.h>]], [[atomic_uint_fast64_t i; i++;]])],
-+        [AC_MSG_RESULT([no])],
-+        [save_LIBS="$LIBS"
-+        LIBS="$LIBS -latomic"
-+        AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <stdatomic.h>]], [[atomic_uint_fast64_t i; i++;]])],
-+            [AC_MSG_RESULT([yes])],
-+            [AC_MSG_ERROR([failed to find working configuration with atomics])]
-+        )]
-+    )],
-+    []
-+)
- 
- # Check for poll.h (it's in POSIX so everyone should have it?)
- AC_CHECK_HEADERS([poll.h])
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/iperf3.git/commitdiff/61e2540b21fb1bc59b03283ad153a92e88b5dca2



More information about the pld-cvs-commit mailing list