summaryrefslogtreecommitdiff
path: root/archivers/p5-Archive-Tar
AgeCommit message (Collapse)AuthorFilesLines
2009-10-31Added missing requirement for p5-Package-Constants.heinz1-1/+3
2009-09-12Updating archivers/p5-Archive-Tar from 1.52 to 1.54sno2-6/+6
Upstream changes: * important changes in version 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.
2009-06-15pkgsrc changes:sno2-6/+7
- Updating package of p5 module Archive::Tar from 1.48 to 1.52 - Setting LICENSE to ${PERL5_LICENSE} according to module documentation Upstream changes: * important changes in version 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. * important changes in version 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.
2009-04-23PkgSrc changes:sno2-7/+6
- Updating package for p5 module Archive::Tar to 1.48 Upstream changes: * important changes in version 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.
2009-04-12PkgSrc changes:sno1-2/+3
- Fix dependency to p5-IO-Compress
2009-03-10pkgsrc changes:sno2-7/+7
- Updating to 1.46 Upstream changes: * important changes in version 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 Oked by rhaen@
2009-02-10no changelog for 1.43rhaen2-6/+6
* important changes in version 1.44 19/01/2009: - Address #41798: Nonempty $\ when writing a Tar file produces a corrupt Tar file - Textual fix to Makefile.PL diagnostics
2009-01-17- updated to 1.42rhaen2-6/+6
Changelog: -no changelog for 1.41- * important changes in version 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.
2008-11-05Update to 1.40.wiz3-7/+13
XXX: Automatic handling and plain entries don't work for symlinks for ptar and ptardiff, no idea why. Added PLIST entries like the following for this reason: @unexec ${RM} -f %D/bin/ptar 2>/dev/null || ${TRUE} * important changes in version 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) * important changes in version 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. * important changes in 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 * important changes in version 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
2008-10-19Bump the PKGREVISION for all packages which depend directly on perl,he1-1/+2
to trigger/signal a rebuild for the transition 5.8.8 -> 5.10.0. The list of packages is computed by finding all packages which end up having either of PERL5_USE_PACKLIST, BUILDLINK_API_DEPENDS.perl, or PERL5_PACKLIST defined in their make setup (tested via "make show-vars VARNAMES=...").
2008-02-01- updated to 1.38rhaen2-6/+6
- ok'ed by rillig ChangeLog: * important changes in vesrion 1.38 14/12/2007: - Promote 1.37_01 to stable. * important changes in version 1.37_01 11/11/2007: _ Address #30380: directory traversal vulnerability in Archive-Tar - Add $INSECURE_EXTRACT_MODE which defaults to 0, disallowing archives to extract files outside of cwd(). This is a backwards incompatible change from 1.36 and before. - Add a -I option to ptar to enable insecure extraction if needed
2007-12-11- updated package to 1.36rhaen2-8/+7
- USER_DESTDIR support added - new maintainer for the package - ok'ed by rillig Changelog: * important changes in version 1.36 16/9/2007: - Portability fixes for VMS, as offered by Craig Berry.
2007-10-25Remove empty PLISTs from pkgsrc since revision 1.33 of plist/plist.mkjlam1-1/+0
can handle packages having no PLIST files.
2007-08-19Updated to version 1.34.heinz2-6/+6
Pkgsrc changes: - none Changes since version 1.32: =========================== * important changes in version 1.34 15/8/2007: - Address #28687: Fwd: Unespected reaction of Archive::Tar A::T didn't always handle filenames that evaluated to false (like '0') gracefully. This patch adds a few 'or defined' check to the A::T codebase and a test to ensure filenames like '0' are handeled correctly. - Apply #28407: Unicode and Archive::Tar - documentation patch as FAQ patch
2007-06-09Updated archivers/p5-Archive-Tar 1.30 -> 1.32:abs2-6/+6
* important changes in version 1.32 24/5/2007: - Make Archive::Tar work nicely with perls compiled with -Dmksymlinks. This also fixes an issue introduced in 1.31 where symlinks weren't dereferenced in all cases. - Quell warnings when a gid is not resolvable to a group name * important changes in version 1.31 18/5/2007: - No longer use the t/setup.t and t/cleanup.t files but just bundle the binary files; this was done for core integration, but the new uupacktool.pl script means we dont have to do this anymore _ Apply core perl Change 30997 by rgs@stcosmo on 2007/04/20 15:03:57 - Address: #27124: Unneeded warning sent when checking for file inclusion contains_file() will no longer warn to STDERR when a file is not contained in an archive and $WARN is set to 'true'. - Address #26492: Dangling symlinks not preserved: Archive::Tar used to complain about dangling symlinks, unlike standard gnu tar, which would add them silently. This patch brings A::T's behaviour in line with gnu tar - Minor pod fixes
2007-06-08Update to 1.30:wiz2-6/+6
* important changes in version 1.30 8/2/2006: - applied bleadperl patch: Subject: Change 27416: Cleanup Archive-Tar temporary test files - address #17985: INSTALLDIRS needs to be 'perl' for >= perl-5.9.3 - address #18296: Archive::Tar 1.29 PATCH for VMS to fix test case failure in 99_pod.t (it's actually a File::Find bug, but this patch works around that) - address: #18720 ([PATCH] Archive::Tar creates POSIX style tar files unnecessarily and by default, leading to compatibility problems particularly with WinZip.) patch rejected, docpatch added with FAQ and SEE ALSO - apply performance patch from #20399 to enable the user to avoid repeated calls to cwd() if desired.
2006-11-05DESTDIR support.joerg1-1/+2
2006-03-10Updated to version 1.29.heinz2-7/+6
Pkgsrc changes: none Changes since version 1.28: =========================== - integrate bleadperl patches to generate the source files for testing, rather than bundling them - make extract* methods accept a::t::file objects too - address #17624: Unnecessary calls to cwd() -- cwd() is only called when needed - address #17935: Archive::Tar::write('file_name') should close or return file handle. -- filehandles are now closed - address #17395: [PATCH] allow extract() to select files by regexes or substrings; patch did not get integrated, but a FAQ on how to achieve this was added to the FAQ section - address #17310 (Archive-Tar 1.26_01 not tolerant to Archives with Garbage) -- Garbage protection should be much improved now
2006-03-04Point MAINTAINER to pkgsrc-users@NetBSD.org in the case where nojlam1-2/+2
developer is officially maintaining the package. The rationale for changing this from "tech-pkg" to "pkgsrc-users" is that it implies that any user can try to maintain the package (by submitting patches to the mailing list). Since the folks most likely to care about the package are the folks that want to use it or are already using it, this would leverage the energy of users who aren't developers.
2006-02-05Recursive revision bump / recommended bump for gettext ABI change.joerg1-1/+2
2006-02-02Update p5-Archive-Tar to 1.28abs2-6/+6
Changes since 1.26: * important changes in version 1.28 19/1/2006: - add pod to ptar and ptardiff so they have manpages generated - integrate change 25333 by rgs@oregon on 2005/08/27 16:28:27 which fixes a failure in Archive::Tar tests when perl is built with -Dmksymlinks - integrate Change 26870 by craigb@craigb-brianor on 2006/01/17 04:03:01 holding vms specific patches - mention 'full_name' as property type to list_archive - address #14922 -- unable to reproduce, but add a test case to make sure the issue doesn't occur - apply the docpatch provided by: #15935: File type constants are not documented - document our lack of support for stringified archives and compressed archives opened to a non-io-zlib fh - 1.27 was skipped due to PAUSE issues
2005-10-15Updated to version 1.26.heinz2-8/+9
Pkgsrc changes: - Require version 1.01 of p5-IO-Zlib, as Makefile.PL suggests. - New prerequisite p5-Text-Diff, due to new program 'ptardiff' Changes since version 1.22: =========================== * important changes in version 1.26 22/8/2005: - the 'ptardiff' was not included in the exe_files section of the makefile.pl, meaning it didn't get installed by default. * important changes in version 1.25 20/8/2005: - Move the changes into it's own file - Add patch from abeltje to make tests pass on VMS. This is *just* the tests -- code may need some extra work to be reliable (#12678) - Add faq about accessing 'tar.Z' files, as provided by Paul Marquess - Add a warning if the read() call from new() fails to return data - Address #13636, where heuristics were 'upgrading' a file to a directory if the file had an @LongLink entry, and the shortened filename ended in a '/'. - Add ptardiff program as suggested by KWILLIAMS (#13658) * important changes in version 1.24 3/5/2005: - Fix a bug where alternate absolute extract paths would add an extra directory upon extract (bug #11342) - Added support for 'perlio' (available for perl5.8 and up). See the Archive::Tar documentation for details * important changes in version 1.23 3/12/2004: - 03_file.t wasn't present in the MANIFEST
2005-09-02Reordered PKGREVISION and SVR4_PKGNAME to make pkglint happy.rillig1-2/+2
2005-08-06Bump the PKGREVISIONs of all (638) packages that hardcode the locationsjlam1-2/+2
of Perl files to deal with the perl-5.8.7 update that moved all pkgsrc-installed Perl files into the "vendor" directories.
2005-07-13Turn PERL5_PACKLIST into a relative path instead of an absolute path.jlam1-2/+2
These paths are now relative to PERL5_PACKLIST_DIR, which currently defaults to ${PERL5_SITEARCH}. There is no change to the binary packages.
2005-04-11Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used.tv1-2/+1
2005-02-23Add RMD160 digests in addition to SHA1 ones.agc1-1/+2
2004-12-20since perl is now built with threads on most platforms, the perl archlibgrant1-1/+2
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.
2004-11-29Update p5-Archivers-Tar from version 1.21 to 1.22.he2-5/+5
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)
2004-11-13Update to version 1.21.seb2-5/+7
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
2004-08-02Update archivers/p5-Archive-Tar to 1.10. Changes from version 1.02jlam2-6/+7
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
2004-07-28Enable pkgviews installation.minskim1-1/+3
2004-03-11bl3ifyxtraeme1-2/+2
2003-07-21COMMENT should start with a capital letter.martti1-2/+2
2003-07-17s/netbsd.org/NetBSD.org/grant1-2/+2
2003-06-17Update to 1.02, from Quentin Garnier in PR 21919.wiz2-6/+6
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...
2003-06-02Use tech-pkg@ in favor of packages@ as MAINTAINER for orphaned packages.jschauma1-2/+2
Should anybody feel like they could be the maintainer for any of thewe packages, please adjust.
2002-10-20Use buildlink2. Use perl5/module.mk.seb1-6/+3
2001-11-26Buildlinkify, in the sense that only the perl headers are found injlam1-2/+3
${PREFIX} -- everything else is pickup up from ${BUILDLINK_DIR}.
2001-10-31Move pkg/ files into package's toplevel directoryzuntum3-1/+1
2001-10-23Use ${MASTER_SITE_PERL_CPAN:=xx/} and not ${MASTER_SITE_PERL_CPAN:=xx}veego1-2/+2
This fix a fetch error.
2001-10-22Perl module for creation and manipulation of tar files.martti4-0/+34
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.