perl: bump to version 5.26.1
PATCH 1/1 perl: bump to version 5.26.1
Signed-off-by Francois Perrad <[email protected]>
--- package/perl/perl.hash | 12 ++++++------ package/perl/perl.mk | 8 ++++---- utils/scancpan | 18 +++++++++--------- 3 files changed, 19 insertions(+), 19 deletions(-)
package/perl/perl.hash +6 -6
@@ -1,7 +1,7 @@ -# Hashes from: http://www.cpan.org/src/5.0/perl-5.24.2.tar.xz.{md5,sha1,sha256}.txt -md5 b7c027975a476dbb9aa7202f760d8eca perl-5.24.2.tar.xz -sha1 61761989df70b10470bc387050974be72e33217e perl-5.24.2.tar.xz -sha256 b25dd465ef32edf853078eb540b26243db0a3b5e1b1cc84393703d9564be67c0 perl-5.24.2.tar.xz +# Hashes from: http://www.cpan.org/src/5.0/perl-5.26.1.tar.xz.{md5,sha1,sha256}.txt +md5 70e988b4318739b0cf3ad5e120bfde88 perl-5.26.1.tar.xz +sha1 403bb1804cb41416153d908eea093f2be22a77f6 perl-5.26.1.tar.xz +sha256 fe8208133e73e47afc3251c08d2c21c5a60160165a8ab8b669c43a420e4ec680 perl-5.26.1.tar.xz -# Hashes from: http://github.com/arsv/perl-cross/releases/download/1.1.6/perl-cross-1.1.6.hash -sha256 2b3b88f54d85beb438bd2dddd948e2d89461db5ab6253f01b3c2c9ae3ddc30b4 perl-cross-1.1.6.tar.gz +# Hashes from: http://github.com/arsv/perl-cross/releases/download/1.1.7/perl-cross-1.1.7.hash +sha256 b79ce9d766b5f527ad7e73cb86d541da88ecbb69a443ee5f14658dd8f9e9415f perl-cross-1.1.7.tar.gz
package/perl/perl.mk +4 -4
@@ -4,16 +4,16 @@ # ################################################################################ -# When updating the version here, also update support/scripts/scancpan -PERL_VERSION_MAJOR = 24 -PERL_VERSION = 5.$(PERL_VERSION_MAJOR).2 +# When updating the version here, also update utils/scancpan +PERL_VERSION_MAJOR = 26 +PERL_VERSION = 5.$(PERL_VERSION_MAJOR).1 PERL_SITE = http://www.cpan.org/src/5.0 PERL_SOURCE = perl-$(PERL_VERSION).tar.xz PERL_LICENSE = Artistic or GPL-1.0+ PERL_LICENSE_FILES = Artistic Copying README PERL_INSTALL_STAGING = YES -PERL_CROSS_VERSION = 1.1.6 +PERL_CROSS_VERSION = 1.1.7 # DO NOT refactor with the github helper (the result is not the same) PERL_CROSS_SITE = https://github.com/arsv/perl-cross/releases/download/$(PERL_CROSS_VERSION) PERL_CROSS_SOURCE = perl-cross-$(PERL_CROSS_VERSION).tar.gz
utils/scancpan +9 -9
@@ -484,9 +484,9 @@ use HTTP::Tiny; use Safe; use MetaCPAN::API::Tiny; -# Below, 5.024 should be aligned with the version of perl actually +# Below, 5.026 should be aligned with the version of perl actually # bundled in Buildroot: -die <<"MSG" if $] < 5.024; +die <<"MSG" if $] < 5.026; This script needs a host perl with the same major version as Buildroot target perl. Your current host perl is:
@@ -494,7 +494,7 @@ Your current host perl is: version $] You may install a local one by running: - perlbrew install perl-5.24.0 + perlbrew install perl-5.26.0 MSG my ($help, $man, $quiet, $force, $recommend, $test, $host);
@@ -527,8 +527,8 @@ my $ua = HTTP::Tiny->new(); sub get_checksum { my ($url) = @_; - my($path) = $url =~ m|^[^:/?#]+://[^/?#]*([^?#]*)|; - my($basename, $dirname) = fileparse( $path ); + my ($path) = $url =~ m|^[^:/?#]+://[^/?#]*([^?#]*)|; + my ($basename, $dirname) = fileparse( $path ); unless ($checksum{$dirname}) { my $url = $mirror . $dirname . q{CHECKSUMS}; my $response = $ua->get($url);
@@ -673,11 +673,11 @@ while (my ($distname, $dist) = each %dist) { } if ($force || !-f $mkname) { my $version = $dist->{version}; - my($path) = $dist->{download_url} =~ m|^[^:/?#]+://[^/?#]*([^?#]*)|; + my ($path) = $dist->{download_url} =~ m|^[^:/?#]+://[^/?#]*([^?#]*)|; # this URL contains only the scheme, auth and path parts (but no query and fragment parts) # the scheme is not used, because the job is done by the BR download infrastructure # the auth part is not used, because we use $(BR2_CPAN_MIRROR) - my($filename, $directories, $suffix) = fileparse( $path, q{tar.gz}, q{tgz} ); + my ($filename, $directories, $suffix) = fileparse( $path, q{tar.gz}, q{tgz} ); $directories =~ s|/$||; my $dependencies = join q{ }, map( { q{host-} . fsname( $_ ); } sort @{$deps_build{$distname}} ), map( { fsname( $_ ); } sort @{$deps_runtime{$distname}} );
@@ -723,7 +723,7 @@ while (my ($distname, $dist) = each %dist) { close $fh; } if ($force || !-f $hashname) { - my($checksum, $filename) = get_checksum($dist->{download_url}); + my ($checksum, $filename) = get_checksum($dist->{download_url}); my $md5 = $checksum->{md5}; my $sha256 = $checksum->{sha256}; say qq{write ${hashname}} unless $quiet;
@@ -831,7 +831,7 @@ in order to work with the right CoreList data. =head1 LICENSE -Copyright (C) 2013-2016 by Francois Perrad <[email protected]> +Copyright (C) 2013-2017 by Francois Perrad <[email protected]> This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by
Signature · 1 line
2.11.0
PATCH 1/1 perl: bump to version 5.26.1
Am Wed, 27 Sep 2017 10:32:50 +0200 schrieb Francois Perrad:
Quoted 6 lines
Signed-off-by Francois Perrad <[email protected]>--- package/perl/perl.hash | 12 ++++++------ package/perl/perl.mk | 8 ++++---- utils/scancpan | 18 +++++++++--------- 3 files changed, 19 insertions(+), 19 deletions(-)
Hi,
Tested-by Bernd Kuhls <[email protected]>
[build-tested using this defconfig:
BR2_aarch64=y
BR2_PACKAGE_PERL=y
BR2_PACKAGE_PERL_DATETIME_TINY=y
BR2_PACKAGE_PERL_DIGEST_SHA1=y
BR2_PACKAGE_PERL_FILE_UTIL=y
BR2_PACKAGE_PERL_GDGRAPH=y
BR2_PACKAGE_PERL_IO_SOCKET_SSL=y
BR2_PACKAGE_PERL_JSON_TINY=y
BR2_PACKAGE_PERL_LIBWWW_PERL=y
BR2_PACKAGE_PERL_MAIL_DKIM=y
BR2_PACKAGE_PERL_MIME_BASE64=y
BR2_PACKAGE_PERL_MOJOLICIOUS=y
BR2_PACKAGE_PERL_NETADDR_IP=y
BR2_PACKAGE_PERL_PATH_TINY=y
BR2_PACKAGE_PERL_TIME_HIRES=y
BR2_PACKAGE_PERL_XML_LIBXML=y ]
PATCH 1/1 perl: bump to version 5.26.1
In reply to Francois PerradQuoted 3 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Francois" == Francois Perrad <[email protected]> writes:
Signed-off-by Francois Perrad <[email protected]>
Committed, thanks.
Signature · 1 line
Bye, Peter Korsgaard