From patchwork Sun Dec 27 18:59:29 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adolf Belka X-Patchwork-Id: 3769 Return-Path: Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature RSA-PSS (4096 bits)) (Client CN "mail01.haj.ipfire.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4D3qjr63L5z3wxY for ; Sun, 27 Dec 2020 18:59:44 +0000 (UTC) Received: from mail02.haj.ipfire.org (mail02.haj.ipfire.org [172.28.1.201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail02.haj.ipfire.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4D3qjq5s0nz23J; Sun, 27 Dec 2020 18:59:43 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4D3qjq5Xc8z2yWr; Sun, 27 Dec 2020 18:59:43 +0000 (UTC) Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature RSA-PSS (4096 bits)) (Client CN "mail01.haj.ipfire.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4D3qjn73Fzz2xX9 for ; Sun, 27 Dec 2020 18:59:41 +0000 (UTC) Received: from smtpq4.tb.mail.iss.as9143.net (smtpq4.tb.mail.iss.as9143.net [212.54.42.167]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mail01.ipfire.org (Postfix) with ESMTPS id 4D3qjm4vfWz11M for ; Sun, 27 Dec 2020 18:59:40 +0000 (UTC) Received: from [212.54.42.110] (helo=smtp7.tb.mail.iss.as9143.net) by smtpq4.tb.mail.iss.as9143.net with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ktbGW-0003fP-G4; Sun, 27 Dec 2020 19:59:40 +0100 Received: from j103033.upc-j.chello.nl ([24.132.103.33] helo=rhea.saturn.pimb.org) by smtp7.tb.mail.iss.as9143.net with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.93) (envelope-from ) id 1ktbGW-00FQcA-4d; Sun, 27 Dec 2020 19:59:40 +0100 Received: from hyperion.saturn.pimb.org (hyperion.saturn.pimb.org [192.168.26.32]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by rhea.saturn.pimb.org (Postfix) with ESMTPSA id D00BA3EF6; Sun, 27 Dec 2020 19:59:39 +0100 (CET) From: Adolf Belka To: development@lists.ipfire.org Subject: [PATCH] iperf3: Update to version 3.9 Date: Sun, 27 Dec 2020 19:59:29 +0100 Message-Id: <20201227185929.3223884-1-ahb.ipfire@gmail.com> X-Mailer: git-send-email 2.29.2 MIME-Version: 1.0 X-SourceIP: 24.132.103.33 X-Authenticated-Sender: adolf.belka@ziggo.nl (via SMTP) X-Ziggo-spambar: / X-Ziggo-spamscore: 0.0 X-Ziggo-spamreport: CMAE Analysis: v=2.4 cv=TLL793pa c=1 sm=1 tr=0 ts=5fe8d99c a=N0UC3/faf55XGTeY5t7zSQ==:17 a=9+rZDBEiDlHhcck0kWbJtElFXBc=:19 a=zTNgK-yGK50A:10 a=x7bEGLp0ZPQA:10 a=6yxbeI8x3IIA:10 a=pGLkceISAAAA:8 a=cEeqdDk6AAAA:8 a=_mVicL6kAAAA:8 a=XJ_MXqYM_uaXwnj-g0sA:9 a=I9ar2YbH7aqod48rpTw0:22 a=XpWmhld5Hq7O7F76M6lm:22 X-Ziggo-Spam-Status: No X-Spam-Status: No X-Spam-Flag: No ARC-Seal: i=1; s=202003rsa; d=lists.ipfire.org; t=1609095580; a=rsa-sha256; cv=none; b=SGSZPJgP11VKvTE0I6MhmmSvW1M0LhR/EfBMbb4nG87+hNrNk79uTqcEuGIlSkO8qbJ8KD LrPBCuzjYQzlPQPd7bcDNK6SnpppWwp9DiS2/nquw56Zkry6jSKbpsu1uSelvjylv/VVSg A6m9MpLU1ai77ucGz/TlT7aF4p7rkAL2eIqaE18Vtwo1hIiQRQt0Dlw8SZlmmVxAPM2Maw UIVwrqLfFk3XPKkOX4LkyR8Wakas5h9ZuAS+M/TY4vXe6JpCyVNDeRdZNZzXVcu8O37bt5 0k82wpEFi3Nv/tKGSp1u5HvZPsq/ZuZHBavwa2tMyrEefpHd0VJzjQL0SrECUg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=lists.ipfire.org; s=202003rsa; t=1609095580; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=ps01vWfP7hcxLBfyh6/SG+5KkBv9H1RbYQVZwClTQZM=; b=KSupBGB1BDNCOsWlIYCeNsIHcMwzDpQ64flvBUqr+4b6yZpTXOpYeQ9s1W0JgtK4VvbbYC ++9w5ZpQkgONHKRFKnwAL0wZbs9hub/GeCYhGzljOGlssbfw1/foN+hTpUontRHzNj7QOM UQ+EcX6xk+1hKyYbzec1tvZ1lhC4wO7roYrMdca5Oyj16V7MJ43OFSJthlhfI6lWe1KEzH Ta1OSEtemNOBJYHgJxMxGdlW8a/qHi5SF99lTVNvuLtWVoRKS/7GuDEuzI5Dr2SAy93auT w+IocYcLR0cgK7/eNgNcR2ISu9QMur+bJTHVwCUs7Ncjx09qwJiBjDgt8zDyFQ== ARC-Authentication-Results: i=1; mail01.ipfire.org; dkim=none; dmarc=fail reason="No valid SPF, No valid DKIM" header.from=gmail.com (policy=none); spf=softfail (mail01.ipfire.org: 212.54.42.167 is neither permitted nor denied by domain of ahbipfire@gmail.com) smtp.mailfrom=ahbipfire@gmail.com X-Rspamd-Queue-Id: 4D3qjm4vfWz11M Authentication-Results: mail01.ipfire.org; dkim=none; dmarc=fail reason="No valid SPF, No valid DKIM" header.from=gmail.com (policy=none); spf=softfail (mail01.ipfire.org: 212.54.42.167 is neither permitted nor denied by domain of ahbipfire@gmail.com) smtp.mailfrom=ahbipfire@gmail.com X-Rspamd-Server: mail01.haj.ipfire.org X-Spamd-Result: default: False [-1.15 / 11.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; R_MISSING_CHARSET(2.50)[]; IP_REPUTATION_HAM(-2.15)[asn: 33915(-0.23), country: NL(-0.00), ip: 212.54.42.167(-0.84)]; BROKEN_CONTENT_TYPE(1.50)[]; R_SPF_SOFTFAIL(0.00)[~all]; ARC_SIGNED(0.00)[lists.ipfire.org:s=202003rsa:i=1]; RCVD_COUNT_THREE(0.00)[4]; RCPT_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:33915, ipnet:212.54.32.0/20, country:NL]; R_DKIM_NA(0.00)[]; HAS_X_AS(0.00)[]; RECEIVED_SPAMHAUS_PBL(0.00)[24.132.103.33:received]; TAGGED_FROM(0.00)[]; ARC_NA(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; BAYES_HAM(-3.00)[99.99%]; TAGGED_RCPT(0.00)[]; MIME_GOOD(-0.10)[text/plain]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[212.54.42.167:from]; RWL_MAILSPIKE_POSSIBLE(0.00)[212.54.42.167:from]; FREEMAIL_CC(0.00)[gmail.com]; RCVD_TLS_ALL(0.00)[]; DMARC_POLICY_SOFTFAIL(0.10)[gmail.com : No valid SPF, No valid DKIM,none] X-BeenThere: development@lists.ipfire.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: IPFire development talk List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: development-bounces@lists.ipfire.org Sender: "Development" - 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 --- lfs/iperf3 | 8 ++++---- ...g-flag.patch => iperf-3.9-remove-pg-flag.patch} | 14 +++++++------- 2 files changed, 11 insertions(+), 11 deletions(-) rename src/patches/iperf3/{iperf-3.7-remove-pg-flag.patch => iperf-3.9-remove-pg-flag.patch} (68%) diff --git a/lfs/iperf3 b/lfs/iperf3 index 69b1ed14a..96b1e264d 100644 --- a/lfs/iperf3 +++ b/lfs/iperf3 @@ -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 diff --git a/src/patches/iperf3/iperf-3.7-remove-pg-flag.patch b/src/patches/iperf3/iperf-3.9-remove-pg-flag.patch 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 1dae2c211..e5fafe4af 100644 --- a/src/patches/iperf3/iperf-3.7-remove-pg-flag.patch +++ b/src/patches/iperf3/iperf-3.9-remove-pg-flag.patch @@ -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)