From bbc8675cce4ca489c9a8aa9f7ed45925f13dfad4 Mon Sep 17 00:00:00 2001 From: rcall1 Date: Sun, 7 Jun 2015 15:42:55 +0000 Subject: [PATCH] Removed Source Forge as source mirror --- trunk/include/download.mk | 2 +- trunk/scripts/download.pl | 7 +------ 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/trunk/include/download.mk b/trunk/include/download.mk index adaa2e6a..c4c1c14c 100644 --- a/trunk/include/download.mk +++ b/trunk/include/download.mk @@ -11,7 +11,7 @@ DOWNLOAD_RDEP=$(STAMP_PREPARED) $(HOST_STAMP_PREPARED) define dl_method $(strip \ $(if $(2),$(2), \ - $(if $(filter @GNOME/% @GNU/% @KERNEL/% @SF/% @SAVANNAH/% ftp://% http://% https://% file://%,$(1)),default, \ + $(if $(filter @GNOME/% @GNU/% @KERNEL/% @SAVANNAH/% ftp://% http://% https://% file://%,$(1)),default, \ $(if $(filter git://%,$(1)),git, \ $(if $(filter svn://%,$(1)),svn, \ $(if $(filter cvs://%,$(1)),cvs, \ diff --git a/trunk/scripts/download.pl b/trunk/scripts/download.pl index 8f3f1d3a..4697bb4b 100755 --- a/trunk/scripts/download.pl +++ b/trunk/scripts/download.pl @@ -146,12 +146,7 @@ sub cleanup @mirrors = localmirrors(); foreach my $mirror (@ARGV) { - if ($mirror =~ /^\@SF\/(.+)$/) { - # give sourceforge a few more tries, because it redirects to different mirrors - for (1 .. 5) { - push @mirrors, "http://downloads.sourceforge.net/$1"; - } - } elsif ($mirror =~ /^\@GNU\/(.+)$/) { + if ($mirror =~ /^\@GNU\/(.+)$/) { push @mirrors, "http://ftpmirror.gnu.org/$1"; push @mirrors, "http://ftp.gnu.org/pub/gnu/$1"; push @mirrors, "ftp://ftp.belnet.be/mirror/ftp.gnu.org/gnu/$1"; -- 2.25.1