[oe] [PATCH] liburi-perl: fix SRC_URI

Frans Meulenbroeks fransmeulenbroeks at gmail.com
Tue Sep 21 09:56:34 UTC 2010


2010/9/21 Eric Bénard <eric at eukrea.com>:
> Signed-off-by: Eric Bénard <eric at eukrea.com>
> ---
>  recipes/perl/liburi-perl_1.52.bb |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/recipes/perl/liburi-perl_1.52.bb b/recipes/perl/liburi-perl_1.52.bb
> index d9cf315..54f69da 100644
> --- a/recipes/perl/liburi-perl_1.52.bb
> +++ b/recipes/perl/liburi-perl_1.52.bb
> @@ -2,9 +2,9 @@ DESCRIPTION = "Manipulates and accesses URI strings"
>  SECTION = "libs"
>  LICENSE = "Artistic|GPL"
>  #RDEPENDS_${PN} += " libmime-base64-perl libnet-perl"
> -PR = "r3"
> +PR = "r4"
>
> -SRC_URI = "http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/URI-${PV}.tar.gz"
> +SRC_URI = "http://cpan.yimg.com/modules/by-authors/id/GAAS/URI-${PV}.tar.gz"
>
>  S = "${WORKDIR}/URI-${PV}"
>
> --

Hm, you're touching an interesting issue here.
First time I tried:
http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/URI-1.52.tar.gz works for me
it did not work, 2nd time it did 3rd time it didn't
seems it sometimes redirects to a mirror that is not there or does not
have the file
I got as faulty mirror:
http://archive.cs.uu.nl/mirror/CPAN/authors/id/G/GA/GAAS/URI-1.52.tar.gz

cpan.yimg.com is apparently not something that redirects to a mirror
so seems a better choice.
Probably we should also do something like this for other recipes that
use search.cpan.org

It might also be a good plan to update the recipe to 1.55.

One other thing: The rdepends is commented out.
Accordign to http://deps.cpantesters.org/?module=URI;perl=latest the
depends are on
 1.  	      MIME::Base64   	 S  B  R  D   	  	 Core module   	 Core module
	2. 	     ExtUtils::MakeMaker 	S B R D 		Core module 	Core module
Suggest to fix this too.

After considering those fixes
Acked-by: Frans Meulenbroeks <fransmeulenbroeks at yahoo.com>




More information about the Openembedded-devel mailing list