[OpenWrt-Devel] [PATCH] Add download mirrors for tools from GNU Savannah (bug #15184)
Hannu Nyman
hannu.nyman at iki.fi
Tue Sep 23 12:07:39 EDT 2014
The attached patch adds three download mirrors for tools from GNU Savannah,
quilt and qemu.
GNU Savannah's download mirrorring system seems to always assign you to the
same mirror, so there is no round-robin logic. If that mirror is down, you
will not get the download at all unless it has been uploaded to
mirror2.openwrt.org.
As discussed in bug #15184 (https://dev.openwrt.org/ticket/15184) related to
quilt, download mirrors could be added for the Savannah tools.
I have tested downloading both tools via Makefile from all three added mirrors.
Signed-off-by: Hannu Nyman <hannu.nyman at iki.fi>
-------------- next part --------------
Index: tools/qemu/Makefile
===================================================================
--- tools/qemu/Makefile (revision 42655)
+++ tools/qemu/Makefile (working copy)
@@ -10,7 +10,10 @@
PKG_VERSION:=0.14.1
PKG_RELEASE:=1
-PKG_SOURCE_URL:=http://download.savannah.gnu.org/releases/qemu/
+PKG_SOURCE_URL:=http://download.savannah.gnu.org/releases/qemu \
+ http://www.mirrorservice.org/sites/download.savannah.gnu.org/releases/qemu \
+ http://nongnu.uib.no/qemu \
+ http://download-mirror.savannah.gnu.org/releases/qemu
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_MD5SUM:=b6c713a8db638e173af53a62d5178640
Index: tools/quilt/Makefile
===================================================================
--- tools/quilt/Makefile (revision 42655)
+++ tools/quilt/Makefile (working copy)
@@ -10,7 +10,10 @@
PKG_VERSION:=0.63
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
-PKG_SOURCE_URL:=http://download.savannah.gnu.org/releases/$(PKG_NAME)
+PKG_SOURCE_URL:=http://download.savannah.gnu.org/releases/quilt \
+ http://www.mirrorservice.org/sites/download.savannah.gnu.org/releases/quilt \
+ http://nongnu.uib.no/quilt \
+ http://download-mirror.savannah.gnu.org/releases/quilt
PKG_MD5SUM:=c0ef4beb58a6fa72563b955e70624b6e
include $(INCLUDE_DIR)/host-build.mk
-------------- next part --------------
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
More information about the openwrt-devel
mailing list