In perl.git, the branch blead has been updated <http://perl5.git.perl.org/perl.git/commitdiff/090349ceacde613cbfb6dec4d44530ec49c6a549?hp=83f78d1a27d5727dabfc8bcc2b961cb405b831e9>
- Log ----------------------------------------------------------------- commit 090349ceacde613cbfb6dec4d44530ec49c6a549 Author: Chris 'BinGOs' Williams <[email protected]> Date: Sun Dec 4 20:55:58 2011 +0000 Update IO-Compress to CPAN version 2.045 [DELTA] 2.045 3 December 2011 * Restructured IO::Compress::FAQ.pod M Porting/Maintainers.pl M cpan/IO-Compress/Changes M cpan/IO-Compress/Makefile.PL M cpan/IO-Compress/README M cpan/IO-Compress/lib/Compress/Zlib.pm M cpan/IO-Compress/lib/IO/Compress/Adapter/Bzip2.pm M cpan/IO-Compress/lib/IO/Compress/Adapter/Deflate.pm M cpan/IO-Compress/lib/IO/Compress/Adapter/Identity.pm M cpan/IO-Compress/lib/IO/Compress/Base.pm M cpan/IO-Compress/lib/IO/Compress/Base/Common.pm M cpan/IO-Compress/lib/IO/Compress/Bzip2.pm M cpan/IO-Compress/lib/IO/Compress/Deflate.pm M cpan/IO-Compress/lib/IO/Compress/FAQ.pod M cpan/IO-Compress/lib/IO/Compress/Gzip.pm M cpan/IO-Compress/lib/IO/Compress/Gzip/Constants.pm M cpan/IO-Compress/lib/IO/Compress/RawDeflate.pm M cpan/IO-Compress/lib/IO/Compress/Zip.pm M cpan/IO-Compress/lib/IO/Compress/Zip/Constants.pm M cpan/IO-Compress/lib/IO/Compress/Zlib/Constants.pm M cpan/IO-Compress/lib/IO/Compress/Zlib/Extra.pm M cpan/IO-Compress/lib/IO/Uncompress/Adapter/Bunzip2.pm M cpan/IO-Compress/lib/IO/Uncompress/Adapter/Identity.pm M cpan/IO-Compress/lib/IO/Uncompress/Adapter/Inflate.pm M cpan/IO-Compress/lib/IO/Uncompress/AnyInflate.pm M cpan/IO-Compress/lib/IO/Uncompress/AnyUncompress.pm M cpan/IO-Compress/lib/IO/Uncompress/Base.pm M cpan/IO-Compress/lib/IO/Uncompress/Bunzip2.pm M cpan/IO-Compress/lib/IO/Uncompress/Gunzip.pm M cpan/IO-Compress/lib/IO/Uncompress/Inflate.pm M cpan/IO-Compress/lib/IO/Uncompress/RawInflate.pm M cpan/IO-Compress/lib/IO/Uncompress/Unzip.pm M cpan/IO-Compress/t/000prereq.t M pod/perldelta.pod commit 9505dd85d99e2fdda86d779b39c88370f29e71d3 Author: Chris 'BinGOs' Williams <[email protected]> Date: Sun Dec 4 20:48:57 2011 +0000 Update Compress-Raw-Zlib to CPAN version 2.045 [DELTA] 2.045 3 December 2011 * Moved FAQ.pod into Zlib.pm M MANIFEST M Porting/Maintainers.pl M cpan/Compress-Raw-Zlib/Changes M cpan/Compress-Raw-Zlib/README M cpan/Compress-Raw-Zlib/lib/Compress/Raw/Zlib.pm D cpan/Compress-Raw-Zlib/lib/Compress/Raw/Zlib/FAQ.pod M pod/perldelta.pod commit 6475ddc2205b2f1bb01cf4662db2e38a19a15db0 Author: Chris 'BinGOs' Williams <[email protected]> Date: Sun Dec 4 20:45:37 2011 +0000 Update Compress-Raw-Bzip2 to CPAN version 2.045 [DELTA] 2.045 3 December 2011 * Moved FAQ.pod to IO::Compress M MANIFEST M Porting/Maintainers.pl M cpan/Compress-Raw-Bzip2/Changes M cpan/Compress-Raw-Bzip2/README M cpan/Compress-Raw-Bzip2/lib/Compress/Raw/Bzip2.pm D cpan/Compress-Raw-Bzip2/lib/Compress/Raw/Bzip2/FAQ.pod M cpan/Compress-Raw-Bzip2/t/000prereq.t M pod/perldelta.pod ----------------------------------------------------------------------- Summary of changes: MANIFEST | 2 - Porting/Maintainers.pl | 6 +- cpan/Compress-Raw-Bzip2/Changes | 4 + cpan/Compress-Raw-Bzip2/README | 4 +- cpan/Compress-Raw-Bzip2/lib/Compress/Raw/Bzip2.pm | 2 +- .../lib/Compress/Raw/Bzip2/FAQ.pod | 104 ----------- cpan/Compress-Raw-Bzip2/t/000prereq.t | 2 +- cpan/Compress-Raw-Zlib/Changes | 4 + cpan/Compress-Raw-Zlib/README | 4 +- cpan/Compress-Raw-Zlib/lib/Compress/Raw/Zlib.pm | 97 ++++++++++- .../lib/Compress/Raw/Zlib/FAQ.pod | 127 -------------- cpan/IO-Compress/Changes | 4 + cpan/IO-Compress/Makefile.PL | 2 +- cpan/IO-Compress/README | 4 +- cpan/IO-Compress/lib/Compress/Zlib.pm | 12 +- cpan/IO-Compress/lib/IO/Compress/Adapter/Bzip2.pm | 6 +- .../IO-Compress/lib/IO/Compress/Adapter/Deflate.pm | 6 +- .../lib/IO/Compress/Adapter/Identity.pm | 4 +- cpan/IO-Compress/lib/IO/Compress/Base.pm | 4 +- cpan/IO-Compress/lib/IO/Compress/Base/Common.pm | 2 +- cpan/IO-Compress/lib/IO/Compress/Bzip2.pm | 10 +- cpan/IO-Compress/lib/IO/Compress/Deflate.pm | 10 +- cpan/IO-Compress/lib/IO/Compress/FAQ.pod | 183 +++++++++++--------- cpan/IO-Compress/lib/IO/Compress/Gzip.pm | 12 +- cpan/IO-Compress/lib/IO/Compress/Gzip/Constants.pm | 2 +- cpan/IO-Compress/lib/IO/Compress/RawDeflate.pm | 12 +- cpan/IO-Compress/lib/IO/Compress/Zip.pm | 28 ++-- cpan/IO-Compress/lib/IO/Compress/Zip/Constants.pm | 2 +- cpan/IO-Compress/lib/IO/Compress/Zlib/Constants.pm | 2 +- cpan/IO-Compress/lib/IO/Compress/Zlib/Extra.pm | 4 +- .../lib/IO/Uncompress/Adapter/Bunzip2.pm | 6 +- .../lib/IO/Uncompress/Adapter/Identity.pm | 6 +- .../lib/IO/Uncompress/Adapter/Inflate.pm | 6 +- cpan/IO-Compress/lib/IO/Uncompress/AnyInflate.pm | 18 +- .../IO-Compress/lib/IO/Uncompress/AnyUncompress.pm | 40 ++-- cpan/IO-Compress/lib/IO/Uncompress/Base.pm | 4 +- cpan/IO-Compress/lib/IO/Uncompress/Bunzip2.pm | 10 +- cpan/IO-Compress/lib/IO/Uncompress/Gunzip.pm | 14 +- cpan/IO-Compress/lib/IO/Uncompress/Inflate.pm | 8 +- cpan/IO-Compress/lib/IO/Uncompress/RawInflate.pm | 10 +- cpan/IO-Compress/lib/IO/Uncompress/Unzip.pm | 18 +- cpan/IO-Compress/t/000prereq.t | 2 +- pod/perldelta.pod | 6 +- 43 files changed, 349 insertions(+), 464 deletions(-) delete mode 100644 cpan/Compress-Raw-Bzip2/lib/Compress/Raw/Bzip2/FAQ.pod delete mode 100644 cpan/Compress-Raw-Zlib/lib/Compress/Raw/Zlib/FAQ.pod diff --git a/MANIFEST b/MANIFEST index 388ac2f..7153dd4 100644 --- a/MANIFEST +++ b/MANIFEST @@ -226,7 +226,6 @@ cpan/Compress-Raw-Bzip2/Bzip2.xs cpan/Compress-Raw-Bzip2/Changes cpan/Compress-Raw-Bzip2/fallback/constants.h cpan/Compress-Raw-Bzip2/fallback/constants.xs -cpan/Compress-Raw-Bzip2/lib/Compress/Raw/Bzip2/FAQ.pod cpan/Compress-Raw-Bzip2/lib/Compress/Raw/Bzip2.pm cpan/Compress-Raw-Bzip2/Makefile.PL cpan/Compress-Raw-Bzip2/private/MakeUtil.pm @@ -243,7 +242,6 @@ cpan/Compress-Raw-Zlib/examples/filtdef Compress::Raw::Zlib cpan/Compress-Raw-Zlib/examples/filtinf Compress::Raw::Zlib cpan/Compress-Raw-Zlib/fallback/constants.h Compress::Raw::Zlib cpan/Compress-Raw-Zlib/fallback/constants.xs Compress::Raw::Zlib -cpan/Compress-Raw-Zlib/lib/Compress/Raw/Zlib/FAQ.pod Compress::Raw::Zlib cpan/Compress-Raw-Zlib/lib/Compress/Raw/Zlib.pm Compress::Raw::Zlib cpan/Compress-Raw-Zlib/Makefile.PL Compress::Raw::Zlib cpan/Compress-Raw-Zlib/private/MakeUtil.pm Compress::Raw::Zlib diff --git a/Porting/Maintainers.pl b/Porting/Maintainers.pl index 8abc028..1c53363 100755 --- a/Porting/Maintainers.pl +++ b/Porting/Maintainers.pl @@ -378,7 +378,7 @@ use File::Glob qw(:case); 'Compress::Raw::Bzip2' => { 'MAINTAINER' => 'pmqs', - 'DISTRIBUTION' => 'PMQS/Compress-Raw-Bzip2-2.044.tar.gz', + 'DISTRIBUTION' => 'PMQS/Compress-Raw-Bzip2-2.045.tar.gz', 'FILES' => q[cpan/Compress-Raw-Bzip2], 'EXCLUDED' => [ qr{^t/Test/}, qw( bzip2-src/bzip2-cpp.patch @@ -390,7 +390,7 @@ use File::Glob qw(:case); 'Compress::Raw::Zlib' => { 'MAINTAINER' => 'pmqs', - 'DISTRIBUTION' => 'PMQS/Compress-Raw-Zlib-2.044.tar.gz', + 'DISTRIBUTION' => 'PMQS/Compress-Raw-Zlib-2.045.tar.gz', 'FILES' => q[cpan/Compress-Raw-Zlib], 'EXCLUDED' => [ qr{^t/Test/}, @@ -1035,7 +1035,7 @@ use File::Glob qw(:case); 'IO-Compress' => { 'MAINTAINER' => 'pmqs', - 'DISTRIBUTION' => 'PMQS/IO-Compress-2.044.tar.gz', + 'DISTRIBUTION' => 'PMQS/IO-Compress-2.045.tar.gz', 'FILES' => q[cpan/IO-Compress], 'EXCLUDED' => [ qr{t/Test/} ], 'UPSTREAM' => 'cpan', diff --git a/cpan/Compress-Raw-Bzip2/Changes b/cpan/Compress-Raw-Bzip2/Changes index 1b080c2..48a8f9a 100644 --- a/cpan/Compress-Raw-Bzip2/Changes +++ b/cpan/Compress-Raw-Bzip2/Changes @@ -1,6 +1,10 @@ CHANGES ------- + 2.045 3 December 2011 + + * Moved FAQ.pod to IO::Compress + 2.044 2 December 2011 * Moved FAQ.pod under the lib directory so it can get installed diff --git a/cpan/Compress-Raw-Bzip2/README b/cpan/Compress-Raw-Bzip2/README index a833837..39e0b42 100644 --- a/cpan/Compress-Raw-Bzip2/README +++ b/cpan/Compress-Raw-Bzip2/README @@ -1,7 +1,7 @@ Compress-Raw-Bzip2 - Version 2.044 + Version 2.045 3rd December 2011 @@ -164,7 +164,7 @@ To help me help you, I need all of the following information: If you haven't installed Compress-Raw-Bzip2 then search Compress::Raw::Bzip2.pm for a line like this: - $VERSION = "2.044" ; + $VERSION = "2.045" ; c. The version of bzip2 you have used. If you have successfully installed Compress-Raw-Bzip2, this one-liner diff --git a/cpan/Compress-Raw-Bzip2/lib/Compress/Raw/Bzip2.pm b/cpan/Compress-Raw-Bzip2/lib/Compress/Raw/Bzip2.pm index d4b6bc6..90871cb 100644 --- a/cpan/Compress-Raw-Bzip2/lib/Compress/Raw/Bzip2.pm +++ b/cpan/Compress-Raw-Bzip2/lib/Compress/Raw/Bzip2.pm @@ -12,7 +12,7 @@ use Carp ; use bytes ; our ($VERSION, $XS_VERSION, @ISA, @EXPORT, $AUTOLOAD); -$VERSION = '2.044'; +$VERSION = '2.045'; $XS_VERSION = $VERSION; $VERSION = eval $VERSION; diff --git a/cpan/Compress-Raw-Bzip2/lib/Compress/Raw/Bzip2/FAQ.pod b/cpan/Compress-Raw-Bzip2/lib/Compress/Raw/Bzip2/FAQ.pod deleted file mode 100644 index 8b5630b..0000000 --- a/cpan/Compress-Raw-Bzip2/lib/Compress/Raw/Bzip2/FAQ.pod +++ /dev/null @@ -1,104 +0,0 @@ - -=head1 NAME - -Compress::Raw::Bzip2::FAQ -- Frequently Asked Questions about Compress::Raw::Bzip2 - -=head1 DESCRIPTION - -Common questions answered. - -=head2 Compatibility with Unix compress/uncompress. - -This module is not compatible with Unix C<compress>. - -If you have the C<uncompress> program available, you can use this to read -compressed files - - open F, "uncompress -c $filename |"; - while (<F>) - { - ... - -Alternatively, if you have the C<gunzip> program available, you can use -this to read compressed files - - open F, "gunzip -c $filename |"; - while (<F>) - { - ... - -and this to write compress files, if you have the C<compress> program -available - - open F, "| compress -c $filename "; - print F "data"; - ... - close F ; - -=head2 Accessing .tar.Z files - -See previous FAQ item. - -If the C<Archive::Tar> module is installed and either the C<uncompress> or -C<gunzip> programs are available, you can use one of these workarounds to -read C<.tar.Z> files. - -Firstly with C<uncompress> - - use strict; - use warnings; - use Archive::Tar; - - open F, "uncompress -c $filename |"; - my $tar = Archive::Tar->new(*F); - ... - -and this with C<gunzip> - - use strict; - use warnings; - use Archive::Tar; - - open F, "gunzip -c $filename |"; - my $tar = Archive::Tar->new(*F); - ... - -Similarly, if the C<compress> program is available, you can use this to -write a C<.tar.Z> file - - use strict; - use warnings; - use Archive::Tar; - use IO::File; - - my $fh = new IO::File "| compress -c >$filename"; - my $tar = Archive::Tar->new(); - ... - $tar->write($fh); - $fh->close ; - -=head1 SEE ALSO - -L<Compress::Zlib>, L<IO::Compress::Gzip>, L<IO::Uncompress::Gunzip>, L<IO::Compress::Deflate>, L<IO::Uncompress::Inflate>, L<IO::Compress::RawDeflate>, L<IO::Uncompress::RawInflate>, L<IO::Compress:: ... [293 chars truncated] - -L<IO::Compress::FAQ|IO::Compress::FAQ> - -L<File::GlobMapper|File::GlobMapper>, L<Archive::Zip|Archive::Zip>, -L<Archive::Tar|Archive::Tar>, -L<IO::Zlib|IO::Zlib> - -=head1 AUTHOR - -This module was written by Paul Marquess, F<[email protected]>. - -=head1 MODIFICATION HISTORY - -See the Changes file. - -=head1 COPYRIGHT AND LICENSE - -Copyright (c) 2005-2011 Paul Marquess. All rights reserved. - -This program is free software; you can redistribute it and/or -modify it under the same terms as Perl itself. - diff --git a/cpan/Compress-Raw-Bzip2/t/000prereq.t b/cpan/Compress-Raw-Bzip2/t/000prereq.t index b1953bd..a146ebd 100644 --- a/cpan/Compress-Raw-Bzip2/t/000prereq.t +++ b/cpan/Compress-Raw-Bzip2/t/000prereq.t @@ -19,7 +19,7 @@ BEGIN if eval { require Test::NoWarnings ; import Test::NoWarnings; 1 }; - my $VERSION = '2.044'; + my $VERSION = '2.045'; my @NAMES = qw( ); diff --git a/cpan/Compress-Raw-Zlib/Changes b/cpan/Compress-Raw-Zlib/Changes index 57fe2a1..bc0a1a8 100644 --- a/cpan/Compress-Raw-Zlib/Changes +++ b/cpan/Compress-Raw-Zlib/Changes @@ -1,6 +1,10 @@ CHANGES ------- + 2.045 3 December 2011 + + * Moved FAQ.pod into Zlib.pm + 2.044 2 December 2011 * Moved FAQ.pod under the lib directory so it can get installed diff --git a/cpan/Compress-Raw-Zlib/README b/cpan/Compress-Raw-Zlib/README index f43547a..bd90ff4 100644 --- a/cpan/Compress-Raw-Zlib/README +++ b/cpan/Compress-Raw-Zlib/README @@ -1,7 +1,7 @@ Compress-Raw-Zlib - Version 2.044 + Version 2.045 3rd December 2011 @@ -355,7 +355,7 @@ To help me help you, I need all of the following information: If you haven't installed Compress-Raw-Zlib then search Compress::Raw::Zlib.pm for a line like this: - $VERSION = "2.044" ; + $VERSION = "2.045" ; c. The version of zlib you have used. If you have successfully installed Compress-Raw-Zlib, this one-liner diff --git a/cpan/Compress-Raw-Zlib/lib/Compress/Raw/Zlib.pm b/cpan/Compress-Raw-Zlib/lib/Compress/Raw/Zlib.pm index 090a2b5..6907687 100644 --- a/cpan/Compress-Raw-Zlib/lib/Compress/Raw/Zlib.pm +++ b/cpan/Compress-Raw-Zlib/lib/Compress/Raw/Zlib.pm @@ -13,7 +13,7 @@ use warnings ; use bytes ; our ($VERSION, $XS_VERSION, @ISA, @EXPORT, $AUTOLOAD); -$VERSION = '2.044'; +$VERSION = '2.045'; $XS_VERSION = $VERSION; $VERSION = eval $VERSION; @@ -1409,6 +1409,101 @@ to access .zip files, there are other perl modules available that will do all the hard work for you. Check out C<Archive::Zip>, C<IO::Compress::Zip> and C<IO::Uncompress::Unzip>. +=head1 FAQ + +=head2 Compatibility with Unix compress/uncompress. + +This module is not compatible with Unix C<compress>. + +If you have the C<uncompress> program available, you can use this to read +compressed files + + open F, "uncompress -c $filename |"; + while (<F>) + { + ... + +Alternatively, if you have the C<gunzip> program available, you can use +this to read compressed files + + open F, "gunzip -c $filename |"; + while (<F>) + { + ... + +and this to write compress files, if you have the C<compress> program +available + + open F, "| compress -c $filename "; + print F "data"; + ... + close F ; + +=head2 Accessing .tar.Z files + +See previous FAQ item. + +If the C<Archive::Tar> module is installed and either the C<uncompress> or +C<gunzip> programs are available, you can use one of these workarounds to +read C<.tar.Z> files. + +Firstly with C<uncompress> + + use strict; + use warnings; + use Archive::Tar; + + open F, "uncompress -c $filename |"; + my $tar = Archive::Tar->new(*F); + ... + +and this with C<gunzip> + + use strict; + use warnings; + use Archive::Tar; + + open F, "gunzip -c $filename |"; + my $tar = Archive::Tar->new(*F); + ... + +Similarly, if the C<compress> program is available, you can use this to +write a C<.tar.Z> file + + use strict; + use warnings; + use Archive::Tar; + use IO::File; + + my $fh = new IO::File "| compress -c >$filename"; + my $tar = Archive::Tar->new(); + ... + $tar->write($fh); + $fh->close ; + +=head2 Zlib Library Version Support + +By default C<Compress::Raw::Zlib> will build with a private copy of version +1.2.5 of the zlib library. (See the F<README> file for details of +how to override this behaviour) + +If you decide to use a different version of the zlib library, you need to be +aware of the following issues + +=over 5 + +=item * + +First off, you must have zlib 1.0.5 or better. + +=item * + +You need to have zlib 1.2.1 or better if you want to use the C<-Merge> +option with C<IO::Compress::Gzip>, C<IO::Compress::Deflate> and +C<IO::Compress::RawDeflate>. + +=back + =head1 CONSTANTS All the I<zlib> constants are automatically imported when you make use diff --git a/cpan/Compress-Raw-Zlib/lib/Compress/Raw/Zlib/FAQ.pod b/cpan/Compress-Raw-Zlib/lib/Compress/Raw/Zlib/FAQ.pod deleted file mode 100644 index a119946..0000000 --- a/cpan/Compress-Raw-Zlib/lib/Compress/Raw/Zlib/FAQ.pod +++ /dev/null @@ -1,127 +0,0 @@ - -=head1 NAME - -Compress::Raw::Zlib::FAQ -- Frequently Asked Questions about Compress::Raw::Zlib - -=head1 DESCRIPTION - -Common questions answered. - -=head2 Compatibility with Unix compress/uncompress. - -This module is not compatible with Unix C<compress>. - -If you have the C<uncompress> program available, you can use this to read -compressed files - - open F, "uncompress -c $filename |"; - while (<F>) - { - ... - -Alternatively, if you have the C<gunzip> program available, you can use -this to read compressed files - - open F, "gunzip -c $filename |"; - while (<F>) - { - ... - -and this to write compress files, if you have the C<compress> program -available - - open F, "| compress -c $filename "; - print F "data"; - ... - close F ; - -=head2 Accessing .tar.Z files - -See previous FAQ item. - -If the C<Archive::Tar> module is installed and either the C<uncompress> or -C<gunzip> programs are available, you can use one of these workarounds to -read C<.tar.Z> files. - -Firstly with C<uncompress> - - use strict; - use warnings; - use Archive::Tar; - - open F, "uncompress -c $filename |"; - my $tar = Archive::Tar->new(*F); - ... - -and this with C<gunzip> - - use strict; - use warnings; - use Archive::Tar; - - open F, "gunzip -c $filename |"; - my $tar = Archive::Tar->new(*F); - ... - -Similarly, if the C<compress> program is available, you can use this to -write a C<.tar.Z> file - - use strict; - use warnings; - use Archive::Tar; - use IO::File; - - my $fh = new IO::File "| compress -c >$filename"; - my $tar = Archive::Tar->new(); - ... - $tar->write($fh); - $fh->close ; - -=head2 Zlib Library Version Support - -By default C<Compress::Raw::Zlib> will build with a private copy of version -1.2.5 of the zlib library. (See the F<README> file for details of -how to override this behaviour) - -If you decide to use a different version of the zlib library, you need to be -aware of the following issues - -=over 5 - -=item * - -First off, you must have zlib 1.0.5 or better. - -=item * - -You need to have zlib 1.2.1 or better if you want to use the C<-Merge> -option with C<IO::Compress::Gzip>, C<IO::Compress::Deflate> and -C<IO::Compress::RawDeflate>. - -=back - -=head1 SEE ALSO - -L<Compress::Zlib>, L<IO::Compress::Gzip>, L<IO::Uncompress::Gunzip>, L<IO::Compress::Deflate>, L<IO::Uncompress::Inflate>, L<IO::Compress::RawDeflate>, L<IO::Uncompress::RawInflate>, L<IO::Compress:: ... [293 chars truncated] - -L<IO::Compress::FAQ|IO::Compress::FAQ> - -L<File::GlobMapper|File::GlobMapper>, L<Archive::Zip|Archive::Zip>, -L<Archive::Tar|Archive::Tar>, -L<IO::Zlib|IO::Zlib> - -=head1 AUTHOR - -This module was written by Paul Marquess, F<[email protected]>. - -=head1 MODIFICATION HISTORY - -See the Changes file. - -=head1 COPYRIGHT AND LICENSE - -Copyright (c) 2005-2011 Paul Marquess. All rights reserved. - -This program is free software; you can redistribute it and/or -modify it under the same terms as Perl itself. - diff --git a/cpan/IO-Compress/Changes b/cpan/IO-Compress/Changes index d8c82c6..9243733 100644 --- a/cpan/IO-Compress/Changes +++ b/cpan/IO-Compress/Changes @@ -1,6 +1,10 @@ CHANGES ------- + 2.045 3 December 2011 + + * Restructured IO::Compress::FAQ.pod + 2.044 2 December 2011 * Moved FAQ.pod under the lib directory so it can get installed diff --git a/cpan/IO-Compress/Makefile.PL b/cpan/IO-Compress/Makefile.PL index 71809ac..8470625 100644 --- a/cpan/IO-Compress/Makefile.PL +++ b/cpan/IO-Compress/Makefile.PL @@ -3,7 +3,7 @@ use strict ; require 5.004 ; -$::VERSION = '2.044' ; +$::VERSION = '2.045' ; use private::MakeUtil; use ExtUtils::MakeMaker 5.16 ; diff --git a/cpan/IO-Compress/README b/cpan/IO-Compress/README index d72d9b9..8ad08dd 100644 --- a/cpan/IO-Compress/README +++ b/cpan/IO-Compress/README @@ -1,7 +1,7 @@ IO-Compress - Version 2.044 + Version 2.045 3rd December 2011 @@ -89,7 +89,7 @@ To help me help you, I need all of the following information: If you haven't installed IO-Compress then search IO::Compress::Gzip.pm for a line like this: - $VERSION = "2.044" ; + $VERSION = "2.045" ; 2. If you are having problems building IO-Compress, send me a complete log of what happened. Start by unpacking the IO-Compress diff --git a/cpan/IO-Compress/lib/Compress/Zlib.pm b/cpan/IO-Compress/lib/Compress/Zlib.pm index 3b26216..16f0cfa 100644 --- a/cpan/IO-Compress/lib/Compress/Zlib.pm +++ b/cpan/IO-Compress/lib/Compress/Zlib.pm @@ -7,17 +7,17 @@ use Carp ; use IO::Handle ; use Scalar::Util qw(dualvar); -use IO::Compress::Base::Common 2.044 ; -use Compress::Raw::Zlib 2.044 ; -use IO::Compress::Gzip 2.044 ; -use IO::Uncompress::Gunzip 2.044 ; +use IO::Compress::Base::Common 2.045 ; +use Compress::Raw::Zlib 2.045 ; +use IO::Compress::Gzip 2.045 ; +use IO::Uncompress::Gunzip 2.045 ; use strict ; use warnings ; use bytes ; our ($VERSION, $XS_VERSION, @ISA, @EXPORT, @EXPORT_OK, %EXPORT_TAGS); -$VERSION = '2.044'; +$VERSION = '2.045'; $XS_VERSION = $VERSION; $VERSION = eval $VERSION; @@ -453,7 +453,7 @@ sub inflate package Compress::Zlib ; -use IO::Compress::Gzip::Constants 2.044 ; +use IO::Compress::Gzip::Constants 2.045 ; sub memGzip($) { diff --git a/cpan/IO-Compress/lib/IO/Compress/Adapter/Bzip2.pm b/cpan/IO-Compress/lib/IO/Compress/Adapter/Bzip2.pm index 05b9153..96ec70d 100644 --- a/cpan/IO-Compress/lib/IO/Compress/Adapter/Bzip2.pm +++ b/cpan/IO-Compress/lib/IO/Compress/Adapter/Bzip2.pm @@ -4,12 +4,12 @@ use strict; use warnings; use bytes; -use IO::Compress::Base::Common 2.044 qw(:Status); +use IO::Compress::Base::Common 2.045 qw(:Status); -use Compress::Raw::Bzip2 2.044 ; +use Compress::Raw::Bzip2 2.045 ; our ($VERSION); -$VERSION = '2.044'; +$VERSION = '2.045'; sub mkCompObject { diff --git a/cpan/IO-Compress/lib/IO/Compress/Adapter/Deflate.pm b/cpan/IO-Compress/lib/IO/Compress/Adapter/Deflate.pm index d2d444f..a0a03fa 100644 --- a/cpan/IO-Compress/lib/IO/Compress/Adapter/Deflate.pm +++ b/cpan/IO-Compress/lib/IO/Compress/Adapter/Deflate.pm @@ -4,12 +4,12 @@ use strict; use warnings; use bytes; -use IO::Compress::Base::Common 2.044 qw(:Status); +use IO::Compress::Base::Common 2.045 qw(:Status); -use Compress::Raw::Zlib 2.044 qw(Z_OK Z_FINISH MAX_WBITS) ; +use Compress::Raw::Zlib 2.045 qw(Z_OK Z_FINISH MAX_WBITS) ; our ($VERSION); -$VERSION = '2.044'; +$VERSION = '2.045'; sub mkCompObject { diff --git a/cpan/IO-Compress/lib/IO/Compress/Adapter/Identity.pm b/cpan/IO-Compress/lib/IO/Compress/Adapter/Identity.pm index c14b6fb..da04ab6 100644 --- a/cpan/IO-Compress/lib/IO/Compress/Adapter/Identity.pm +++ b/cpan/IO-Compress/lib/IO/Compress/Adapter/Identity.pm @@ -4,10 +4,10 @@ use strict; use warnings; use bytes; -use IO::Compress::Base::Common 2.044 qw(:Status); +use IO::Compress::Base::Common 2.045 qw(:Status); our ($VERSION); -$VERSION = '2.044'; +$VERSION = '2.045'; sub mkCompObject { diff --git a/cpan/IO-Compress/lib/IO/Compress/Base.pm b/cpan/IO-Compress/lib/IO/Compress/Base.pm index 6d9ba9c..c1502b2 100644 --- a/cpan/IO-Compress/lib/IO/Compress/Base.pm +++ b/cpan/IO-Compress/lib/IO/Compress/Base.pm @@ -6,7 +6,7 @@ require 5.004 ; use strict ; use warnings; -use IO::Compress::Base::Common 2.044 ; +use IO::Compress::Base::Common 2.045 ; use IO::File qw(SEEK_SET SEEK_END); ; use Scalar::Util qw(blessed readonly); @@ -20,7 +20,7 @@ use bytes; our (@ISA, $VERSION); @ISA = qw(Exporter IO::File); -$VERSION = '2.044'; +$VERSION = '2.045'; #Can't locate object method "SWASHNEW" via package "utf8" (perhaps you forgot to load "utf8"?) at .../ext/Compress-Zlib/Gzip/blib/lib/Compress/Zlib/Common.pm line 16. diff --git a/cpan/IO-Compress/lib/IO/Compress/Base/Common.pm b/cpan/IO-Compress/lib/IO/Compress/Base/Common.pm index 6884707..f1acf31 100644 --- a/cpan/IO-Compress/lib/IO/Compress/Base/Common.pm +++ b/cpan/IO-Compress/lib/IO/Compress/Base/Common.pm @@ -11,7 +11,7 @@ use File::GlobMapper; require Exporter; our ($VERSION, @ISA, @EXPORT, %EXPORT_TAGS, $HAS_ENCODE); @ISA = qw(Exporter); -$VERSION = '2.044'; +$VERSION = '2.045'; @EXPORT = qw( isaFilehandle isaFilename isaScalar whatIsInput whatIsOutput diff --git a/cpan/IO-Compress/lib/IO/Compress/Bzip2.pm b/cpan/IO-Compress/lib/IO/Compress/Bzip2.pm index fea0df9..6c11ecb 100644 --- a/cpan/IO-Compress/lib/IO/Compress/Bzip2.pm +++ b/cpan/IO-Compress/lib/IO/Compress/Bzip2.pm @@ -5,16 +5,16 @@ use warnings; use bytes; require Exporter ; -use IO::Compress::Base 2.044 ; +use IO::Compress::Base 2.045 ; -use IO::Compress::Base::Common 2.044 qw(createSelfTiedObject); -use IO::Compress::Adapter::Bzip2 2.044 ; +use IO::Compress::Base::Common 2.045 qw(createSelfTiedObject); +use IO::Compress::Adapter::Bzip2 2.045 ; our ($VERSION, @ISA, @EXPORT_OK, %EXPORT_TAGS, $Bzip2Error); -$VERSION = '2.044'; +$VERSION = '2.045'; $Bzip2Error = ''; @ISA = qw(Exporter IO::Compress::Base); @@ -51,7 +51,7 @@ sub getExtraParams { my $self = shift ; - use IO::Compress::Base::Common 2.044 qw(:Parse); + use IO::Compress::Base::Common 2.045 qw(:Parse); return ( 'BlockSize100K' => [0, 1, Parse_unsigned, 1], diff --git a/cpan/IO-Compress/lib/IO/Compress/Deflate.pm b/cpan/IO-Compress/lib/IO/Compress/Deflate.pm index a1ed85e..1cf51b8 100644 --- a/cpan/IO-Compress/lib/IO/Compress/Deflate.pm +++ b/cpan/IO-Compress/lib/IO/Compress/Deflate.pm @@ -6,16 +6,16 @@ use bytes; require Exporter ; -use IO::Compress::RawDeflate 2.044 ; +use IO::Compress::RawDeflate 2.045 ; -use Compress::Raw::Zlib 2.044 ; -use IO::Compress::Zlib::Constants 2.044 ; -use IO::Compress::Base::Common 2.044 qw(createSelfTiedObject); +use Compress::Raw::Zlib 2.045 ; +use IO::Compress::Zlib::Constants 2.045 ; +use IO::Compress::Base::Common 2.045 qw(createSelfTiedObject); our ($VERSION, @ISA, @EXPORT_OK, %EXPORT_TAGS, $DeflateError); -$VERSION = '2.044'; +$VERSION = '2.045'; $DeflateError = ''; @ISA = qw(Exporter IO::Compress::RawDeflate); diff --git a/cpan/IO-Compress/lib/IO/Compress/FAQ.pod b/cpan/IO-Compress/lib/IO/Compress/FAQ.pod index ee8a2c6..c105910 100644 --- a/cpan/IO-Compress/lib/IO/Compress/FAQ.pod +++ b/cpan/IO-Compress/lib/IO/Compress/FAQ.pod @@ -1,12 +1,14 @@ =head1 NAME -IO::Compress::FAQ -- Frequently Asked Questions about IO::Compress +IO::Conmpress::FAQ -- Frequently Asked Questions about IO::Compress =head1 DESCRIPTION Common questions answered. +=head1 GENERAL + =head2 Compatibility with Unix compress/uncompress. Although C<Compress::Zlib> has a pair of functions called C<compress> and @@ -83,18 +85,62 @@ write a C<.tar.Z> file $tar->write($fh); $fh->close ; -=head2 Accessing Zip Files +=head2 How do I recompress using a different compression? + +This is easier that you might expect if you realise that all the +C<IO::Compress::*> objects are derived from C<IO::File> and that all the +C<IO::Uncompress::*> modules can read from an C<IO::File> filehandle. + +So, for example, say you have a file compressed with gzip that you want to +recompress with bzip2. Here is all that is needed to carry out the +recompression. + + use IO::Uncompress::Gunzip ':all'; + use IO::Compress::Bzip2 ':all'; + + my $gzipFile = "somefile.gz"; + my $bzipFile = "somefile.bz2"; -This module provides support for reading/writing zip files using the -C<IO::Compress::Zip> and C<IO::Uncompress::Unzip> modules. + my $gunzip = new IO::Uncompress::Gunzip $gzipFile + or die "Cannot gunzip $gzipFile: $GunzipError\n" ; -The primary focus of the C<IO::Compress::Zip> and C<IO::Uncompress::Unzip> -modules is to provide an C<IO::File> compatible streaming read/write -interface to zip files/buffers. They are not fully flegged archivers. If -you are looking for an archiver check out the C<Archive::Zip> module. You -can find it on CPAN at + bzip2 $gunzip => $bzipFile + or die "Cannot bzip2 to $bzipFile: $Bzip2Error\n" ; - http://www.cpan.org/modules/by-module/Archive/Archive-Zip-*.tar.gz +Note, there is a limitation of this technique. Some compression file +formats store extra information along with the compressed data payload. For +example, gzip can optionally store the original filename and Zip stores a +lot of information about the original file. If the original compressed file +contains any of this extra information, it will not be transferred to the +new compressed file usign the technique above. + +=head1 ZIP + +=head2 What Compression Types do IO::Compress::Zip & IO::Uncompress::Unzip support? + +The following compression formats are supported by C<IO::Compress::Zip> and +C<IO::Uncompress::Unzip> + +=over 5 + +=item * Store (method 0) + +No compression at all. + +=item * Deflate (method 8) + +This is the default compression used when creating a zip file with +C<IO::Compress::Zip>. + +=item * Bzip2 (method 12) + +Only supported if the C<IO-Compress-Bzip2> module is installed. + +=item * Lzma (method 14) + +Only supported if the C<IO-Compress-Lzma> module is installed. + +=back =head2 Can I Read/Write Zip files larger the 4 Gig? @@ -134,32 +180,6 @@ In particular, if you are using Info-Zip you need to have zip version 3.x or better to update a Zip64 archive and unzip version 6.x to read a zip64 archive. -=head2 What Compression Types do IO::Compress::Zip & IO::Uncompress::Unzip support? - -The following compression formats are supported by C<IO::Compress::Zip> and -C<IO::Uncompress::Unzip> - -=over 5 - -=item * Store (method 0) - -NO compression at all. - -=item * Deflate (method 8) - -This is the default compression used when creating a zip file with -C<IO::Compress::Zip>. - -=item * Bzip2 (method 12) - -Only supported if the C<IO-Compress-Bzip2> module is available. - -=item * Lzma (method 14) - -Only supported if the C<IO-Compress-Lzma> module is available. - -=back - =head2 Zip Resources The primary reference for zip files is the "appnote" document available at @@ -168,63 +188,23 @@ L<http://www.pkware.com/documents/casestudies/APPNOTE.TXT> An alternatively is the Info-Zip appnote. This is available from L<ftp://ftp.info-zip.org/pub/infozip/doc/> -=head2 Compressed files and Net::FTP +=head1 GZIP -The C<Net::FTP> module provides two low-level methods called C<stor> and -C<retr> that both return filehandles. These filehandles can used with the -C<IO::Compress/Uncompress> modules to compress or uncompress files read -from or written to an FTP Server on the fly, without having to create a -temporary file. - -Firstly, here is code that uses C<retr> to uncompressed a file as it is -read from the FTP Server. - - use Net::FTP; - use IO::Uncompress::Gunzip qw(:all); - - my $ftp = new Net::FTP ... - - my $retr_fh = $ftp->retr($compressed_filename); - gunzip $retr_fh => $outFilename, AutoClose => 1 - or die "Cannot uncompress '$compressed_file': $GunzipError\n"; - -and this to compress a file as it is written to the FTP Server - - use Net::FTP; - use IO::Compress::Gzip qw(:all); +=head2 Gzip Resources - my $stor_fh = $ftp->stor($filename); - gzip "filename" => $stor_fh, AutoClose => 1 - or die "Cannot compress '$filename': $GzipError\n"; +The primary reference for gzip files is RFC 1952 +L<http://www.faqs.org/rfcs/rfc1952.html> -=head2 How do I recompress using a different compression? +The primary site for gzip is F<http://www.gzip.org>. -This is easier that you might expect if you realise that all the -C<IO::Compress::*> objects are derived from C<IO::File> and that all the -C<IO::Uncompress::*> modules can read from an C<IO::File> filehandle. +=head1 ZLIB -So, for example, say you have a file compressed with gzip that you want to -recompress with bzip2. Here is all that is needed to carry out the -recompression. - - use IO::Uncompress::Gunzip ':all'; - use IO::Compress::Bzip2 ':all'; - - my $gzipFile = "somefile.gz"; - my $bzipFile = "somefile.bz2"; - - my $gunzip = new IO::Uncompress::Gunzip $gzipFile - or die "Cannot gunzip $gzipFile: $GunzipError\n" ; +=head2 Zlib Resources - bzip2 $gunzip => $bzipFile - or die "Cannot bzip2 to $bzipFile: $Bzip2Error\n" ; +The primary site for the I<zlib> compression library is +F<http://www.zlib.org>. -Note, there is a limitation of this technique. Some compression file -formats store extra information along with the compressed data payload. For -example, gzip can optionally store the original filename and Zip stores a -lot of information about the original file. If the original compressed file -contains any of this extra information, it will not be transferred to the -new compressed file usign the technique above. +=head1 HTTP & NETWORK =head2 Apache::GZip Revisited @@ -388,6 +368,37 @@ for Content-Encoding you should I<always> use this option. In the example above it will prevent the filename being included in the gzip header and make the size of the gzip data stream a slight bit smaller. +=head2 Compressed files and Net::FTP + +The C<Net::FTP> module provides two low-level methods called C<stor> and +C<retr> that both return filehandles. These filehandles can used with the +C<IO::Compress/Uncompress> modules to compress or uncompress files read +from or written to an FTP Server on the fly, without having to create a +temporary file. + +Firstly, here is code that uses C<retr> to uncompressed a file as it is +read from the FTP Server. + + use Net::FTP; + use IO::Uncompress::Gunzip qw(:all); + + my $ftp = new Net::FTP ... + + my $retr_fh = $ftp->retr($compressed_filename); + gunzip $retr_fh => $outFilename, AutoClose => 1 + or die "Cannot uncompress '$compressed_file': $GunzipError\n"; + +and this to compress a file as it is written to the FTP Server + + use Net::FTP; + use IO::Compress::Gzip qw(:all); + + my $stor_fh = $ftp->stor($filename); + gzip "filename" => $stor_fh, AutoClose => 1 + or die "Cannot compress '$filename': $GzipError\n"; + +=head1 MISC + =head2 Using C<InputLength> to uncompress data embedded in a larger file/buffer. A fairly common use-case is where compressed data is embedded in a larger diff --git a/cpan/IO-Compress/lib/IO/Compress/Gzip.pm b/cpan/IO-Compress/lib/IO/Compress/Gzip.pm index 6914c15..97078a5 100644 --- a/cpan/IO-Compress/lib/IO/Compress/Gzip.pm +++ b/cpan/IO-Compress/lib/IO/Compress/Gzip.pm @@ -8,12 +8,12 @@ use warnings; use bytes; -use IO::Compress::RawDeflate 2.044 ; +use IO::Compress::RawDeflate 2.045 ; -use Compress::Raw::Zlib 2.044 ; -use IO::Compress::Base::Common 2.044 qw(:Status :Parse isaScalar createSelfTiedObject); -use IO::Compress::Gzip::Constants 2.044 ; -use IO::Compress::Zlib::Extra 2.044 ; +use Compress::Raw::Zlib 2.045 ; +use IO::Compress::Base::Common 2.045 qw(:Status :Parse isaScalar createSelfTiedObject); +use IO::Compress::Gzip::Constants 2.045 ; +use IO::Compress::Zlib::Extra 2.045 ; BEGIN { @@ -27,7 +27,7 @@ require Exporter ; our ($VERSION, @ISA, @EXPORT_OK, %EXPORT_TAGS, $GzipError); -$VERSION = '2.044'; +$VERSION = '2.045'; $GzipError = '' ; @ISA = qw(Exporter IO::Compress::RawDeflate); diff --git a/cpan/IO-Compress/lib/IO/Compress/Gzip/Constants.pm b/cpan/IO-Compress/lib/IO/Compress/Gzip/Constants.pm index 2e6d76f..7695b2a 100644 --- a/cpan/IO-Compress/lib/IO/Compress/Gzip/Constants.pm +++ b/cpan/IO-Compress/lib/IO/Compress/Gzip/Constants.pm @@ -9,7 +9,7 @@ require Exporter; our ($VERSION, @ISA, @EXPORT, %GZIP_OS_Names); our ($GZIP_FNAME_INVALID_CHAR_RE, $GZIP_FCOMMENT_INVALID_CHAR_RE); -$VERSION = '2.044'; +$VERSION = '2.045'; @ISA = qw(Exporter); diff --git a/cpan/IO-Compress/lib/IO/Compress/RawDeflate.pm b/cpan/IO-Compress/lib/IO/Compress/RawDeflate.pm index e21e6ad..487cd1b 100644 --- a/cpan/IO-Compress/lib/IO/Compress/RawDeflate.pm +++ b/cpan/IO-Compress/lib/IO/Compress/RawDeflate.pm @@ -7,16 +7,16 @@ use warnings; use bytes; -use IO::Compress::Base 2.044 ; -use IO::Compress::Base::Common 2.044 qw(:Status createSelfTiedObject); -use IO::Compress::Adapter::Deflate 2.044 ; +use IO::Compress::Base 2.045 ; +use IO::Compress::Base::Common 2.045 qw(:Status createSelfTiedObject); +use IO::Compress::Adapter::Deflate 2.045 ; require Exporter ; our ($VERSION, @ISA, @EXPORT_OK, %DEFLATE_CONSTANTS, %EXPORT_TAGS, $RawDeflateError); -$VERSION = '2.044'; +$VERSION = '2.045'; $RawDeflateError = ''; @ISA = qw(Exporter IO::Compress::Base); @@ -142,8 +142,8 @@ sub getZlibParams { my $self = shift ; - use IO::Compress::Base::Common 2.044 qw(:Parse); - use Compress::Raw::Zlib 2.044 qw(Z_DEFLATED Z_DEFAULT_COMPRESSION Z_DEFAULT_STRATEGY); + use IO::Compress::Base::Common 2.045 qw(:Parse); + use Compress::Raw::Zlib 2.045 qw(Z_DEFLATED Z_DEFAULT_COMPRESSION Z_DEFAULT_STRATEGY); return ( diff --git a/cpan/IO-Compress/lib/IO/Compress/Zip.pm b/cpan/IO-Compress/lib/IO/Compress/Zip.pm index 303db18..75d37c5 100644 --- a/cpan/IO-Compress/lib/IO/Compress/Zip.pm +++ b/cpan/IO-Compress/lib/IO/Compress/Zip.pm @@ -4,30 +4,30 @@ use strict ; use warnings; use bytes; -use IO::Compress::Base::Common 2.044 qw(:Status MAX32 isGeMax32 isaScalar createSelfTiedObject); -use IO::Compress::RawDeflate 2.044 ; -use IO::Compress::Adapter::Deflate 2.044 ; -use IO::Compress::Adapter::Identity 2.044 ; -use IO::Compress::Zlib::Extra 2.044 ; -use IO::Compress::Zip::Constants 2.044 ; +use IO::Compress::Base::Common 2.045 qw(:Status MAX32 isGeMax32 isaScalar createSelfTiedObject); +use IO::Compress::RawDeflate 2.045 ; +use IO::Compress::Adapter::Deflate 2.045 ; +use IO::Compress::Adapter::Identity 2.045 ; +use IO::Compress::Zlib::Extra 2.045 ; +use IO::Compress::Zip::Constants 2.045 ; use File::Spec(); use Config; -use Compress::Raw::Zlib 2.044 qw(crc32) ; +use Compress::Raw::Zlib 2.045 qw(crc32) ; BEGIN { eval { require IO::Compress::Adapter::Bzip2 ; - import IO::Compress::Adapter::Bzip2 2.044 ; + import IO::Compress::Adapter::Bzip2 2.045 ; require IO::Compress::Bzip2 ; - import IO::Compress::Bzip2 2.044 ; + import IO::Compress::Bzip2 2.045 ; } ; eval { require IO::Compress::Adapter::Lzma ; - import IO::Compress::Adapter::Lzma 2.044 ; + import IO::Compress::Adapter::Lzma 2.045 ; require IO::Compress::Lzma ; - import IO::Compress::Lzma 2.044 ; + import IO::Compress::Lzma 2.045 ; } ; } @@ -36,7 +36,7 @@ require Exporter ; our ($VERSION, @ISA, @EXPORT_OK, %EXPORT_TAGS, $ZipError); -$VERSION = '2.044'; +$VERSION = '2.045'; $ZipError = ''; @ISA = qw(Exporter IO::Compress::RawDeflate); @@ -643,8 +643,8 @@ sub getExtraParams { my $self = shift ; - use IO::Compress::Base::Common 2.044 qw(:Parse); - use Compress::Raw::Zlib 2.044 qw(Z_DEFLATED Z_DEFAULT_COMPRESSION Z_DEFAULT_STRATEGY); + use IO::Compress::Base::Common 2.045 qw(:Parse); + use Compress::Raw::Zlib 2.045 qw(Z_DEFLATED Z_DEFAULT_COMPRESSION Z_DEFAULT_STRATEGY); my @Bzip2 = (); diff --git a/cpan/IO-Compress/lib/IO/Compress/Zip/Constants.pm b/cpan/IO-Compress/lib/IO/Compress/Zip/Constants.pm index 10b74f8..89e0a5b 100644 --- a/cpan/IO-Compress/lib/IO/Compress/Zip/Constants.pm +++ b/cpan/IO-Compress/lib/IO/Compress/Zip/Constants.pm @@ -7,7 +7,7 @@ require Exporter; our ($VERSION, @ISA, @EXPORT, %ZIP_CM_MIN_VERSIONS); -$VERSION = '2.044'; +$VERSION = '2.045'; @ISA = qw(Exporter); diff --git a/cpan/IO-Compress/lib/IO/Compress/Zlib/Constants.pm b/cpan/IO-Compress/lib/IO/Compress/Zlib/Constants.pm index 5ed370c..92a7e85 100644 --- a/cpan/IO-Compress/lib/IO/Compress/Zlib/Constants.pm +++ b/cpan/IO-Compress/lib/IO/Compress/Zlib/Constants.pm @@ -9,7 +9,7 @@ require Exporter; our ($VERSION, @ISA, @EXPORT); -$VERSION = '2.044'; +$VERSION = '2.045'; @ISA = qw(Exporter); diff --git a/cpan/IO-Compress/lib/IO/Compress/Zlib/Extra.pm b/cpan/IO-Compress/lib/IO/Compress/Zlib/Extra.pm index 4bae32c..c6f80c1 100644 --- a/cpan/IO-Compress/lib/IO/Compress/Zlib/Extra.pm +++ b/cpan/IO-Compress/lib/IO/Compress/Zlib/Extra.pm @@ -8,9 +8,9 @@ use bytes; our ($VERSION, @ISA, @EXPORT_OK, %EXPORT_TAGS); -$VERSION = '2.044'; +$VERSION = '2.045'; -use IO::Compress::Gzip::Constants 2.044 ; +use IO::Compress::Gzip::Constants 2.045 ; sub ExtraFieldError { diff --git a/cpan/IO-Compress/lib/IO/Uncompress/Adapter/Bunzip2.pm b/cpan/IO-Compress/lib/IO/Uncompress/Adapter/Bunzip2.pm index 2acc835..c32ad66 100644 --- a/cpan/IO-Compress/lib/IO/Uncompress/Adapter/Bunzip2.pm +++ b/cpan/IO-Compress/lib/IO/Uncompress/Adapter/Bunzip2.pm @@ -4,12 +4,12 @@ use strict; use warnings; use bytes; -use IO::Compress::Base::Common 2.044 qw(:Status); +use IO::Compress::Base::Common 2.045 qw(:Status); -use Compress::Raw::Bzip2 2.044 ; +use Compress::Raw::Bzip2 2.045 ; our ($VERSION, @ISA); -$VERSION = '2.044'; +$VERSION = '2.045'; sub mkUncompObject { diff --git a/cpan/IO-Compress/lib/IO/Uncompress/Adapter/Identity.pm b/cpan/IO-Compress/lib/IO/Uncompress/Adapter/Identity.pm index 6ced6a7..9c3824a 100644 --- a/cpan/IO-Compress/lib/IO/Uncompress/Adapter/Identity.pm +++ b/cpan/IO-Compress/lib/IO/Uncompress/Adapter/Identity.pm @@ -4,14 +4,14 @@ use warnings; use strict; use bytes; -use IO::Compress::Base::Common 2.044 qw(:Status); +use IO::Compress::Base::Common 2.045 qw(:Status); use IO::Compress::Zip::Constants ; our ($VERSION); -$VERSION = '2.044'; +$VERSION = '2.045'; -use Compress::Raw::Zlib 2.044 (); +use Compress::Raw::Zlib 2.045 (); sub mkUncompObject { diff --git a/cpan/IO-Compress/lib/IO/Uncompress/Adapter/Inflate.pm b/cpan/IO-Compress/lib/IO/Uncompress/Adapter/Inflate.pm index d407f3d..29e1ac3 100644 --- a/cpan/IO-Compress/lib/IO/Uncompress/Adapter/Inflate.pm +++ b/cpan/IO-Compress/lib/IO/Uncompress/Adapter/Inflate.pm @@ -4,11 +4,11 @@ use strict; use warnings; use bytes; -use IO::Compress::Base::Common 2.044 qw(:Status); -use Compress::Raw::Zlib 2.044 qw(Z_OK Z_BUF_ERROR Z_STREAM_END Z_FINISH MAX_WBITS); +use IO::Compress::Base::Common 2.045 qw(:Status); +use Compress::Raw::Zlib 2.045 qw(Z_OK Z_BUF_ERROR Z_STREAM_END Z_FINISH MAX_WBITS); our ($VERSION); -$VERSION = '2.044'; +$VERSION = '2.045'; diff --git a/cpan/IO-Compress/lib/IO/Uncompress/AnyInflate.pm b/cpan/IO-Compress/lib/IO/Uncompress/AnyInflate.pm index 0b2abba..6fb2706 100644 --- a/cpan/IO-Compress/lib/IO/Uncompress/AnyInflate.pm +++ b/cpan/IO-Compress/lib/IO/Uncompress/AnyInflate.pm @@ -6,22 +6,22 @@ use strict; use warnings; use bytes; -use IO::Compress::Base::Common 2.044 qw(createSelfTiedObject); +use IO::Compress::Base::Common 2.045 qw(createSelfTiedObject); -use IO::Uncompress::Adapter::Inflate 2.044 (); +use IO::Uncompress::Adapter::Inflate 2.045 (); -use IO::Uncompress::Base 2.044 ; -use IO::Uncompress::Gunzip 2.044 ; -use IO::Uncompress::Inflate 2.044 ; -use IO::Uncompress::RawInflate 2.044 ; -use IO::Uncompress::Unzip 2.044 ; +use IO::Uncompress::Base 2.045 ; +use IO::Uncompress::Gunzip 2.045 ; +use IO::Uncompress::Inflate 2.045 ; +use IO::Uncompress::RawInflate 2.045 ; +use IO::Uncompress::Unzip 2.045 ; require Exporter ; our ($VERSION, @ISA, @EXPORT_OK, %EXPORT_TAGS, $AnyInflateError); -$VERSION = '2.044'; +$VERSION = '2.045'; $AnyInflateError = ''; @ISA = qw( Exporter IO::Uncompress::Base ); @@ -48,7 +48,7 @@ sub anyinflate sub getExtraParams { - use IO::Compress::Base::Common 2.044 qw(:Parse); + use IO::Compress::Base::Common 2.045 qw(:Parse); return ( 'RawInflate' => [1, 1, Parse_boolean, 0] ) ; } diff --git a/cpan/IO-Compress/lib/IO/Uncompress/AnyUncompress.pm b/cpan/IO-Compress/lib/IO/Uncompress/AnyUncompress.pm index bbc945a..4d4d4b9 100644 --- a/cpan/IO-Compress/lib/IO/Uncompress/AnyUncompress.pm +++ b/cpan/IO-Compress/lib/IO/Uncompress/AnyUncompress.pm @@ -4,16 +4,16 @@ use strict; use warnings; use bytes; -use IO::Compress::Base::Common 2.044 qw(createSelfTiedObject); +use IO::Compress::Base::Common 2.045 qw(createSelfTiedObject); -use IO::Uncompress::Base 2.044 ; +use IO::Uncompress::Base 2.045 ; require Exporter ; our ($VERSION, @ISA, @EXPORT_OK, %EXPORT_TAGS, $AnyUncompressError); -$VERSION = '2.044'; +$VERSION = '2.045'; $AnyUncompressError = ''; @ISA = qw( Exporter IO::Uncompress::Base ); @@ -27,22 +27,22 @@ Exporter::export_ok_tags('all'); BEGIN { - eval ' use IO::Uncompress::Adapter::Inflate 2.044 ;'; - eval ' use IO::Uncompress::Adapter::Bunzip2 2.044 ;'; - eval ' use IO::Uncompress::Adapter::LZO 2.044 ;'; - eval ' use IO::Uncompress::Adapter::Lzf 2.044 ;'; - eval ' use IO::Uncompress::Adapter::UnLzma 2.044 ;'; - eval ' use IO::Uncompress::Adapter::UnXz 2.044 ;'; - - eval ' use IO::Uncompress::Bunzip2 2.044 ;'; - eval ' use IO::Uncompress::UnLzop 2.044 ;'; - eval ' use IO::Uncompress::Gunzip 2.044 ;'; - eval ' use IO::Uncompress::Inflate 2.044 ;'; - eval ' use IO::Uncompress::RawInflate 2.044 ;'; - eval ' use IO::Uncompress::Unzip 2.044 ;'; - eval ' use IO::Uncompress::UnLzf 2.044 ;'; - eval ' use IO::Uncompress::UnLzma 2.044 ;'; - eval ' use IO::Uncompress::UnXz 2.044 ;'; + eval ' use IO::Uncompress::Adapter::Inflate 2.045 ;'; + eval ' use IO::Uncompress::Adapter::Bunzip2 2.045 ;'; + eval ' use IO::Uncompress::Adapter::LZO 2.045 ;'; + eval ' use IO::Uncompress::Adapter::Lzf 2.045 ;'; + eval ' use IO::Uncompress::Adapter::UnLzma 2.045 ;'; + eval ' use IO::Uncompress::Adapter::UnXz 2.045 ;'; + + eval ' use IO::Uncompress::Bunzip2 2.045 ;'; + eval ' use IO::Uncompress::UnLzop 2.045 ;'; + eval ' use IO::Uncompress::Gunzip 2.045 ;'; + eval ' use IO::Uncompress::Inflate 2.045 ;'; + eval ' use IO::Uncompress::RawInflate 2.045 ;'; + eval ' use IO::Uncompress::Unzip 2.045 ;'; + eval ' use IO::Uncompress::UnLzf 2.045 ;'; + eval ' use IO::Uncompress::UnLzma 2.045 ;'; + eval ' use IO::Uncompress::UnXz 2.045 ;'; } sub new @@ -60,7 +60,7 @@ sub anyuncompress sub getExtraParams { - use IO::Compress::Base::Common 2.044 qw(:Parse); + use IO::Compress::Base::Common 2.045 qw(:Parse); return ( 'RawInflate' => [1, 1, Parse_boolean, 0] , 'UnLzma' => [1, 1, Parse_boolean, 0] ) ; } diff --git a/cpan/IO-Compress/lib/IO/Uncompress/Base.pm b/cpan/IO-Compress/lib/IO/Uncompress/Base.pm index 21acad7..b4c7454 100644 --- a/cpan/IO-Compress/lib/IO/Uncompress/Base.pm +++ b/cpan/IO-Compress/lib/IO/Uncompress/Base.pm @@ -9,12 +9,12 @@ our (@ISA, $VERSION, @EXPORT_OK, %EXPORT_TAGS); @ISA = qw(Exporter IO::File); -$VERSION = '2.044'; +$VERSION = '2.045'; use constant G_EOF => 0 ; use constant G_ERR => -1 ; -use IO::Compress::Base::Common 2.044 ; +use IO::Compress::Base::Common 2.045 ; use IO::File ; use Symbol; diff --git a/cpan/IO-Compress/lib/IO/Uncompress/Bunzip2.pm b/cpan/IO-Compress/lib/IO/Uncompress/Bunzip2.pm index 659e87e..c1e65a5 100644 --- a/cpan/IO-Compress/lib/IO/Uncompress/Bunzip2.pm +++ b/cpan/IO-Compress/lib/IO/Uncompress/Bunzip2.pm @@ -4,15 +4,15 @@ use strict ; use warnings; use bytes; -use IO::Compress::Base::Common 2.044 qw(:Status createSelfTiedObject); +use IO::Compress::Base::Common 2.045 qw(:Status createSelfTiedObject); -use IO::Uncompress::Base 2.044 ; -use IO::Uncompress::Adapter::Bunzip2 2.044 ; +use IO::Uncompress::Base 2.045 ; +use IO::Uncompress::Adapter::Bunzip2 2.045 ; require Exporter ; our ($VERSION, @ISA, @EXPORT_OK, %EXPORT_TAGS, $Bunzip2Error); -$VERSION = '2.044'; +$VERSION = '2.045'; $Bunzip2Error = ''; @ISA = qw( Exporter IO::Uncompress::Base ); @@ -40,7 +40,7 @@ sub getExtraParams { my $self = shift ; - use IO::Compress::Base::Common 2.044 qw(:Parse); + use IO::Compress::Base::Common 2.045 qw(:Parse); return ( 'Verbosity' => [1, 1, Parse_boolean, 0], diff --git a/cpan/IO-Compress/lib/IO/Uncompress/Gunzip.pm b/cpan/IO-Compress/lib/IO/Uncompress/Gunzip.pm index d6c1ce4..7589fe4 100644 --- a/cpan/IO-Compress/lib/IO/Uncompress/Gunzip.pm +++ b/cpan/IO-Compress/lib/IO/Uncompress/Gunzip.pm @@ -9,12 +9,12 @@ use strict ; use warnings; use bytes; -use IO::Uncompress::RawInflate 2.044 ; +use IO::Uncompress::RawInflate 2.045 ; -use Compress::Raw::Zlib 2.044 qw( crc32 ) ; -use IO::Compress::Base::Common 2.044 qw(:Status createSelfTiedObject); -use IO::Compress::Gzip::Constants 2.044 ; -use IO::Compress::Zlib::Extra 2.044 ; +use Compress::Raw::Zlib 2.045 qw( crc32 ) ; +use IO::Compress::Base::Common 2.045 qw(:Status createSelfTiedObject); +use IO::Compress::Gzip::Constants 2.045 ; +use IO::Compress::Zlib::Extra 2.045 ; require Exporter ; @@ -28,7 +28,7 @@ Exporter::export_ok_tags('all'); $GunzipError = ''; -$VERSION = '2.044'; +$VERSION = '2.045'; sub new { @@ -47,7 +47,7 @@ sub gunzip sub getExtraParams { - use IO::Compress::Base::Common 2.044 qw(:Parse); + use IO::Compress::Base::Common 2.045 qw(:Parse); return ( 'ParseExtra' => [1, 1, Parse_boolean, 0] ) ; } diff --git a/cpan/IO-Compress/lib/IO/Uncompress/Inflate.pm b/cpan/IO-Compress/lib/IO/Uncompress/Inflate.pm index 951fc66..ade1bda 100644 --- a/cpan/IO-Compress/lib/IO/Uncompress/Inflate.pm +++ b/cpan/IO-Compress/lib/IO/Uncompress/Inflate.pm @@ -5,15 +5,15 @@ use strict ; use warnings; use bytes; -use IO::Compress::Base::Common 2.044 qw(:Status createSelfTiedObject); -use IO::Compress::Zlib::Constants 2.044 ; +use IO::Compress::Base::Common 2.045 qw(:Status createSelfTiedObject); +use IO::Compress::Zlib::Constants 2.045 ; -use IO::Uncompress::RawInflate 2.044 ; +use IO::Uncompress::RawInflate 2.045 ; require Exporter ; our ($VERSION, @ISA, @EXPORT_OK, %EXPORT_TAGS, $InflateError); -$VERSION = '2.044'; +$VERSION = '2.045'; $InflateError = ''; @ISA = qw( Exporter IO::Uncompress::RawInflate ); diff --git a/cpan/IO-Compress/lib/IO/Uncompress/RawInflate.pm b/cpan/IO-Compress/lib/IO/Uncompress/RawInflate.pm index f24d1da..102ca9a 100644 --- a/cpan/IO-Compress/lib/IO/Uncompress/RawInflate.pm +++ b/cpan/IO-Compress/lib/IO/Uncompress/RawInflate.pm @@ -5,16 +5,16 @@ use strict ; use warnings; use bytes; -use Compress::Raw::Zlib 2.044 ; -use IO::Compress::Base::Common 2.044 qw(:Status createSelfTiedObject); +use Compress::Raw::Zlib 2.045 ; +use IO::Compress::Base::Common 2.045 qw(:Status createSelfTiedObject); -use IO::Uncompress::Base 2.044 ; -use IO::Uncompress::Adapter::Inflate 2.044 ; +use IO::Uncompress::Base 2.045 ; +use IO::Uncompress::Adapter::Inflate 2.045 ; require Exporter ; our ($VERSION, @ISA, @EXPORT_OK, %EXPORT_TAGS, %DEFLATE_CONSTANTS, $RawInflateError); -$VERSION = '2.044'; +$VERSION = '2.045'; $RawInflateError = ''; @ISA = qw( Exporter IO::Uncompress::Base ); diff --git a/cpan/IO-Compress/lib/IO/Uncompress/Unzip.pm b/cpan/IO-Compress/lib/IO/Uncompress/Unzip.pm index 89d0703..a1088f0 100644 --- a/cpan/IO-Compress/lib/IO/Uncompress/Unzip.pm +++ b/cpan/IO-Compress/lib/IO/Uncompress/Unzip.pm @@ -9,14 +9,14 @@ use warnings; use bytes; use IO::File; -use IO::Uncompress::RawInflate 2.044 ; -use IO::Compress::Base::Common 2.044 qw(:Status createSelfTiedObject); -use IO::Uncompress::Adapter::Inflate 2.044 ; -use IO::Uncompress::Adapter::Identity 2.044 ; -use IO::Compress::Zlib::Extra 2.044 ; -use IO::Compress::Zip::Constants 2.044 ; +use IO::Uncompress::RawInflate 2.045 ; +use IO::Compress::Base::Common 2.045 qw(:Status createSelfTiedObject); +use IO::Uncompress::Adapter::Inflate 2.045 ; +use IO::Uncompress::Adapter::Identity 2.045 ; +use IO::Compress::Zlib::Extra 2.045 ; +use IO::Compress::Zip::Constants 2.045 ; -use Compress::Raw::Zlib 2.044 qw(crc32) ; +use Compress::Raw::Zlib 2.045 qw(crc32) ; BEGIN { @@ -31,7 +31,7 @@ require Exporter ; our ($VERSION, @ISA, @EXPORT_OK, %EXPORT_TAGS, $UnzipError, %headerLookup); -$VERSION = '2.044'; +$VERSION = '2.045'; $UnzipError = ''; @ISA = qw(Exporter IO::Uncompress::RawInflate); @@ -64,7 +64,7 @@ sub unzip sub getExtraParams { - use IO::Compress::Base::Common 2.044 qw(:Parse); + use IO::Compress::Base::Common 2.045 qw(:Parse); return ( diff --git a/cpan/IO-Compress/t/000prereq.t b/cpan/IO-Compress/t/000prereq.t index 5a44df9..ad8aac2 100644 --- a/cpan/IO-Compress/t/000prereq.t +++ b/cpan/IO-Compress/t/000prereq.t @@ -25,7 +25,7 @@ BEGIN if eval { require Test::NoWarnings ; import Test::NoWarnings; 1 }; - my $VERSION = '2.044'; + my $VERSION = '2.045'; my @NAMES = qw( Compress::Raw::Bzip2 Compress::Raw::Zlib diff --git a/pod/perldelta.pod b/pod/perldelta.pod index f924223..0d98e5f 100644 --- a/pod/perldelta.pod +++ b/pod/perldelta.pod @@ -111,15 +111,15 @@ L<B::Debug> has been upgraded from version 1.16 to version 1.17. =item * -L<Compress::Raw::Zlib> has been upgraded from version 2.042 to version 2.044. +L<Compress::Raw::Zlib> has been upgraded from version 2.042 to version 2.045. =item * -L<Compress::Raw::Bzip2> has been upgraded from version 2.042 to version 2.044. +L<Compress::Raw::Bzip2> has been upgraded from version 2.042 to version 2.045. =item * -L<IO::Compress::Base> has been upgraded from version 2.042 to version 2.044. +L<IO::Compress::Base> has been upgraded from version 2.042 to version 2.045. Added zipdetails utility. -- Perl5 Master Repository
