summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2016-10-17 11:16:30 +0200
committerFelix Fietkau <nbd@nbd.name>2016-10-17 11:16:31 +0200
commitbe7f2abb60db79a7430576d45e20339c56e88c05 (patch)
tree8ced1235bb6e070dcba8ab77e4b7490a6652b8e6
parent5f9598a432d92c1b60f4f2c724da0912cd3369a1 (diff)
downloadmtk-20170518-be7f2abb60db79a7430576d45e20339c56e88c05.zip
mtk-20170518-be7f2abb60db79a7430576d45e20339c56e88c05.tar.gz
mtk-20170518-be7f2abb60db79a7430576d45e20339c56e88c05.tar.bz2
iperf: used an updated renamed tarball instead of main upstream URL
iperf upstream added some bugfixes to the already released 2.0.9 version without changing the filename. This conflicts with old mirrored files and the hash that we previously used. To avoid conflict, use a renamed tarball from mirror2.openwrt.org containing the new upstream changes Signed-off-by: Felix Fietkau <nbd@nbd.name>
-rw-r--r--package/network/utils/iperf/Makefile11
1 files changed, 8 insertions, 3 deletions
diff --git a/package/network/utils/iperf/Makefile b/package/network/utils/iperf/Makefile
index c47830c..b17ed0f 100644
--- a/package/network/utils/iperf/Makefile
+++ b/package/network/utils/iperf/Makefile
@@ -9,11 +9,16 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=iperf
PKG_VERSION:=2.0.9
+PKG_VERSION_SUFFIX:=a
PKG_RELEASE:=1
-PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
-PKG_SOURCE_URL:=@SF/iperf2
-PKG_MD5SUM:=1bb3a1d98b1973aee6e8f171933c0f61
+PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)$(PKG_VERSION_SUFFIX).tar.gz
+# Temporary URL change - iperf upstream altered the already released target
+# without bumping the version number. The new tarball is renamed to avoid
+# conflicts with existing mirrored files.
+# PKG_SOURCE_URL:=@SF/iperf2
+PKG_SOURCE_URL:=http://mirror2.openwrt.org/sources
+PKG_MD5SUM:=db02911f35686e808ed247160dfa766e08ae3f59d1e7dcedef0ffb2a6643f0bf
PKG_MAINTAINER:=Felix Fietkau <nbd@nbd.name>
PKG_LICENSE:=BSD-3-Clause