Message ID | 1405614782-3667-2-git-send-email-francois.perrad@gadz.org |
---|---|
State | Accepted |
Headers | show |
Dear Francois Perrad, On Thu, 17 Jul 2014 18:32:59 +0200, Francois Perrad wrote: > Signed-off-by: Francois Perrad <francois.perrad@gadz.org> > --- > package/Config.in | 1 + > package/perl-io-socket-ssl/Config.in | 11 +++++++++++ > package/perl-io-socket-ssl/perl-io-socket-ssl.mk | 13 +++++++++++++ > 3 files changed, 25 insertions(+) > create mode 100644 package/perl-io-socket-ssl/Config.in > create mode 100644 package/perl-io-socket-ssl/perl-io-socket-ssl.mk Applied, thanks. Thomas
Dear Francois Perrad, On Thu, 17 Jul 2014 18:32:59 +0200, Francois Perrad wrote: > +PERL_IO_SOCKET_SSL_VERSION = 1.997 > +PERL_IO_SOCKET_SSL_SOURCE = IO-Socket-SSL-$(PERL_IO_SOCKET_SSL_VERSION).tar.gz > +PERL_IO_SOCKET_SSL_SITE = $(BR2_CPAN_MIRROR)/authors/id/S/SU/SULLR/ Yet another issue with the CPAN mirror: http://autobuild.buildroot.org/results/5f1/5f15763397244d6f89918a8eebc6952a2895bad0/build-end.log. Any fix? Thanks, Thomas
2014-07-17 23:08 GMT+02:00 Thomas Petazzoni <thomas.petazzoni@free-electrons.com>: > Dear Francois Perrad, > > On Thu, 17 Jul 2014 18:32:59 +0200, Francois Perrad wrote: > >> +PERL_IO_SOCKET_SSL_VERSION = 1.997 >> +PERL_IO_SOCKET_SSL_SOURCE = IO-Socket-SSL-$(PERL_IO_SOCKET_SSL_VERSION).tar.gz >> +PERL_IO_SOCKET_SSL_SITE = $(BR2_CPAN_MIRROR)/authors/id/S/SU/SULLR/ > > Yet another issue with the CPAN mirror: > http://autobuild.buildroot.org/results/5f1/5f15763397244d6f89918a8eebc6952a2895bad0/build-end.log. > > Any fix? Seems not a permanent failure. $ wget http://search.cpan.org/CPAN/authors/id/S/SU/SULLR/IO-Socket-SSL-1.997.tar.gz works fine at this time for me. François > > Thanks, > > Thomas > -- > Thomas Petazzoni, CTO, Free Electrons > Embedded Linux, Kernel and Android engineering > http://free-electrons.com > _______________________________________________ > buildroot mailing list > buildroot@busybox.net > http://lists.busybox.net/mailman/listinfo/buildroot
Dear François Perrad, On Fri, 18 Jul 2014 15:00:53 +0200, François Perrad wrote: > > Yet another issue with the CPAN mirror: > > http://autobuild.buildroot.org/results/5f1/5f15763397244d6f89918a8eebc6952a2895bad0/build-end.log. > > > > Any fix? > > Seems not a permanent failure. > $ wget http://search.cpan.org/CPAN/authors/id/S/SU/SULLR/IO-Socket-SSL-1.997.tar.gz > works fine at this time for me. But again, with the new perl packages just merged: http://autobuild.buildroot.org/results/6a8/6a89ac18c44490fd25792c39286acbf6c4830e60/build-end.log http://autobuild.buildroot.org/results/c80/c80d549e38bfa15e19bec7ef226c0120d4adb6ab/build-end.log http://autobuild.buildroot.org/results/bee/bee5add7dad08a573cad2aa1f438625b135551dd/build-end.log Wouldn't it be possible to find a more reliable CPAN mirror to use as the default? Thanks, Thomas
2014-07-19 0:38 GMT+02:00 Thomas Petazzoni <thomas.petazzoni@free-electrons.com>: > Dear François Perrad, > > On Fri, 18 Jul 2014 15:00:53 +0200, François Perrad wrote: > >> > Yet another issue with the CPAN mirror: >> > http://autobuild.buildroot.org/results/5f1/5f15763397244d6f89918a8eebc6952a2895bad0/build-end.log. >> > >> > Any fix? >> >> Seems not a permanent failure. >> $ wget http://search.cpan.org/CPAN/authors/id/S/SU/SULLR/IO-Socket-SSL-1.997.tar.gz >> works fine at this time for me. > > But again, with the new perl packages just merged: > > http://autobuild.buildroot.org/results/6a8/6a89ac18c44490fd25792c39286acbf6c4830e60/build-end.log > http://autobuild.buildroot.org/results/c80/c80d549e38bfa15e19bec7ef226c0120d4adb6ab/build-end.log > http://autobuild.buildroot.org/results/bee/bee5add7dad08a573cad2aa1f438625b135551dd/build-end.log > > Wouldn't it be possible to find a more reliable CPAN mirror to use as > the default? > There are 258 mirrors, see http://www.cpan.org/SITES.html and their status are tracked by http://mirrors.cpan.org/ François > Thanks, > > Thomas > -- > Thomas Petazzoni, CTO, Free Electrons > Embedded Linux, Kernel and Android engineering > http://free-electrons.com
Dear François Perrad, On Sat, 19 Jul 2014 09:15:58 +0200, François Perrad wrote: > > But again, with the new perl packages just merged: > > > > http://autobuild.buildroot.org/results/6a8/6a89ac18c44490fd25792c39286acbf6c4830e60/build-end.log > > http://autobuild.buildroot.org/results/c80/c80d549e38bfa15e19bec7ef226c0120d4adb6ab/build-end.log > > http://autobuild.buildroot.org/results/bee/bee5add7dad08a573cad2aa1f438625b135551dd/build-end.log > > > > Wouldn't it be possible to find a more reliable CPAN mirror to use as > > the default? > > There are 258 mirrors, see http://www.cpan.org/SITES.html > and their status are tracked by http://mirrors.cpan.org/ Could you select one that apparently works well, and propose a patch to use it as the default? Thanks! Thomas
François, All, On 2014-07-19 10:58 +0200, Thomas Petazzoni spake thusly: > On Sat, 19 Jul 2014 09:15:58 +0200, François Perrad wrote: > > > > But again, with the new perl packages just merged: > > > > > > http://autobuild.buildroot.org/results/6a8/6a89ac18c44490fd25792c39286acbf6c4830e60/build-end.log > > > http://autobuild.buildroot.org/results/c80/c80d549e38bfa15e19bec7ef226c0120d4adb6ab/build-end.log > > > http://autobuild.buildroot.org/results/bee/bee5add7dad08a573cad2aa1f438625b135551dd/build-end.log > > > > > > Wouldn't it be possible to find a more reliable CPAN mirror to use as > > > the default? > > > > There are 258 mirrors, see http://www.cpan.org/SITES.html > > and their status are tracked by http://mirrors.cpan.org/ > > Could you select one that apparently works well, and propose a patch to > use it as the default? Why not use http://cpan.metacpan.org/ as the mirror? It looks like this one is a round-robin mirror (I got at least 7 different IPs in different sub-nets.) I'll check if all our perl modules are available there before sending a patch. Regards, Yann E. MORIN.
diff --git a/package/Config.in b/package/Config.in index c626968..e65d8ab 100644 --- a/package/Config.in +++ b/package/Config.in @@ -428,6 +428,7 @@ endif source "package/perl/Config.in" if BR2_PACKAGE_PERL menu "Perl libraries/modules" + source "package/perl-io-socket-ssl/Config.in" source "package/perl-mojolicious/Config.in" source "package/perl-net-ssleay/Config.in" source "package/perl-xml-libxml/Config.in" diff --git a/package/perl-io-socket-ssl/Config.in b/package/perl-io-socket-ssl/Config.in new file mode 100644 index 0000000..c8d038a --- /dev/null +++ b/package/perl-io-socket-ssl/Config.in @@ -0,0 +1,11 @@ +config BR2_PACKAGE_PERL_IO_SOCKET_SSL + bool "perl-io-socket-ssl" + depends on !BR2_PREFER_STATIC_LIB + select BR2_PACKAGE_PERL_NET_SSLEAY + help + Nearly transparent SSL encapsulation for IO::Socket::INET. + + https://github.com/noxxi/p5-io-socket-ssl + +comment "perl-io-socket-ssl needs a toolchain w/ dynamic library" + depends on BR2_PREFER_STATIC_LIB diff --git a/package/perl-io-socket-ssl/perl-io-socket-ssl.mk b/package/perl-io-socket-ssl/perl-io-socket-ssl.mk new file mode 100644 index 0000000..103a160 --- /dev/null +++ b/package/perl-io-socket-ssl/perl-io-socket-ssl.mk @@ -0,0 +1,13 @@ +################################################################################ +# +# perl-io-socket-ssl +# +################################################################################ + +PERL_IO_SOCKET_SSL_VERSION = 1.997 +PERL_IO_SOCKET_SSL_SOURCE = IO-Socket-SSL-$(PERL_IO_SOCKET_SSL_VERSION).tar.gz +PERL_IO_SOCKET_SSL_SITE = $(BR2_CPAN_MIRROR)/authors/id/S/SU/SULLR/ +PERL_IO_SOCKET_SSL_DEPENDENCIES = perl perl-net-ssleay +PERL_IO_SOCKET_SSL_LICENSE = Artistic or GPLv1+ + +$(eval $(perl-package))
Signed-off-by: Francois Perrad <francois.perrad@gadz.org> --- package/Config.in | 1 + package/perl-io-socket-ssl/Config.in | 11 +++++++++++ package/perl-io-socket-ssl/perl-io-socket-ssl.mk | 13 +++++++++++++ 3 files changed, 25 insertions(+) create mode 100644 package/perl-io-socket-ssl/Config.in create mode 100644 package/perl-io-socket-ssl/perl-io-socket-ssl.mk