Archive-Tar
view release on metacpan or search on metacpan
by this population of $@. Could I request you cleanup $@ if you expect and/or don't care
about failure from this eval?
1.56 03/02/2010
- Apply a patch from Mark Swayne that addresses RT #50471;
Archive::Tar generates file headers with space padded numbers for size,
mtime and checksum. This format is incompatible with some versions of
the busybox implementation of tar (I am using 1.13.2), which requires 0
padded numbers (despite comments in the source that say otherwise).
I've included a patch that adds a control flag that enables zero padded
numbers in the header. It passes all tests with ActiveState Perl 5.8.8
on WinXP.
1.54 10/09/2009
- Apply a patch from Niko Tyni (ntyni@debian.org) that resolves RT #48879;
As seen in [rt.cpan.org #48879], although the recommended way of
retrieving the last error is to use an instance method ($tar->error),
the returned value is effectively global: an error in one Archive::Tar
instance changes the error string of another instance.
This change separates the error strings from each other while keeping
the (deprecated) global value of $Archive::Tar::error pointing to the
last error regardless of its instance.
We also support calling error() as a class method (Archive::Tar->error).
In this case it returns the global value, which matches the old behaviour.
1.52 13/06/2009:
- Apply documentation patch to describe IBM APAR issue IZ50240; AIX tar
does not always end a Tar archive with a 0x00 null block, which can
cause warnings from Archive::Tar.
This is a documentation patch only, and users of 1.50 need not upgrade.
1.50 12/06/2009:
- Apply patch in #46450: Support for --no-same-permissions style behavior
This facilitates leaving the +x bit, while still applying your umask on
the extracted file.
1.48 20/04/2009:
- Address #44680 (Improve error reporting on short corrupted archives)
Archives of less than 512 bytes would not have a clear error string set
- Requires at least IO::Compres::* 2.015, to address: #43609: Memory
problem with A::T. Turns out 2.012 was leaking memory.
1.46 05/03/2009:
- Address: bug #43513: [PATCH] Accept wrong checksums from SunOS and HP-UX tar
like GNU tar does. See here for details:
http://www.gnu.org/software/tar/manual/tar.html#SEC139
- make COMPRESS_BZIP and COMPRESS_GZIP constants actually work and fix their
documentation
1.44 19/01/2009:
- Address #41798: Nonempty $\ when writing a Tar file produces a
corrupt Tar file
- Textual fix to Makefile.PL diagnostics
1.42 13/12/2008:
- Address #40426: Archive Tar to support direct Archive::Tar::File adds
It is now possible to add Archive::Tar::File objects via $tar->add_files
- Address #40016 (Archive::Tar assumes $> won't change): CAN_CHOWN is now a
dynamic check upon extraction. This allows scripts to drop privileges when
desired
- Address take 2 of #39933: [PATCH] handle ../ directory name on VMS
John M. sent in a better way to do directory name translation.
1.40 13/10/2008:
- Add $class->has_zlib_support and $class->has_bzip2_support to
discern which A::T can support
- Address: #39933: [PATCH] handle ../ directory name on VMS (core patch)
1.39_04 08/09/2008:
- Address: #38932: pax_global_header extracted as file
Don't extract these special files, which are added by, among
others, git-generated tarballs. It holds a comment and is not
meant for extraction. This follows gnu tar 1.14 and later behaviour
- Address: #19577: extract_file() drops volume part of extraction path
Windows users can now extract files to a different volume
* important changes in verison 1.39_03 26/08/2008:
- Because all the IO::Compress modules are interlinked, they must be
the same version when installed, or breakage will occur like shown
at this tester report:
http://www.nntp.perl.org/group/perl.cpan.testers/2008/08/msg2083310.html
Mailed the author to find a less fragile solution, but for now we require
all the individual modules, and all at the same version.
1.39_02 25/08/2008:
- Address #31806: Please add support for bzipped tar files.
Archive::Tar now supports reading/writing tar.bz2 files.
- Since IO::Zlib is now core, it is now a default dependency.
- Added Package::Constants as a dependency to ease the use of A::T::Constants
- Dependency on IO::Compress::Bzip2 and IO::Uncompress::Bunzip2 is on
by default, but can be negated with the -n switch when building:
'perl Makefile.PL -n'
- Improve documentation on the new ->iter function
1.39_01 22/08/2008:
- Address the second part mentioned in this report:
#30380: directory traversal vulnerability in Archive-Tar
Archives are no longer allowed to extract into symlinked directories,
unless Insecure Extract Mode is enabled (which is off by default).
- Add regression tests for this behaviour
- Address #33669 (Could not update timestamp warning on symlinks)
Don't update timestamps on symlinks, they'll modify the original
- Apply core patch: [patch@33971] Archive::Tar was building corrupt
archives on VMS as supplied by John Malmberg
- Address #37375: ptar should allow '-' as an archive_file name
Patch provided by glenn jackman
- Add convenience method ->extract() to A::T::File
- improve docs of A::T::File by adding rv & object in the header
- Address #38580: [PATCH] Archive::Tar->iter
This adds an iterator to Archive::Tar, thanks to Gisle Aas
1.38 14/12/2007:
- Promote 1.37_01 to stable.
( run in 3.182 seconds using v1.01-cache-2.11-cpan-97f6503c9c8 )