Remove torrentzip support.
torrentzip depends on a particular zlib version which is by now quite
old. Additionally, there were some bugs in the libzip implementation
which we never got motivated enough to fix.
diff --git a/man/CMakeLists.txt b/man/CMakeLists.txt
index 715be7d..1564e48 100644
--- a/man/CMakeLists.txt
+++ b/man/CMakeLists.txt
@@ -85,7 +85,6 @@
SET(MDOC1_PAGES
zipcmp.mdoc
zipmerge.mdoc
- ziptorrent.mdoc
)
SET(MDOC_PAGES ${MDOC1_PAGES} ${MDOC3_PAGES})
STRING(REGEX REPLACE .mdoc "" MAN1_PAGES "${MDOC1_PAGES}")
diff --git a/man/Makefile.am b/man/Makefile.am
index 7837eca..963294f 100644
--- a/man/Makefile.am
+++ b/man/Makefile.am
@@ -5,7 +5,7 @@
DISTCLEANFILES=${HTML}
EXTRA_DIST=${MANDOC} ${MAN} CMakeLists.txt handle_links links
-MAN1= zipcmp.mdoc zipmerge.mdoc ziptorrent.mdoc
+MAN1= zipcmp.mdoc zipmerge.mdoc
MAN3= \
ZIP_SOURCE_GET_ARGS.mdoc \
libzip.mdoc \
diff --git a/man/mkdocset.pl b/man/mkdocset.pl
index b1af97f..4fe9110 100755
--- a/man/mkdocset.pl
+++ b/man/mkdocset.pl
@@ -12,7 +12,7 @@
my @files = @ARGV;
my $docset = 'at.nih.libzip.docset';
-my @sh_nodes = qw(zipcmp zipmerge ziptorrent);
+my @sh_nodes = qw(zipcmp zipmerge);
(system('rm', '-rf', $docset) == 0) or die "can't remove old version of docset: $!";
diff --git a/man/zip_get_archive_flag.mdoc b/man/zip_get_archive_flag.mdoc
index 546c52f..b800f4e 100644
--- a/man/zip_get_archive_flag.mdoc
+++ b/man/zip_get_archive_flag.mdoc
@@ -29,7 +29,7 @@
.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd July 22, 2012
+.Dd April 29, 2015
.Dt ZIP_GET_ARCHIVE_FLAG 3
.Os
.Sh NAME
@@ -57,9 +57,9 @@
the original unchanged flags are tested.
.Pp
Supported flags are:
-.Bl -tag -width XZIPXAFLXTORRENTXXX
-.It Dv ZIP_AFL_TORRENT
-The archive is torrent-zipped.
+.Bl -tag -width XZIPXAFLXRDONLYXXX
+.It Dv ZIP_AFL_RDONLY
+The archive is read-only.
.El
.Sh RETURN VALUES
.Fn zip_get_archive_flag
diff --git a/man/zip_set_archive_flag.mdoc b/man/zip_set_archive_flag.mdoc
index 349f85c..295253f 100644
--- a/man/zip_set_archive_flag.mdoc
+++ b/man/zip_set_archive_flag.mdoc
@@ -29,7 +29,7 @@
.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd July 22, 2012
+.Dd April 29, 2015
.Dt ZIP_SET_ARCHIVE_FLAG 3
.Os
.Sh NAME
@@ -51,16 +51,7 @@
to the value
.Ar value .
.Pp
-Supported flags are:
-.Bl -tag -width XZIPXAFLXTORRENTXXX
-.It Dv ZIP_AFL_TORRENT
-Create a torrent-zipped archive.
-This restricts the values that can be set from the application side.
-In particular, time stamps are not saved and the order of the files in
-the archive is alphabetical.
-No file comments or extended attributes are allowed and the archive
-comment can not be chosen.
-.El
+Currently there are no supported flags.
.Sh RETURN VALUES
Upon successful completion 0 is returned, and \-1 if an error
occurred.
diff --git a/man/zipcmp.mdoc b/man/zipcmp.mdoc
index 7824c25..c01a5dd 100644
--- a/man/zipcmp.mdoc
+++ b/man/zipcmp.mdoc
@@ -29,7 +29,7 @@
.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd January 29, 2014
+.Dd April 29, 2015
.Dt ZIPCMP 1
.Os
.Sh NAME
@@ -78,7 +78,6 @@
and \*[Gt]1 if an error occurred.
.Sh SEE ALSO
.Xr zipmerge 1 ,
-.Xr ziptorrent 1 ,
.Xr libzip 3
.Sh AUTHORS
.An -nosplit
diff --git a/man/zipmerge.mdoc b/man/zipmerge.mdoc
index 1c1518a..7aebeaa 100644
--- a/man/zipmerge.mdoc
+++ b/man/zipmerge.mdoc
@@ -29,7 +29,7 @@
.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd June 4, 2008
+.Dd April 29, 2015
.Dt ZIPMERGE 1
.Os
.Sh NAME
@@ -77,7 +77,6 @@
exits 0 on success and \*[Gt]1 if an error occurred.
.Sh SEE ALSO
.Xr zipcmp 1 ,
-.Xr ziptorrent 1 ,
.Xr libzip 3
.Sh AUTHORS
.An -nosplit