infra/perl: switch to using a reliable mirror
PATCH 1/1 infra/perl: switch to using a reliable mirror
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,
--- Config.in | 2 +- package/perl-mojolicious/perl-mojolicious.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
Config.in +1 -1
@@ -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
package/perl-mojolicious/perl-mojolicious.mk +1 -1
@@ -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
Signature · 1 line
1.9.1
Thomas Petazzoni
AppliedPATCH 1/1 infra/perl: switch to using a reliable mirror
Dear Yann E. MORIN,
Quoted 10 lines · Yann E. MORIN
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!)
Quoted 5 lines
As a consequence, switch mojolicious to use our standard mirror,
Signed-off-by "Yann E. MORIN" <[email protected]>Cc Fran?ois Perrad <[email protected]>Cc Thomas Petazzoni <[email protected]>
Applied, thanks.
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com