module directory has changed (eg. "darwin-2level" vs.
"darwin-thread-multi-2level").
binary packages of perl modules need to be distinguishable between
being built against threaded perl and unthreaded perl, so bump the
PKGREVISION of all perl module packages and introduce
BUILDLINK_RECOMMENDED for perl as perl>=5.8.5nb5 so the correct
dependencies are registered and the binary packages are distinct.
addresses PR pkg/28619 from H. Todd Fujinaka.
Change log:
* important changes in version 1.22 21/11/2004:
This release holds only bugfixes.
- Make list_files() also return full_path() rather than name(),
as that would ignore the prefix field. This was found to break
PPM (bug #8537)
While here add HOMEPAGE.
Changes since last packaged version (1.10)
* important changes in version 1.21 9/11/2004:
This release holds only bugfixes.
- Make the size of symlinks be 0 in tar headers, so the next entry
is not interpreted as contents of the symlink (bug #7937)
- Strip high bits from the mode of the file, as they are stored
differently in the tar header
- Make Archive::Tar be kinder to archives that contain garbage,
proceeding anyway as long as that's possible.
* important changes in version 1.20 8/11/2004:
This release holds mostly bugfixes, in the form of a rewrite of
the handling of the 'prefix' header field.
- Rewrote 02_methods.t to be more independant
- Rewrote the way 'prefix' headers are dealt with
- Require IO::String now to do archive stringification
- Add new method 'full_path' to A::T::Item objects
- this is used to fix bug 6938
- A::T->new now accepts both a class and an object to be friendlier
to users
- On tar read errors, binary chunks are no longer dumped to STDOUT,
but instead the error offset is reported
include:
- Make new() comply with the documentation and return undef on
a read() failure.
- Re-adds bin/ptar, which disappeared from this distribution after
0.22 (sorry about that).
- Fix a file renaming bug that forgot to carry over path info
- Fix a bug where adding dirs on win32 gave 'permission denied'
- Add extra tests explicilty for Archive::Tar::File
- Move completely from FileHandle to IO::File
- Quell some annoying warnings about binmode on unopened filehandles
- Add tests for binary files included in a tarball
- The chown() code somehow didn't make it into the 1.05 release
- Patch _get_handle() to treat all IO::File handles as binary.
This should make win32 users happy
- A method called 'contains_file' that will tell you if a certain file
is already in the archive.
- Add a global variable $CHOWN that controls whether Archive::Tar
should attempt to chown() files or not when it can.
- NULL-byte padding was done also on files that had no real content,
like symlinks, thus ending up with a number of bytes not dividable
by 512.
- Always do a readlink on the full path, never just the file
- Make Archive::Tar write proper headers when dealing with symlinks
For this $Archive::Tar::FOLLOW_SYMLINKS is introduced
Changes:
* important changes in version 1.02 12/6/2003:
This release holds some bugfixes over the 1.01 release, mainly these:
- Silly thinko fix in File.pm
- Quell some warnings if files are empty
- The cache of previously added files was not being emtpied
Also, some new features are added:
- Archive::Tar::File objects now have a C<has_content> method.
* important changes in version 1.01 5/6/2003:
This release holds some bugfixes over the 1.00 release, mainly these:
- Silence some warnings when writing directories to disk.
- A { } inside a map was interpreted as a block rather than a hashref
constructor -- now fixed.
- Fix write() to work again as advertised when passed no arguments.
- This also means glob support to write is now definately not
available.
- Silly thinko of where splitpath() instead of splitdir() was used.
Some new features/changes:
- Add a new method 'has_content' to Archive::Tar::File.
- Cygwin's tests will now also use the 'short' files, since cygwin
is built on top of an Win32 filesystem.
* important changes in version 1.00 31/5/2003:
This release marks the new development track as 'stable'. Version got
upped to '1.00'. Not many changes, merely lots of succesfull test
reports constitute this version. However, a tiny fix regarding the
reserved string 'VERSION' has been applied, as well as a few more FAQ
entries have been added.
* important changes in version 0.99_06 5/5/2003:
This release only entails a bug fix on 0.99_05 -- C<extract_archive>
was dealing wrongly with special files such as hardlinks etc. This
is now fixed.
* important changes in version 0.99_05 30/4/2003:
Apparently windows has some issues with long path names.
This version introduces an adapted test suite for Win32 machines.
* important changes in version 0.99_04 28/4/2003:
Make Archive::Tar work happily on perl 5.005_03
* important changes in version 0.99_03 28/4/2003:
This release only has bug fixes on 0.99_02.
Fixed handling of long file names when extracting with
C<extract_archive>
Fixed handling of prefixes in tar headers that contain regex meta-
characters.
Fixed a few spurious warnings about comparing non-numbers.
Expanded the test cases accordingly.
* important changes in version 0.99_02 26/3/2003:
Added options to be passed to read, namely:
- extract (to extract while reading)
- limit (to limit the amount of files read from the archive)
Implemented the '././@LongLink' support, which is GNU's way of
dealing with filenames that are longer than 255 chars.
Added a global variable $WARN which controls whether warnings get
printed or just stored.
Fixed a few small bugs that considered files named '0' or '' to not
really be files and refuse to package them.
* important changes in version 0.99_01 16/3/2003:
Total rewrite from the ground up. Removed as many as the nasty
bits (no pun intended) as possible and tucked them away.
No code from the old distribution remains.
Cleaned up the API, introduced clean error handling and just
generally removed a lot of cruft.
Note that Archive::Tar now requires perl version 5.005_03 or higher
to run.
Introduced 2 new submodules:
Archive::Tar::Constant
Simply holds all constants, like block length, tar headers etc
Archive::Tar::File
Object class for all files in a tar archive, to make for easier
manipulataion of the archive in-memory.
See perldoc Archive::Tar::File after installation.
Added a few features:
write() now takes an optional 3rd paramater (prefix) which will allow
you to tuck away all files in that sub directory.
rename() is introduced, allowing for easy renaming of files in the
archive.
get_files() returns a file of all Archive::Tar::File objects in the
current read-in archive.
* important changes in version 0.23, 21/1/2003:
Bundled 0.072 and 0.22 to be able to work on Win32 and non-Win32
platforms. Since the previous version is almost 3 years old, bundling
seemed like the quickest way to get a working solution again.
Archive::Tar now transparently Does The Right Thing depending what
platform you are on -- Win32 users, read the Archive::Tar::Win32
documentation!
I also suppose this makes me the new maintainer...
This module uses no C-coded parts in itself, but it will try to use
the Compress::Zlib module to read and write gzipped tarfiles.
Archive::Tar will still work without Zlib, it will just complain a
little bit (and, of course, not be able to use compression). The
complaining will be removed when the module leaves the alpha stage,
and can be trivially removed by commenting out the offending print
near the top of Tar.pm.