From 090349ceacde613cbfb6dec4d44530ec49c6a549 Mon Sep 17 00:00:00 2001 From: Chris 'BinGOs' Williams Date: Sun, 4 Dec 2011 20:55:58 +0000 Subject: [PATCH] Update IO-Compress to CPAN version 2.045 [DELTA] 2.045 3 December 2011 * Restructured IO::Compress::FAQ.pod --- Porting/Maintainers.pl | 2 +- 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 | 2 +- 33 files changed, 235 insertions(+), 220 deletions(-) diff --git a/Porting/Maintainers.pl b/Porting/Maintainers.pl index 0c102ae..1c53363 100755 --- a/Porting/Maintainers.pl +++ b/Porting/Maintainers.pl @@ -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/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 has a pair of functions called C 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 objects are derived from C and that all the +C modules can read from an C 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 and C modules. + my $gunzip = new IO::Uncompress::Gunzip $gzipFile + or die "Cannot gunzip $gzipFile: $GunzipError\n" ; -The primary focus of the C and C -modules is to provide an C 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 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 and +C + +=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. + +=item * Bzip2 (method 12) + +Only supported if the C module is installed. + +=item * Lzma (method 14) + +Only supported if the C 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 and -C - -=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. - -=item * Bzip2 (method 12) - -Only supported if the C module is available. - -=item * Lzma (method 14) - -Only supported if the C module is available. - -=back - =head2 Zip Resources The primary reference for zip files is the "appnote" document available at @@ -168,63 +188,23 @@ L An alternatively is the Info-Zip appnote. This is available from L -=head2 Compressed files and Net::FTP +=head1 GZIP -The C module provides two low-level methods called C and -C that both return filehandles. These filehandles can used with the -C 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 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 -=head2 How do I recompress using a different compression? +The primary site for gzip is F. -This is easier that you might expect if you realise that all the -C objects are derived from C and that all the -C modules can read from an C 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 compression library is +F. -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 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 module provides two low-level methods called C and +C that both return filehandles. These filehandles can used with the +C 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 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 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 9e7950b..0d98e5f 100644 --- a/pod/perldelta.pod +++ b/pod/perldelta.pod @@ -119,7 +119,7 @@ L has been upgraded from version 2.042 to version 2.045. =item * -L has been upgraded from version 2.042 to version 2.044. +L has been upgraded from version 2.042 to version 2.045. Added zipdetails utility. -- 2.7.4