This patch is needed to convert BSD-style section numbers to Solaris-style section numbers. It has not been fed back to the upstream community. It may need to be tweaked slightly for future releases. --- libarchive/libarchive/libarchive-formats.5.orig Mon Mar 26 19:49:00 2012 +++ libarchive/libarchive/libarchive-formats.5 Fri Nov 9 12:32:18 2012 @@ -25,7 +25,7 @@ .\" $FreeBSD$ .\" .Dd March 18, 2012 -.Dt LIBARCHIVE-FORMATS 5 +.Dt LIBARCHIVE-FORMATS 4 .Os .Sh NAME .Nm libarchive-formats @@ -32,7 +32,7 @@ .Nd archive formats supported by the libarchive library .Sh DESCRIPTION The -.Xr libarchive 3 +.Xr libarchive 3LIB library reads and writes a variety of streaming archive formats. Generally speaking, all of these archive formats consist of a series of .Dq entries . @@ -49,7 +49,7 @@ functions to enable all supported formats. .Ss Tar Formats The -.Xr libarchive 3 +.Xr libarchive 3LIB library can read most tar archives. It can write POSIX-standard .Dq ustar @@ -69,7 +69,7 @@ .Bl -tag -width indent .It Cm gnutar The -.Xr libarchive 3 +.Xr libarchive 3LIB library can read most GNU-format tar archives. It currently supports the most popular GNU extensions, including modern long filename and linkname support, as well as atime and ctime data. @@ -79,12 +79,12 @@ formats. .Pp The -.Xr libarchive 3 +.Xr libarchive 3LIB library can write GNU tar format, including long filename and linkname support, as well as atime and ctime data. .It Cm pax The -.Xr libarchive 3 +.Xr libarchive 3LIB library can read and write POSIX-compliant pax interchange format archives. Pax interchange format archives are an extension of the older ustar @@ -371,9 +371,7 @@ This can cause problems for programs such as GNU ld that do not support the BSD-style long filenames. .Ss mtree -Libarchive can read and write files in -.Xr mtree 5 -format. +Libarchive can read and write files in mtree format. This format is not a true archive format, but rather a textual description of a file hierarchy in which each line specifies the name of a file and provides specific metadata about that file. @@ -384,7 +382,7 @@ .Tn archive_entry object. When writing, libarchive supports use of the -.Xr archive_write_set_options 3 +.Xr archive_write_set_options 3ARCHIVE interface to specify which keywords should be included in the output. If libarchive was compiled with access to suitable @@ -425,7 +423,4 @@ .Xr shar 1 , .Xr tar 1 , .Xr zip 1 , -.Xr zlib 3 , -.Xr cpio 5 , -.Xr mtree 5 , -.Xr tar 5 +.Xr zlib 3