Skip to content

Commit

Permalink
Update inc/bundle, ChangeLog and bump to version 0.9134
Browse files Browse the repository at this point in the history
  • Loading branch information
bingos committed Jan 21, 2013
1 parent f721cb2 commit af44491
Show file tree
Hide file tree
Showing 58 changed files with 1,214 additions and 1,173 deletions.
4 changes: 4 additions & 0 deletions ChangeLog
@@ -1,3 +1,7 @@
Changes for 0.9134 Mon Jan 21 20:00:03 2013
================================================
* $VERSION all library files

Changes for 0.9133 Sat Sep 29 11:49:02 2012
================================================
* Fix MANIFEST for last release
Expand Down
2 changes: 1 addition & 1 deletion META.yml
Expand Up @@ -18,4 +18,4 @@ resources:
license: http://dev.perl.org/licenses/
homepage: http://github.com/jib/cpanplus-devel
repository: http://github.com/jib/cpanplus-devel
version: 0.9133
version: 0.9134
11 changes: 8 additions & 3 deletions inc/bundle/Archive/Extract.pm
Expand Up @@ -16,6 +16,7 @@ use Locale::Maketext::Simple Style => 'gettext';
### solaris has silly /bin/tar output ###
use constant ON_SOLARIS => $^O eq 'solaris' ? 1 : 0;
use constant ON_NETBSD => $^O eq 'netbsd' ? 1 : 0;
use constant ON_OPENBSD => $^O eq 'openbsd' ? 1 : 0;
use constant ON_FREEBSD => $^O eq 'freebsd' ? 1 : 0;
use constant ON_LINUX => $^O eq 'linux' ? 1 : 0;
use constant FILE_EXISTS => sub { -e $_[0] ? 1 : 0 };
Expand Down Expand Up @@ -46,7 +47,7 @@ use vars qw[$VERSION $PREFER_BIN $PROGRAMS $WARN $DEBUG
$_ALLOW_BIN $_ALLOW_PURE_PERL $_ALLOW_TAR_ITER
];

$VERSION = '0.60';
$VERSION = '0.62';
$PREFER_BIN = 0;
$WARN = 1;
$DEBUG = 0;
Expand Down Expand Up @@ -140,6 +141,10 @@ 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 ) {
# try gtar first
next CMD if $PROGRAMS->{$pgm} = can_run('gtar');
}
$PROGRAMS->{$pgm} = can_run($pgm);
}

Expand Down Expand Up @@ -654,7 +659,7 @@ sub have_old_bunzip2 {
### check for /bin/tar ###
### check for /bin/gzip if we need it ###
### if any of the binaries are not available, return NA
{ my $diag = not $self->bin_tar ?
{ my $diag = !$self->bin_tar ?
loc("No '%1' program found", '/bin/tar') :
$self->is_tgz && !$self->bin_gzip ?
loc("No '%1' program found", '/bin/gzip') :
Expand Down Expand Up @@ -1662,7 +1667,7 @@ thread safe. See C<rt.cpan.org> bug C<#45671> for details.
=head1 BUG REPORTS
Please report bugs or other issues to E<lt>bug-archive-extract@rt.cpan.org<gt>.
Please report bugs or other issues to E<lt>bug-archive-extract@rt.cpan.orgE<gt>.
=head1 AUTHOR
Expand Down

0 comments on commit af44491

Please sign in to comment.