head 1.11; access; symbols pkgsrc-2026Q1:1.11.0.2 pkgsrc-2026Q1-base:1.11 pkgsrc-2025Q4:1.10.0.2 pkgsrc-2025Q4-base:1.10 pkgsrc-2025Q3:1.8.0.2 pkgsrc-2025Q3-base:1.8 pkgsrc-2025Q2:1.7.0.4 pkgsrc-2025Q2-base:1.7 pkgsrc-2025Q1:1.7.0.2 pkgsrc-2025Q1-base:1.7 pkgsrc-2024Q4:1.5.0.4 pkgsrc-2024Q4-base:1.5 pkgsrc-2024Q3:1.5.0.2 pkgsrc-2024Q3-base:1.5 pkgsrc-2024Q2:1.3.0.2 pkgsrc-2024Q2-base:1.3 pkgsrc-2024Q1:1.2.0.2 pkgsrc-2024Q1-base:1.2 pkgsrc-2023Q4:1.1.0.6 pkgsrc-2023Q4-base:1.1 pkgsrc-2023Q3:1.1.0.4 pkgsrc-2023Q3-base:1.1 pkgsrc-2023Q2:1.1.0.2 pkgsrc-2023Q2-base:1.1; locks; strict; comment @# @; 1.11 date 2026.02.04.11.33.15; author adam; state Exp; branches; next 1.10; commitid CsGWmqJGDrBbh3tG; 1.10 date 2025.12.03.08.22.59; author adam; state Exp; branches; next 1.9; commitid Qf4LG5dvNewufWkG; 1.9 date 2025.11.28.15.47.35; author wiz; state Exp; branches; next 1.8; commitid PpBZpUksihM2SkkG; 1.8 date 2025.08.08.09.18.06; author adam; state Exp; branches; next 1.7; commitid aNZjeZMeWF6yjU5G; 1.7 date 2025.02.11.09.29.34; author adam; state Exp; branches; next 1.6; commitid Lg0xVyfcF5Zc62JF; 1.6 date 2025.01.02.08.00.33; author adam; state Exp; branches; next 1.5; commitid ydVxoO0k1H5kTSDF; 1.5 date 2024.09.18.10.46.42; author adam; state Exp; branches; next 1.4; commitid aO1dY6ZuTXdDdhqF; 1.4 date 2024.07.04.10.56.37; author adam; state Exp; branches; next 1.3; commitid ovLxnOvctLtvIvgF; 1.3 date 2024.06.19.15.19.05; author adam; state Exp; branches; next 1.2; commitid nlP8xAQzQiPiEBeF; 1.2 date 2024.02.08.21.45.25; author adam; state Exp; branches; next 1.1; commitid HLlaV09iZDiM1GXE; 1.1 date 2023.04.29.12.39.30; author wiz; state Exp; branches; next ; commitid E3DP7I1wNFJPa0nE; desc @@ 1.11 log @zlib-ng: updated to 2.3.3 2.3.3 Bug fixes Make deflate output deterministic if stream is reused after deflateReset minigzip: Fix integer overflow in gz_compress_mmap Use GCC's may_alias attribute for access to buffers in crc32_chorba Fix false-positive infinite loop warning detected by GCC-14 static analyzer Fix warning for potentially uninitialized local variable ft used. Tests Fixed casting warning in benchmark_uncompress on MSVC @ text @$NetBSD: distinfo,v 1.10 2025/12/03 08:22:59 adam Exp $ BLAKE2s (zlib-ng-2.3.3.tar.gz) = ca4d2c96e0c71482267c3b03834d2e80d87fcc92a74ad35e3d9190d6f089dfc5 SHA512 (zlib-ng-2.3.3.tar.gz) = e2057c764f1d5aaee738edee7e977182c5b097e3c95489dcd8de813f237d92a05daaa86d68d44b331d9fec5d1802586a8f6cfb658ba849874aaa14e72a8107f5 Size (zlib-ng-2.3.3.tar.gz) = 2447397 bytes @ 1.10 log @zlib-ng: updated to 2.3.2 2.3.2 This hotfix release fixes bug. This bug caused CRC32 failures for data that ended on certain byte counts above 256KB. @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.9 2025/11/28 15:47:35 wiz Exp $ d3 3 a5 3 BLAKE2s (zlib-ng-2.3.2.tar.gz) = 9cdf5cd4a8df34f96cac5226db55a82ff2edb3a8535ee17f24d1b3e9c92a5ba4 SHA512 (zlib-ng-2.3.2.tar.gz) = 8781ee4bfda7cb8c8c5150c2e6a067d699580616b61af2ea4cf03cbe14c6715b31a29a20b7c3dd97254a9e487c72c5228c9cfa817ff71aa765fe7043ab136f04 Size (zlib-ng-2.3.2.tar.gz) = 2446623 bytes @ 1.9 log @zlib-ng: update to 2.3.1. First stable release of the 2.3.x branch. This is a feature release that introduces several optimizations and improvements. For some benchmarks and graphs, please see #2022. For recommended os/cmake/compiler versions, please see Wiki. The biggest addition is the Chorba CRC32 code, this is a major improvement to crc32 calculation speed for pre-PCLMUL (or equivalent) cpus. For now, we have 3 variants of Chorba: Generic, SSE2 and SSE4.1. We have also removed our detection and usage of the various aligned alloc functions, because we have to support an application-provided alloc function, and thus we have to check and fix buffer alignments anyway, so now we just use malloc() if none is provided. The gzopen-related init code has been rewritten to clean up and unify the gzread and gzwrite behavior. Several malloc calls removed, places in the gz* code with malloc calls is down from 7 to 4 places (using gzopen will now only result in 2-3 calls to malloc total). The reason for releasing 2.3.x instead of another 2.2 release is the introduction of Chorba CRC32, rewritten gzopen init code, the increased CMake version requirement, and the removal of NMake project files. There should not be any API/ABI changes (other than on the previously failing platforms fixed by #1980). @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.8 2025/08/08 09:18:06 adam Exp $ d3 3 a5 3 BLAKE2s (zlib-ng-2.3.1.tar.gz) = 2a34773d7b2b0abcf412653bcd652532e3bba6f71319029b6c58b98359ea5293 SHA512 (zlib-ng-2.3.1.tar.gz) = 33722bfdd7d4f0b41f4ac99edcfd1a0f26aa52f86b1c16ce2e63962c26f8f8239634acef33051958f96b9593c29b7dedb29b136e710005de88fbb4cf40228a85 Size (zlib-ng-2.3.1.tar.gz) = 2446619 bytes @ 1.8 log @zlib-ng: updated to 2.2.5 2.2.5 Important fixes RiscV: chunkset_rvv: fix SIGSEGV in CHUNKCOPY MSVC: Disable optimizations for AVX512 GET_CHUNK_MAG causing inflate failure Fix building with runtime CPU detection disabled (native) Also check for ZMM support when detecting VPCLMULQDQ support Revert "Clean up insert_match() in deflate_medium" due to performance regression Buildsystem Pass POSIX_C_SOURCE for std::alligned_alloc try_compile checks X86_AVX512VNNI: check for _mm256_dpbusd_epi32 too CMake: Fix incorrect declaration of FORCE_SSE2 CMake: Fix CXXFLAGS when coverage enabled CMake: Remove late enable_language calls CMake: [FreeBSD] Define _XOPEN_SOURCE for gtest_zlib CMake: Add bindir into zlib.pc.in for compatibility with Cygwin and Msys2 Configure: riscv: add bash configure script support for riscv 1904 Tests/Benchmarks Test: Fix pointer type mismatch Test: Add large 1mb buffer test for crc32 hashing Changes to running benchmark during tests @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.7 2025/02/11 09:29:34 adam Exp $ d3 3 a5 3 BLAKE2s (zlib-ng-2.2.5.tar.gz) = f8c469a11b3db8b25ba51d12010108ab7638e18c4e2f98cb59ecd64e1e2ce219 SHA512 (zlib-ng-2.2.5.tar.gz) = b599ea24375d08fa098ed7c3b14548e0d9731a155a024a0904b0ae4a6d3491a69f0c0574d66b6e4af1e40f10e38b6b555d4c4b1fe3589ca83a5f97fbd92f635f Size (zlib-ng-2.2.5.tar.gz) = 2417402 bytes @ 1.7 log @zlib-ng: updated to 2.2.4 2.2.4 Important fixes Fix potential shift overflow problems reported by static checkers VS2015: Fix an unfortunate bug RVV: Workaround error G6E97C40B s390x: Disable CRC32-VX Extensions for some broken Clang versions Buildsystem Improve include directory usage CMake: disable LTO for some configure checks Tests/Benchmarks Add uncompress benchmark @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.6 2025/01/02 08:00:33 adam Exp $ d3 3 a5 3 BLAKE2s (zlib-ng-2.2.4.tar.gz) = 880bf2b063d4e760ee0f1a9a2351ec02a8481008683956aa7eba77644b977ce2 SHA512 (zlib-ng-2.2.4.tar.gz) = f49a89497988db55a2f2375f79443e7e2c57470dbd94b35ae38a39d988eb42f8ecc295a1bd68845fc273b59ea508d0e74b142585d85b7e869dd3c01cc6923d8d Size (zlib-ng-2.2.4.tar.gz) = 2415754 bytes @ 1.6 log @zlib-ng: updated to 2.2.3 2.2.3 Fixes for potentially unsafe access Compute the "safe" distance properly Fix unaligned access in ACLE based crc32 Optimizations / Cleanups Allow the compiler to inline chunkcopy_safe more readily Misc inflate cleanup Reorder variables in inflate functions to reduce padding holes Improve chunkset_avx2 performance Simplify inflate fast by dispatching to chunkmemset for all chunkcopy cases Make an AVX512 inflate fast with low cost masked writes Enable AVX2 functions to be built with BMI2 instructions Improve pipeling for AVX512 chunking Risc-V: adler32_rvv: Fix two overflow problems Remove UNALIGNED_OK checks Use GCC's may_alias attribute for unaligned memory access Big Endian Make big endians first class citizens again Fix "RLE" compression with big endian architectures Buildsys fixes / minor fixes Fix build on aarch64 android. Allow overridde CMAKE_CXX_* variables and fix overridde CMAKE_C_* Use target include instead of raw include Replace non-ascii characters to fix MSVC warning Force Visual C++ to treat source files as UTF-8. Explicitly set CMake policy 0169 to silence warning configure: Fix linker flags for Haiku. configure: add --mandir to override $mandir on command line. Force use of latest Windows SDK with 32-bit ARM support Fix casting warning/error in test_compress_bound.cc Remove unused HAVE_CHUNKMEMSET_1 define Fix native detection of ARM CRC instruction Address deprecated cmake version warning. Add a fallback to ALIGNED_ macro for other compilers added in-tree build artifacts to .gitignore Fix typos CI Don't try to use macOS 11 as it's no longer supported. Bump codecov/codecov-action from 4 to 5 Update s390x actions-runner docker @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.5 2024/09/18 10:46:42 adam Exp $ d3 3 a5 3 BLAKE2s (zlib-ng-2.2.3.tar.gz) = e4e61c723db42414139810418db54ec753a95757a982214fd37885a025a914e8 SHA512 (zlib-ng-2.2.3.tar.gz) = e71e8972ec2c4dec9eaa2c8f550185f13d0f5c411c38061d1aaf78ca8e522fa3d53f005296e574af7f152e7da3a78adf97ae4bb638b7fd277ef57bba26370b7d Size (zlib-ng-2.2.3.tar.gz) = 2413008 bytes @ 1.5 log @zlib-ng: updated to 2.2.2 2.2.2 This release fixes a corruption bug with the inflateback implementation, this was detected by Docker using pigz w/zlib-ng to decompress a 25GB image file and failing CRC. Since this is so far the only known way to trigger the bug, it seems to be hard to hit. Most of the rest are minor changes to avoid triggering warnings in MSVC or optional warnings in other compilers, as well as a few minor fixes to the buildsystem and CI. @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.4 2024/07/04 10:56:37 adam Exp $ d3 3 a5 3 BLAKE2s (zlib-ng-2.2.2.tar.gz) = 7089c7ec4ec8d9d64c195ecf699928687941cd047e1fd38f47747ae0206ff2b9 SHA512 (zlib-ng-2.2.2.tar.gz) = 3cb3e97ee1d20e1f3cdf0efcdf55aee0e3a192f9a2ae781cd209b1d37620c48f2ada345fb1f4357315b1cb5e09b7ea5fcdfa2fd54f7b4ac5dcb6e73860000aad Size (zlib-ng-2.2.2.tar.gz) = 2413349 bytes @ 1.4 log @zlib-ng: updated to 2.2.1 2.2.1 This is the first stable release of the 2.2.x branch Please read the changelog for the 2.2.0 Release Candidate if you didn't already, especially if your software gives zlib-ng a custom allocator. No bugreports came in during 2.2.0 RC testing, so the only change in 2.2.1 is a small fix for Configure that was already in the pipe: Configure: Don't use zlib-ng's -Wl,--version-script in tests @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.3 2024/06/19 15:19:05 adam Exp $ d3 3 a5 3 BLAKE2s (zlib-ng-2.2.1.tar.gz) = 6928a95c2aa5736f59567b768ae8e648242682769e740baac1dc36ab9f673335 SHA512 (zlib-ng-2.2.1.tar.gz) = 6374a673852935468f23a74ce56db6afb27af3923fab2a0ba182a7a95acea93ff2c979612db6cd355d8bd1a44ebb0779900be78bdd05a89374b339d29339647c Size (zlib-ng-2.2.1.tar.gz) = 2412427 bytes @ 1.3 log @zlib-ng: updated to 2.1.7 2.1.7 Buildsystem Generate CMake package configuration files Relocate CMake target export definitions Fix xsave intrinsic test for clang, and gcc 8.2 or newer, and icc Disable Intel Compiler diagnostic message 10441 Add missing checks for 64bit arm/intel with msvc compiler Don't export git/github-related files in tar/zip archives Add more result variables to the cmake package configuration Fix building with NVHPC CMake: Replace ; by $ in generator-expression Bump max CMake policy version to 3.29.0 make darwin cross compilation possible CI/Test Improve code coverage handling Add VPCLMULQDQ crc32 tests to Google benchmarks Add small compress() benchmark Add back-and-forth inflateCopy() test Enable orphaned unit tests for compare256_rle family of functions Fix MSAN error in test_dict CI workflows Add dependabot for github actions Upgrade ilammy/msvc-dev-cmd to v1.13.0 Upgrade codecov/codecov-action to v4. Upgrade github/codeql-action from 2 to 3 Upgrade actions/upload-artifact from 3 to 4 Upgrade mymindstorm/setup-emsdk to v14. Update dependencies for 32-bit MinGW CI run Use windows-2019 for build with toolset v141 Fix macOS Github Actions Cleanup Removing some outdated comments Remove obsolete TARGET_OS_MAC check Refactoring and Optimizations Remove unneeded pointer for functable.longest_match in deflate_slow ARM Add test for checking if -march=native needs -mfpu=neon for 32-bit ARM. Override Clang x4 NEON intrinsics for Android Add AArch64 feature detection support for OpenBSD Power Fix regression in Power8/9 detection RVV arch/riscv/riscv_features.c: fix uclibc build Disable CodeCov for RISC-V as the toolchain doesn't support generating code coverage S390x IBM zSystems DFLTCC: Extend sanitizer checks Update s390x dockerfile x86 Fix PCLMULQDQ, AVX512VNNI and VPCLMULQDQ feature tests for Intel LLVM compiler (icx) Fix invalid instruction usage in Xeon Phi x200 processors Misc free_aligned: validate passed in pointer Sync changes with zlib 1.3.1 (LIT_MEM changes not included) Improve Z_NULL compatibility with zlib .gitattributes: Enforce LF line-endings on all non-binary files @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.2 2024/02/08 21:45:25 adam Exp $ d3 3 a5 3 BLAKE2s (zlib-ng-2.1.7.tar.gz) = 48f9982cfed7327665850f06fb68d5c76312047316734b735a83db52d324d833 SHA512 (zlib-ng-2.1.7.tar.gz) = 03e6d22ecb39c9425fa2977e5db608f765387a06b9ef93b162e403bb155aa3b59bbaedb41e827e7e159d6635325d804dcd4314a25adcb35b83e6e0cf1153aabe Size (zlib-ng-2.1.7.tar.gz) = 2406554 bytes @ 1.2 log @zlib-ng: updated to 2.1.6 2.1.6 This is a stable release, with several minor improvements and one corruption fix for inflateCopy(). This release also improves on the functable implementation, and also moves its initialization to happen in deflateInit() and inflateInit(). We also have some optimizations for RVV and ARM. 2.1.5 This is a hotfix release, fixing an issue where certain applications would fail with a checksum error during inflate (decompression). 2.1.4 This is a stable release, with several minor improvements and one fix for a possible buffer overrun while using inflateCopy(). Zlib-ng's zlib-compat mode is now targeting zlib 1.3 compatibility. Of note, we have new optimizations for ARM and Risc-V RVV, and a lot of fixes and improvements to the buildsystem. @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.1 2023/04/29 12:39:30 wiz Exp $ d3 3 a5 3 BLAKE2s (zlib-ng-2.1.6.tar.gz) = 8a1bee02012cc0daae43f59e129e14c9d8cf0c8eb5d3659fb1042aa261843103 SHA512 (zlib-ng-2.1.6.tar.gz) = 59ef586c09b9a63788475abfd6dd59ed602316b38f543f801bea802ff8bec8b55a89bee90375b8bbffa3bdebc7d92a00903f4b7c94cdc1a53a36e2e1fd71d13a Size (zlib-ng-2.1.6.tar.gz) = 2412106 bytes @ 1.1 log @archivers/zlib-ng: import zlib-ng-2.0.7 zlib data compression library for the next generation systems Features: * Zlib compatible API with support for dual-linking * Modernized native API based on zlib API for ease of porting * Modern C11 syntax and a clean code layout * Deflate medium and quick algorithms based on Intel's zlib fork * Support for CPU intrinsics when available * Unaligned memory read/writes and large bit buffer improvements * Includes improvements from Cloudflare and Intel forks @ text @d1 1 a1 1 $NetBSD$ d3 3 a5 3 BLAKE2s (zlib-ng-2.0.7.tar.gz) = ef387f9a33d80a090bf539dc2ab350b19b8c27abb92deb76993571f6846dcb2c SHA512 (zlib-ng-2.0.7.tar.gz) = 1c19a62bb00727ac49049c299fb70060da95b5fafa448144ae4133372ec8c3da15cef6c1303485290f269b23c580696554ca0383dba3e1f9609f65c332981988 Size (zlib-ng-2.0.7.tar.gz) = 853381 bytes @