Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] infra/perl: switch to using a reliable mirror
@ 2014-07-19 10:09 Yann E. MORIN
  2014-07-19 12:21 ` Thomas Petazzoni
  0 siblings, 1 reply; 2+ messages in thread
From: Yann E. MORIN @ 2014-07-19 10:09 UTC (permalink / raw)
  To: buildroot

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>
---
 Config.in                                    | 2 +-
 package/perl-mojolicious/perl-mojolicious.mk | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/Config.in b/Config.in
index 50968fb..b169678 100644
--- 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
diff --git a/package/perl-mojolicious/perl-mojolicious.mk b/package/perl-mojolicious/perl-mojolicious.mk
index 4d0de5e..7d3d6c0 100644
--- a/package/perl-mojolicious/perl-mojolicious.mk
+++ b/package/perl-mojolicious/perl-mojolicious.mk
@@ -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
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [Buildroot] [PATCH] infra/perl: switch to using a reliable mirror
  2014-07-19 10:09 [Buildroot] [PATCH] infra/perl: switch to using a reliable mirror Yann E. MORIN
@ 2014-07-19 12:21 ` Thomas Petazzoni
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2014-07-19 12:21 UTC (permalink / raw)
  To: buildroot

Dear Yann E. MORIN,

On Sat, 19 Jul 2014 12:09:19 +0200, Yann E. MORIN wrote:
> 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>

Applied, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-07-19 12:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-19 10:09 [Buildroot] [PATCH] infra/perl: switch to using a reliable mirror Yann E. MORIN
2014-07-19 12:21 ` Thomas Petazzoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox