pkgsrc-Changes archive

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

CVS commit: pkgsrc/archivers/xz



Module Name:    pkgsrc
Committed By:   wiz
Date:           Sun Feb 25 09:45:14 UTC 2024

Modified Files:
        pkgsrc/archivers/xz: Makefile PLIST distinfo

Log Message:
xz: update to 5.6.0.

5.6.0 (2024-02-24)

    This bumps the minor version of liblzma because new features were
    added. The API and ABI are still backward compatible with liblzma
    5.4.x and 5.2.x and 5.0.x.

    NOTE: As described in the NEWS for 5.5.2beta, the core components
    are now under the BSD Zero Clause License (0BSD).

    Since 5.5.2beta:

    * liblzma:

        - Disabled the branchless C variant in the LZMA decoder based
          on the benchmark results from the community.

        - Disabled x86-64 inline assembly on x32 to fix the build.

    * Sandboxing support in xz:

        - Landlock is now used even when xz needs to create files.
          In this case the sandbox is has to be more permissive than
          when no files need to be created. A similar thing was
          already in use with pledge(2) since 5.3.4alpha.

        - Landlock and pledge(2) are now stricter when reading from
          more than one input file and only writing to standard output.

        - Added support for Landlock ABI version 4.

    * CMake:

        - Default to -O2 instead of -O3 with CMAKE_BUILD_TYPE=Release.
          -O3 is not useful for speed and makes the code larger.

        - Now builds lzmainfo and lzmadec.

        - xzdiff, xzgrep, xzless, xzmore, and their symlinks are now
          installed. The scripts are also tested during "make test".

        - Added translation support for xz, lzmainfo, and the
          man pages.

        - Applied the symbol versioning workaround for MicroBlaze that
          is used in the Autotools build.

        - The general XZ Utils and liblzma API documentation is now
          installed.

        - The CMake component names were changed a little and several
          were added. liblzma_Runtime and liblzma_Development are
          unchanged.

        - Minimum required CMake version is now 3.14. However,
          translation support is disabled with CMake versions
          older than 3.20.

        - The CMake-based build is now close to feature parity with the
          Autotools-based build. Most importantly a few tests aren't
          run yet. Testing the CMake-based build on different operating
          systems would be welcome now. See the comment at the top of
          CMakeLists.txt.

    * Fixed a bug in the Autotools feature test for ARM64 CRC32
      instruction support for old versions of Clang. This did not
      affect the CMake build.

    * Windows:

        - The build instructions in INSTALL and windows/INSTALL*.txt
          were revised completely.

        - windows/build-with-cmake.bat along with the instructions
          in windows/INSTALL-MinGW-w64_with_CMake.txt should make
          it very easy to build liblzma.dll and xz.exe on Windows
          using CMake and MinGW-w64 with either GCC or Clang/LLVM.

        - windows/build.bash was updated. It now works on MSYS2 and
          on GNU/Linux (cross-compiling) to create a .zip and .7z
          package for 32-bit and 64-bit x86 using GCC + MinGW-w64.

    * The TODO file is no longer installed as part of the
      documentation. The file is out of date and does not reflect
      the actual tasks that will be completed in the future.

    * Translations:

        - Translated lzmainfo man pages are now installed. These
          had been forgotten in earlier versions.

        - Updated Croatian, Esperanto, German, Hungarian, Korean,
          Polish, Romanian, Spanish, Swedish, Vietnamese, and Ukrainian
          translations.

        - Updated German, Korean, Romanian, and Ukrainian man page
          translations.

    * Added a few tests.

    Summary of new features added in the 5.5.x development releases:

    * liblzma:

        - LZMA decoder: Speed optimizations to the C code and
          added GCC & Clang compatible inline assembly for x86-64.

        - Added lzma_mt_block_size() to recommend a Block size for
          multithreaded encoding.

        - Added CLMUL-based CRC32 on x86-64 and E2K with runtime
          processor detection. Similar to CRC64, on 32-bit x86 it
          isn't available unless --disable-assembler is used.

        - Optimized the CRC32 calculation on ARM64 platforms using the
          CRC32 instructions. Runtime detection for the instruction is
          used on GNU/Linux, FreeBSD, Windows, and macOS. If the
          compiler flags indicate unconditional CRC32 instruction
          support (+crc) then the generic version is not built.

        - Added definitions of mask values like
          LZMA_INDEX_CHECK_MASK_CRC32 to <lzma/index.h>.

    * xz:

        - Multithreaded mode is now the default. This improves
          compression speed and creates .xz files that can be
          decompressed in multithreaded mode. The downsides are
          increased memory usage and slightly worse compression ratio.

        - Added a new command line option --filters to set the filter
          chain using the liblzma filter string syntax.

        - Added new command line options --filters1 ... --filters9 to
          set additional filter chains using the liblzma filter string
          syntax. The --block-list option now allows specifying filter
          chains that were set using these new options.

        - Ported the command line tools to Windows MSVC.
          Visual Studio 2015 or later is required.

    * Added lz4 support to xzdiff/xzcmp and xzgrep.

5.5.2beta (2024-02-14)

    * Licensing change: The core components are now under the
      BSD Zero Clause License (0BSD). In XZ Utils 5.4.6 and older
      and 5.5.1alpha these components are in the public domain and
      obviously remain so; the change affects the new releases only.

      0BSD is an extremely permissive license which doesn't require
      retaining or reproducing copyright or license notices when
      distributing the code, thus in practice there is extremely
      little difference to public domain.

    * liblzma

        - Significant speed optimizations to the LZMA decoder were
          made. There are now three variants that can be chosen at
          build time:

            * Basic C version: This is a few percent faster than
              5.4.x due to some new optimizations.

            * Branchless C: This is currently the default on platforms
              for which there is no assembly code. This should be a few
              percent faster than the basic C version.

            * x86-64 inline assembly. This works with GCC and Clang.

          The default choice can currently be overridden by setting
          LZMA_RANGE_DECODER_CONFIG in CPPFLAGS: 0 means the basic
          version and 3 means that branchless C version.

        - Optimized the CRC32 calculation on ARM64 platforms using the
          CRC32 instructions. The instructions are optional in ARMv8.0
          and are required in ARMv8.1 and later. Runtime detection for
          the instruction is used on GNU/Linux, FreeBSD, Windows, and
          macOS. If the compiler flags indicate unconditional CRC32
          instruction support (+crc) then the generic version is not
          built.

    * Added lz4 support to xzdiff/xzcmp and xzgrep.

    * Man pages of xzdiff/xzcmp, xzgrep, and xzmore were rewritten
      to simplify licensing of the man page translations.

    * Translations:

        - Updated Chinese (simplified), German, Korean, Polish,
          Romanian, Spanish, Swedish, and Ukrainian translations.

        - Updated German, Korean, Romanian, and Ukrainian man page
          translations.

    * Small improvements to the tests.

    * Added doc/examples/11_file_info.c. It was added to the Git
      repository in 2017 but forgotten to be added into distribution
      tarballs.

    * Removed doc/examples_old. These were from 2012.

    * Removed the macos/build.sh script. It had not been updated
      since 2013.

5.5.1alpha (2024-01-26)

    * Added a new filter for RISC-V binaries. The filter can be used
      for 32-bit and 64-bit binaries with either little or big
      endianness. In liblzma, the Filter ID is LZMA_FILTER_RISCV (0x0B)
      and the xz option is --riscv. liblzma filter string syntax
      recognizes this filter as "riscv".

    * liblzma:

        - Added lzma_mt_block_size() to recommend a Block size for
          multithreaded encoding

        - Added CLMUL-based CRC32 on x86-64 and E2K with runtime
          processor detection. Similar to CRC64, on 32-bit x86 it
          isn't available unless --disable-assembler is used.

        - Implemented GNU indirect function (IFUNC) as a runtime
          function dispatching method for CRC32 and CRC64 fast
          implementations on x86. Only GNU/Linux (glibc) and FreeBSD
          builds will use IFUNC, unless --enable-ifunc is specified to
          configure.

        - Added definitions of mask values like
          LZMA_INDEX_CHECK_MASK_CRC32 to <lzma/index.h>.

        - The XZ logo is now included in the Doxygen generated
          documentation. It is licensed under Creative Commons
          Attribution-ShareAlike 4.0.

    * xz:

        - Multithreaded mode is now the default. This improves
          compression speed and creates .xz files that can be
          decompressed multithreaded at the cost of increased memory
          usage and slightly worse compression ratio.

        - Added new command line option --filters to set the filter
          chain using liblzma filter string syntax.

        - Added new command line options --filters1 ... --filters9 to
          set additional filter chains using liblzma filter string
          syntax. The --block-list option now allows specifying filter
          chains that were set using these new options.

        - Added support for Linux Landlock as a sandboxing method.

        - xzdec now supports pledge(2), Capsicum, and Linux Landlock as
          sandboxing methods.

        - Progress indicator time stats remain accurate after pausing
          xz with SIGTSTP.

        - Ported xz and xzdec to Windows MSVC. Visual Studio 2015 or
          later is required.

    * CMake Build:

        - Supports pledge(2), Capsicum, and Linux Landlock sandboxing
          methods.

        - Replacement functions for getopt_long() are used on platforms
          that do not have it.

    * Enabled unaligned access by default on PowerPC64LE and on RISC-V
      targets that define __riscv_misaligned_fast.

    * Tests:

        - Added two new fuzz targets to OSS-Fuzz.

        - Implemented Continuous Integration (CI) testing using
          GitHub Actions.

    * Changed quoting style from `...' to '...' in all messages,
      scripts, and documentation.

    * Added basic Codespell support to help catch typo errors.


To generate a diff of this commit:
cvs rdiff -u -r1.43 -r1.44 pkgsrc/archivers/xz/Makefile
cvs rdiff -u -r1.17 -r1.18 pkgsrc/archivers/xz/PLIST
cvs rdiff -u -r1.33 -r1.34 pkgsrc/archivers/xz/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/archivers/xz/Makefile
diff -u pkgsrc/archivers/xz/Makefile:1.43 pkgsrc/archivers/xz/Makefile:1.44
--- pkgsrc/archivers/xz/Makefile:1.43   Sat Jan 27 18:50:16 2024
+++ pkgsrc/archivers/xz/Makefile        Sun Feb 25 09:45:14 2024
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.43 2024/01/27 18:50:16 adam Exp $
+# $NetBSD: Makefile,v 1.44 2024/02/25 09:45:14 wiz Exp $
 
-DISTNAME=      xz-5.4.6
+DISTNAME=      xz-5.6.0
 CATEGORIES=    archivers
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=tukaani-project/}
 GITHUB_RELEASE=        v${PKGVERSION_NOREV}

Index: pkgsrc/archivers/xz/PLIST
diff -u pkgsrc/archivers/xz/PLIST:1.17 pkgsrc/archivers/xz/PLIST:1.18
--- pkgsrc/archivers/xz/PLIST:1.17      Tue Aug  8 08:32:48 2023
+++ pkgsrc/archivers/xz/PLIST   Sun Feb 25 09:45:14 2024
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.17 2023/08/08 08:32:48 adam Exp $
+@comment $NetBSD: PLIST,v 1.18 2024/02/25 09:45:14 wiz Exp $
 bin/lzcat
 bin/lzcmp
 bin/lzdiff
@@ -48,6 +48,7 @@ ${PLIST.nls}man/de/man1/lzgrep.1
 ${PLIST.nls}man/de/man1/lzless.1
 ${PLIST.nls}man/de/man1/lzma.1
 ${PLIST.nls}man/de/man1/lzmadec.1
+${PLIST.nls}man/de/man1/lzmainfo.1
 ${PLIST.nls}man/de/man1/lzmore.1
 ${PLIST.nls}man/de/man1/unlzma.1
 ${PLIST.nls}man/de/man1/unxz.1
@@ -62,21 +63,16 @@ ${PLIST.nls}man/de/man1/xzgrep.1
 ${PLIST.nls}man/de/man1/xzless.1
 ${PLIST.nls}man/de/man1/xzmore.1
 ${PLIST.nls}man/fr/man1/lzcat.1
-${PLIST.nls}man/fr/man1/lzcmp.1
-${PLIST.nls}man/fr/man1/lzdiff.1
 ${PLIST.nls}man/fr/man1/lzless.1
 ${PLIST.nls}man/fr/man1/lzma.1
 ${PLIST.nls}man/fr/man1/lzmadec.1
-${PLIST.nls}man/fr/man1/lzmore.1
+${PLIST.nls}man/fr/man1/lzmainfo.1
 ${PLIST.nls}man/fr/man1/unlzma.1
 ${PLIST.nls}man/fr/man1/unxz.1
 ${PLIST.nls}man/fr/man1/xz.1
 ${PLIST.nls}man/fr/man1/xzcat.1
-${PLIST.nls}man/fr/man1/xzcmp.1
 ${PLIST.nls}man/fr/man1/xzdec.1
-${PLIST.nls}man/fr/man1/xzdiff.1
 ${PLIST.nls}man/fr/man1/xzless.1
-${PLIST.nls}man/fr/man1/xzmore.1
 ${PLIST.nls}man/ko/man1/lzcat.1
 ${PLIST.nls}man/ko/man1/lzcmp.1
 ${PLIST.nls}man/ko/man1/lzdiff.1
@@ -86,6 +82,7 @@ ${PLIST.nls}man/ko/man1/lzgrep.1
 ${PLIST.nls}man/ko/man1/lzless.1
 ${PLIST.nls}man/ko/man1/lzma.1
 ${PLIST.nls}man/ko/man1/lzmadec.1
+${PLIST.nls}man/ko/man1/lzmainfo.1
 ${PLIST.nls}man/ko/man1/lzmore.1
 ${PLIST.nls}man/ko/man1/unlzma.1
 ${PLIST.nls}man/ko/man1/unxz.1
@@ -123,27 +120,16 @@ man/man1/xzgrep.1
 man/man1/xzless.1
 man/man1/xzmore.1
 ${PLIST.nls}man/pt_BR/man1/lzcat.1
-${PLIST.nls}man/pt_BR/man1/lzcmp.1
-${PLIST.nls}man/pt_BR/man1/lzdiff.1
-${PLIST.nls}man/pt_BR/man1/lzegrep.1
-${PLIST.nls}man/pt_BR/man1/lzfgrep.1
-${PLIST.nls}man/pt_BR/man1/lzgrep.1
 ${PLIST.nls}man/pt_BR/man1/lzless.1
 ${PLIST.nls}man/pt_BR/man1/lzma.1
 ${PLIST.nls}man/pt_BR/man1/lzmadec.1
-${PLIST.nls}man/pt_BR/man1/lzmore.1
+${PLIST.nls}man/pt_BR/man1/lzmainfo.1
 ${PLIST.nls}man/pt_BR/man1/unlzma.1
 ${PLIST.nls}man/pt_BR/man1/unxz.1
 ${PLIST.nls}man/pt_BR/man1/xz.1
 ${PLIST.nls}man/pt_BR/man1/xzcat.1
-${PLIST.nls}man/pt_BR/man1/xzcmp.1
 ${PLIST.nls}man/pt_BR/man1/xzdec.1
-${PLIST.nls}man/pt_BR/man1/xzdiff.1
-${PLIST.nls}man/pt_BR/man1/xzegrep.1
-${PLIST.nls}man/pt_BR/man1/xzfgrep.1
-${PLIST.nls}man/pt_BR/man1/xzgrep.1
 ${PLIST.nls}man/pt_BR/man1/xzless.1
-${PLIST.nls}man/pt_BR/man1/xzmore.1
 ${PLIST.nls}man/ro/man1/lzcat.1
 ${PLIST.nls}man/ro/man1/lzcmp.1
 ${PLIST.nls}man/ro/man1/lzdiff.1
@@ -153,6 +139,7 @@ ${PLIST.nls}man/ro/man1/lzgrep.1
 ${PLIST.nls}man/ro/man1/lzless.1
 ${PLIST.nls}man/ro/man1/lzma.1
 ${PLIST.nls}man/ro/man1/lzmadec.1
+${PLIST.nls}man/ro/man1/lzmainfo.1
 ${PLIST.nls}man/ro/man1/lzmore.1
 ${PLIST.nls}man/ro/man1/unlzma.1
 ${PLIST.nls}man/ro/man1/unxz.1
@@ -175,6 +162,7 @@ ${PLIST.nls}man/uk/man1/lzgrep.1
 ${PLIST.nls}man/uk/man1/lzless.1
 ${PLIST.nls}man/uk/man1/lzma.1
 ${PLIST.nls}man/uk/man1/lzmadec.1
+${PLIST.nls}man/uk/man1/lzmainfo.1
 ${PLIST.nls}man/uk/man1/lzmore.1
 ${PLIST.nls}man/uk/man1/unlzma.1
 ${PLIST.nls}man/uk/man1/unxz.1
@@ -190,11 +178,12 @@ ${PLIST.nls}man/uk/man1/xzless.1
 ${PLIST.nls}man/uk/man1/xzmore.1
 share/doc/xz/AUTHORS
 share/doc/xz/COPYING
+share/doc/xz/COPYING.0BSD
 share/doc/xz/COPYING.GPLv2
 share/doc/xz/NEWS
 share/doc/xz/README
 share/doc/xz/THANKS
-share/doc/xz/TODO
+share/doc/xz/api/COPYING.CC-BY-SA-4.0
 share/doc/xz/api/annotated.html
 share/doc/xz/api/base_8h.html
 share/doc/xz/api/bc_s.png
@@ -263,14 +252,14 @@ share/doc/xz/api/tab_sd.png
 share/doc/xz/api/tabs.css
 share/doc/xz/api/version_8h.html
 share/doc/xz/api/vli_8h.html
+share/doc/xz/api/xz-logo.png
 share/doc/xz/examples/00_README.txt
 share/doc/xz/examples/01_compress_easy.c
 share/doc/xz/examples/02_decompress.c
 share/doc/xz/examples/03_compress_custom.c
 share/doc/xz/examples/04_compress_easy_mt.c
+share/doc/xz/examples/11_file_info.c
 share/doc/xz/examples/Makefile
-share/doc/xz/examples_old/xz_pipe_comp.c
-share/doc/xz/examples_old/xz_pipe_decomp.c
 share/doc/xz/faq.txt
 share/doc/xz/history.txt
 share/doc/xz/lzma-file-format.txt

Index: pkgsrc/archivers/xz/distinfo
diff -u pkgsrc/archivers/xz/distinfo:1.33 pkgsrc/archivers/xz/distinfo:1.34
--- pkgsrc/archivers/xz/distinfo:1.33   Sat Jan 27 18:50:16 2024
+++ pkgsrc/archivers/xz/distinfo        Sun Feb 25 09:45:14 2024
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.33 2024/01/27 18:50:16 adam Exp $
+$NetBSD: distinfo,v 1.34 2024/02/25 09:45:14 wiz Exp $
 
-BLAKE2s (xz-5.4.6.tar.bz2) = e8db846fa99a2e00be26c621c3cd12e392cd85cd057775ecd332f01c1cdc4947
-SHA512 (xz-5.4.6.tar.bz2) = 0d77b5fdc662235ce43ec587a0e0ee8003a03a29fde69bcea883074057eca357bf5e1d3510be60e9b7ce4033cf9b28e5ba78fc7fa1902a3f6a4bf9c22e79e1a2
-Size (xz-5.4.6.tar.bz2) = 2181925 bytes
+BLAKE2s (xz-5.6.0.tar.bz2) = 28663e73faac75ae90e5fb8da76b7683795799cd567f0e2df4fba65e67f97b4b
+SHA512 (xz-5.6.0.tar.bz2) = eedd2fb10ad422ac8ef3e82dd6b4ade7233382233f83e086fb8f903f0ebe473fcc1c1941f32e359d836ccab3a3d19dd52a34407faa51593085137294b0b33ce6
+Size (xz-5.6.0.tar.bz2) = 2286070 bytes
 SHA1 (patch-src_xz_Makefile.in) = b9360c7b2b34159028fb8b84339aa2faf3922287



Home | Main Index | Thread Index | Old Index