At least one mirror in the ftp.all.kernel.org DNS seems to have broken
FTP, resulting in very long timeouts.  Update mirror to use the same
one as trunk.

This is a backport of r46875 from trunk.

Signed-off-by: Baptiste Jonglez <g...@bitsofnetworks.org>
---
 scripts/download.pl |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/scripts/download.pl b/scripts/download.pl
index 111d03c..484d34c 100755
--- a/scripts/download.pl
+++ b/scripts/download.pl
@@ -177,8 +177,8 @@ foreach my $mirror (@ARGV) {
                        push @extra, "$extra[0]/longterm/v$1";
                }               
                foreach my $dir (@extra) {
-                       push @mirrors, "ftp://ftp.all.kernel.org/pub/$dir";;
-                       push @mirrors, "http://ftp.all.kernel.org/pub/$dir";;
+                       push @mirrors, "https://kernel.org/pub/$dir";;
+                       push @mirrors, "ftp://kernel.org/pub/$dir";;
                }
     } elsif ($mirror =~ /^\@GNOME\/(.+)$/) {
                push @mirrors, "http://ftp.gnome.org/pub/GNOME/sources/$1";;
-- 
1.7.2.5
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to