From: Chris 'BinGOs' Williams Date: Sat, 16 Feb 2013 08:09:03 +0000 (+0000) Subject: Update Archive-Extract to CPAN version 0.68 X-Git-Tag: upstream/5.20.0~4016 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4d13b44ebcf953781c3dcbbcca73a9664045197e;p=platform%2Fupstream%2Fperl.git Update Archive-Extract to CPAN version 0.68 [DELTA] Changes for 0.68 Fri Feb 15 22:57:09 2013 ============================================ * Solaris' tar doesn't like some archives on CPAN, prefer gtar if it is available --- diff --git a/Porting/Maintainers.pl b/Porting/Maintainers.pl index 8972e85..b990bc3 100755 --- a/Porting/Maintainers.pl +++ b/Porting/Maintainers.pl @@ -201,7 +201,7 @@ use File::Glob qw(:case); 'Archive::Extract' => { 'MAINTAINER' => 'kane', - 'DISTRIBUTION' => 'BINGOS/Archive-Extract-0.66.tar.gz', + 'DISTRIBUTION' => 'BINGOS/Archive-Extract-0.68.tar.gz', 'FILES' => q[cpan/Archive-Extract], 'UPSTREAM' => 'cpan', 'BUGS' => 'bug-archive-extract@rt.cpan.org', diff --git a/cpan/Archive-Extract/lib/Archive/Extract.pm b/cpan/Archive-Extract/lib/Archive/Extract.pm index 327a660..ae3af3e 100644 --- a/cpan/Archive-Extract/lib/Archive/Extract.pm +++ b/cpan/Archive-Extract/lib/Archive/Extract.pm @@ -48,7 +48,7 @@ use vars qw[$VERSION $PREFER_BIN $PROGRAMS $WARN $DEBUG $_ALLOW_BIN $_ALLOW_PURE_PERL $_ALLOW_TAR_ITER ]; -$VERSION = '0.66'; +$VERSION = '0.68'; $PREFER_BIN = 0; $WARN = 1; $DEBUG = 0; @@ -142,7 +142,7 @@ CMD: for my $pgm (qw[tar unzip gzip bunzip2 uncompress unlzma unxz]) { ($PROGRAMS->{$pgm}) = grep { scalar run(command=> [ $_, $opt, '-1' ]) } can_run($pgm); next CMD; } - if ( $pgm eq 'tar' and ON_OPENBSD ) { + if ( $pgm eq 'tar' and ON_OPENBSD || ON_SOLARIS ) { # try gtar first next CMD if $PROGRAMS->{$pgm} = can_run('gtar'); }