aboutsummaryrefslogtreecommitdiff
path: root/lib/libarchive/Makefile.inc
Commit message (Collapse)AuthorAgeFilesLines
* libarchive: Fix typo in sed commandDag-Erling Smørgrav2026-06-041-1/+1
| | | | | | MFC after: 1 week Fixes: eb3a0a74a069 ("libarchive: Clean up the build configuration") Reported by: Shawn Webb <shawn.webb@hardenedbsd.org>
* libarchive: Clean up the build configurationDag-Erling Smørgrav2026-06-041-5/+11
| | | | | | | | | | | | * Move settings duplicated in libarchive, bsdcat, bsdcpio, bsdtar, and bsdunzip into libarchive's Makefile.inc. * Drop some CFLAGS that merely duplicated some of the contents of our platform configuration header. MFC after: 1 week Reviewed by: mm Differential Revision: https://reviews.freebsd.org/D57307
* libarchive: fix thread autodetermination for zstd compression formatBaptiste Daroussin2024-05-031-1/+2
| | | | | | | The libarchive code uses sysconf(3) to determine the number of threads when 0 has been given as the number of thread to use MFC after: 3 days
* libarchive: merge from vendor branchMartin Matuska2024-04-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Libarchive 3.7.3 New features: #1941 uudecode filter: support file name and file mode in raw mode #1943 7-zip reader: translate Windows permissions into UNIX permissions #1962 zstd filter now supports the "long" write option #2012 add trailing letter b to bsdtar(1) substitute pattern #2031 PCRE2 support #2054 add support for long options "--group" and "--owner" to tar(1) Security fixes: #2101 Fix possible vulnerability in tar error reporting introduced in f27c173 Important bugfixes: #1974 ISO9660: preserve the natural order of links #2105 rar5: fix infinite loop if during rar5 decompression the last block produced no data #2027 xz filter: fix incorrect eof at the end of an lzip member #2043 zip: fix end-of-data marker processing when decompressing zip archives PR: 278315 (exp-run) MFC after: 1 week
* Remove $FreeBSD$: one-line sh patternWarner Losh2023-08-161-1/+0
| | | | Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
* libarchive: Avoid a build failure with OpenSSL 3.0Pierre Pronchery2023-06-231-0/+1
| | | | | | | This is a minimal workaround; a proper fix will come via a future update from upstream. Sponsored by: The FreeBSD Foundation
* libarchive: Request the OpenSSL 1.1 APIPierre Pronchery2023-05-251-0/+1
| | | | | | | | | | | | | | | | OPENSSL_API_COMPAT can be used to specify the OpenSSL API version in use for the purpose of hiding deprecated interfaces and enabling the appropriate deprecation notices. This change is a NFC while we're still using OpenSSL 1.1.1 but will avoid deprecation warnings upon the switch to OpenSSL 3.0. A future update should migrate to use the OpenSSL 3.0 APIs. PR: 271615 Reviewed by: emaste Event: Kitchener-Waterloo Hackathon 202305 Sponsored by: The FreeBSD Foundation
* libarchive: fix zstd compression supportMartin Matuska2022-04-081-1/+2
| | | | | | | | The commit 833a452e9 introduced a change that detached the zstd compression (not decompression) support from base build. Reported by: kevans MFC after: 3 days
* libarchive: fix mismatch between library and test configurationAlex Richardson2020-09-181-0/+21
I was investigating libarchive test failures on CheriBSD and it turns out we get a reproducible SIGBUS for test_archive_m5, etc. Debugging this shows that libarchive and the tests disagree when it comes to the definition of archive_md5_ctx: libarchive assumes it's the OpenSSL type whereas the test use the libmd type. The latter is not necessarily aligned enough to store a pointer (16 bytes for CHERI RISC-V), so we were crashing when storing EVP_MD_CTX* to an 8-byte-aligned archive_md5_ctx. To avoid problems like this in the future, factor out the common compiler flags into a Makefile.inc and include that from the tests Makefile. Reviewed By: lwhsu Differential Revision: https://reviews.freebsd.org/D26469 Notes: svn path=/head/; revision=365876