Skip to content

libarchive: bump to 3.8.1#26700

Merged
robimarko merged 1 commit intoopenwrt:masterfrom
graysky2:libarchive
Jun 7, 2025
Merged

libarchive: bump to 3.8.1#26700
robimarko merged 1 commit intoopenwrt:masterfrom
graysky2:libarchive

Conversation

@graysky2
Copy link
Copy Markdown
Contributor

@graysky2 graysky2 commented Jun 6, 2025

This is a feaure and bugfix release.

New features:
bsdtar: support --mtime and --clamp-mtime (#2601)
lib: mbedtls 3.x compatibility (#2602)
7-zip reader: improve self-extracting archive detection (#2088) xar: xmllite support for the XAR reader and writer (#2388) zip writer: added XZ, LZMA, ZSTD and BZIP2 support (#2137, #2284, #2391) zip writer: added LZMA + RISCV BCJ filter (#2403)

Notable security fixes:
rar: do not skip past EOF while reading (#2584)
rar: fix double free with over 4 billion nodes (#2598) rar: fix heap-buffer-overflow (#2599)
warc: prevent signed integer overflow (#2568)
tar: fix overflow in build_ustar_entry (#2588)

Notable bugfixes:
ibarchive: fix FILE_skip regression (#2642)
compress: Prevent call stack overflow (#2649)
iso9660: always check archive_string_ensure return value (#2651) tar: Support negative time values with pax (#2634) tar: Reset accumulated header state after reading macOS metadata blob (#2636) tar: Keep block alignment after pax error (#2637)
tar: Handle extra bytes after sparse entries (#2643) windows: check archive_wstring_ensure return value (#2652) bsdtar: don't hardlink negative inode files together (#2587) gz: allow setting the original filename for gzip compressed files (#2544) lib: improve lseek handling (#2564)
lib: support @-prefixed Unix epoch timestamps as date strings (#2606) rar: support large headers on 32 bit systems (#2596) tar reader: Improve LFS support on 32 bit systems (#2582)

Full changelog: libarchive/libarchive@v3.7.9...v3.8.1

📦 Package Details

Maintainer: @morgenroth
(You can find this by checking the history of the package Makefile.)

Description:


🧪 Run Testing Details

  • Build system: x86/64
  • Build-tested: x86/64
  • Run-tested: x86/64

✅ Formalities

  • I have reviewed the CONTRIBUTING.md file for detailed contributing guidelines.

If your PR contains a patch:

  • It can be applied using git am
  • It has been refreshed to avoid offsets, fuzzes, etc., using
    make package/<your-package>/refresh V=s
  • It is structured in a way that it is potentially upstreamable
    (e.g., subject line, commit description, etc.)
    We must try to upstream patches to reduce maintenance burden.

This is a feaure and bugfix release.

New features:
bsdtar: support --mtime and --clamp-mtime (openwrt#2601)
lib: mbedtls 3.x compatibility (openwrt#2602)
7-zip reader: improve self-extracting archive detection (openwrt#2088)
xar: xmllite support for the XAR reader and writer (openwrt#2388)
zip writer: added XZ, LZMA, ZSTD and BZIP2 support (openwrt#2137, openwrt#2284, openwrt#2391)
zip writer: added LZMA + RISCV BCJ filter (openwrt#2403)

Notable security fixes:
rar: do not skip past EOF while reading (openwrt#2584)
rar: fix double free with over 4 billion nodes (openwrt#2598)
rar: fix heap-buffer-overflow (openwrt#2599)
warc: prevent signed integer overflow (openwrt#2568)
tar: fix overflow in build_ustar_entry (openwrt#2588)

Notable bugfixes:
ibarchive: fix FILE_skip regression (openwrt#2642)
compress: Prevent call stack overflow (openwrt#2649)
iso9660: always check archive_string_ensure return value (openwrt#2651)
tar: Support negative time values with pax (openwrt#2634)
tar: Reset accumulated header state after reading macOS metadata blob (openwrt#2636)
tar: Keep block alignment after pax error (openwrt#2637)
tar: Handle extra bytes after sparse entries (openwrt#2643)
windows: check archive_wstring_ensure return value (openwrt#2652)
bsdtar: don't hardlink negative inode files together (openwrt#2587)
gz: allow setting the original filename for gzip compressed files (openwrt#2544)
lib: improve lseek handling (openwrt#2564)
lib: support @-prefixed Unix epoch timestamps as date strings (openwrt#2606)
rar: support large headers on 32 bit systems (openwrt#2596)
tar reader: Improve LFS support on 32 bit systems (openwrt#2582)

Full changelog: libarchive/libarchive@v3.7.9...v3.8.1

Build system: x86/64
Build-tested: x86/64
Run-tested: x86/64

Signed-off-by: John Audia <therealgraysky@proton.me>
@robimarko robimarko merged commit d77931d into openwrt:master Jun 7, 2025
13 checks passed
@neheb
Copy link
Copy Markdown
Contributor

neheb commented Jun 10, 2025

@robimarko
Copy link
Copy Markdown
Contributor

robimarko commented Jun 10, 2025

@neheb Looks like this:
libarchive/libarchive#2667

Due to:
libarchive/libarchive@4472017

We are only passing CMAKE_INSTALL_LIBDIR for host Cmake builds, not target ones.
Yeah, passing -DCMAKE_INSTALL_LIBDIR=lib to restore the previous behaviour installs pkgconfig file into lib and then we install it into staging.

@graysky2 graysky2 deleted the libarchive branch July 18, 2025 13:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants