diff --git a/lib/libarchive/README b/lib/libarchive/README index 105cef597a98..1380b4ad3f39 100644 --- a/lib/libarchive/README +++ b/lib/libarchive/README @@ -15,8 +15,7 @@ Documentation: You should also read the copious comments in "archive.h" and the source code for the sample "bsdtar" program for more details. Please let me know -about any errors or omissions you find. (In particular, I no doubt missed -a few things when researching the tar.5 page.) +about any errors or omissions you find. Currently, the library automatically detects and reads the following: * gzip compression @@ -31,6 +30,8 @@ Currently, the library automatically detects and reads the following: * POSIX octet-oriented cpio * SVR4 ASCII cpio * Binary cpio (big-endian or little-endian) + * ISO9660 CD-ROM images (with optional Rockridge extensions) + * ZIP archives (with uncompressed or "deflate" compressed entries) The library can write: * gzip compression diff --git a/lib/libarchive/archive_read.3 b/lib/libarchive/archive_read.3 index 5d5948e364e5..9618f99e3b89 100644 --- a/lib/libarchive/archive_read.3 +++ b/lib/libarchive/archive_read.3 @@ -491,5 +491,3 @@ or before calling you may confuse the permission-setting logic with the result that directory permissions are restored incorrectly. - - diff --git a/lib/libarchive/libarchive-formats.5 b/lib/libarchive/libarchive-formats.5 index c4ee23b93329..c6fcd2a270da 100644 --- a/lib/libarchive/libarchive-formats.5 +++ b/lib/libarchive/libarchive-formats.5 @@ -219,9 +219,25 @@ It also includes additional shell commands that attempt to reproduce as many file attributes as possible, including owner, mode, and flags. The additional commands used to restore file attributes make shardump archives less portable than plain shar archives. +.Ss ISO9660 format +Libarchive can read and extract from files containing ISO9660-compliant +CDROM images. It also has partial support for Rockridge extensions. +In many cases, this can remove the need to burn a physical CDROM. +It also avoids security and complexity issues that come with +virtual mounts and loopback devices. +.Ss Zip format +Libarchive can extract from most zip format archives. +It currently only supports uncompressed entries and entries +compressed with the +.Dq deflate +algorithm. +Older zip compression algorithms are not supported. .El .Sh SEE ALSO .Xr cpio 1 , +.Xr mkisofs 1 , .Xr shar 1 , .Xr tar 1 , +.Xr zip 1 , +.Xr zlib 3 , .Xr tar 5