]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commitdiff
infra/perl: switch to using a reliable mirror
authorYann E. MORIN <yann.morin.1998@free.fr>
Sat, 19 Jul 2014 10:09:19 +0000 (12:09 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 19 Jul 2014 12:21:02 +0000 (14:21 +0200)
The mirror we currently use is not a mirror, it's the main archive.

It has a few shortcomings:
  - it might not contain all the versions of the modules we use,
  - it can be unavailable at times (like now, for example)

Switch to using a realmirror, that:
  - does a round-robin on the actual mirror, so availability is better
  - contains all versions of all modules (yes, mojolicious is there!)

As a consequence, switch mojolicious to use our standard mirror,

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: François Perrad <francois.perrad@gadz.org>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Config.in
package/perl-mojolicious/perl-mojolicious.mk

index 50968fb4d43c70ce10b1fed6569970051d57fda7..b169678451cce2d2a2540b6f3ca22587588ace89 100644 (file)
--- a/Config.in
+++ b/Config.in
@@ -242,7 +242,7 @@ config BR2_LUAROCKS_MIRROR
 
 config BR2_CPAN_MIRROR
        string "CPAN mirror (Perl packages)"
-       default "http://search.cpan.org/CPAN"
+       default "http://cpan.metacpan.org"
        help
          CPAN (Comprehensive Perl Archive Network) is a repository
          of Perl packages. It has multiple software mirrors scattered
index 4d0de5e8bea806595b84828c8b40eb1b3f2e39fa..7d3d6c03752b53794fb243140899b48d9e9b5feb 100644 (file)
@@ -6,7 +6,7 @@
 
 PERL_MOJOLICIOUS_VERSION = 5.08
 PERL_MOJOLICIOUS_SOURCE = Mojolicious-$(PERL_MOJOLICIOUS_VERSION).tar.gz
-PERL_MOJOLICIOUS_SITE = http://backpan.perl.org/authors/id/S/SR/SRI/
+PERL_MOJOLICIOUS_SITE = $(BR2_CPAN_MIRROR)/authors/id/S/SR/SRI/
 PERL_MOJOLICIOUS_DEPENDENCIES = perl
 PERL_MOJOLICIOUS_LICENSE = Artistic-2.0
 PERL_MOJOLICIOUS_LICENSE_FILES = LICENSE