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: adam
Date: Wed May 29 20:22:25 UTC 2024
Modified Files:
pkgsrc/archivers/xz: Makefile PLIST distinfo
Log Message:
xz: updated to 5.6.2
5.6.2 (2024-05-29)
* Remove the backdoor (CVE-2024-3094).
* Not changed: Memory sanitizer (MSAN) has a false positive
in the CRC CLMUL code which also makes OSS Fuzz unhappy.
Valgrind is smarter and doesn't complain.
A revision to the CLMUL code is coming anyway and this issue
will be cleaned up as part of it. It won't be backported to
5.6.x or 5.4.x because the old code isn't wrong. There is
no reason to risk introducing regressions in old branches
just to silence a false positive.
* liblzma:
- lzma_index_decoder() and lzma_index_buffer_decode(): Fix
a missing output pointer initialization (*i = NULL) if the
functions are called with invalid arguments. The API docs
say that such an initialization is always done. In practice
this matters very little because the problem can only occur
if the calling application has a bug and these functions
return LZMA_PROG_ERROR.
- lzma_str_to_filters(): Fix a missing output pointer
initialization (*error_pos = 0). This is very similar
to the fix above.
- Fix C standard conformance with function pointer types.
- Remove GNU indirect function (IFUNC) support. This is *NOT*
done for security reasons even though the backdoor relied on
this code. The performance benefits of IFUNC are too tiny in
this project to make the extra complexity worth it.
- FreeBSD on ARM64: Add error checking to CRC32 instruction
support detection.
- Fix building with NVIDIA HPC SDK.
* xz:
- Fix a C standard conformance issue in --block-list parsing
(arithmetic on a null pointer).
- Fix a warning from GNU groff when processing the man page:
"warning: cannot select font 'CW'"
* xzdec: Add support for Linux Landlock ABI version 4. xz already
had the v3-to-v4 change but it had been forgotten from xzdec.
* Autotools-based build system (configure):
- Symbol versioning variant can now be overridden with
--enable-symbol-versions. Documentation in INSTALL was
updated to match.
- Add new configure option --enable-doxygen to enable
generation and installation of the liblzma API documentation
using Doxygen. Documentation in INSTALL and PACKAGERS was
updated to match.
CMake:
- Fix detection of Linux Landlock support. The detection code
in CMakeLists.txt had been sabotaged.
- Disable symbol versioning on non-glibc Linux to match what
the Autotools build does. For example, symbol versioning
isn't enabled with musl.
- Symbol versioning variant can now be overridden by setting
SYMBOL_VERSIONING to "OFF", "generic", or "linux".
- Add support for all tests in typical build configurations.
Now the only difference to the tests coverage to Autotools
is that CMake-based build will skip more tests if features
are disabled. Such builds are only for special cases like
embedded systems.
- Separate the CMake code for the tests into tests/tests.cmake.
It is used conditionally, thus it is possible to
rm -rf tests
and the CMake-based build will still work normally except
that no tests are then available.
- Add a option ENABLE_DOXYGEN to enable generation and
installation of the liblzma API documentation using Doxygen.
* Documentation:
- Omit the Doxygen-generated liblzma API documentation from the
package. Instead, the generation and installation of the API
docs can be enabled with a configure or CMake option if
Doxygen is available.
- Remove the XZ logo which was used in the API documentation.
The logo has been retired and isn't used by the project
anymore. However, it's OK to use it in contexts that refer
to the backdoor incident.
- Remove the PDF versions of the man pages from the source
package. These existed primarily for users of operating
systems which don't come with tools to render man page
source files. The plain text versions are still included
in doc/man/txt. PDF files can still be generated to doc/man,
if the required tools are available, using "make pdf" after
running "configure".
- Update home page URLs back to their old locations on
tukaani.org.
- Update maintainer info.
* Tests:
- In tests/files/README, explain how to recreate the ARM64
test files.
- Remove two tests that used tiny x86 and SPARC object files
as the input files. The matching .c file was included but
the object files aren't easy to reproduce. The test cases
weren't great anyway; they were from the early days (2009)
of the project when the test suite had very few tests.
- Improve a few tests.
To generate a diff of this commit:
cvs rdiff -u -r1.49 -r1.50 pkgsrc/archivers/xz/Makefile
cvs rdiff -u -r1.19 -r1.20 pkgsrc/archivers/xz/PLIST
cvs rdiff -u -r1.36 -r1.37 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.49 pkgsrc/archivers/xz/Makefile:1.50
--- pkgsrc/archivers/xz/Makefile:1.49 Tue Apr 2 22:18:58 2024
+++ pkgsrc/archivers/xz/Makefile Wed May 29 20:22:25 2024
@@ -1,12 +1,9 @@
-# $NetBSD: Makefile,v 1.49 2024/04/02 22:18:58 js Exp $
+# $NetBSD: Makefile,v 1.50 2024/05/29 20:22:25 adam Exp $
-DISTNAME= xz-5.4.6
-PKGNAME= xz-5.6.1
-PKGREVISION= 100
+DISTNAME= xz-5.6.2
CATEGORIES= archivers
-MASTER_SITES=
-#MASTER_SITES= ${MASTER_SITE_GITHUB:=tukaani-project/}
-#GITHUB_RELEASE= v${PKGVERSION_NOREV}
+MASTER_SITES= ${MASTER_SITE_GITHUB:=tukaani-project/}
+GITHUB_RELEASE= v${PKGVERSION_NOREV}
EXTRACT_SUFX= .tar.bz2
MAINTAINER= pkgsrc-users%NetBSD.org@localhost
Index: pkgsrc/archivers/xz/PLIST
diff -u pkgsrc/archivers/xz/PLIST:1.19 pkgsrc/archivers/xz/PLIST:1.20
--- pkgsrc/archivers/xz/PLIST:1.19 Thu Mar 28 22:24:08 2024
+++ pkgsrc/archivers/xz/PLIST Wed May 29 20:22:25 2024
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.19 2024/03/28 22:24:08 wiz Exp $
+@comment $NetBSD: PLIST,v 1.20 2024/05/29 20:22:25 adam 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,87 +178,18 @@ ${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/annotated.html
-share/doc/xz/api/base_8h.html
-share/doc/xz/api/bc_s.png
-share/doc/xz/api/bc_sd.png
-share/doc/xz/api/bcj_8h.html
-share/doc/xz/api/block_8h.html
-share/doc/xz/api/check_8h.html
-share/doc/xz/api/classes.html
-share/doc/xz/api/closed.png
-share/doc/xz/api/container_8h.html
-share/doc/xz/api/delta_8h.html
-share/doc/xz/api/dir_b17a1d403082bd69a703ed987cf158fb.html
-share/doc/xz/api/doc.svg
-share/doc/xz/api/docd.svg
-share/doc/xz/api/doxygen.css
-share/doc/xz/api/doxygen.svg
-share/doc/xz/api/files.html
-share/doc/xz/api/filter_8h.html
-share/doc/xz/api/folderclosed.svg
-share/doc/xz/api/folderclosedd.svg
-share/doc/xz/api/folderopen.svg
-share/doc/xz/api/folderopend.svg
-share/doc/xz/api/functions.html
-share/doc/xz/api/functions_vars.html
-share/doc/xz/api/globals.html
-share/doc/xz/api/globals_defs.html
-share/doc/xz/api/globals_enum.html
-share/doc/xz/api/globals_eval.html
-share/doc/xz/api/globals_func.html
-share/doc/xz/api/globals_type.html
-share/doc/xz/api/hardware_8h.html
-share/doc/xz/api/index.html
-share/doc/xz/api/index_8h.html
-share/doc/xz/api/index__hash_8h.html
-share/doc/xz/api/lzma12_8h.html
-share/doc/xz/api/lzma_8h.html
-share/doc/xz/api/nav_f.png
-share/doc/xz/api/nav_fd.png
-share/doc/xz/api/nav_g.png
-share/doc/xz/api/nav_h.png
-share/doc/xz/api/nav_hd.png
-share/doc/xz/api/open.png
-share/doc/xz/api/splitbar.png
-share/doc/xz/api/splitbard.png
-share/doc/xz/api/stream__flags_8h.html
-share/doc/xz/api/structlzma__allocator.html
-share/doc/xz/api/structlzma__block.html
-share/doc/xz/api/structlzma__filter.html
-share/doc/xz/api/structlzma__index__iter.html
-share/doc/xz/api/structlzma__mt.html
-share/doc/xz/api/structlzma__options__bcj.html
-share/doc/xz/api/structlzma__options__delta.html
-share/doc/xz/api/structlzma__options__lzma.html
-share/doc/xz/api/structlzma__stream.html
-share/doc/xz/api/structlzma__stream__flags.html
-share/doc/xz/api/sync_off.png
-share/doc/xz/api/sync_on.png
-share/doc/xz/api/tab_a.png
-share/doc/xz/api/tab_ad.png
-share/doc/xz/api/tab_b.png
-share/doc/xz/api/tab_bd.png
-share/doc/xz/api/tab_h.png
-share/doc/xz/api/tab_hd.png
-share/doc/xz/api/tab_s.png
-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/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.36 pkgsrc/archivers/xz/distinfo:1.37
--- pkgsrc/archivers/xz/distinfo:1.36 Thu Mar 28 22:24:08 2024
+++ pkgsrc/archivers/xz/distinfo Wed May 29 20:22:25 2024
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.36 2024/03/28 22:24:08 wiz Exp $
+$NetBSD: distinfo,v 1.37 2024/05/29 20:22:25 adam 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.2.tar.bz2) = 922b5b9bf3508579172870f552f4cb5693093146e6f45a807174830137742516
+SHA512 (xz-5.6.2.tar.bz2) = 9b4fb06e5ae2aacdb2d3656aaf40297998b0432ea764fe7362097d0fae3d55c2c447bcd02c9cbf2cccf524bc3b6445901e3be157afa9e6cfe1b6416218f3c602
+Size (xz-5.6.2.tar.bz2) = 1702029 bytes
SHA1 (patch-src_xz_Makefile.in) = b9360c7b2b34159028fb8b84339aa2faf3922287
Home |
Main Index |
Thread Index |
Old Index