MFC r368207,368607: master
authormm <mm@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 16 Dec 2020 22:25:40 +0000 (22:25 +0000)
committermm <mm@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 16 Dec 2020 22:25:40 +0000 (22:25 +0000)
commit079bd07c784b032066c4ef377ad0c81745eede04
treedbd7e07db590bf11512996d9378557237a293e39
parent081d4c620cf0be4ae008242bd81792170cc25dbb
MFC r368207,368607:

MFC r368207:
Update libarchive to 3.5.0

Relevant vendor changes:
  Issue #1258: add archive_read_support_filter_by_code()
  PR #1347: mtree digest reader support
  Issue #1381: skip hardlinks pointing to itself on extraction
  PR #1387: fix writing of cpio archives with hardlinks without file type
  PR #1388: fix rdev field in cpio format for device nodes
  PR #1389: completed support for UTF-8 encoding conversion
  PR #1405: more formats in archive_read_support_format_by_code()
  PR #1408: fix uninitialized size in rar5_read_data
  PR #1409: system extended attribute support
  PR #1435: support for decompression of symbolic links in zipx archives
  Issue #1456: memory leak after unsuccessful archive_write_open_filename

MFC r368607:
Sync libarchive with vendor.

Vendor changes:
  Issue #1461: Unbreak build without lzma
  Issue #1462: warc reader: Fix build with gcc11
  Issue #1463: Fix code compatibility in test_archive_read_support.c
  Issue #1464: Use built-in strnlen on platforms where not available
  Issue #1465: warc reader: fix undefined behaviour in deconst() function

git-svn-id: svn://svn.freebsd.org/base/stable/10@368708 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
65 files changed:
contrib/libarchive/COPYING
contrib/libarchive/NEWS
contrib/libarchive/libarchive/archive.h
contrib/libarchive/libarchive/archive_acl.c
contrib/libarchive/libarchive/archive_check_magic.c
contrib/libarchive/libarchive/archive_cryptor.c
contrib/libarchive/libarchive/archive_cryptor_private.h
contrib/libarchive/libarchive/archive_digest_private.h
contrib/libarchive/libarchive/archive_entry.c
contrib/libarchive/libarchive/archive_entry.h
contrib/libarchive/libarchive/archive_entry_private.h
contrib/libarchive/libarchive/archive_ppmd7.c
contrib/libarchive/libarchive/archive_read_disk_entry_from_file.c
contrib/libarchive/libarchive/archive_read_filter.3
contrib/libarchive/libarchive/archive_read_set_format.c
contrib/libarchive/libarchive/archive_read_support_filter_by_code.c [new file with mode: 0644]
contrib/libarchive/libarchive/archive_read_support_format_by_code.c
contrib/libarchive/libarchive/archive_read_support_format_cab.c
contrib/libarchive/libarchive/archive_read_support_format_empty.c
contrib/libarchive/libarchive/archive_read_support_format_mtree.c
contrib/libarchive/libarchive/archive_read_support_format_rar.c
contrib/libarchive/libarchive/archive_read_support_format_rar5.c
contrib/libarchive/libarchive/archive_read_support_format_warc.c
contrib/libarchive/libarchive/archive_read_support_format_zip.c
contrib/libarchive/libarchive/archive_string.c
contrib/libarchive/libarchive/archive_string.h
contrib/libarchive/libarchive/archive_util.c
contrib/libarchive/libarchive/archive_write.c
contrib/libarchive/libarchive/archive_write_add_filter_xz.c
contrib/libarchive/libarchive/archive_write_disk_posix.c
contrib/libarchive/libarchive/archive_write_open.3
contrib/libarchive/libarchive/archive_write_open_fd.c
contrib/libarchive/libarchive/archive_write_open_file.c
contrib/libarchive/libarchive/archive_write_open_filename.c
contrib/libarchive/libarchive/archive_write_open_memory.c
contrib/libarchive/libarchive/archive_write_private.h
contrib/libarchive/libarchive/archive_write_set_format_7zip.c
contrib/libarchive/libarchive/archive_write_set_format_cpio.c
contrib/libarchive/libarchive/archive_write_set_format_cpio_newc.c
contrib/libarchive/libarchive/archive_write_set_format_iso9660.c
contrib/libarchive/libarchive/archive_write_set_format_mtree.c
contrib/libarchive/libarchive/archive_write_set_format_xar.c
contrib/libarchive/libarchive/archive_write_set_format_zip.c
contrib/libarchive/libarchive/test/test_archive_read_next_header_empty.c
contrib/libarchive/libarchive/test/test_archive_read_support.c
contrib/libarchive/libarchive/test/test_archive_string_conversion.c
contrib/libarchive/libarchive/test/test_entry.c
contrib/libarchive/libarchive/test/test_read_disk_directory_traversals.c
contrib/libarchive/libarchive/test/test_read_format_mtree.c
contrib/libarchive/libarchive/test/test_read_format_mtree.mtree.uu
contrib/libarchive/libarchive/test/test_read_format_raw.c
contrib/libarchive/libarchive/test/test_read_format_zip.c
contrib/libarchive/libarchive/test/test_read_format_zip_7z_lzma.zip.uu [new file with mode: 0644]
contrib/libarchive/libarchive/test/test_read_set_format.c
contrib/libarchive/libarchive/test/test_write_disk_secure.c
contrib/libarchive/libarchive/test/test_write_format_cpio.c
contrib/libarchive/libarchive/test/test_write_format_warc.c
contrib/libarchive/test_utils/test_common.h
contrib/libarchive/test_utils/test_main.c
lib/libarchive/Makefile
lib/libarchive/config_freebsd.h
lib/libarchive/tests/Makefile
usr.bin/bsdcat/Makefile
usr.bin/cpio/Makefile
usr.bin/tar/Makefile