summaryrefslogtreecommitdiffstats
path: root/tools/xz
Commit message (Collapse)AuthorAgeFilesLines
* Revert "tools/xz: update to 5.6.1" (CVE-2024-3094)Petr Štetiar2024-03-291-3/+4
| | | | | | | | This reverts commit 714c91d1a63f29650abaa9cf69ffa47cf2c70297 as probably the upstream xz repository and the xz tarballs have been backdoored. References: https://www.openwall.com/lists/oss-security/2024/03/29/4. Signed-off-by: Petr Štetiar <ynezz@true.cz>
* tools/xz: update to 5.6.1Nick Hainke2024-03-291-4/+3
| | | | | | Change mirror to github. Signed-off-by: Nick Hainke <vincent@systemli.org>
* tools/xz: update to 5.4.6Nick Hainke2024-01-301-2/+2
| | | | | | | Changelog: https://git.tukaani.org/?p=xz.git;a=blob;f=NEWS;h=d271dad2d3f1ec54e56ef8fa60275a88697a24aa;hb=0ef8192e8d5af4e6200d5d4aee22d1f177f7a2df Signed-off-by: Nick Hainke <vincent@systemli.org>
* tools/xz: update to 5.4.5Nick Hainke2023-12-041-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * liblzma: - Use __attribute__((__no_sanitize_address__)) to avoid address sanitization with CRC64 CLMUL. It uses 16-byte-aligned reads which can extend past the bounds of the input buffer and inherently trigger address sanitization errors. This isn't a bug. - Fixed an assertion failure that could be triggered by a large unpadded_size argument. It was verified that there was no other bug than the assertion failure. - Fixed a bug that prevented building with Windows Vista threading when __attribute__((__constructor__)) is not supported. * xz now properly handles special files such as "con" or "nul" on Windows. Before this fix, the following wrote "foo" to the console and deleted the input file "con_xz": echo foo | xz > con_xz xz --suffix=_xz --decompress con_xz * Build systems: - Allow builds with Windows win95 threading and small mode when __attribute__((__constructor__)) is supported. - Added a new line to liblzma.pc for MSYS2 (Windows): Cflags.private: -DLZMA_API_STATIC When compiling code that will link against static liblzma, the LZMA_API_STATIC macro needs to be defined on Windows. - CMake specific changes: * Fixed a bug that allowed CLOCK_MONOTONIC to be used even if the check for it failed. * Fixed a bug where configuring CMake multiple times resulted in HAVE_CLOCK_GETTIME and HAVE_CLOCK_MONOTONIC not being set. * Fixed the build with MinGW-w64-based Clang/LLVM 17. llvm-windres now has more accurate GNU windres emulation so the GNU windres workaround from 5.4.1 is needed with llvm-windres version 17 too. * The import library on Windows is now properly named "liblzma.dll.a" instead of "libliblzma.dll.a" * Fixed a bug causing the Ninja Generator to fail on UNIX-like systems. This bug was introduced in 5.4.0. * Added a new option to disable CLMUL CRC64. * A module-definition (.def) file is now created when building liblzma.dll with MinGW-w64. * The pkg-config liblzma.pc file is now installed on all builds except when using MSVC on Windows. * Added large file support by default for platforms that need it to handle files larger than 2 GiB. This includes MinGW-w64, even 64-bit builds. * Small fixes and improvements to the tests. * Updated translations: Chinese (simplified) and Esperanto. Signed-off-by: Nick Hainke <vincent@systemli.org>
* tools/xz: update to 5.4.4Rosen Penev2023-08-141-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * liblzma and xzdec can now build against WASI SDK when threading support is disabled. xz and tests don't build yet. * CMake: - Fixed a bug preventing other projects from including liblzma multiple times using find_package(). - Don't create broken symlinks in Cygwin and MSYS2 unless supported by the environment. This prevented building for the default MSYS2 environment. The problem was introduced in xz 5.4.0. * Documentation: - Small improvements to man pages. - Small improvements and typo fixes for liblzma API documentation. * Tests: - Added a new section to INSTALL to describe basic test usage and address recent questions about building the tests when cross compiling. - Small fixes and improvements to the tests. * Translations: - Fixed a mistake that caused one of the error messages to not be translated. This only affected versions 5.4.2 and 5.4.3. - Updated the Chinese (simplified), Croatian, Esperanto, German, Korean, Polish, Romanian, Spanish, Swedish, Ukrainian, and Vietnamese translations. - Updated the German, Korean, Romanian, and Ukrainian man page translations. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* tools/xz: update to 5.4.3Nick Hainke2023-05-061-2/+2
| | | | | | | Changelog: https://git.tukaani.org/?p=xz.git;a=blob;f=NEWS;h=2f4d35adca6198671434d2988803cc9316ad1ec8;hb=c247d06e1f6cada9a76f4f6225cbd97ea760f52f#l5 Signed-off-by: Nick Hainke <vincent@systemli.org>
* tools/xz: bump to 5.4.2Linhui Liu2023-03-201-2/+2
| | | | | | | Release Notes: https://git.tukaani.org/?p=xz.git;a=blob;f=NEWS;hb=HEAD Signed-off-by: Linhui Liu <liulinhui36@gmail.com>
* tools/xz: update to 5.4.1Linhui Liu2023-01-131-2/+2
| | | | | | | Release notes: https://git.tukaani.org/?p=xz.git;a=blob;f=NEWS;hb=HEAD Signed-off-by: Linhui Liu <liulinhui36@gmail.com>
* tools/xz: update to 5.4.0Linhui Liu2023-01-071-2/+2
| | | | | | | Release notes: https://git.tukaani.org/?p=xz.git;a=blob;f=NEWS;hb=HEAD Signed-off-by: Linhui Liu <liulinhui36@gmail.com>
* tools/xz: update to 5.2.10Nick Hainke2022-12-191-2/+2
| | | | | | Update to latest version. Signed-off-by: Nick Hainke <vincent@systemli.org>
* tools/xz: update to 5.2.9Nick Hainke2022-12-031-2/+2
| | | | | | Update to latest release. Signed-off-by: Nick Hainke <vincent@systemli.org>
* tools/xz: update to 5.2.8Nick Hainke2022-11-161-2/+2
| | | | | | Update to latest release. Signed-off-by: Nick Hainke <vincent@systemli.org>
* tools/xz: update to 5.2.7Nick Hainke2022-10-221-2/+2
| | | | | | Update to latest version. Signed-off-by: Nick Hainke <vincent@systemli.org>
* tools: add Host/Uninstall where possibleRosen Penev2022-10-201-0/+4
| | | | | | This cleans staging_dir when calling tool/x/clean. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* tools/xz: update to 5.2.6Nick Hainke2022-08-201-2/+2
| | | | | | | | This update contains a security fix to xzgrep (CVE-2022-1271, ZDI-CAN-16587). Release notes: https://git.tukaani.org/?p=xz.git;a=blob;f=NEWS;hb=HEAD Signed-off-by: Nick Hainke <vincent@systemli.org>
* tools/xz: Update to 5.2.5Daniel Engberg2020-04-091-2/+3
| | | | | | | Update xz to 5.2.5 Disable NLS support to be consistent with other tools such as bison, e2fsprogs and sed. Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
* tools/xz: Compile with PIC to fix linking errorsRosen Penev2019-04-061-2/+3
| | | | | | | | | | | I made a similar change to this here: https://github.com/openwrt/packages/pull/8159 However, it turns out this did not fix the problem as the problem has to do with tools/xz and not the xz package. The error is the same and causes linking errors as can be seen above. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* tools/xz: Add PKG_CPE_ID for proper CVE trackingRosen Penev2018-10-161-0/+1
| | | | Signed-off-by: Rosen Penev <rosenp@gmail.com>
* tools/xz: Update to 5.2.4Daniel Engberg2018-05-051-10/+3
| | | | | | | | Update to 5.2.4 Remove FreeBSD fix as it's not needed Disable docs Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
* xz: Update to 5.2.3Daniel Engberg2017-01-031-2/+2
| | | | | | Update xz to 5.2.3 Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
* treewide: clean up download hashesFelix Fietkau2016-12-161-1/+1
| | | | | | Replace *MD5SUM with *HASH, replace MD5 hashes with SHA256 Signed-off-by: Felix Fietkau <nbd@nbd.name>
* tools: xz: force building without ccacheJo-Philipp Wich2016-10-061-0/+3
| | | | | | | Since XZ is required to bootstrap ccache we must not use the ccache compiler wrapper to avoid circular dependencies. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* tools: xz: use .bz2 archiveJo-Philipp Wich2016-10-062-13/+10
| | | | | | | | | | In order to build XZ itself we cannot assume that XZ support is available, so fetch the bz2 archive variant of its sources instead. Also drop the FreeBSD portability patch and apply it at prepare time using sed, to avoid a dependency on GNU patch which in turn depends on XZ support. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* source: Switch to xz for packages and tools where possibleDaniel Engberg2016-10-061-4/+4
| | | | | | | | | | | * Change git packages to xz * Update mirror checksums in packages where they are used * Change a few source tarballs to xz if available upstream * Remove unused lines in packages we're touching, requested by jow- and blogic * We're relying more on xz-utils so add official mirror as primary source, master site as secondary. * Add SHA256 checksums to multiple git tarball packages Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
* tools/xz: update to 5.2.2Felix Fietkau2015-10-301-4/+5
| | | | | | | | | Update xz to version 5.2.2. Add a secondary download location. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi> SVN-Revision: 47298
* tools/xz: disable shared libraryJo-Philipp Wich2015-09-141-0/+4
| | | | | | | | | Force a static build of the xz utilities in order to avoid the dependency on a shared liblzma.so which might collide with the distro version. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 46907
* tools: xz: update to version 5.2.1Hauke Mehrtens2015-08-151-2/+2
| | | | | | | | | This adds support for symbol versioning which is needed on CentOs/RedHat 7 to fix #20134. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 46603
* tools: remove static linking supportJo-Philipp Wich2015-02-061-4/+1
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 44285
* tools: Fix xz build on FreeBSD 10.1Jo-Philipp Wich2015-02-051-0/+11
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 44278
* xz: upgrade to 5.0.5Luka Perkov2013-08-161-3/+3
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 37797
* build: add the + token to any commands that can pass through the jobserver, ↵Felix Fietkau2012-09-231-1/+1
| | | | | | fixes parallel build on some systems SVN-Revision: 33523
* tools/xz enable parallel buildsFelix Fietkau2012-09-151-1/+3
| | | | SVN-Revision: 33431
* xz: update to 5.0.4Jo-Philipp Wich2012-08-121-2/+2
| | | | | | Signed-off-by: Jonh Wendell <jonh.wendell@gmail.com> SVN-Revision: 33146
* use HOST_STATIC_LINKING instead of hardcoding -staticJo-Philipp Wich2012-08-121-2/+3
| | | | SVN-Revision: 33140
* xz: link staticallyJo-Philipp Wich2012-08-101-1/+3
| | | | SVN-Revision: 33111
* xz: update to 5.0.3Florian Fainelli2012-04-021-3/+3
| | | | | | Signed-off-by: Luka Perkov <openwrt@lukaperkov.net> SVN-Revision: 31172
* xz: update to version 5.0.2Hauke Mehrtens2011-04-033-139/+2
| | | | SVN-Revision: 26438
* tools/xz: add some upstream patchesAlexandros C. Couloumbis2011-03-102-0/+137
| | | | SVN-Revision: 26018
* tools/xz: update to version 5.0.1Alexandros C. Couloumbis2011-03-031-2/+2
| | | | SVN-Revision: 25847
* tools/xz: do not overwrite the lzma binaryFelix Fietkau2010-12-111-0/+4
| | | | SVN-Revision: 24499
* add a host package for xzFelix Fietkau2010-12-111-0/+18
SVN-Revision: 24481