libarchive: merge from vendor branch

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
This commit is contained in:
Martin Matuska
2024-04-16 23:39:31 +02:00
725 changed files with 5753 additions and 1753 deletions
+1 -1
View File
@@ -4,7 +4,7 @@
LIBADD= z bz2 lzma bsdxml zstd
CFLAGS+= -DHAVE_BZLIB_H=1 -DHAVE_LIBLZMA=1 -DHAVE_LZMA_H=1 \
-DHAVE_ZSTD_H=1 -DHAVE_LIBZSTD=1 -DHAVE_LIBZSTD_COMPRESSOR=1
-DHAVE_ZSTD_H=1 -DHAVE_LIBZSTD=1 -DHAVE_ZSTD_compressStream=1
CFLAGS+= -DPLATFORM_CONFIG_H=\"${.CURDIR}/config_freebsd.h\"
.if ${MK_OPENSSL} != "no"
+7
View File
@@ -114,6 +114,7 @@ TESTS_SRCS= \
test_read_filter_program.c \
test_read_filter_program_signature.c \
test_read_filter_uudecode.c \
test_read_filter_uudecode_raw.c \
test_read_format_7zip.c \
test_read_format_7zip_encryption_data.c \
test_read_format_7zip_encryption_header.c \
@@ -300,6 +301,8 @@ TESTS_SRCS= \
test_write_format_zip_file_zip64.c \
test_write_format_zip_large.c \
test_write_format_zip_zip64.c \
test_write_format_zip64_stream.c \
test_write_format_zip_stream.c \
test_write_open_memory.c \
test_write_read_format_zip.c \
test_xattr_platform.c \
@@ -426,6 +429,8 @@ ${PACKAGE}FILES+= test_read_filter_grzip.tar.grz.uu
${PACKAGE}FILES+= test_read_filter_lrzip.tar.lrz.uu
${PACKAGE}FILES+= test_read_filter_lzop.tar.lzo.uu
${PACKAGE}FILES+= test_read_filter_lzop_multiple_parts.tar.lzo.uu
${PACKAGE}FILES+= test_read_filter_uudecode_base64_raw.uu
${PACKAGE}FILES+= test_read_filter_uudecode_raw.uu
${PACKAGE}FILES+= test_read_format_7zip_bcj2_bzip2.7z.uu
${PACKAGE}FILES+= test_read_format_7zip_bcj2_copy_1.7z.uu
${PACKAGE}FILES+= test_read_format_7zip_bcj2_copy_2.7z.uu
@@ -470,6 +475,7 @@ ${PACKAGE}FILES+= test_read_format_7zip_zstd.7z.uu
${PACKAGE}FILES+= test_read_format_7zip_zstd_arm.7z.uu
${PACKAGE}FILES+= test_read_format_7zip_zstd_bcj.7z.uu
${PACKAGE}FILES+= test_read_format_7zip_zstd_nobcj.7z.uu
${PACKAGE}FILES+= test_read_format_7zip_win_attrib.7z.uu
${PACKAGE}FILES+= test_read_format_ar.ar.uu
${PACKAGE}FILES+= test_read_format_cab_1.cab.uu
${PACKAGE}FILES+= test_read_format_cab_2.cab.uu
@@ -586,6 +592,7 @@ ${PACKAGE}FILES+= test_read_format_rar5_stored.rar.uu
${PACKAGE}FILES+= test_read_format_rar5_stored_manyfiles.rar.uu
${PACKAGE}FILES+= test_read_format_rar5_symlink.rar.uu
${PACKAGE}FILES+= test_read_format_rar5_truncated_huff.rar.uu
${PACKAGE}FILES+= test_read_format_rar5_unicode.rar.uu
${PACKAGE}FILES+= test_read_format_rar5_win32.rar.uu
${PACKAGE}FILES+= test_read_format_rar5_window_buf_and_size_desync.rar.uu
${PACKAGE}FILES+= test_read_format_raw.bufr.uu