Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/archivers/p5-Archive-Zip p5-Archive-Zip: update to 1.68.
details: https://anonhg.NetBSD.org/pkgsrc/rev/009b121b4340
branches: trunk
changeset: 438178:009b121b4340
user: wiz <wiz%pkgsrc.org@localhost>
date: Sun Sep 06 12:12:14 2020 +0000
description:
p5-Archive-Zip: update to 1.68.
1.68 Thr 12 Mar 2020
- Switched to GitHub as issue tracker
- Replaced references to Test::MockModule in
t/23_closed_handle.t with code from PR #32, RT #110087
- Unixified line endings in t/23_closed_handle.t
- Added documentation for Archive::Zip::Member::isSymbolicLink,
RT #130524
- Implemented other, unrelated doc fixes
- Fixed examples/zipcheck.pl to skip symbolic links, RT #130525
- Described version 1.59, RT #117371 (tagged important!)
- Completely re-did test suite:
. Created new test APIs in t/common.pm and documented them in
t/README.md
. Changed tests to be less dependent on OS-specific quirks of "unzip -t"
. Changed tests to write more diagnostic information if executed in
automated test environments
. Normalized access to test data and to temporary results. Removed
references to obsolete temporary results (for example, those to
directory "extracted").
. Normalized test headers and brushed up tests in general
1.67 Sun 06 Oct 2019
- Fixed compatibility issues with zip64 format (defined-or, pack)
- Fixed hard-coded version fields introduced in version 1.66
- Fixed merge glitch with tests 26 and 27
- Fixed merge glitch with bzip passthrough
- Updated bzip test file to avoid zip bomb detection
1.66 Mon 16 Sep 2019
- Refactored low-level methods for reading and writing zip files
in zip64 format. Added new parameters and return values to
most of these. Extended constants in Archive::Zip to cover
zip64 formats and lengths.
- Added public APIs
Archive::Zip::Archive::zip64
Archive::Zip::Archive::desiredZip64Mode
Archive::Zip::Archive::versionMadeBy
Archive::Zip::Archive::versionNeededToExtract
Archive::Zip::Member::zip64
Archive::Zip::Member::desiredZip64Mode
and constants
Archive::Zip::ZIP64_AS_NEEDED
Archive::Zip::ZIP64_EOCD
Archive::Zip::ZIP64_HEADERS
plus POD on these.
- Added tests for zip64 format in t/21_zip64.t and more test zip
files below t/data. Extended tests in t/02_main.t to perform
all existing tests in all possible desired zip64 modes.
- Extended methods
Archive::Zip::Member::localExtraField
Archive::Zip::Member::cdExtraField
to perform format checks when called as setters and to reject
any zip64 extended information extra fields passed by the user.
Extended POD and tests in t/02_main.t accordingly.
- Setting {'compressedSize'} after writing central directory
header.
- Added new optional parameter $noFormatError to method
Archive::Zip::_readSignature to silence any format errros when
testing for signatures.
- Added error handling for potentially failed object conversion
after calling method Archive::Zip::Member::_become. Factored
in method Archive::Zip::Member::_becomeDirectoryIfNecessary
into caller.
- Changed methods
Archive::Zip::Archive::contents
Archive::Zip::Member::contents
(and all inheriting from these) to consistently return a pair
($contents, $status) when called in list context and a scalar
$contents when called in scalar context. Extended tests in
t/02_main.t accordingly.
- Changed method Archive::Zip::Member::extractToFileHandle to
accept a file name instead of a file handle when extracting
symbolic links. Changed lower-level and higher-level methods
to use that feature. Cleaned up code related to the handling
of symbolic links. Added creation of intermediate directories
in method Archive::Zip::Member::extractToFileNamed for symbolic
links as well. Reporting errors from symlink call as AZ-error.
Added POD and test zip file t/data/symlink.zip and tests in
t/26_symlinks.t for these changes.
- Cleaned up code and added comment related to that highly
dubious (?) {'wasWritten'} logic.
1.65 Sat 7 Sep 2019
- Fix for members using bzip compression [github/pmqs]
- NetBSD doesn't mind empty zips [github/pmqs]
- Solaris test failure, Add diag to failing test to collect data [github/pmqs]
- Test for presence of Test::MockModule [github/pmqs]
- Fix skip line for Windows [github/pmqs]
- Skip tests that assume /tmp on Windows [github/pmqs]
diffstat:
archivers/p5-Archive-Zip/Makefile | 5 ++---
archivers/p5-Archive-Zip/distinfo | 10 +++++-----
2 files changed, 7 insertions(+), 8 deletions(-)
diffs (29 lines):
diff -r e25c536dfb3b -r 009b121b4340 archivers/p5-Archive-Zip/Makefile
--- a/archivers/p5-Archive-Zip/Makefile Sun Sep 06 12:04:56 2020 +0000
+++ b/archivers/p5-Archive-Zip/Makefile Sun Sep 06 12:12:14 2020 +0000
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.66 2020/08/31 18:06:31 wiz Exp $
+# $NetBSD: Makefile,v 1.67 2020/09/06 12:12:14 wiz Exp $
-DISTNAME= Archive-Zip-1.64
+DISTNAME= Archive-Zip-1.68
PKGNAME= p5-${DISTNAME}
-PKGREVISION= 2
CATEGORIES= archivers perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Archive/}
diff -r e25c536dfb3b -r 009b121b4340 archivers/p5-Archive-Zip/distinfo
--- a/archivers/p5-Archive-Zip/distinfo Sun Sep 06 12:04:56 2020 +0000
+++ b/archivers/p5-Archive-Zip/distinfo Sun Sep 06 12:12:14 2020 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.32 2018/11/24 03:44:18 wen Exp $
+$NetBSD: distinfo,v 1.33 2020/09/06 12:12:14 wiz Exp $
-SHA1 (Archive-Zip-1.64.tar.gz) = 08b3c2cd2eac8b06393580372d5713317d7caa3c
-RMD160 (Archive-Zip-1.64.tar.gz) = e89b39f25fbd3d6661b34fb9cfa1f0cddbe2f135
-SHA512 (Archive-Zip-1.64.tar.gz) = 7ae4c87ad50b30e764a79ada8f39ea2d698cfba957294d28dc15a2f3b2497923266a00574c5e43ddd59d6ec76d911f39007851920e0f09bfe3f466d46e17d6fc
-Size (Archive-Zip-1.64.tar.gz) = 192005 bytes
+SHA1 (Archive-Zip-1.68.tar.gz) = 71faba3b05942c94959aba50a2471f08e3b7b202
+RMD160 (Archive-Zip-1.68.tar.gz) = 6f534d3c8a05a742c5a35a79f5bdccc3e88aef67
+SHA512 (Archive-Zip-1.68.tar.gz) = 40c3ba26b1c27a8b15b919934e7fcd531f208bec73de3454e123ac1fb771831e287b8fade421be40e243498beb6dad9b6133ef07d2e5d407afbd1f3d6a30b916
+Size (Archive-Zip-1.68.tar.gz) = 163490 bytes
Home |
Main Index |
Thread Index |
Old Index