aboutsummaryrefslogtreecommitdiff
path: root/contrib/xz
Commit message (Collapse)AuthorAgeFilesLines
* Backport export of lzma_mt_block_size symbol.Xin LI2024-04-059-25/+70
| | | | | | | This restores binary compatibility against liblzma 5.6.0 library. PR: 278127 MFC after: 3 days
* Revert "MFV: xz 5.6.0"Xin LI2024-04-05216-12843/+10693
| | | | | | | | | | | | | | | | | | | | This commit reverts 8db56defa766eacdbaf89a37f25b11a57fd9787a, rolling back the vendor import of xz 5.6.0 and restoring the package to version 5.4.5. The revert was not directly due to the attack (CVE-2024-3094): our import process have removed the test cases and build scripts that would have enabled the attack. However, reverting would help to reduce potential confusion and false positives from security scanners that assess risk based solely on version numbers. Another commit will follow to restore binary compatibility with the liblzma 5.6.0 library by making the previously private symbol (lzma_mt_block_size) public. PR: 278127 MFC after: 3 days
* MFV: xz 5.6.0.Xin LI2024-02-25216-10693/+12843
| | | | MFC after: 2 weeks
* MFV: xz 5.4.5Xin LI2023-11-2635-171/+1295
| | | | MFC after: 2 weeks
* MFV: xz 5.4.4.Xin LI2023-08-0325-52/+771
| | | | MFC-after: 2 weeks
* MFV: xz 5.4.3.Xin LI2023-05-127-17/+292
| | | | | Relnotes: yes MFC-after: 2 weeks
* MFV: xz 5.4.2.Xin LI2023-03-2048-473/+5175
| | | | MFC after: 2 weeks
* xz: Improve compatibility with systems without capability mode supportXin LI2023-03-051-5/+6
| | | | | | | | | | | | | | | | When the kernel is built without capability mode support, or when using an emulator like qemu-user-static that does not translate system calls, these calls will return a negative number and set the errno to ENOSYS. However, this error does not indicate a real programming or runtime error and is generally ignored by base system applications built with capability mode sandboxing. Match this behavior by making xz(1) to ignore ENOSYS errors when calling capability mode system calls too. PR: 269185 Reported by: Dan Kotowski MFC after: 2 days
* MFV: xz 5.4.1.Xin LI2023-01-2323-31/+730
| | | | MFC after: 3 days
* MFV: xz 5.4.0Xin LI2023-01-0186-6177/+12753
| | | | MFC after: 2 weeks
* MFV: xz 5.2.9Xin LI2022-12-0913-28/+274
| | | | MFC after: 2 weeks
* Document that cmake files were omitted in previous import.Xin LI2022-11-201-0/+2
|
* MFV: Merge xz 5.2.8Xin LI2022-11-1744-218/+2937
| | | | | Relnotes: yes MFC after: 2 weeks
* liblzma: Make liblzma use libmd implementation of SHA256.Xin LI2020-06-201-196/+0
| | | | | | | | MFC after: 2 weeks PR: 200142 Notes: svn path=/head/; revision=362452
* MFV r359197: xz 5.2.5.Xin LI2020-03-2273-463/+2013
| | | | | | | | MFC after: 2 weeks Relnotes: yes Notes: svn path=/head/; revision=359201
* MFV r357608: Limit memory usage in xz(1) instead of in tuklib.Xin LI2020-02-063-6/+51
| | | | | | | | | | | | Apply upstream 353970510895f6a80adfe60cf71b70a95adfa8bc to limit memory usage on 32-bit binary to 4020 MiB. Submitted by: Lasse Collin <lasse.collin at tukaani.org> Reviewed by: kib, bcr Differential Revision: https://reviews.freebsd.org/D23474 Notes: svn path=/head/; revision=357609
* Clamp tuklib_physmem() return value to SIZE_T_MAX.Konstantin Belousov2019-01-061-1/+5
| | | | | | | | | | | | | | | | On 32bit platforms it is possible to have (much) more physical RAM than is mappable into single address space. In this case liblzma scales the value into a request to mmap more address space than it is theoretically possible. Reported and tested by: pho Reviewed by: delphij Discussed with: emaste Sponsored by: The FreeBSD Foundation MFC after: 1 week Notes: svn path=/head/; revision=342823
* MFV r333779: xz 5.2.4.Xin LI2018-05-1821-10078/+378
| | | | | | | MFC after: 2 weeks Notes: svn path=/head/; revision=333783
* xz: set noexec stack flag on FreeBSDEd Maste2017-06-032-2/+2
| | | | | | | | | | | Will also be proposed upstream. Reviewed by: delphij Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D11033 Notes: svn path=/head/; revision=319510
* MFV r311477: xz 5.2.3.Xin LI2017-01-0649-1039/+1775
| | | | | | | MFC after: 2 weeks Notes: svn path=/head/; revision=311504
* MFV r291123:Xin LI2015-11-2114-29/+367
| | | | | | | | | | xz 5.2.2. MFC after: 1 month Relnotes: yes Notes: svn path=/head/; revision=291125
* MFV r281278:Xin LI2015-04-099-57/+328
| | | | | | | | | | | | | | | | - Update xz to 5.2.1, where the most visible change is that it fixed a compression-ratio regression in fast mode LZMA1 and LZMA2 and used cpuset_getaffinity() for CPU cores detection. - Make liblzma use the base system SHA256 implementation instead of the bundled one. - Additional annotation in config.h for FreeBSD specific tweaks. - Refresh symbols in XZprivate_1.0 to reflect reality. Relnotes: yes MFC after: 1 month (TBD) Notes: svn path=/head/; revision=281316
* Add a few more instructions to xz/FREEBSD-upgrade.Rui Paulo2015-02-091-0/+3
| | | | Notes: svn path=/head/; revision=278468
* Merge xz 5.2.0.Rui Paulo2015-02-09118-1222/+7678
| | | | | | | | | | | | | | | | This brings support for multi-threaded compression. This brings close N times faster compression where N is the number of CPU cores. Because of this, liblzma now depends on libthr. Soon libarchive will be modified to use the new lzma API. Thanks to antoine@ for the exp-run. Differential Revision: https://reviews.freebsd.org/D1786 Reviewed by: bapt Notes: svn path=/head/; revision=278433
* Install the liblzma pkg-config fileBaptiste Daroussin2015-01-102-1/+19
| | | | | | | MFC after: 1 week Notes: svn path=/head/; revision=276898
* MFV r273494: xz 5.0.7.Xin LI2014-10-2311-839/+6178
| | | | | | | MFC after: 2 weeks Notes: svn path=/head/; revision=273498
* MFV r273492: remove gettext files.Xin LI2014-10-2310-5285/+1
| | | | Notes: svn path=/head/; revision=273493
* MFV r253848 (mm):Xin LI2014-03-0417-89/+498
| | | | | | | | | Update vendor/xz from v5.0 branch to post-5.0.5 MFC after: 2 weeks Notes: svn path=/head/; revision=262754
* MFV r244559:Martin Matuska2012-12-2216-473/+854
| | | | | | | | | Update contrib/xz to version 5.0.4 MFC after: 2 weeks Notes: svn path=/head/; revision=244601
* Update xz to git snapshot of v5.0 branch as of 20110711 (post-5.0.3)Martin Matuska2011-07-1150-270/+2375
| | | | | | | | | | For architectures with __NO_STRICT_ALIGNMENT define TUKLIB_FAST_UNALIGNED_ACCESS MFC after: 2 weeks Notes: svn path=/head/; revision=223935
* Update xz to release 5.0.1Martin Matuska2011-02-2414-307/+688
| | | | | | | MFC after: 1 week Notes: svn path=/head/; revision=219001
* Update xz to release 5.0.0Martin Matuska2010-11-1232-682/+1377
| | | | | | | | Approved by: delphij (mentor) MFC after: 1 week Notes: svn path=/head/; revision=215187
* Upgrade xz to git snapshot as of 20101010Martin Matuska2010-10-1168-3822/+6470
| | | | | | | | Approved by: delphij (mentor) MFC after: 1 month Notes: svn path=/head/; revision=213700
* Import of liblzma, xz, xzdec, lzmainfo from vendor branchMartin Matuska2010-05-10197-0/+42911
Add support for xz and lzma to lesspipe.sh (xzless, lzless) Bump __FreeBSD_version Approved by: delphij (mentor) MFC after: 2 weeks Notes: svn path=/head/; revision=207842