diff mbox

[OpenWrt-Devel] bc: add download mirrors

Message ID 5572AFAF.4090909@iki.fi
State Superseded
Headers show

Commit Message

Hannu Nyman June 6, 2015, 8:30 a.m. UTC
bc: add download mirrors

Add three download mirrors for 'bc', as the Makefile currently defines only 
one download location.

@GNU can not be used, as the most recent version of 'bc' 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@iki.fi>
---

A forum discussion brought 'bc' download problems into my attention:
https://forum.openwrt.org/viewtopic.php?id=57803

The package Makefile defines only a single download server that was down, and 
the file is not available at the Openwrt mirrors.

The most recent 'bc' is not available in most of the GNU mirrors, so I 
searched a bit and found three mirrors of "GNU alpha", which I added to the 
Makefile.
diff mbox

Patch

Index: tools/bc/Makefile
===================================================================
--- tools/bc/Makefile	(revision 45907)
+++ tools/bc/Makefile	(working copy)
@@ -10,7 +10,11 @@ 
 PKG_VERSION:=1.06.95
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
-PKG_SOURCE_URL:=http://alpha.gnu.org/gnu/bc
+PKG_SOURCE_URL:=http://alpha.gnu.org/gnu/bc \
+	http://gnualpha.uib.no/bc/ \
+	http://mirrors.fe.up.pt/pub/gnu-alpha/bc/ \
+	http://www.nic.funet.fi/pub/gnu/alpha/gnu/bc/ 
+	
 PKG_MD5SUM:=5126a721b73f97d715bb72c13c889035
 
 include $(INCLUDE_DIR)/host-build.mk