74 Commits

Author SHA1 Message Date
naddy 9942a08ea3 archivers/libarchive: update to 3.8.7
Fixes for a motley collection of NULL pointer dereference,
out-of-bounds accesses, heap overflow, etc.
2026-04-18 21:37:43 +00:00
naddy 39d8b29a52 archivers/libarchive: update to 3.8.6
Fixes for a motley collection of NULL pointer dereference, SEGV,
out-of-bounds access, infinite loop, memory/file descriptor leaks.
2026-03-28 21:23:17 +00:00
naddy b4bc8c843e archivers/libarchive: update to 3.8.5 2026-01-13 22:16:47 +00:00
naddy 2c86ee82fe archivers/libarchive: update to 3.8.3
Security fixes:
* 7zip: Fix out-of-boundary access
* tar reader: fix checking the result of strftime (CVE-2025-25724)
* lib: Create temporary files in the target directory
* lha: Fix for an out-of-bounds buffer overrun when using p[H_LEVEL_OFFSET]
* 7-zip: Fix a buffer overrun when reading truncated 7zip headers
2025-11-26 23:08:39 +00:00
naddy b822a3de71 remove empty files 2025-06-09 12:48:03 +00:00
naddy a8fafbe9a8 archivers/libarchive: bugfix update to 3.8.1 2025-06-08 20:42:55 +00:00
naddy 77e5afc770 archivers/libarchive: update to 3.8.0
New features:
bsdtar: support --mtime and --clamp-mtime
7-zip reader: improve self-extracting archive detection
zip writer: added XZ, LZMA, ZSTD and BZIP2 support
zip writer: added LZMA + RISCV BCJ filter

Notable security fixes:
rar: do not skip past EOF while reading
rar: fix double free with over 4 billion nodes
rar: fix heap-buffer-overflow
warc: prevent signed integer overflow
tar: fix overflow in build_ustar_entry
2025-05-23 21:48:46 +00:00
naddy 7f91cbd27c archivers/libarchive: update to 3.7.9
Fixes confusion between the size of the extracted file and the size
of the contents in the tar archive when GNU sparse entrie are
involved.
2025-03-31 14:10:24 +00:00
naddy 145034376d archivers/libarchive: update to 3.7.8
Security fixes:
* tar reader: Handle truncation in a GNU long linkname (CVE-2024-57970)
* unzip: fix null pointer dereference (CVE-2025-1632)
* tar reader: fix unchecked return value (CVE-2025-25724)

Important bugfixes:
* 7zip reader: add SPARC and POWERPC filter support for non-LZMA compressors
* tar reader: Ignore ustar size when pax size is present
* tar writer: Fix bug when -s/a/b/ used more than once with b flag
* libarchive: Handle ARCHIVE_FILTER_LZOP in archive_read_append_filter
* libarchive: Adding missing seeker function to archive_read_open_FILE()
2025-03-22 22:57:53 +00:00
naddy 5f856a7a74 archivers/libarchive: update to 3.7.7
Security fixes:
* gzip: prevent a hang when processing a malformed gzip inside a gzip
* tar: don't crash on truncated tar archives
* tar: fix two leaks in tar header parsing

Important bugfixes:
* 7-zip: read/write symlink paths as UTF-8
* cpio: exit with an error code if an entry could not be extracted
* rar5: report encrypted entries
* tar: fix truncation of entry pathnames in specific archives
2024-10-15 20:20:35 +00:00
naddy 4972a5455d archivers/libarchive: update to 3.7.6
Important bugfixes:
* tar: clean up linkpath between entries
* tar: fix memory leaks when processing symlinks or parsing pax headers
* iso: be more cautious about parsing ISO-9660 timestamps
2024-10-03 14:16:26 +00:00
naddy 357ff9e290 archivers/libarchive: update to 3.7.5
Numerous security and bug fixes.
2024-09-15 20:26:19 +00:00
naddy 55740d00a1 Another upstream fix for CVE-2024-26256
via tj@
2024-09-10 19:34:51 +00:00
naddy 3fa1a002df archivers/libarchive: update to 3.7.4
Security fixes:
* rar: Fix OOB in rar e8 filter (CVE-2024-26256)
* zip: Fix out of boundary access

Important bugfixes:
* 7zip: Limit amount of properties
* bsdtar: Fix error handling around strtol() usages
* passphrase: Never allow empty passwords
* rar: Fix "File CRC Error" when extracting specific rar4 archives
* xar: Avoid infinite link loop
* zip: Update AppleDouble support for directories
* zstd: Implement core detection
2024-04-29 20:29:59 +00:00
naddy c2507c8ec5 archivers/libarchive: update to 3.7.3
New features:
* add trailing letter b to bsdtar(1) substitute pattern
* add support for long options "--group" and "--owner" to bsdtar(1)
2024-04-14 18:14:12 +00:00
naddy 0df4e6eef8 archivers/libarchive: update to 3.7.2
Security fixes:
* Multiple vulnerabilities have been fixed in the PAX writer

Important bugfixes:
* bsdunzip(1) now correctly handles arguments following an -x after the zipfile

New features:
* bsdunzip(1) now supports the "--version" flag
* 7-zip reader now translates Windows permissions into UNIX permissions
* uudecode filter in raw mode now supports file name and file mode
* zstd filter now supports the "long" write option
2023-09-12 14:05:05 +00:00
espie 1aad0f3199 switch ports to new SITES
note that sltar, unarj, ha have unresponsive SITES.
2023-09-05 14:59:17 +00:00
naddy 558d5f7224 archivers/libarchive: update to 3.7.1
New features:
* bsdunzip: new tool, drop-in replacement for Info-ZIP unzip
* 7zip reader: support for Zstandard compression
* 7zip reader: support for ARM64 filter
* zstd filter: support for multi-frame zstd archives

Security fixes:
* SEGV and stack buffer overflow in verbose mode of cpio
2023-07-31 19:33:06 +00:00
naddy 0a7b6c018e devel/libarchive: Drop Requires.private field from pkgconfig file.
Some failures will otherwise result in dependent ports since we do
not have a pkg-config file for iconv.
Reported and analyzed by sthen@
2022-12-12 20:45:36 +00:00
naddy b4a6d343b6 archivers/libarchive: update to 3.6.2 2022-12-11 21:41:16 +00:00
naddy 4d25451a83 Cherry pick two upstream fixes that may have security implications:
* Handle a 'calloc' returning NULL
* Validate entry_bytes_remaining in pax_attribute

Requested by tj@
2022-08-01 19:36:28 +00:00
naddy 297872d47c archivers/libarchive: update to 3.6.1 2022-04-28 22:21:50 +00:00
tj 6768df7c28 backport four more upstream security fixes:
ISO reader: fix possible heap buffer overflow in read_children()
RAR reader: fix heap-use-after-free in RAR (v4) filter code
RAR reader: fix null-dereference in RAR (v4) filter code
RAR reader: fix heap-use-after-free in run_filters()

ok naddy
2022-04-04 19:29:12 +00:00
tj fb26a05b22 backport upstream patch to fix an out-of-bounds read
ok naddy
2022-03-29 20:50:46 +00:00
naddy 69de5bdc39 drop RCS Id from all ports where I'm listed as MAINTAINER 2022-03-08 14:27:46 +00:00
naddy 4cb1261acd archivers/libarchive: update to 3.6.0
New features:
* tar: new option "--no-read-sparse"
* tar: threads support for zstd
* RAR reader: filter support
* RAR5 reader: self-extracting archive support
* ZIP reader: zstd decompression support
2022-02-24 22:54:43 +00:00
naddy 610ff872b0 archivers/libarchive: use upstream patch 2021-08-30 13:21:24 +00:00
naddy 38507792b1 archivers/libarchive: update to 3.5.2
New features:
* CPIO: Support for PWB and v7 binary cpio formats
* ZIP reader: Support of deflate algorithm in symbolic link decompression
2021-08-27 14:37:59 +00:00
naddy 181bf3e6c4 update to libarchive-3.5.1 2020-12-27 19:09:02 +00:00
naddy bc1d9ea680 maintenance update to 3.5.0 2020-12-03 16:51:56 +00:00
naddy 6ff3a59ebb update to 3.4.3 2020-05-30 15:50:38 +00:00
naddy c4ba9282a9 maintenance update to 3.4.2 2020-02-21 22:18:44 +00:00
naddy d7dd84b019 maintenance update to 3.4.1 2020-01-03 21:53:19 +00:00
espie 94ac4af802 add DEBUG_PACKAGES, okay naddy@ (maintainer) 2019-11-19 13:27:44 +00:00
naddy bd17a1654f Update to 3.4.0:
* Fixes for reading Android APK and JAR archives
* Support for non-recursive list and extract
* New tar option: --exclude-vcs
* Important fixes for storing file attributes and flags
* Support for xz, lzma, ppmd8 and bzip2 decompression in ZIP files
* RAR 5.0 reader
2019-06-18 20:30:01 +00:00
naddy af84161ede Update to 3.3.3:
* Avoid super-linear slowdown on malformed mtree files
* NO_OVERWRITE doesn't change existing directory attributes
* New support for Zstandard read and write filters
... plus unmentioned bug fixes.
2018-09-07 13:25:02 +00:00
sthen 3e9ebaa783 we have HMAC_CTX_free, *HMAC_CTX_new now 2018-02-18 14:57:47 +00:00
jsing 25cc3e86e3 Use the LibreSSL provided EVP_MD_CTX_*() functions.
ok sthen@
2018-02-18 11:24:57 +00:00
naddy 2d618326f6 Maintenance update to 3.3.2.
libarchive no longer builds with lzo2 support.  This was already lost
accidentally in the previous update.
2017-07-13 19:31:14 +00:00
naddy e5bd991759 Update to 3.3.1. No list of changes available, but fixes many
security problems.
2017-03-10 20:07:24 +00:00
naddy c60572d146 SECURITY update to 3.2.2.
Numerous bugs appear to have been fixed, but there is no log of changes.
2016-11-01 10:40:50 +00:00
naddy cb3c01cc50 Security update to 3.2.1.
This release fixes several critical bugs, including some with security
implications.  (At least CVE-2016-4300, CVE-2016-4301.)
2016-06-23 20:19:36 +00:00
naddy a10cd49ab2 Oops, add library bump and forgotten patch file. 2016-05-26 20:42:59 +00:00
naddy 228abeda46 Update to 3.2.0. Notable changes include:
* Incorporate patches for crash and overflow bugs
* Add support for lz4 compression
* Add bsdcat command-line tool

Also avoid picking up ext2fs header; reported by rpe@
2016-05-26 20:31:37 +00:00
naddy 91abebf71b replace libiconv module with library dependency 2016-04-06 14:16:58 +00:00
naddy c253f424ca garbage collect CONFIGURE_SHARED 2016-03-11 19:59:11 +00:00
naddy e2dd70eb66 Apply patches for multiple security vulnerablities;
- CVE-2013-0211: denial of service via unspecified vectors
- CVE-2015-2304: directory traveral via absolute paths
- crash/infinite loop on malformed CPIO archives

From upstream git (commits 2253154, 5935715, 3865cf2, e6c9668, 24f5de6)
via FreeBSD.

Minor bump for the new ARCHIVE_EXTRACT_SECURE_NOABSOLUTEPATHS option.
2016-01-30 23:34:44 +00:00
naddy 074951595a update to 3.1.2; with jasper@ 2015-04-04 11:05:19 +00:00
brad ffe6844fac sync distinfo and merge in PFRAG.shared.
ok sthen@
2013-04-04 16:03:55 +00:00
ajacoutot 58f1a6f9f6 USE_LIBTOOL=Yes is the default now. 2013-03-21 08:45:11 +00:00