Fix the libarchive man pages by removing all references to cpio(5)
and tar(5) which we don't provide in Solaris. Also remove a reference
to mtree(8) in the mtree(5) man page (which is a utility that's only
available for NetBSD and FreeBSD).
These changes will not be submitted upstream.
--- libarchive-3.2.1/libarchive/archive_read_extract.3.orig 2016-11-07 11:17:27.971290801 +0000
+++ libarchive-3.2.1/libarchive/archive_read_extract.3 2016-11-07 11:19:35.489271971 +0000
@@ -133,5 +133,4 @@
.Xr archive_read_format 3 ,
.Xr archive_read_open 3 ,
.Xr archive_read_set_options 3 ,
-.Xr archive_util 3 ,
-.Xr tar 5
+.Xr archive_util 3
--- libarchive-3.2.1/libarchive/archive_read_format.3.orig 2016-11-07 11:17:27.976249552 +0000
+++ libarchive-3.2.1/libarchive/archive_read_format.3 2016-11-07 11:20:03.776378426 +0000
@@ -157,8 +157,7 @@
.Xr archive_read_data 3 ,
.Xr archive_read_filter 3 ,
.Xr archive_read_set_options 3 ,
-.Xr archive_util 3 ,
-.Xr tar 5
+.Xr archive_util 3
.Sh BUGS
Many traditional archiver programs treat
empty files as valid empty archives.
--- libarchive-3.2.1/libarchive/archive_read_header.3.orig 2016-11-07 11:17:27.982159272 +0000
+++ libarchive-3.2.1/libarchive/archive_read_header.3 2016-11-07 11:20:31.732376616 +0000
@@ -87,5 +87,4 @@
.Xr archive_read_format 3 ,
.Xr archive_read_open 3 ,
.Xr archive_read_set_options 3 ,
-.Xr archive_util 3 ,
-.Xr tar 5
+.Xr archive_util 3
--- libarchive-3.2.1/libarchive/archive_read_new.3.orig 2016-11-07 11:17:27.984759086 +0000
+++ libarchive-3.2.1/libarchive/archive_read_new.3 2016-11-07 11:20:53.293770455 +0000
@@ -55,5 +55,4 @@
.Xr archive_read_filter 3 ,
.Xr archive_read_format 3 ,
.Xr archive_read_set_options 3 ,
-.Xr archive_util 3 ,
-.Xr tar 5
+.Xr archive_util 3
--- libarchive-3.2.1/libarchive/archive_read_open.3.orig 2016-11-07 11:17:27.989988275 +0000
+++ libarchive-3.2.1/libarchive/archive_read_open.3 2016-11-07 11:21:20.582522317 +0000
@@ -229,5 +229,4 @@
.Xr archive_read_filter 3 ,
.Xr archive_read_format 3 ,
.Xr archive_read_set_options 3 ,
-.Xr archive_util 3 ,
-.Xr tar 5
+.Xr archive_util 3
--- libarchive-3.2.1/libarchive/archive_read.3.orig 2016-11-07 11:17:27.963232466 +0000
+++ libarchive-3.2.1/libarchive/archive_read.3 2016-11-07 11:18:17.816764588 +0000
@@ -226,8 +226,7 @@
.Xr archive_read_header 3 ,
.Xr archive_read_open 3 ,
.Xr archive_read_set_options 3 ,
-.Xr archive_util 3 ,
-.Xr tar 5
+.Xr archive_util 3
.Sh HISTORY
The
.Nm libarchive
--- libarchive-3.2.1/libarchive/archive_write_blocksize.3.orig 2016-11-07 11:17:28.001940908 +0000
+++ libarchive-3.2.1/libarchive/archive_write_blocksize.3 2016-11-07 11:22:27.152987404 +0000
@@ -109,6 +109,4 @@
.Xr tar 1 ,
.Xr libarchive 3 ,
.Xr archive_write_set_options 3 ,
-.Xr cpio 5 ,
-.Xr mtree 5 ,
-.Xr tar 5
+.Xr mtree 5
--- libarchive-3.2.1/libarchive/archive_write_data.3.orig 2016-11-07 11:17:28.007907889 +0000
+++ libarchive-3.2.1/libarchive/archive_write_data.3 2016-11-07 11:22:41.855907492 +0000
@@ -65,6 +65,4 @@
.Xr libarchive 3 ,
.Xr archive_write_finish_entry 3 ,
.Xr archive_write_set_options 3 ,
-.Xr cpio 5 ,
-.Xr mtree 5 ,
-.Xr tar 5
+.Xr mtree 5
--- libarchive-3.2.1/libarchive/archive_write_filter.3.orig 2016-11-07 11:17:28.010514583 +0000
+++ libarchive-3.2.1/libarchive/archive_write_filter.3 2016-11-07 11:22:56.442235573 +0000
@@ -125,6 +125,4 @@
.Xr archive_write 3 ,
.Xr archive_write_format 3 ,
.Xr archive_write_set_options 3 ,
-.Xr cpio 5 ,
-.Xr mtree 5 ,
-.Xr tar 5
+.Xr mtree 5
--- libarchive-3.2.1/libarchive/archive_write_finish_entry.3.orig 2016-11-07 11:17:28.012290015 +0000
+++ libarchive-3.2.1/libarchive/archive_write_finish_entry.3 2016-11-07 11:23:12.129310767 +0000
@@ -71,6 +71,4 @@
.Xr libarchive 3 ,
.Xr archive_write_data 3 ,
.Xr archive_write_set_options 3 ,
-.Xr cpio 5 ,
-.Xr mtree 5 ,
-.Xr tar 5
+.Xr mtree 5
--- libarchive-3.2.1/libarchive/archive_write_format.3.orig 2016-11-07 11:17:28.014028451 +0000
+++ libarchive-3.2.1/libarchive/archive_write_format.3 2016-11-07 11:23:32.916203324 +0000
@@ -170,7 +170,5 @@
.Xr libarchive 3 ,
.Xr archive_write 3 ,
.Xr archive_write_set_options 3 ,
-.Xr cpio 5 ,
.Xr libarchive-formats 5 ,
-.Xr mtree 5 ,
-.Xr tar 5
+.Xr mtree 5
--- libarchive-3.2.1/libarchive/archive_write_free.3.orig 2016-11-07 11:17:28.015835624 +0000
+++ libarchive-3.2.1/libarchive/archive_write_free.3 2016-11-07 11:23:45.610969253 +0000
@@ -91,6 +91,4 @@
.Xr tar 1 ,
.Xr libarchive 3 ,
.Xr archive_write_set_options 3 ,
-.Xr cpio 5 ,
-.Xr mtree 5 ,
-.Xr tar 5
+.Xr mtree 5
--- libarchive-3.2.1/libarchive/archive_write_header.3.orig 2016-11-07 11:17:28.017603348 +0000
+++ libarchive-3.2.1/libarchive/archive_write_header.3 2016-11-07 11:23:59.355178548 +0000
@@ -68,6 +68,4 @@
.Xr tar 1 ,
.Xr libarchive 3 ,
.Xr archive_write_set_options 3 ,
-.Xr cpio 5 ,
-.Xr mtree 5 ,
-.Xr tar 5
+.Xr mtree 5
--- libarchive-3.2.1/libarchive/archive_write_new.3.orig 2016-11-07 11:17:28.019381101 +0000
+++ libarchive-3.2.1/libarchive/archive_write_new.3 2016-11-07 11:24:14.641645345 +0000
@@ -53,6 +53,4 @@
.Xr libarchive 3 ,
.Xr archive_write 3 ,
.Xr archive_write_set_options 3 ,
-.Xr cpio 5 ,
-.Xr mtree 5 ,
-.Xr tar 5
+.Xr mtree 5
--- libarchive-3.2.1/libarchive/archive_write_open.3.orig 2016-11-07 11:17:28.021102135 +0000
+++ libarchive-3.2.1/libarchive/archive_write_open.3 2016-11-07 11:24:28.282484179 +0000
@@ -230,6 +230,4 @@
.Xr archive_write_format 3 ,
.Xr archive_write_new 3 ,
.Xr archive_write_set_options 3 ,
-.Xr cpio 5 ,
-.Xr mtree 5 ,
-.Xr tar 5
+.Xr mtree 5
--- libarchive-3.2.1/libarchive/archive_write.3.orig 2016-11-07 11:17:27.995985418 +0000
+++ libarchive-3.2.1/libarchive/archive_write.3 2016-11-07 11:21:40.294270823 +0000
@@ -227,9 +227,7 @@
.Xr tar 1 ,
.Xr libarchive 3 ,
.Xr archive_write_set_options 3 ,
-.Xr cpio 5 ,
-.Xr mtree 5 ,
-.Xr tar 5
+.Xr mtree 5
.Sh HISTORY
The
.Nm libarchive
--- libarchive-3.2.1/libarchive/libarchive-formats.5.orig 2016-11-07 11:17:28.022923914 +0000
+++ libarchive-3.2.1/libarchive/libarchive-formats.5 2016-11-07 11:24:48.853558831 +0000
@@ -462,6 +462,4 @@
.Xr tar 1 ,
.Xr zip 1 ,
.Xr zlib 3 ,
-.Xr cpio 5 ,
-.Xr mtree 5 ,
-.Xr tar 5
+.Xr mtree 5
--- libarchive-3.2.1/libarchive/libarchive.3.orig 2016-11-07 11:17:28.024666595 +0000
+++ libarchive-3.2.1/libarchive/libarchive.3 2016-11-07 11:25:07.248566044 +0000
@@ -254,8 +254,7 @@
.Xr archive_entry 3 ,
.Xr archive_read 3 ,
.Xr archive_util 3 ,
-.Xr archive_write 3 ,
-.Xr tar 5
+.Xr archive_write 3
.Sh HISTORY
The
.Nm libarchive
--- libarchive-3.2.1/libarchive/mtree.5.orig 2016-11-07 11:17:28.026440485 +0000
+++ libarchive-3.2.1/libarchive/mtree.5 2016-11-07 11:25:23.752276301 +0000
@@ -291,8 +291,7 @@
.Pp
.Sh SEE ALSO
.Xr cksum 1 ,
-.Xr find 1 ,
-.Xr mtree 8
+.Xr find 1
.Sh BUGS
.Sh HISTORY
The