[PATCH] iperf3: update to version 3.1.5 and download via git

Christian Lamparter chunkeey at googlemail.com
Sun Jan 15 11:56:07 PST 2017


"This version of iperf3 makes some improvements to the
fair-queue-based pacing and improves the selection of
the default UDP packet size. Users who use either of
these aspects of iperf3 are encourage to review the
release notes for this version."
<http://software.es.net/iperf/news.html#iperf-3-1-5-released>

This patch also changes the package to download the
source via github <https://github.com/esnet/iperf>.
This also allows to switch to xz and save a couple of
KiB on the mirrors for every new release.

Signed-off-by: Christian Lamparter <chunkeey at googlemail.com>
---
Alternatively, the project's homepage also provides a
iperf-3.1.5.tar.gz <http://downloads.es.net/pub/iperf>.
In this case all that needs to be updated is
PKG_VERSION:=3.1.5
PKG_HASH:=6e1a6200cd38baeab58ef0d7b8769e7aa6410c3a3168e65ea8277a4de79e5500
---
 package/network/utils/iperf3/Makefile | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/package/network/utils/iperf3/Makefile b/package/network/utils/iperf3/Makefile
index 56782ea520..72fa4e3bff 100644
--- a/package/network/utils/iperf3/Makefile
+++ b/package/network/utils/iperf3/Makefile
@@ -8,12 +8,14 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=iperf
-PKG_VERSION:=3.1.4
+PKG_VERSION:=3.1.5
 PKG_RELEASE:=1
 
-PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
-PKG_SOURCE_URL:=http://downloads.es.net/pub/iperf
-PKG_HASH:=db61d70ac62003ebe0bf15496bd8c4b3c4b728578a44d0a1a88fcf8afc0e8f76
+PKG_SOURCE_PROTO:=git
+PKG_SOURCE_URL:=https://github.com/esnet/iperf.git
+PKG_SOURCE_VERSION:=a46d5aec9726e196e86ab192c3f77dea6a3beb8e
+PKG_MIRROR_HASH:=ebcbde749e02a437bc829163735ac0ce13c50594ad6e3728c0b5e006bb34f3f7
+PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.xz
 
 PKG_MAINTAINER:=Felix Fietkau <nbd at nbd.name>
 PKG_LICENSE:=BSD-3-Clause
-- 
2.11.0




More information about the Lede-dev mailing list