pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/archivers/p5-Archive-Tar Update to 1.40.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/976551cabb37
branches:  trunk
changeset: 549584:976551cabb37
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Wed Nov 05 15:48:44 2008 +0000

description:
Update to 1.40.
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-&gt;iter
  This adds an iterator to Archive::Tar, thanks to Gisle Aas

diffstat:

 archivers/p5-Archive-Tar/Makefile |  6 +++---
 archivers/p5-Archive-Tar/PLIST    |  6 ++++++
 archivers/p5-Archive-Tar/distinfo |  8 ++++----
 3 files changed, 13 insertions(+), 7 deletions(-)

diffs (45 lines):

diff -r 3ebd04809fca -r 976551cabb37 archivers/p5-Archive-Tar/Makefile
--- a/archivers/p5-Archive-Tar/Makefile Wed Nov 05 15:42:10 2008 +0000
+++ b/archivers/p5-Archive-Tar/Makefile Wed Nov 05 15:48:44 2008 +0000
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.30 2008/10/19 19:17:40 he Exp $
+# $NetBSD: Makefile,v 1.31 2008/11/05 15:48:44 wiz Exp $
 
-DISTNAME=              Archive-Tar-1.38
+DISTNAME=              Archive-Tar-1.40
 PKGNAME=               p5-${DISTNAME}
-PKGREVISION=           1
 SVR4_PKGNAME=          p5tar
 CATEGORIES=            archivers perl5
 MASTER_SITES=          ${MASTER_SITE_PERL_CPAN:=Archive/}
@@ -12,6 +11,7 @@
 COMMENT=               Perl5 module interface to manipulate tar files
 
 DEPENDS+=              p5-IO-Zlib>=1.01:../../devel/p5-IO-Zlib
+DEPENDS+=              p5-IO-Compress-Bzip2-[0-9]*:../../devel/p5-IO-Compress-Bzip2
 DEPENDS+=              p5-IO-String-[0-9]*:../../devel/p5-IO-String
 DEPENDS+=              p5-Text-Diff-[0-9]*:../../textproc/p5-Text-Diff
 
diff -r 3ebd04809fca -r 976551cabb37 archivers/p5-Archive-Tar/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/archivers/p5-Archive-Tar/PLIST    Wed Nov 05 15:48:44 2008 +0000
@@ -0,0 +1,6 @@
+@comment $NetBSD: PLIST,v 1.3 2008/11/05 15:48:44 wiz Exp $
+@comment XXX: automatic handling and plain entries don't work, no idea why
+@unexec ${RM} -f %D/bin/ptar 2>/dev/null || ${TRUE}
+@unexec ${RM} -f %D/bin/ptardiff 2>/dev/null || ${TRUE}
+@unexec ${RM} -f %D/man/man1/ptar.1 2>/dev/null || ${TRUE}
+@unexec ${RM} -f %D/man/man1/ptardiff.1 2>/dev/null || ${TRUE}
diff -r 3ebd04809fca -r 976551cabb37 archivers/p5-Archive-Tar/distinfo
--- a/archivers/p5-Archive-Tar/distinfo Wed Nov 05 15:42:10 2008 +0000
+++ b/archivers/p5-Archive-Tar/distinfo Wed Nov 05 15:48:44 2008 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.14 2008/02/01 11:59:03 rhaen Exp $
+$NetBSD: distinfo,v 1.15 2008/11/05 15:48:44 wiz Exp $
 
-SHA1 (Archive-Tar-1.38.tar.gz) = f52b4928b839d0bb8f77e507a59ff46af816737e
-RMD160 (Archive-Tar-1.38.tar.gz) = 908cf29622038cc526bcca98a65523e4cb445b8c
-Size (Archive-Tar-1.38.tar.gz) = 42452 bytes
+SHA1 (Archive-Tar-1.40.tar.gz) = 8161961fe2cb9b215f8fca3470dc618b302b50c8
+RMD160 (Archive-Tar-1.40.tar.gz) = 19650609dfe77596f7f5192ff59785e8a54b6ad7
+Size (Archive-Tar-1.40.tar.gz) = 48243 bytes



Home | Main Index | Thread Index | Old Index