head 1.4; access; symbols pkgsrc-2026Q3:1.3.0.26 pkgsrc-2026Q3-base:1.3 pkgsrc-2026Q2:1.3.0.24 pkgsrc-2026Q2-base:1.3 pkgsrc-2026Q1:1.3.0.22 pkgsrc-2026Q1-base:1.3 pkgsrc-2025Q4:1.3.0.20 pkgsrc-2025Q4-base:1.3 pkgsrc-2025Q3:1.3.0.18 pkgsrc-2025Q3-base:1.3 pkgsrc-2025Q2:1.3.0.16 pkgsrc-2025Q2-base:1.3 pkgsrc-2025Q1:1.3.0.14 pkgsrc-2025Q1-base:1.3 pkgsrc-2024Q4:1.3.0.12 pkgsrc-2024Q4-base:1.3 pkgsrc-2024Q3:1.3.0.10 pkgsrc-2024Q3-base:1.3 pkgsrc-2024Q2:1.3.0.8 pkgsrc-2024Q2-base:1.3 pkgsrc-2024Q1:1.3.0.6 pkgsrc-2024Q1-base:1.3 pkgsrc-2023Q4:1.3.0.4 pkgsrc-2023Q4-base:1.3 pkgsrc-2023Q3:1.3.0.2 pkgsrc-2023Q3-base:1.3; locks; strict; comment @# @; 1.4 date 2026.10.07.14.24.37; author wiz; state dead; branches; next 1.3; commitid t2ASwL6pYmzLlyYG; 1.3 date 2023.08.25.07.12.41; author adam; state Exp; branches; next 1.2; commitid PnUMCGvjuwlyz8CE; 1.2 date 2023.08.24.07.12.34; author wiz; state Exp; branches; next 1.1; commitid ZGeedcSKMIkpB0CE; 1.1 date 2023.06.26.11.37.40; author wiz; state Exp; branches; next ; commitid 8U6b8MkNU1gYXruE; desc @@ 1.4 log @libzip: update to 1.12. # 1.12 [2026-10-07] * Keep order of local extra fields, even if an identical extra field is present in the central directory. * Add `zip_source_at_eof()` and `ZIP_SOURCE_AT_EOF`. * Consistently report CRC and decryption errors when reading exactly to end-of-file. * Remove Mbed TLS support - the required functions were made private. * Make non-random tests work on macOS and Windows by using a special version of libzip. * Securely clear passwords and key material before freeing it. * Use SipHash hash function with per-table random keys. This prevents hash flooding attacks. * Add compile time option to limit LZMA window size. * Add more comprehensive fuzzers for metadata and write code paths. * Fix `zip_source_is_seekable()`. * Fix setting incorrect WinZIP AES version in some cases. * Further improvements to overall stability and other minor adjustments have been made. @ text @$NetBSD: patch-regress_nihtest.conf.in,v 1.3 2023/08/25 07:12:41 adam Exp $ To allow testing in uninstalled state. --- regress/nihtest.conf.in.orig 2023-08-23 10:55:23.000000000 +0000 +++ regress/nihtest.conf.in @@@@ -9,6 +9,8 @@@@ program-directories = @@PROJECT_BINARY_DI @@PROJECT_BINARY_DIR@@/src/Debug default-program = ziptool_regress default-stderr-replace = "^([A-Z]:)?[^ :]*: " "" +environment-passthrough = LD_LIBRARY_PATH + DYLD_LIBRARY_PATH [comparators] zip.zip = zipcmp -pv @ 1.3 log @libzip: fix testing on Darwin @ text @d1 1 a1 1 $NetBSD: patch-regress_nihtest.conf.in,v 1.2 2023/08/24 07:12:34 wiz Exp $ @ 1.2 log @libzip: update to 1.10.1. * Add `ZIP_LENGTH_TO_END` and `ZIP_LENGTH_UNCHECKED`. Unless `ZIP_LENGTH_UNCHECKED` is used as `length`, it is an error for a file to shrink between the time when the source is created and when its data is read. * Fix test on Windows. @ text @d1 1 a1 1 $NetBSD: patch-regress_nihtest.conf.in,v 1.1 2023/06/26 11:37:40 wiz Exp $ d7 1 a7 1 @@@@ -9,6 +9,7 @@@@ program-directories = @@PROJECT_BINARY_DI d12 1 @ 1.1 log @libzip: update to 1.10.0. # 1.10.0 [2023-06-23] * Make support for layered sources public. * Add `zip_source_zip_file` and `zip_source_zip_file_create`, deprecate `zip_source_zip` and `zip_source_zip_create`. * Allow reading changed file data. * Fix handling of files of size 4294967295. * `zipmerge`: copy extra fields. * `zipmerge`: add option to keep files uncompressed. * Switch test framework to use nihtest instead of Perl. * Fix reading/writing compressed data with buffers > 4GiB. * Restore support for torrentzip. * Add warnings when using deprecated functions. * Allow keeping files for empty archives. * Support mbedTLS>=3.3.0. * Support OpenSSL 3. * Use ISO C secure library functions, if available. @ text @d1 1 a1 1 $NetBSD$ d5 1 a5 1 --- regress/nihtest.conf.in.orig 2023-06-23 14:27:16.000000000 +0000 d7 2 a8 2 @@@@ -5,6 +5,7 @@@@ program-directories = @@PROJECT_BINARY_DI @@PROJECT_BINARY_DIR@@/src d10 1 a10 1 default-stderr-replace = "^[^ :]*: " "" @