From: rcall1 Date: Sun, 7 Jun 2015 15:42:55 +0000 (+0000) Subject: Removed Source Forge as source mirror X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=bbc8675cce4ca489c9a8aa9f7ed45925f13dfad4;p=librecmc%2Flibrecmc-fossil.git Removed Source Forge as source mirror --- 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";