Make the sourceforge mirror site a config option, as sourceforge
authorEric Andersen <andersen@codepoet.org>
Thu, 9 Jun 2005 12:15:00 +0000 (12:15 -0000)
committerEric Andersen <andersen@codepoet.org>
Thu, 9 Jun 2005 12:15:00 +0000 (12:15 -0000)
mirrors tend to change, move, go down, etc from time to time.

18 files changed:
Config.in
package/bridge/bridge.mk
package/e2fsprogs/e2fsprogs.mk
package/freetype/freetype.mk
package/hotplug/hotplug.mk
package/libmad/libmad.mk
package/libsysfs/libsysfs.mk
package/ltp-testsuite/ltp-testsuite.mk
package/netsnmp/netsnmp.mk
package/openvpn/openvpn.mk
package/pcmcia/pcmcia.mk
package/strace/strace.mk
package/tcl/tcl.mk
package/tn5250/tn5250.mk
package/vtun/vtun.mk
package/zlib/zlib.mk
target/cramfs/cramfs.mk
target/squashfs/squashfsroot.mk

index 6ead7cb3de623cf473fcc932b583835e33c361c5..78434170066882436e2bc4f641fbe3f92f18d152 100644 (file)
--- a/Config.in
+++ b/Config.in
@@ -107,6 +107,15 @@ config BR2_TAR_VERBOSITY
        bool "Tar verbose"
        default n
 
+config BR2_SOURCEFORGE_MIRROR
+        string "Sourceforge mirror site"
+       default "unc"
+       help
+           Sourceforge has a system of mirror sites.  Some sites may be closer
+           to your location, and sometimes mirror sites go down and are no longer
+           available.  This option allows you to select your preferred Sourceforge
+           mirror site.
+
 config BR2_STAGING_DIR
        string "Toolchain and header file location?"
        default "$(BUILD_DIR)/staging_dir"
index 32743c26dfa2c8af3b673f1250a3df915e56556f..2a3f9cdd5c45d05824dde02288948fd4cbdea59b 100644 (file)
@@ -4,7 +4,7 @@
 #
 #############################################################
 #
-BRIDGE_SOURCE_URL=http://umn.dl.sourceforge.net/sourceforge/bridge/
+BRIDGE_SOURCE_URL=http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/bridge/
 BRIDGE_SOURCE=bridge-utils-1.0.4.tar.gz
 BRIDGE_BUILD_DIR=$(BUILD_DIR)/bridge-utils-1.0.4
 BRIDGE_TARGET_BINARY:=usr/sbin/brctl
index 573d49e7dcbf894448c9d7d021fb79b8de975ccc..65e3f6e50031860b2e1cf433040d916b0d8b9647 100644 (file)
@@ -5,7 +5,7 @@
 #############################################################
 E2FSPROGS_VER:=1.37
 E2FSPROGS_SOURCE=e2fsprogs-$(E2FSPROGS_VER).tar.gz
-E2FSPROGS_SITE=http://telia.dl.sourceforge.net/sourceforge/e2fsprogs
+E2FSPROGS_SITE=http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/e2fsprogs
 E2FSPROGS_DIR=$(BUILD_DIR)/e2fsprogs-$(E2FSPROGS_VER)
 E2FSPROGS_CAT:=zcat
 E2FSPROGS_BINARY:=misc/mke2fs
index 23a0b8f8bb8509748bd096d853888a9ad68dc221..7eae269c6b4329640d0b9cb6adb55572dd341787 100644 (file)
@@ -5,7 +5,7 @@
 #############################################################
 FREETYPE_VERSION:=2.1.9
 FREETYPE_SOURCE:=freetype-$(FREETYPE_VERSION).tar.bz2
-FREETYPE_SITE:=http://telia.dl.sourceforge.net/sourceforge/freetype
+FREETYPE_SITE:=http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/freetype
 FREETYPE_CAT:=bzcat
 FREETYPE_DIR:=$(BUILD_DIR)/freetype-$(FREETYPE_VERSION)
 
index 74ffc86039bb6c08f498ff994f9dab1cc14ed4b9..8b86542537972a5ca266b6e1787368a28d69f385 100644 (file)
@@ -4,7 +4,7 @@
 #
 #############################################################
 HOTPLUG_SOURCE=diethotplug-0.4.tar.gz
-HOTPLUG_SITE=http://aleron.dl.sourceforge.net/sourceforge/linux-hotplug
+HOTPLUG_SITE=http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/linux-hotplug
 HOTPLUG_DIR=$(BUILD_DIR)/diethotplug-0.4
 
 $(DL_DIR)/$(HOTPLUG_SOURCE):
index 758f7c5469e7bf7cb27b39e3d600657d7dcf8698..77fee65fc54be88c6bd9159ab7e41d113a61dfe4 100644 (file)
@@ -6,7 +6,7 @@
 
 LIBMAD_VERSION=0.15.1b
 LIBMAD_SOURCE=libmad-$(LIBMAD_VERSION).tar.gz
-LIBMAD_SITE=http://easynews.dl.sourceforge.net/sourceforge/mad/
+LIBMAD_SITE=http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/mad/
 LIBMAD_DIR=$(BUILD_DIR)/${shell basename $(LIBMAD_SOURCE) .tar.gz}
 LIBMAD_WORKDIR=$(BUILD_DIR)/libmad-$(LIBMAD_VERSION)
 LIBMAD_CAT:=zcat
index e41e760391e535a4da2eee6446c8a282bb90a8e8..2e8c07d88b89a937f46b8e9127bd563a8be3dca2 100644 (file)
@@ -23,7 +23,7 @@
 
 LIBSYSFS_VER:=1.3.0
 LIBSYSFS_DIR:=$(BUILD_DIR)/sysfsutils-$(LIBSYSFS_VER)
-LIBSYSFS_SITE:=http://easynews.dl.sourceforge.net/sourceforge/linux-diag
+LIBSYSFS_SITE:=http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/linux-diag
 LIBSYSFS_SOURCE:=sysfsutils-$(LIBSYSFS_VER).tar.gz
 LIBSYSFS_CAT:=zcat
 
index a7e6a63cc0de20132f5b09c4204ce3930864d91f..1b2971fbd3cd6e1a7f95c2851b5b656ea1145365 100644 (file)
@@ -4,7 +4,7 @@
 #
 #############################################################
 LTP_TESTSUITE_SOURCE:=ltp-full-20040506.tgz
-LTP_TESTSUITE_SITE:=http://aleron.dl.sourceforge.net/sourceforge/ltp
+LTP_TESTSUITE_SITE:=http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/ltp
 LTP_TESTSUITE_CAT:=zcat
 LTP_TESTSUITE_DIR:=$(BUILD_DIR)/ltp-full-20040506
 
index 494d58a413544c4b0cbe0109c4565dd0967f207a..740ffa98b29f6c5eeb79fe87d5c6ce747e7e7ee1 100644 (file)
@@ -4,7 +4,7 @@
 #
 #############################################################
 
-NETSNMP_URL:=http://aleron.dl.sourceforge.net/sourceforge/net-snmp/
+NETSNMP_URL:=http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/net-snmp/
 NETSNMP_DIR:=$(BUILD_DIR)/net-snmp-5.1.2
 NETSNMP_SOURCE:=net-snmp-5.1.2.tar.gz
 NETSNMP_PATCH1:=net-snmp_5.1.2-6.diff.gz
index 3f3f7d5889257c6bd8fe44e93605df685b9ea55e..e50a3c0af3b9101d1ca38b228964a30fb6c62b8f 100644 (file)
@@ -7,7 +7,7 @@
 #
 #############################################################
 OPENVPN_SOURCE:=openvpn-1.5.0.tar.gz
-OPENVPN_SITE:=http://aleron.dl.sourceforge.net/sourceforge/openvpn/
+OPENVPN_SITE:=http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/openvpn/
 OPENVPN_DIR:=$(BUILD_DIR)/openvpn-1.5.0
 OPENVPN_CAT:=zcat
 OPENVPN_BINARY:=openvpn
index 31efd5c9bb95da7b22309efaacfccc931de889ec..a28f25f7375e002e6987b67f4f9cda51e1dc9826 100644 (file)
@@ -22,7 +22,7 @@
 # USA
 
 PCMCIA_SOURCE:=pcmcia-cs-3.2.7.tar.gz
-PCMCIA_SITE:=http://aleron.dl.sourceforge.net/sourceforge/pcmcia-cs
+PCMCIA_SITE:=http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/pcmcia-cs
 PCMCIA_DIR:=$(BUILD_DIR)/pcmcia-cs-3.2.7
 PCMCIA_CAT:=zcat
 
index ead0fbcbdc1ba3c78234d97df3cbe5e002bf6697..2a2cdc36da95e20dbb7ee93088d6183a41cd1bb6 100644 (file)
@@ -5,7 +5,7 @@
 #############################################################
 STRACE_VER:=4.5.7
 STRACE_SOURCE:=strace-$(STRACE_VER).tar.bz2
-STRACE_SITE:=http://aleron.dl.sourceforge.net/sourceforge/strace
+STRACE_SITE:=http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/strace
 STRACE_CAT:=bzcat
 STRACE_DIR:=$(BUILD_DIR)/strace-$(STRACE_VER)
 
index 6be6559641577ac20c70ee652e4b8c0677b930dc..5195bf75035070bf88b31ae49fe6e25766c9a610 100644 (file)
@@ -5,7 +5,7 @@
 #############################################################
 TCL_VERSION:=8.4.9
 TCL_SOURCE:=tcl$(TCL_VERSION)-src.tar.gz
-TCL_SITE:=http://heanet.dl.sourceforge.net/sourceforge/tcl
+TCL_SITE:=http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/tcl
 TCL_DIR:=$(BUILD_DIR)/tcl$(TCL_VERSION)
 
 $(DL_DIR)/$(TCL_SOURCE):
index 5002874b8dda62468f43d2bb0a7394a0a435e9f0..6cf425e1623aa9f19ca8d946bc169f6c6abbe576 100644 (file)
@@ -1,4 +1,4 @@
-TN5250_SITE:=http://aleron.dl.sourceforge.net/sourceforge/tn5250
+TN5250_SITE:=http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/tn5250
 TN5250_DIR:=$(BUILD_DIR)/tn5250-0.16.4
 TN5250_SOURCE:=tn5250-0.16.4.tar.gz
 
index 365b020c03353bf4a8bdc8805620eb1e34a92325..0ef29ea7ce3717a3d23f9041ce297126be45392c 100644 (file)
@@ -7,7 +7,7 @@
 #
 #############################################################
 VTUN_SOURCE:=vtun-2.6.tar.gz
-VTUN_SITE:=http://aleron.dl.sourceforge.net/sourceforge/vtun/
+VTUN_SITE:=http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/vtun/
 VTUN_DIR:=$(BUILD_DIR)/vtun-2.6
 VTUN_CAT:=zcat
 VTUN_BINARY:=vtund
index 7a02fa979c8e7c7ad9763a18d68748be39ecf1b1..4b8f92d55aaf1e4bea9516b4db90ade92842954b 100644 (file)
@@ -5,7 +5,7 @@
 #############################################################
 ZLIB_VER=1.2.2
 ZLIB_SOURCE=zlib-$(ZLIB_VER).tar.bz2
-ZLIB_SITE=http://aleron.dl.sourceforge.net/sourceforge/libpng
+ZLIB_SITE=http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/libpng
 ZLIB_DIR=$(BUILD_DIR)/zlib-$(ZLIB_VER)
 ZLIB_CFLAGS= $(TARGET_CFLAGS) -fPIC
 ifeq ($(BR2_LARGEFILE),y)
index bc8424000a427ee771d2fb42a8ada36ce95cde94..68a55d40663755d8ea14d24e8a71a88de84ef5e8 100644 (file)
@@ -5,7 +5,7 @@
 #############################################################
 CRAMFS_DIR=$(BUILD_DIR)/cramfs-1.1
 CRAMFS_SOURCE=cramfs-1.1.tar.gz
-CRAMFS_SITE=http://aleron.dl.sourceforge.net/sourceforge/cramfs
+CRAMFS_SITE=http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/cramfs
 
 $(DL_DIR)/$(CRAMFS_SOURCE):
         $(WGET) -P $(DL_DIR) $(CRAMFS_SITE)/$(CRAMFS_SOURCE)
index 5a4536fed6e652a8e37c74fe5247ec5b11ea8072..d969efed03b3eb737288ee71f50c0b3fddbb3b0a 100644 (file)
@@ -5,7 +5,7 @@
 #############################################################
 SQUASHFS_DIR=$(BUILD_DIR)/squashfs1.3r3
 SQUASHFS_SOURCE=squashfs1.3r3.tar.gz
-SQUASHFS_SITE=http://aleron.dl.sourceforge.net/sourceforge/squashfs
+SQUASHFS_SITE=http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/squashfs
 
 $(DL_DIR)/$(SQUASHFS_SOURCE):
         $(WGET) -P $(DL_DIR) $(SQUASHFS_SITE)/$(SQUASHFS_SOURCE)