Changeset 42840


Ignore:
Timestamp:
2014-10-08T10:01:39+02:00 (3 years ago)
Author:
blogic
Message:

include/download.mk: Add download mirrors for tools from GNU Savannah (bug #15184)

I defined a new download method @SAVANNAH in include/download.mk and scripts/download.pl,
and converted quilt and qemu to use that method.

Signed-off-by: Hannu Nyman <hannu.nyman@…>

Location:
trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/download.mk

    r40446 r42840  
    1212$(strip \ 
    1313  $(if $(2),$(2), \ 
    14     $(if $(filter @GNOME/% @GNU/% @KERNEL/% @SF/% ftp://% http://% https://% file://%,$(1)),default, \ 
     14    $(if $(filter @GNOME/% @GNU/% @KERNEL/% @SF/% @SAVANNAH/% ftp://% http://% https://% file://%,$(1)),default, \ 
    1515      $(if $(filter git://%,$(1)),git, \ 
    1616        $(if $(filter svn://%,$(1)),svn, \ 
  • trunk/scripts/download.pl

    r39045 r42840  
    158158                push @mirrors, "ftp://ftp.mirror.nl/pub/mirror/gnu/$1"; 
    159159                push @mirrors, "http://mirror.switch.ch/ftp/mirror/gnu/$1"; 
     160        } elsif ($mirror =~ /^\@SAVANNAH\/(.+)$/) { 
     161                push @mirrors, "http://download.savannah.gnu.org/releases/$1"; 
     162                push @mirrors, "http://nongnu.uib.no/$1"; 
     163                push @mirrors, "http://ftp.igh.cnrs.fr/pub/nongnu/$1"; 
     164                push @mirrors, "http://download-mirror.savannah.gnu.org/releases/$1"; 
    160165        } elsif ($mirror =~ /^\@KERNEL\/(.+)$/) { 
    161166                my @extra = ( $1 ); 
  • trunk/tools/qemu/Makefile

    r33140 r42840  
    1111PKG_RELEASE:=1 
    1212 
    13 PKG_SOURCE_URL:=http://download.savannah.gnu.org/releases/qemu/ 
     13PKG_SOURCE_URL:=@SAVANNAH/qemu 
    1414PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz 
    1515PKG_MD5SUM:=b6c713a8db638e173af53a62d5178640 
  • trunk/tools/quilt/Makefile

    r40744 r42840  
    1111 
    1212PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz 
    13 PKG_SOURCE_URL:=http://download.savannah.gnu.org/releases/$(PKG_NAME) 
     13PKG_SOURCE_URL:=@SAVANNAH/quilt 
    1414PKG_MD5SUM:=c0ef4beb58a6fa72563b955e70624b6e 
    1515 
Note: See TracChangeset for help on using the changeset viewer.