grub: add download mirrors
Add three download mirrors for 'grub', as the Makefile currently defines only
one download location.
@GNU can not be used, as the most recent version of 'grub' is not available
at the general GNU mirrors, and can only be found at the "gnu-alpha" mirrors.
Signed-off-by: Hannu Nyman <hannu.nyman at iki.fi>
---
A forum discussion brought 'bc' download problems into my attention:
https://forum.openwrt.org/viewtopic.php?id=57803
I sent a patch about bc and then searched Openwrt sources for other similar
packages. In the core packages only grub has the same alpha.gnu.org download
location definition. The most recent version of grub is also not available at
the Openwrt download mirrors. So I submit also a patch regarding grub.
Index: package/boot/grub2/Makefile
===================================================================
--- package/boot/grub2/Makefile (revision 45907)
+++ package/boot/grub2/Makefile (working copy)
@@ -1,5 +1,5 @@
#
-# Copyright (C) 2006-2010 OpenWrt.org
+# Copyright (C) 2006-2015 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
@@ -13,7 +13,10 @@
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
-PKG_SOURCE_URL:=http://alpha.gnu.org/gnu/grub
+PKG_SOURCE_URL:=http://alpha.gnu.org/gnu/grub \
+ http://gnualpha.uib.no/grub/ \
+ http://mirrors.fe.up.pt/pub/gnu-alpha/grub/ \
+ http://www.nic.funet.fi/pub/gnu/alpha/gnu/grub/
PKG_MD5SUM:=be62932eade308a364ea4bbc91295930
HOST_BUILD_PARALLEL:=1
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel