Skip to content

Commit

Permalink
merge the github fork by Alexandr
Browse files Browse the repository at this point in the history
  • Loading branch information
Andreas J. Koenig committed May 7, 2009
2 parents 02ec0a0 + 474da24 commit c09c327
Show file tree
Hide file tree
Showing 5 changed files with 28 additions and 6 deletions.
12 changes: 12 additions & 0 deletions Changes
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
2009-05-07 Andreas J. Koenig <andk@cpan.org>

* this is release 1.93_54 (another release candidate for 1.94, I had
overlooked the patches by Alexandr)

* Help Strawberry perl #41537: will prefer perl unpack modules (unless
it is bz2). (Alexandr Ciornii)

* address #43779: test failures when NFS involved (Alexandr Ciornii)

* adjust tests for 5.6.2 and when no yaml module is available

2009-05-04 Andreas J. Koenig <andk@cpan.org>

* this is release 1.93_53 (release candidate for 1.94)
Expand Down
8 changes: 7 additions & 1 deletion Makefile.PL
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,9 @@ WriteMakefile(
($ExtUtils::MakeMaker::VERSION >= 6.3002 ?
(LICENSE => "perl") : (),
),
($ExtUtils::MakeMaker::VERSION >= 6.48 ?
(MIN_PERL_VERSION => '5.004') : (),
),
clean => {
FILES => "lib/CPAN/Config.pm t/dot-cpan/FTPstats.yml",
},
Expand Down Expand Up @@ -154,7 +157,10 @@ WriteMakefile(
# I took it from RT-CPAN ticket 30098:
($ExtUtils::MakeMaker::VERSION >= 6.4502 ?
(META_ADD => {
repository => "git://github.com/andk/cpanpm.git",
resources => {
repository => "git://github.com/andk/cpanpm.git",
},
keywords => ['CPAN','module','module installation'],
}) : ()),
);

Expand Down
4 changes: 2 additions & 2 deletions lib/CPAN/FTP.pm
Original file line number Diff line number Diff line change
Expand Up @@ -526,7 +526,7 @@ sub _set_attempt {
}

# package CPAN::FTP;
sub hostdleasy {
sub hostdleasy { #called from hostdlxxx
my($self,$host_seq,$file,$aslocal,$stats) = @_;
my($ro_url);
HOSTEASY: for $ro_url (@$host_seq) {
Expand Down Expand Up @@ -871,7 +871,7 @@ sub hostdlhardest {
return;
}
$CPAN::Frontend->mywarn(qq{
As a last ressort we now switch to the external ftp command '$ftpbin'
As a last resort we now switch to the external ftp command '$ftpbin'
to get '$aslocal'.
Doing so often leads to problems that are hard to diagnose.
Expand Down
7 changes: 5 additions & 2 deletions lib/CPAN/Tarzip.pm
Original file line number Diff line number Diff line change
Expand Up @@ -226,14 +226,17 @@ sub untar {
if (0) { # makes changing order easier
} elsif ($BUGHUNTING) {
$prefer=2;
} elsif ($exttar && $extgzip) {
# should be default until Archive::Tar handles bzip2
} elsif ($exttar && $extgzip && $file =~ /\.bz2$/i) {
# until Archive::Tar handles bzip2
$prefer = 1;
} elsif (
$CPAN::META->has_usable("Archive::Tar")
&&
$CPAN::META->has_inst("Compress::Zlib") ) {
$prefer = 2;
} elsif ($exttar && $extgzip) {
# no modules and not bz2
$prefer = 1;
} else {
my $foundtar = $exttar ? "'$exttar'" : "nothing";
my $foundzip = $extgzip ? "'$extgzip'" : $foundtar ? "nothing" : "also nothing";
Expand Down
3 changes: 2 additions & 1 deletion t/30shell.t
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ perl:
time: 1
EOF
}

close FH; #attempt to fix RT#43779
cp _f"t/CPAN/authors/id/A/AN/ANDK/CHECKSUMS.2nd",
_f"t/dot-cpan/sources/authors/id/A/AN/ANDK/CHECKSUMS"
or die "Could not cp t/CPAN/authors/id/A/AN/ANDK/CHECKSUMS.2nd ".
Expand Down Expand Up @@ -139,6 +139,7 @@ match:
patches:
- "$cwd/t/CPAN/TestPatch.txt"
EOF
close FH; #attempt to fix RT#43779

my @prgs;
{
Expand Down

0 comments on commit c09c327

Please sign in to comment.