zziplib (0.13.56-1) debian-dir only changes

Summary

 debian/changelog            |  151 +++++
 debian/compat               |    1 
 debian/control              |   52 +
 debian/copyright            |  138 +++++
 debian/libzzip-0-13.install |    1 
 debian/libzzip-dev.dirs     |    1 
 debian/libzzip-dev.install  |    6 
 debian/man3.patch           | 1156 ++++++++++++++++++++++++++++++++++++++++++++
 debian/rules                |  113 ++++
 debian/watch                |    2 
 debian/zzcat.1              |    1 
 debian/zzdir.1              |    1 
 debian/zziplib-bin.1        |   53 ++
 debian/zziplib-bin.install  |    5 
 debian/zziplib-bin.manpages |    6 
 debian/zzxorcat.1           |    1 
 debian/zzxorcopy.1          |    1 
 debian/zzxordir.1           |    1 
 18 files changed, 1690 insertions(+)

    
download this patch

Patch contents

--- zziplib-0.13.56.orig/debian/changelog
+++ zziplib-0.13.56/debian/changelog
@@ -0,0 +1,151 @@
+zziplib (0.13.56-1) unstable; urgency=low
+
+  * New Upstream Version
+    - update debian/man3.patch
+    - remove msvc8/zip.exe and msvc7/pkzip.exe
+  * Upgrade the standard version to 3.8.2
+  * Add the vcs information to debian/control
+
+ -- LIU Qi <liuqi82@gmail.com>  Sun, 12 Jul 2009 14:37:46 +0800
+
+zziplib (0.13.54-1) unstable; urgency=low
+
+  * New Maintainer. Closes: #529561
+  * New Upstream Version. Closes: #530850
+  * Fixed the lintian warnings of manpages.
+  * 01-fetch.patch: dropped as it was merged upstream
+
+ -- LIU Qi <liuqi82@gmail.com>  Sun, 31 May 2009 00:08:56 +0800
+
+zziplib (0.13.50-1) unstable; urgency=low
+
+  * New upstream version 
+    - Update 01-fetch.patch
+  * debhelper compat version is 7
+  * Standards version is 3.8.1
+  * Run dh_prep instead of dh_clean -k
+  * Add debian/watch
+
+ -- Anibal Monsalve Salazar <anibal@debian.org>  Mon, 23 Mar 2009 21:13:57 +1100
+
+zziplib (0.13.49-4) unstable; urgency=low
+
+  * NMU acknowledgement. Closes: #443880 
+  * Fixed the following lintian issues:
+    - zziplib source: out-of-date-standards-version 3.7.2 (current is 3.7.3)
+    - zziplib: description-contains-homepage
+
+ -- Anibal Monsalve Salazar <anibal@debian.org>  Sun, 06 Apr 2008 08:13:02 +1000
+
+zziplib (0.13.49-3.1) unstable; urgency=low
+
+  * NMU from the Cambridge BSP
+  * Fixed SIGBUS due to alignment problems, closes: #443880.
+    Patch: 01-fetch.patch
+
+ -- Steve McIntyre <93sam@debian.org>  Sat, 05 Apr 2008 17:54:27 +0100
+
+zziplib (0.13.49-3) unstable; urgency=low
+
+  * Fixed SIGSEGV on hppa, ia64, sparc, closes: #443880.
+    Patch by brian m. carlson <sandals@crustytoothpaste.ath.cx>
+    Patch: 01-zip.c.patch
+  * Fixed FTBFS if build twice in a row, closes: #442779.
+  * Build-depends on quilt
+
+ -- Anibal Monsalve Salazar <anibal@debian.org>  Wed, 07 Nov 2007 17:43:35 +1100
+
+zziplib (0.13.49-2) unstable; urgency=low
+
+  * debian/rules: added configure option --datadir, closes: #439395.
+
+ -- Anibal Monsalve Salazar <anibal@debian.org>  Sat, 25 Aug 2007 10:29:31 +1000
+
+zziplib (0.13.49-1) unstable; urgency=low
+
+  * libzzip-0-13 Replaces & Conflicts: libzzip-0-12
+
+ -- Anibal Monsalve Salazar <anibal@debian.org>  Fri, 24 Aug 2007 08:41:46 +1000
+
+zziplib (0.13.49-0) unstable; urgency=low
+
+  * New upstream version. Closes: #399617.
+    - zzip-config was removed by upstream maintainer.
+    - htmpages.ar was not shipped by upstream maintainer.
+    - new build dependency: python.
+  * Fixed: CVE-2007-1614 DoS and execution of arbitrary code.
+    Closes: #436701.
+  * Fixed the following lintian messages:
+    - W: zziplib source: substvar-source-version-is-deprecated libzzip-dev
+    - W: zziplib source: debian-rules-ignores-make-clean-error line 62
+
+ -- Anibal Monsalve Salazar <anibal@debian.org>  Thu, 09 Aug 2007 18:47:38 +1000
+
+zziplib (0.12.83-8) unstable; urgency=low
+
+  * New maintainer.
+  * Fixed "libzzip-dev: Override says libdevel - optional, .deb says
+    devel - optional".
+
+ -- Anibal Monsalve Salazar <anibal@debian.org>  Tue, 03 Oct 2006 11:08:37 +1000
+
+zziplib (0.12.83-7) unstable; urgency=low
+
+  * Orphaning this package, setting maintainer field to
+    packages@qa.debian.org.
+
+ -- Aurelien Jarno <aurel32@debian.org>  Mon,  2 Oct 2006 11:03:22 +0200
+
+zziplib (0.12.83-6) unstable; urgency=low
+
+  * bins/zziptest.c: fixed a cast to pointer from integer of different size.
+  * Bumped Standards-Version to 3.7.2 (nochanges).
+
+ -- Aurelien Jarno <aurel32@debian.org>  Wed,  7 Jun 2006 14:31:12 +0200
+
+zziplib (0.12.83-5) unstable; urgency=low
+
+  * zzip/zzip.h: include sys/types.h instead of stddef.h, so that zziplib
+    could be built on GNU/Hurd and GNU/kFreeBSD.
+
+ -- Aurelien Jarno <aurel32@debian.org>  Sun,  3 Jul 2005 11:42:08 +0200
+
+zziplib (0.12.83-4) unstable; urgency=low
+
+  * Libtool update for kfreebsd-gnu in zziplib/ directory (closes:
+    bug#294730).
+
+ -- Aurelien Jarno <aurel32@debian.org>  Fri, 18 Feb 2005 12:45:00 +0100
+
+zziplib (0.12.83-3) unstable; urgency=low
+
+  * Added GCC 4.0 fixes from Andreas Jochens (closes: bug#295055).
+
+ -- Aurelien Jarno <aurel32@debian.org>  Sun, 13 Feb 2005 16:10:27 +0100
+
+zziplib (0.12.83-2) unstable; urgency=low
+
+  * Libtool update for kfreebsd-gnu (closes: bug#294730). 
+
+ -- Aurelien Jarno <aurel32@debian.org>  Fri, 11 Feb 2005 17:32:04 +0100
+
+zziplib (0.12.83-1) unstable; urgency=low
+
+  * New upstream version.
+
+ -- Aurelien Jarno <aurel32@debian.org>  Sun, 26 Sep 2004 21:48:52 +0200
+
+zziplib (0.12.82-1) unstable; urgency=low
+
+  * New upstream version.
+  * Added manpages for zziplib-bin and included tools. Thanks to Ricardo
+    Mones (closes: bug#256186).
+
+ -- Aurelien Jarno <aurel32@debian.org>  Sat, 26 Jun 2004 16:33:10 +0200
+
+zziplib (0.10.82-1) unstable; urgency=low
+
+  * Initial Release (closes: bug#173511, bug#222397).
+
+ -- Aurelien Jarno <aurel32@debian.org>  Mon, 29 Mar 2004 12:41:28 +0200
+
--- zziplib-0.13.56.orig/debian/compat
+++ zziplib-0.13.56/debian/compat
@@ -0,0 +1 @@
+7
--- zziplib-0.13.56.orig/debian/control
+++ zziplib-0.13.56/debian/control
@@ -0,0 +1,52 @@
+Source: zziplib
+Section: libs
+Priority: optional
+Maintainer: LIU Qi <liuqi82@gmail.com>
+Build-Depends: debhelper (>= 7), autotools-dev, pkg-config, zlib1g-dev, python
+Standards-Version: 3.8.2
+Homepage: http://zziplib.sourceforge.net
+Vcs-Browser: http://git.printk.org/?p=liuqi/debian/zziplib.git;a=summary
+Vcs-git: git://git.printk.org/liuqi/debian/zziplib.git
+
+Package: zziplib-bin
+Section: utils
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: library providing read access on ZIP-archives - binaries
+ The zziplib library is intentionally lightweight, it offers the ability
+ to easily extract data from files archived in a single zip file.
+ Applications can bundle files into a single zip archive and access them.
+ The implementation is based only on the (free) subset of compression
+ with the zlib algorithm which is actually used by the zip/unzip tools.
+ .
+ This package contains some useful binaries to extract data from zip
+ archives.
+
+Package: libzzip-0-13
+Section: libs
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Replaces: libzzip-0-12
+Conflicts: libzzip-0-12
+Description: library providing read access on ZIP-archives - library
+ The zziplib library is intentionally lightweight, it offers the ability
+ to easily extract data from files archived in a single zip file.
+ Applications can bundle files into a single zip archive and access them.
+ The implementation is based only on the (free) subset of compression
+ with the zlib algorithm which is actually used by the zip/unzip tools.
+ .
+ This package contains the zziplib runtime library.
+
+Package: libzzip-dev
+Section: libdevel
+Architecture: any
+Depends: libzzip-0-13 (= ${binary:Version})
+Description: library providing read access on ZIP-archives - development
+ The zziplib library is intentionally lightweight, it offers the ability
+ to easily extract data from files archived in a single zip file.
+ Applications can bundle files into a single zip archive and access them.
+ The implementation is based only on the (free) subset of compression
+ with the zlib algorithm which is actually used by the zip/unzip tools.
+ .
+ This package contains the header files and static library needed to
+ compile applications that use zziplib.
--- zziplib-0.13.56.orig/debian/copyright
+++ zziplib-0.13.56/debian/copyright
@@ -0,0 +1,138 @@
+This package was debianized by Aurelien Jarno <aurel32@debian.org> on
+Sat, 17 Apr 2004 21:09:27 +0200.
+
+It was downloaded from http://zziplib.sourceforge.net
+
+Upstream Author: Guido Draheim <guidod@gmx.de>
+
+
+Copyright:
+
+Copyright (c) 1999,2000,2001,2002,2003 Guido Draheim
+
+
+License:
+
+  THE ZZIP LICENSE
+
+All rights on the project sources are reserved.
+
+use freely under the restrictions of the Lesser GNU General Public License
+or the exceptions described in the following sections that offer additional
+rules foremost for static linking of the library into other software parts.
+ 
+* LGPL clarifications
+
+The project material has not been cross licensed with the 
+Free Software Foundation (FSF) and it will not do at any point.
+
+The FSF has written the original Lesser GNU General Public
+License (LGPL) which is the main opensource license used by 
+this project. The FSF has no copyright on the sources. 
+
+All rights to the project sources are reserved and the 
+copyright holders are entitled to negotiate other licenses
+with interested parties. The LGPL is used as the General
+Public License that can be used without any special
+license agreement with the copyright holders.
+
+The license holders feel that sometimes the LGPL is a bit
+too restrictive but nonetheless good to protect the freedom
+of this software. Feel free to contact us on any special
+permission you need for your opensource project or some
+form of commercial software.
+
+In general, special license agreements will only be made if 
+they benefit the creation of free software including donations
+to projects and non-profit organization promoting free software 
+(from which one can generally get a tax reduction offer).
+
+Regarding example programs you will find a notice in the source
+header that they are not under LGPL but the ZLIB license to allow 
+you to derive your own programs freely from these source code parts.
+
+* additional static linking 
+
+1) Static Linking Exception 
+
+  The LGPL describes ways to combine the project sources with
+  other work not under the same license - the programmers do
+  generally call it linking and separate it by their link
+  time into dynamic linking and static linking. The LGPL
+  ensures that the final recipient of a combined work can
+  relink a combined work, including a rule in section 6
+  to allow shipping of static linked program binaries.
+
+  The rules in section 6 of the LGPL are often inconvenient and
+  not useful to promote and protect the opensource character of
+  this project. The recepient relinking freedom can be dropped as
+  an extension to the LGPL rules, provided the following rules
+  apply. Note that these rules only apply to static linking and 
+  as an extension to section 6 and do not touch any other part 
+  of the LGPL.
+
+2) OSI-approved Opensource Projects
+
+  You may static link with any opensource project material
+  which is under an OSI-approved license. (general-opensource).
+
+  You may static link with any project material under a
+  license derived from an OSI-approved license by
+  removing restrictions including the removal of 
+  restrictions under certain explicit conditions
+  that can be fulfilled by all possible licensees
+  in a way that the license can be possibly OSI-approved
+  later on. (opensource-like).
+
+  A project that applies to these rules can even ship
+  with modified sources of the project provided that
+  the modifications are still under LGPL and these
+  exceptions. (merge-back-acceptance).
+
+  This rule is made under the assumption that relinking is
+  not required if the combined work can be derived from
+  their pristine sources made available to the final
+  recipient. (i-am-no-lawyer).
+
+3) Published And Supported Derivative Work
+
+  Any software, including commercial applications, may
+  static link with a modified derivate of this project
+  when ALL of the following conditions are met which
+  are extracted from the Mozilla Public License 1.0, and
+  called section 3.2 and 3.3. over there - these will
+  require you to redistribute the modified sources. You 
+  may not offer or impose any terms on any Source Code 
+  version that alters or restricts the applicable version 
+  of this License or the recipients' rights hereunder.
+
+  3.2. Availability of Source Code.
+
+   Any Modification which You create or to which You contribute 
+   must be made available in Source Code form under the terms of 
+   this License either on the same media as an Executable version 
+   or via an accepted Electronic Distribution Mechanism to anyone 
+   to whom you made an Executable version available; and if made 
+   available via Electronic Distribution Mechanism, must remain 
+   available for at least twelve (12) months after the date it 
+   initially became available, or at least six (6) months after 
+   a subsequent version of that particular Modification has been 
+   made available to such recipients. You are responsible for 
+   ensuring that the Source Code version remains available even 
+   if the Electronic Distribution Mechanism is maintained by a 
+   third party.
+
+  3.3. Description of Modifications.
+   
+   You must cause all Covered Code to which you contribute to 
+   contain a file documenting the changes You made to create that 
+   Covered Code and the date of any change. You must include a 
+   prominent statement that the Modification is derived, directly 
+   or indirectly, from Original Code provided by the Initial 
+   Developer and including the name of the Initial Developer in 
+   (a) the Source Code, and (b) in any notice in an Executable 
+   version or related documentation in which You describe the 
+   origin or ownership of the Covered Code.
+
+On Debian GNU/Linux systems, the complete text of the GNU Library General
+Public License can be found in `/usr/share/common-licenses/LGPL-2'
--- zziplib-0.13.56.orig/debian/libzzip-0-13.install
+++ zziplib-0.13.56/debian/libzzip-0-13.install
@@ -0,0 +1 @@
+usr/lib/lib*.so.*
--- zziplib-0.13.56.orig/debian/libzzip-dev.dirs
+++ zziplib-0.13.56/debian/libzzip-dev.dirs
@@ -0,0 +1 @@
+usr/share/man/man3
--- zziplib-0.13.56.orig/debian/libzzip-dev.install
+++ zziplib-0.13.56/debian/libzzip-dev.install
@@ -0,0 +1,6 @@
+usr/include/*
+usr/lib/lib*.a
+usr/lib/lib*.la
+usr/lib/lib*.so
+usr/lib/pkgconfig/*
+usr/share/aclocal/*
--- zziplib-0.13.56.orig/debian/man3.patch
+++ zziplib-0.13.56/debian/man3.patch
@@ -0,0 +1,1156 @@
+diff -Nur man3.old/zzip_closedir.3 man3.new/zzip_closedir.3
+--- man3.old/zzip_closedir.3	2009-05-24 20:36:32.000000000 +0800
++++ man3.new/zzip_closedir.3	2009-06-07 02:09:10.000000000 +0800
+@@ -48,7 +48,7 @@
+ .it 1 an-trap
+ .nr an-no-space-flag 1
+ .nr an-break-flag 1
+-\." make the size of the head bigger
++.\" make the size of the head bigger
+ .ps +3
+ .ft B
+ .ne (2v + 1u)
+@@ -82,7 +82,7 @@
+ .nr an-no-space-flag 1
+ .nr an-break-flag 1
+ .ps \\n[PS-SS]u
+-\." make the size of the head bigger
++.\" make the size of the head bigger
+ .ps +2
+ .ft B
+ .ne (2v + 1u)
+diff -Nur man3.old/zzip_compr_str.3 man3.new/zzip_compr_str.3
+--- man3.old/zzip_compr_str.3	2009-05-24 20:36:32.000000000 +0800
++++ man3.new/zzip_compr_str.3	2009-06-07 02:09:10.000000000 +0800
+@@ -48,7 +48,7 @@
+ .it 1 an-trap
+ .nr an-no-space-flag 1
+ .nr an-break-flag 1
+-\." make the size of the head bigger
++.\" make the size of the head bigger
+ .ps +3
+ .ft B
+ .ne (2v + 1u)
+@@ -82,7 +82,7 @@
+ .nr an-no-space-flag 1
+ .nr an-break-flag 1
+ .ps \\n[PS-SS]u
+-\." make the size of the head bigger
++.\" make the size of the head bigger
+ .ps +2
+ .ft B
+ .ne (2v + 1u)
+diff -Nur man3.old/zzip_dir_alloc_ext_io.3 man3.new/zzip_dir_alloc_ext_io.3
+--- man3.old/zzip_dir_alloc_ext_io.3	2009-05-24 20:36:32.000000000 +0800
++++ man3.new/zzip_dir_alloc_ext_io.3	2009-06-07 02:25:57.000000000 +0800
+@@ -48,7 +48,7 @@
+ .it 1 an-trap
+ .nr an-no-space-flag 1
+ .nr an-break-flag 1
+-\." make the size of the head bigger
++.\" make the size of the head bigger
+ .ps +3
+ .ft B
+ .ne (2v + 1u)
+@@ -82,7 +82,7 @@
+ .nr an-no-space-flag 1
+ .nr an-break-flag 1
+ .ps \\n[PS-SS]u
+-\." make the size of the head bigger
++.\" make the size of the head bigger
+ .ps +2
+ .ft B
+ .ne (2v + 1u)
+@@ -181,7 +181,8 @@
+ .ft
+ .fam C
+ .HP \w'ZZIP_DIR\ *\ zzip_dir_alloc_ext_io('u
+-.BI "ZZIP_DIR * zzip_dir_alloc_ext_io((zzip_strings_t\ *\ ext,\ const\ zzip_plugin_io_t\ io));"
++.BI "ZZIP_DIR * zzip_dir_alloc_ext_io((zzip_strings_t\ *\ ext,"
++.BI "                   \ const\ zzip_plugin_io_t\ io));"
+ .fam
+ .fam C
+ .HP \w'ZZIP_DIR\ *\ zzip_dir_alloc('u
+diff -Nur man3.old/zzip_dir_fdopen.3 man3.new/zzip_dir_fdopen.3
+--- man3.old/zzip_dir_fdopen.3	2009-05-24 20:36:32.000000000 +0800
++++ man3.new/zzip_dir_fdopen.3	2009-06-07 02:52:21.000000000 +0800
+@@ -48,7 +48,7 @@
+ .it 1 an-trap
+ .nr an-no-space-flag 1
+ .nr an-break-flag 1
+-\." make the size of the head bigger
++.\" make the size of the head bigger
+ .ps +3
+ .ft B
+ .ne (2v + 1u)
+@@ -82,7 +82,7 @@
+ .nr an-no-space-flag 1
+ .nr an-break-flag 1
+ .ps \\n[PS-SS]u
+-\." make the size of the head bigger
++.\" make the size of the head bigger
+ .ps +2
+ .ft B
+ .ne (2v + 1u)
+@@ -185,7 +185,10 @@
+ .fam
+ .fam C
+ .HP \w'ZZIP_DIR\ *\ zzip_dir_fdopen_ext_io('u
+-.BI "ZZIP_DIR * zzip_dir_fdopen_ext_io((int\ fd,\ zzip_error_t\ *\ errcode_p,\ zzip_strings_t\ *\ ext,\ const\ zzip_plugin_io_t\ io));"
++.BI "ZZIP_DIR * zzip_dir_fdopen_ext_io((int\ fd,"
++.BI "           zzip_error_t\ *\ errcode_p,"
++.BI "           zzip_strings_t\ *\ ext,"
++.BI "           const\ zzip_plugin_io_t\ io));"
+ .fam
+ .SH "Description"
+ .PP
+diff -Nur man3.old/zzip_dir_free.3 man3.new/zzip_dir_free.3
+--- man3.old/zzip_dir_free.3	2009-05-24 20:36:32.000000000 +0800
++++ man3.new/zzip_dir_free.3	2009-06-07 02:09:10.000000000 +0800
+@@ -48,7 +48,7 @@
+ .it 1 an-trap
+ .nr an-no-space-flag 1
+ .nr an-break-flag 1
+-\." make the size of the head bigger
++.\" make the size of the head bigger
+ .ps +3
+ .ft B
+ .ne (2v + 1u)
+@@ -82,7 +82,7 @@
+ .nr an-no-space-flag 1
+ .nr an-break-flag 1
+ .ps \\n[PS-SS]u
+-\." make the size of the head bigger
++.\" make the size of the head bigger
+ .ps +2
+ .ft B
+ .ne (2v + 1u)
+diff -Nur man3.old/zzip_dirhandle.3 man3.new/zzip_dirhandle.3
+--- man3.old/zzip_dirhandle.3	2009-05-24 20:36:32.000000000 +0800
++++ man3.new/zzip_dirhandle.3	2009-06-07 02:09:10.000000000 +0800
+@@ -48,7 +48,7 @@
+ .it 1 an-trap
+ .nr an-no-space-flag 1
+ .nr an-break-flag 1
+-\." make the size of the head bigger
++.\" make the size of the head bigger
+ .ps +3
+ .ft B
+ .ne (2v + 1u)
+@@ -82,7 +82,7 @@
+ .nr an-no-space-flag 1
+ .nr an-break-flag 1
+ .ps \\n[PS-SS]u
+-\." make the size of the head bigger
++.\" make the size of the head bigger
+ .ps +2
+ .ft B
+ .ne (2v + 1u)
+@@ -167,7 +167,7 @@
+ .\" * MAIN CONTENT STARTS HERE *
+ .\" -----------------------------------------------------------------
+ .SH "Name"
+-zzip_dirhandle, zzip_dirfd \- 
++zzip_dirhandle, zzip_dirfd \- \&.\&.\&.
+ .SH "Synopsis"
+ .sp
+ .ft B
+diff -Nur man3.old/zzip_dir_open.3 man3.new/zzip_dir_open.3
+--- man3.old/zzip_dir_open.3	2009-05-24 20:36:32.000000000 +0800
++++ man3.new/zzip_dir_open.3	2009-06-07 02:52:47.000000000 +0800
+@@ -48,7 +48,7 @@
+ .it 1 an-trap
+ .nr an-no-space-flag 1
+ .nr an-break-flag 1
+-\." make the size of the head bigger
++.\" make the size of the head bigger
+ .ps +3
+ .ft B
+ .ne (2v + 1u)
+@@ -82,7 +82,7 @@
+ .nr an-no-space-flag 1
+ .nr an-break-flag 1
+ .ps \\n[PS-SS]u
+-\." make the size of the head bigger
++.\" make the size of the head bigger
+ .ps +2
+ .ft B
+ .ne (2v + 1u)
+@@ -185,7 +185,9 @@
+ .fam
+ .fam C
+ .HP \w'ZZIP_DIR\ *\ zzip_dir_open_ext_io('u
+-.BI "ZZIP_DIR * zzip_dir_open_ext_io((zzip_char_t\ *\ filename,\ zzip_error_t\ *\ e,\ zzip_strings_t\ *\ ext,\ zzip_plugin_io_t\ io));"
++.BI "ZZIP_DIR * zzip_dir_open_ext_io((zzip_char_t\ *\ filename,"
++.BI "           zzip_error_t\ *\ e,\ zzip_strings_t\ *\ ext,"
++.BI "           zzip_plugin_io_t\ io));"
+ .fam
+ .fam C
+ .HP \w'int\ zzip_dir_read('u
+diff -Nur man3.old/zzip_dir_stat.3 man3.new/zzip_dir_stat.3
+--- man3.old/zzip_dir_stat.3	2009-05-24 20:36:32.000000000 +0800
++++ man3.new/zzip_dir_stat.3	2009-06-07 02:27:29.000000000 +0800
+@@ -48,7 +48,7 @@
+ .it 1 an-trap
+ .nr an-no-space-flag 1
+ .nr an-break-flag 1
+-\." make the size of the head bigger
++.\" make the size of the head bigger
+ .ps +3
+ .ft B
+ .ne (2v + 1u)
+@@ -82,7 +82,7 @@
+ .nr an-no-space-flag 1
+ .nr an-break-flag 1
+ .ps \\n[PS-SS]u
+-\." make the size of the head bigger
++.\" make the size of the head bigger
+ .ps +2
+ .ft B
+ .ne (2v + 1u)
+@@ -181,7 +181,8 @@
+ .ft
+ .fam C
+ .HP \w'int\ zzip_dir_stat('u
+-.BI "int zzip_dir_stat((ZZIP_DIR\ *\ dir,\ zzip_char_t\ *\ name,\ ZZIP_STAT\ *\ zs,\ int\ flags));"
++.BI "int zzip_dir_stat((ZZIP_DIR\ *\ dir,\ zzip_char_t\ *\ name,"
++.BI "                   \ ZZIP_STAT\ *\ zs,\ int\ flags));"
+ .fam
+ .fam C
+ .HP \w'int\ zzip_file_stat('u
+diff -Nur man3.old/zzip_disk_entry_to_data.3 man3.new/zzip_disk_entry_to_data.3
+--- man3.old/zzip_disk_entry_to_data.3	2009-05-24 20:36:44.000000000 +0800
++++ man3.new/zzip_disk_entry_to_data.3	2009-06-07 11:20:54.000000000 +0800
+@@ -48,7 +48,7 @@
+ .it 1 an-trap
+ .nr an-no-space-flag 1
+ .nr an-break-flag 1
+-\." make the size of the head bigger
++.\" make the size of the head bigger
+ .ps +3
+ .ft B
+ .ne (2v + 1u)
+@@ -82,7 +82,7 @@
+ .nr an-no-space-flag 1
+ .nr an-break-flag 1
+ .ps \\n[PS-SS]u
+-\." make the size of the head bigger
++.\" make the size of the head bigger
+ .ps +2
+ .ft B
+ .ne (2v + 1u)
+@@ -180,20 +180,24 @@
+ .ps +1
+ .ft
+ .fam C
+-.HP \w'zzip_byte_t\ *\ zzip_disk_entry_to_data('u
+-.BI "zzip_byte_t * zzip_disk_entry_to_data((ZZIP_DISK\ *\ disk,\ struct\ zzip_disk_entry\ *\ entry));"
++.BI "zzip_byte_t * zzip_disk_entry_to_data(("
++.BI "      ZZIP_DISK\ *\ disk,"
++.BI "      struct\ zzip_disk_entry\ *\ entry));"
+ .fam
+ .fam C
+-.HP \w'struct\ zzip_file_header\ *\ zzip_disk_entry_to_file_header('u
+-.BI "struct zzip_file_header * zzip_disk_entry_to_file_header((ZZIP_DISK\ *\ disk,\ struct\ zzip_disk_entry\ *entry));"
++.BI "struct zzip_file_header" *zzip_disk_entry_to_file_header"(("
++.BI "      ZZIP_DISK\ *\ disk,"
++.BI "      struct\ zzip_disk_entry\ *\ entry));"
+ .fam
+ .fam C
+-.HP \w'zzip__new__\ char\ *\ zzip_disk_entry_strdup_name('u
+-.BI "zzip__new__ char * zzip_disk_entry_strdup_name((ZZIP_DISK\ *\ disk,\ struct\ zzip_disk_entry\ *entry));"
++.BI "zzip__new__ char * zzip_disk_entry_strdup_name(("
++.BI "      ZZIP_DISK\ *\ disk,"
++.BI "      struct\ zzip_disk_entry\ *\ entry));"
+ .fam
+ .fam C
+-.HP \w'zzip__new__\ char\ *\ zzip_disk_entry_strdup_comment('u
+-.BI "zzip__new__ char * zzip_disk_entry_strdup_comment((ZZIP_DISK\ *\ disk,\ struct\ zzip_disk_entry\ *entry));"
++.BI "zzip__new__ char * zzip_disk_entry_strdup_comment(("
++.BI "      ZZIP_DISK\ *\ disk,"
++.BI "      struct\ zzip_disk_entry\ *\ entry));"
+ .fam
+ .SH "Description"
+ .PP
+diff -Nur man3.old/zzip_disk_findfile.3 man3.new/zzip_disk_findfile.3
+--- man3.old/zzip_disk_findfile.3	2009-05-24 20:36:44.000000000 +0800
++++ man3.new/zzip_disk_findfile.3	2009-06-07 03:37:14.000000000 +0800
+@@ -48,7 +48,7 @@
+ .it 1 an-trap
+ .nr an-no-space-flag 1
+ .nr an-break-flag 1
+-\." make the size of the head bigger
++.\" make the size of the head bigger
+ .ps +3
+ .ft B
+ .ne (2v + 1u)
+@@ -82,7 +82,7 @@
+ .nr an-no-space-flag 1
+ .nr an-break-flag 1
+ .ps \\n[PS-SS]u
+-\." make the size of the head bigger
++.\" make the size of the head bigger
+ .ps +2
+ .ft B
+ .ne (2v + 1u)
+@@ -181,7 +181,12 @@
+ .ft
+ .fam C
+ .HP \w'struct\ zzip_disk_entry\ *\ zzip_disk_findfile('u
+-.BI "struct zzip_disk_entry * zzip_disk_findfile((ZZIP_DISK\ *\ disk,\ char\ *filename,\ struct\ zzip_disk_entry\ *after,\ zzip_strcmp_fn_t\ compare));"
++.BI "struct zzip_disk_entry * zzip_disk_findfile(("
++.BI "         ZZIP_DISK\ *\ disk,"
++.BI "         char\ *filename,"
++.BI "         struct\ zzip_disk_entry"
++.BI "                        *after,"
++.BI "         zzip_strcmp_fn_t\ compare));"
+ .fam
+ .fam C
+ .HP \w'struct\ zzip_disk_entry\ *\ zzip_disk_findfirst('u
+@@ -189,11 +194,20 @@
+ .fam
+ .fam C
+ .HP \w'struct\ zzip_disk_entry\ *\ zzip_disk_findnext('u
+-.BI "struct zzip_disk_entry * zzip_disk_findnext((ZZIP_DISK\ *\ disk,\ struct\ zzip_disk_entry\ *entry));"
++.BI "struct zzip_disk_entry * zzip_disk_findnext(("
++.BI "       ZZIP_DISK\ *\ disk,"
++.BI "       struct\ zzip_disk_entry"
++.BI "         *entry));"
+ .fam
+ .fam C
+ .HP \w'struct\ zzip_disk_entry\ *\ zzip_disk_findmatch('u
+-.BI "struct zzip_disk_entry * zzip_disk_findmatch((ZZIP_DISK\ *\ disk,\ char\ *filespec,\ struct\ zzip_disk_entry\ *after,\ zzip_fnmatch_fn_t\ compare,\ int\ flags));"
++.BI "struct zzip_disk_entry * zzip_disk_findmatch(("
++.BI "     ZZIP_DISK\ *\ disk,"
++.BI "     char\ *filespec,"
++.BI "     struct\ zzip_disk_entry"
++.BI "        *after,"
++.BI "     zzip_fnmatch_fn_t\ compare,"
++.BI "     int\ flags));"
+ .fam
+ .SH "Description"
+ .PP
+diff -Nur man3.old/zzip_disk_fopen.3 man3.new/zzip_disk_fopen.3
+--- man3.old/zzip_disk_fopen.3	2009-05-24 20:36:44.000000000 +0800
++++ man3.new/zzip_disk_fopen.3	2009-06-07 03:32:10.000000000 +0800
+@@ -48,7 +48,7 @@
+ .it 1 an-trap
+ .nr an-no-space-flag 1
+ .nr an-break-flag 1
+-\." make the size of the head bigger
++.\" make the size of the head bigger
+ .ps +3
+ .ft B
+ .ne (2v + 1u)
+@@ -82,7 +82,7 @@
+ .nr an-no-space-flag 1
+ .nr an-break-flag 1
+ .ps \\n[PS-SS]u
+-\." make the size of the head bigger
++.\" make the size of the head bigger
+ .ps +2
+ .ft B
+ .ne (2v + 1u)
+@@ -181,15 +181,23 @@
+ .ft
+ .fam C
+ .HP \w'zzip__new__\ ZZIP_DISK_FILE\ *\ zzip_disk_fopen('u
+-.BI "zzip__new__ ZZIP_DISK_FILE * zzip_disk_fopen((ZZIP_DISK\ *\ disk,\ char\ *filename));"
++.BI "zzip__new__ ZZIP_DISK_FILE * zzip_disk_fopen(("
++.BI "   ZZIP_DISK\ *\ disk,"
++.BI "   char\ *filename));"
+ .fam
+ .fam C
+ .HP \w'zzip__new__\ ZZIP_DISK_FILE\ *\ zzip_disk_entry_fopen('u
+-.BI "zzip__new__ ZZIP_DISK_FILE * zzip_disk_entry_fopen((ZZIP_DISK\ *\ disk,\ ZZIP_DISK_ENTRY\ *\ entry));"
++.BI "zzip__new__ ZZIP_DISK_FILE * zzip_disk_entry_fopen(("
++.BI "      ZZIP_DISK\ *\ disk,"
++.BI "      ZZIP_DISK_ENTRY"
++.BI "          *entry));"
+ .fam
+ .fam C
+ .HP \w'zzip_size_t\ zzip_disk_fread('u
+-.BI "zzip_size_t zzip_disk_fread((void\ *ptr,\ zzip_size_t\ sized,\ zzip_size_t\ nmemb,\ ZZIP_DISK_FILE\ *\ file));"
++.BI "zzip_size_t zzip_disk_fread((void\ *ptr,"
++.BI "    zzip_size_t\ sized,"
++.BI "    zzip_size_t\ nmemb,"
++.BI "    ZZIP_DISK_FILE\ *file));"
+ .fam
+ .fam C
+ .HP \w'int\ zzip_disk_fclose('u
+diff -Nur man3.old/zzip_disk_mmap.3 man3.new/zzip_disk_mmap.3
+--- man3.old/zzip_disk_mmap.3	2009-05-24 20:36:44.000000000 +0800
++++ man3.new/zzip_disk_mmap.3	2009-06-07 02:29:44.000000000 +0800
+@@ -48,7 +48,7 @@
+ .it 1 an-trap
+ .nr an-no-space-flag 1
+ .nr an-break-flag 1
+-\." make the size of the head bigger
++.\" make the size of the head bigger
+ .ps +3
+ .ft B
+ .ne (2v + 1u)
+@@ -82,7 +82,7 @@
+ .nr an-no-space-flag 1
+ .nr an-break-flag 1
+ .ps \\n[PS-SS]u
+-\." make the size of the head bigger
++.\" make the size of the head bigger
+ .ps +2
+ .ft B
+ .ne (2v + 1u)
+@@ -185,7 +185,8 @@
+ .fam
+ .fam C
+ .HP \w'int\ zzip_disk_init('u
+-.BI "int zzip_disk_init((ZZIP_DISK\ *\ disk,\ void\ *buffer,\ zzip_size_t\ buflen));"
++.BI "int zzip_disk_init((ZZIP_DISK\ *\ disk,\ void\ *buffer,"
++.BI "                    \ zzip_size_t\ buflen));"
+ .fam
+ .fam C
+ .HP \w'zzip__new__\ ZZIP_DISK\ *\ zzip_disk_new('u
+diff -Nur man3.old/zzip_entry_data_offset.3 man3.new/zzip_entry_data_offset.3
+--- man3.old/zzip_entry_data_offset.3	2009-05-24 20:36:57.000000000 +0800
++++ man3.new/zzip_entry_data_offset.3	2009-06-07 03:17:59.000000000 +0800
+@@ -48,7 +48,7 @@
+ .it 1 an-trap
+ .nr an-no-space-flag 1
+ .nr an-break-flag 1
+-\." make the size of the head bigger
++.\" make the size of the head bigger
+ .ps +3
+ .ft B
+ .ne (2v + 1u)
+@@ -82,7 +82,7 @@
+ .nr an-no-space-flag 1
+ .nr an-break-flag 1
+ .ps \\n[PS-SS]u
+-\." make the size of the head bigger
++.\" make the size of the head bigger
+ .ps +2
+ .ft B
+ .ne (2v + 1u)
+@@ -185,7 +185,10 @@
+ .fam
+ .fam C
+ .HP \w'static\ zzip_off_t\ zzip_entry_fread_file_header('u
+-.BI "static zzip_off_t zzip_entry_fread_file_header((ZZIP_ENTRY\ *\ entry,\ struct\ zzip_file_header\ *file_header));"
++.BI "static zzip_off_t zzip_entry_fread_file_header(("
++.BI "      ZZIP_ENTRY\ *\ entry,"
++.BI "      struct\ zzip_file_header"
++.BI "           *file_header));"
+ .fam
+ .fam C
+ .HP \w'zzip__new__\ char\ *\ zzip_entry_strdup_name('u
+diff -Nur man3.old/zzip_entry_findfile.3 man3.new/zzip_entry_findfile.3
+--- man3.old/zzip_entry_findfile.3	2009-05-24 20:36:57.000000000 +0800
++++ man3.new/zzip_entry_findfile.3	2009-06-07 11:24:02.000000000 +0800
+@@ -48,7 +48,7 @@
+ .it 1 an-trap
+ .nr an-no-space-flag 1
+ .nr an-break-flag 1
+-\." make the size of the head bigger
++.\" make the size of the head bigger
+ .ps +3
+ .ft B
+ .ne (2v + 1u)
+@@ -82,7 +82,7 @@
+ .nr an-no-space-flag 1
+ .nr an-break-flag 1
+ .ps \\n[PS-SS]u
+-\." make the size of the head bigger
++.\" make the size of the head bigger
+ .ps +2
+ .ft B
+ .ne (2v + 1u)
+@@ -180,24 +180,30 @@
+ .ps +1
+ .ft
+ .fam C
+-.HP \w'zzip__new__\ ZZIP_ENTRY\ *\ zzip_entry_findfile('u
+-.BI "zzip__new__ ZZIP_ENTRY * zzip_entry_findfile((FILE\ *\ disk,\ char\ *filename,\ ZZIP_ENTRY\ *\ _zzip_restrict\ entry,\ zzip_strcmp_fn_t\ compare));"
++.BI "zzip__new__ ZZIP_ENTRY * zzip_entry_findfile(("
++.BI "       FILE\ *\ disk,"
++.BI "       char\ *filename,"
++.BI "       ZZIP_ENTRY\ *"
++.BI "       _zzip_restrict entry,"
++.BI "       zzip_strcmp_fn_t"
++.BI "         compare));"
+ .fam
+ .fam C
+-.HP \w'zzip__new__\ ZZIP_ENTRY\ *\ zzip_entry_findfirst('u
+ .BI "zzip__new__ ZZIP_ENTRY * zzip_entry_findfirst((FILE\ *\ disk));"
+ .fam
+ .fam C
+-.HP \w'zzip__new__\ ZZIP_ENTRY\ *\ zzip_entry_findnext('u
+-.BI "zzip__new__ ZZIP_ENTRY * zzip_entry_findnext((ZZIP_ENTRY\ *\ _zzip_restrict\ entry));"
++.BI "zzip__new__ ZZIP_ENTRY * zzip_entry_findnext(("
++.BI "         ZZIP_ENTRY"
++.BI "           *_zzip_restrict entry));"
+ .fam
+ .fam C
+-.HP \w'int\ zzip_entry_free('u
+ .BI "int zzip_entry_free((ZZIP_ENTRY\ *\ entry));"
+ .fam
+ .fam C
+-.HP \w'zzip__new__\ ZZIP_ENTRY\ *\ zzip_entry_findmatch('u
+-.BI "zzip__new__ ZZIP_ENTRY * zzip_entry_findmatch((FILE\ *\ disk,\ char\ *filespec,\ ZZIP_ENTRY\ *\ _zzip_restrict\ entry,\ zzip_fnmatch_fn_t\ compare,\ int\ flags));"
++.BI "zzip__new__ ZZIP_ENTRY" *zzip_entry_findmatch "(("
++.BI "   FILE" *disk ", char" *filespec " ,"
++.BI "   ZZIP_ENTRY" *_zzip_restrict entry ","
++.BI "   zzip_fnmatch_fn_t" compare ", int" flags"));"
+ .fam
+ .SH "Description"
+ .PP
+diff -Nur man3.old/zzip_entry_fopen.3 man3.new/zzip_entry_fopen.3
+--- man3.old/zzip_entry_fopen.3	2009-05-24 20:36:57.000000000 +0800
++++ man3.new/zzip_entry_fopen.3	2009-06-07 03:33:32.000000000 +0800
+@@ -48,7 +48,7 @@
+ .it 1 an-trap
+ .nr an-no-space-flag 1
+ .nr an-break-flag 1
+-\." make the size of the head bigger
++.\" make the size of the head bigger
+ .ps +3
+ .ft B
+ .ne (2v + 1u)
+@@ -82,7 +82,7 @@
+ .nr an-no-space-flag 1
+ .nr an-break-flag 1
+ .ps \\n[PS-SS]u
+-\." make the size of the head bigger
++.\" make the size of the head bigger
+ .ps +2
+ .ft B
+ .ne (2v + 1u)
+@@ -181,15 +181,22 @@
+ .ft
+ .fam C
+ .HP \w'zzip__new__\ ZZIP_ENTRY_FILE\ *\ zzip_entry_fopen('u
+-.BI "zzip__new__ ZZIP_ENTRY_FILE * zzip_entry_fopen((ZZIP_ENTRY\ *\ entry,\ int\ takeover));"
++.BI "zzip__new__ ZZIP_ENTRY_FILE * zzip_entry_fopen(("
++.BI "       ZZIP_ENTRY\ *\ entry,"
++.BI "       int\ takeover));"
+ .fam
+ .fam C
+ .HP \w'zzip__new__\ ZZIP_ENTRY_FILE\ *\ zzip_entry_ffile('u
+-.BI "zzip__new__ ZZIP_ENTRY_FILE * zzip_entry_ffile((FILE\ *\ disk,\ char\ *filename));"
++.BI "zzip__new__ ZZIP_ENTRY_FILE * zzip_entry_ffile(("
++.BI "    FILE\ *\ disk,"
++.BI "    char\ *filename));"
+ .fam
+ .fam C
+ .HP \w'zzip_size_t\ zzip_entry_fread('u
+-.BI "zzip_size_t zzip_entry_fread((void\ *ptr,\ zzip_size_t\ sized,\ zzip_size_t\ nmemb,\ ZZIP_ENTRY_FILE\ *\ file));"
++.BI "zzip_size_t zzip_entry_fread((void\ *ptr,"
++.BI "      zzip_size_t\ sized,"
++.BI "      zzip_size_t\ nmemb,"
++.BI "      ZZIP_ENTRY_FILE\ *file));"
+ .fam
+ .fam C
+ .HP \w'int\ zzip_entry_fclose('u
+diff -Nur man3.old/zzip_errno.3 man3.new/zzip_errno.3
+--- man3.old/zzip_errno.3	2009-05-24 20:36:32.000000000 +0800
++++ man3.new/zzip_errno.3	2009-06-07 02:09:11.000000000 +0800
+@@ -48,7 +48,7 @@
+ .it 1 an-trap
+ .nr an-no-space-flag 1
+ .nr an-break-flag 1
+-\." make the size of the head bigger
++.\" make the size of the head bigger
+ .ps +3
+ .ft B
+ .ne (2v + 1u)
+@@ -82,7 +82,7 @@
+ .nr an-no-space-flag 1
+ .nr an-break-flag 1
+ .ps \\n[PS-SS]u
+-\." make the size of the head bigger
++.\" make the size of the head bigger
+ .ps +2
+ .ft B
+ .ne (2v + 1u)
+diff -Nur man3.old/zzip_error.3 man3.new/zzip_error.3
+--- man3.old/zzip_error.3	2009-05-24 20:36:32.000000000 +0800
++++ man3.new/zzip_error.3	2009-06-07 02:09:11.000000000 +0800
+@@ -48,7 +48,7 @@
+ .it 1 an-trap
+ .nr an-no-space-flag 1
+ .nr an-break-flag 1
+-\." make the size of the head bigger
++.\" make the size of the head bigger
+ .ps +3
+ .ft B
+ .ne (2v + 1u)
+@@ -82,7 +82,7 @@
+ .nr an-no-space-flag 1
+ .nr an-break-flag 1
+ .ps \\n[PS-SS]u
+-\." make the size of the head bigger
++.\" make the size of the head bigger
+ .ps +2
+ .ft B
+ .ne (2v + 1u)
+@@ -167,7 +167,7 @@
+ .\" * MAIN CONTENT STARTS HERE *
+ .\" -----------------------------------------------------------------
+ .SH "Name"
+-zzip_error, zzip_seterror \- 
++zzip_error, zzip_seterror \- \&.\&.\&.
+ .SH "Synopsis"
+ .sp
+ .ft B
+diff -Nur man3.old/zzip_fclose.3 man3.new/zzip_fclose.3
+--- man3.old/zzip_fclose.3	2009-05-24 20:36:32.000000000 +0800
++++ man3.new/zzip_fclose.3	2009-06-07 02:09:11.000000000 +0800
+@@ -48,7 +48,7 @@
+ .it 1 an-trap
+ .nr an-no-space-flag 1
+ .nr an-break-flag 1
+-\." make the size of the head bigger
++.\" make the size of the head bigger
+ .ps +3
+ .ft B
+ .ne (2v + 1u)
+@@ -82,7 +82,7 @@
+ .nr an-no-space-flag 1
+ .nr an-break-flag 1
+ .ps \\n[PS-SS]u
+-\." make the size of the head bigger
++.\" make the size of the head bigger
+ .ps +2
+ .ft B
+ .ne (2v + 1u)
+diff -Nur man3.old/__zzip_fetch_disk_trailer.3 man3.new/__zzip_fetch_disk_trailer.3
+--- man3.old/__zzip_fetch_disk_trailer.3	2009-05-24 20:36:32.000000000 +0800
++++ man3.new/__zzip_fetch_disk_trailer.3	2009-06-07 03:13:42.000000000 +0800
+@@ -48,7 +48,7 @@
+ .it 1 an-trap
+ .nr an-no-space-flag 1
+ .nr an-break-flag 1
+-\." make the size of the head bigger
++.\" make the size of the head bigger
+ .ps +3
+ .ft B
+ .ne (2v + 1u)
+@@ -82,7 +82,7 @@
+ .nr an-no-space-flag 1
+ .nr an-break-flag 1
+ .ps \\n[PS-SS]u
+-\." make the size of the head bigger
++.\" make the size of the head bigger
+ .ps +2
+ .ft B
+ .ne (2v + 1u)
+@@ -181,7 +181,11 @@
+ .ft
+ .fam C
+ .HP \w'int\ __zzip_fetch_disk_trailer('u
+-.BI "int __zzip_fetch_disk_trailer((int\ fd,\ zzip_off_t\ filesize,\ struct\ _disk_trailer\ *_zzip_restrict\ trailer,\ zzip_plugin_io_t\ io));"
++.BI "int __zzip_fetch_disk_trailer((int\ fd,"
++.BI "            zzip_off_t\ filesize,"
++.BI "            struct\ _disk_trailer"
++.BI "            *_zzip_restrict\ trailer,"
++.BI "            zzip_plugin_io_t\ io));"
+ .fam
+ .SH "Description"
+ .PP
+diff -Nur man3.old/zzip_file_close.3 man3.new/zzip_file_close.3
+--- man3.old/zzip_file_close.3	2009-05-24 20:36:32.000000000 +0800
++++ man3.new/zzip_file_close.3	2009-06-07 02:09:11.000000000 +0800
+@@ -48,7 +48,7 @@
+ .it 1 an-trap
+ .nr an-no-space-flag 1
+ .nr an-break-flag 1
+-\." make the size of the head bigger
++.\" make the size of the head bigger
+ .ps +3
+ .ft B
+ .ne (2v + 1u)
+@@ -82,7 +82,7 @@
+ .nr an-no-space-flag 1
+ .nr an-break-flag 1
+ .ps \\n[PS-SS]u
+-\." make the size of the head bigger
++.\" make the size of the head bigger
+ .ps +2
+ .ft B
+ .ne (2v + 1u)
+diff -Nur man3.old/zzip_file_open.3 man3.new/zzip_file_open.3
+--- man3.old/zzip_file_open.3	2009-05-24 20:36:32.000000000 +0800
++++ man3.new/zzip_file_open.3	2009-06-07 02:32:03.000000000 +0800
+@@ -48,7 +48,7 @@
+ .it 1 an-trap
+ .nr an-no-space-flag 1
+ .nr an-break-flag 1
+-\." make the size of the head bigger
++.\" make the size of the head bigger
+ .ps +3
+ .ft B
+ .ne (2v + 1u)
+@@ -82,7 +82,7 @@
+ .nr an-no-space-flag 1
+ .nr an-break-flag 1
+ .ps \\n[PS-SS]u
+-\." make the size of the head bigger
++.\" make the size of the head bigger
+ .ps +2
+ .ft B
+ .ne (2v + 1u)
+@@ -181,7 +181,8 @@
+ .ft
+ .fam C
+ .HP \w'ZZIP_FILE\ *\ zzip_file_open('u
+-.BI "ZZIP_FILE * zzip_file_open((ZZIP_DIR\ *\ dir,\ zzip_char_t\ *\ name,\ int\ o_mode));"
++.BI "ZZIP_FILE * zzip_file_open((ZZIP_DIR\ *\ dir,"
++.BI "                      \ zzip_char_t\ *\ name,\ int\ o_mode));"
+ .fam
+ .SH "Description"
+ .PP
+diff -Nur man3.old/zzip_file_read.3 man3.new/zzip_file_read.3
+--- man3.old/zzip_file_read.3	2009-05-24 20:36:32.000000000 +0800
++++ man3.new/zzip_file_read.3	2009-06-07 02:32:26.000000000 +0800
+@@ -48,7 +48,7 @@
+ .it 1 an-trap
+ .nr an-no-space-flag 1
+ .nr an-break-flag 1
+-\." make the size of the head bigger
++.\" make the size of the head bigger
+ .ps +3
+ .ft B
+ .ne (2v + 1u)
+@@ -82,7 +82,7 @@
+ .nr an-no-space-flag 1
+ .nr an-break-flag 1
+ .ps \\n[PS-SS]u
+-\." make the size of the head bigger
++.\" make the size of the head bigger
+ .ps +2
+ .ft B
+ .ne (2v + 1u)
+@@ -181,7 +181,8 @@
+ .ft
+ .fam C
+ .HP \w'zzip_ssize_t\ zzip_file_read('u
+-.BI "zzip_ssize_t zzip_file_read((ZZIP_FILE\ *\ fp,\ void\ *buf,\ zzip_size_t\ len));"
++.BI "zzip_ssize_t zzip_file_read((ZZIP_FILE\ *\ fp,"
++.BI "                    \ void\ *buf,\ zzip_size_t\ len));"
+ .fam
+ .SH "Description"
+ .PP
+diff -Nur man3.old/zzip_file_real.3 man3.new/zzip_file_real.3
+--- man3.old/zzip_file_real.3	2009-05-24 20:36:32.000000000 +0800
++++ man3.new/zzip_file_real.3	2009-06-07 02:09:11.000000000 +0800
+@@ -48,7 +48,7 @@
+ .it 1 an-trap
+ .nr an-no-space-flag 1
+ .nr an-break-flag 1
+-\." make the size of the head bigger
++.\" make the size of the head bigger
+ .ps +3
+ .ft B
+ .ne (2v + 1u)
+@@ -82,7 +82,7 @@
+ .nr an-no-space-flag 1
+ .nr an-break-flag 1
+ .ps \\n[PS-SS]u
+-\." make the size of the head bigger
++.\" make the size of the head bigger
+ .ps +2
+ .ft B
+ .ne (2v + 1u)
+diff -Nur man3.old/zzip_fopen.3 man3.new/zzip_fopen.3
+--- man3.old/zzip_fopen.3	2009-05-24 20:36:32.000000000 +0800
++++ man3.new/zzip_fopen.3	2009-06-07 02:32:45.000000000 +0800
+@@ -48,7 +48,7 @@
+ .it 1 an-trap
+ .nr an-no-space-flag 1
+ .nr an-break-flag 1
+-\." make the size of the head bigger
++.\" make the size of the head bigger
+ .ps +3
+ .ft B
+ .ne (2v + 1u)
+@@ -82,7 +82,7 @@
+ .nr an-no-space-flag 1
+ .nr an-break-flag 1
+ .ps \\n[PS-SS]u
+-\." make the size of the head bigger
++.\" make the size of the head bigger
+ .ps +2
+ .ft B
+ .ne (2v + 1u)
+@@ -167,7 +167,7 @@
+ .\" * MAIN CONTENT STARTS HERE *
+ .\" -----------------------------------------------------------------
+ .SH "Name"
+-zzip_fopen, zzip_freopen \- 
++zzip_fopen, zzip_freopen \- \&.\&.\&.
+ .SH "Synopsis"
+ .sp
+ .ft B
+@@ -185,7 +185,8 @@
+ .fam
+ .fam C
+ .HP \w'ZZIP_FILE\ *\ zzip_freopen('u
+-.BI "ZZIP_FILE * zzip_freopen((zzip_char_t\ *\ filename,\ zzip_char_t\ *\ mode,\ ZZIP_FILE\ *\ stream));"
++.BI "ZZIP_FILE * zzip_freopen((zzip_char_t\ *\ filename,"
++.BI "                    \ zzip_char_t\ *\ mode,\ ZZIP_FILE\ *\ stream));"
+ .fam
+ .SH "Description"
+ .PP
+diff -Nur man3.old/zzip_inflate_init.3 man3.new/zzip_inflate_init.3
+--- man3.old/zzip_inflate_init.3	2009-05-24 20:36:32.000000000 +0800
++++ man3.new/zzip_inflate_init.3	2009-06-07 02:33:09.000000000 +0800
+@@ -48,7 +48,7 @@
+ .it 1 an-trap
+ .nr an-no-space-flag 1
+ .nr an-break-flag 1
+-\." make the size of the head bigger
++.\" make the size of the head bigger
+ .ps +3
+ .ft B
+ .ne (2v + 1u)
+@@ -82,7 +82,7 @@
+ .nr an-no-space-flag 1
+ .nr an-break-flag 1
+ .ps \\n[PS-SS]u
+-\." make the size of the head bigger
++.\" make the size of the head bigger
+ .ps +2
+ .ft B
+ .ne (2v + 1u)
+@@ -181,7 +181,8 @@
+ .ft
+ .fam C
+ .HP \w'static\ int\ zzip_inflate_init('u
+-.BI "static int zzip_inflate_init((ZZIP_FILE\ *\ fp,\ struct\ zzip_dir_hdr\ *hdr));"
++.BI "static int zzip_inflate_init((ZZIP_FILE\ *\ fp,"
++.BI "                    \ struct\ zzip_dir_hdr\ *hdr));"
+ .fam
+ .SH "Description"
+ .PP
+diff -Nur man3.old/zzip_init_io.3 man3.new/zzip_init_io.3
+--- man3.old/zzip_init_io.3	2009-05-24 20:36:32.000000000 +0800
++++ man3.new/zzip_init_io.3	2009-06-07 02:09:11.000000000 +0800
+@@ -48,7 +48,7 @@
+ .it 1 an-trap
+ .nr an-no-space-flag 1
+ .nr an-break-flag 1
+-\." make the size of the head bigger
++.\" make the size of the head bigger
+ .ps +3
+ .ft B
+ .ne (2v + 1u)
+@@ -82,7 +82,7 @@
+ .nr an-no-space-flag 1
+ .nr an-break-flag 1
+ .ps \\n[PS-SS]u
+-\." make the size of the head bigger
++.\" make the size of the head bigger
+ .ps +2
+ .ft B
+ .ne (2v + 1u)
+diff -Nur man3.old/zzip_open.3 man3.new/zzip_open.3
+--- man3.old/zzip_open.3	2009-05-24 20:36:32.000000000 +0800
++++ man3.new/zzip_open.3	2009-06-07 02:57:08.000000000 +0800
+@@ -48,7 +48,7 @@
+ .it 1 an-trap
+ .nr an-no-space-flag 1
+ .nr an-break-flag 1
+-\." make the size of the head bigger
++.\" make the size of the head bigger
+ .ps +3
+ .ft B
+ .ne (2v + 1u)
+@@ -82,7 +82,7 @@
+ .nr an-no-space-flag 1
+ .nr an-break-flag 1
+ .ps \\n[PS-SS]u
+-\." make the size of the head bigger
++.\" make the size of the head bigger
+ .ps +2
+ .ft B
+ .ne (2v + 1u)
+@@ -185,11 +185,17 @@
+ .fam
+ .fam C
+ .HP \w'ZZIP_FILE\ *\ zzip_open_ext_io('u
+-.BI "ZZIP_FILE * zzip_open_ext_io((zzip_char_t\ *\ filename,\ int\ o_flags,\ int\ o_modes,\ zzip_strings_t\ *\ ext,\ zzip_plugin_io_t\ io));"
++.BI "ZZIP_FILE * zzip_open_ext_io((zzip_char_t\ *\ filename,"
++.BI "               int\ o_flags,\ int\ o_modes,"
++.BI "               zzip_strings_t\ *\ ext,"
++.BI "               zzip_plugin_io_t\ io));"
+ .fam
+ .fam C
+ .HP \w'ZZIP_FILE\ *\ zzip_open_shared_io('u
+-.BI "ZZIP_FILE * zzip_open_shared_io((ZZIP_FILE\ *\ stream,\ zzip_char_t\ *\ filename,\ int\ o_flags,\ int\ o_modes,\ zzip_strings_t\ *\ ext,\ zzip_plugin_io_t\ io));"
++.BI "ZZIP_FILE * zzip_open_shared_io((ZZIP_FILE\ *\ stream,"
++.BI "         zzip_char_t\ *\ filename,\ int\ o_flags,"
++.BI "         int\ o_modes,\ zzip_strings_t\ *\ ext,"
++.BI "         zzip_plugin_io_t\ io));"
+ .fam
+ .SH "Description"
+ .PP
+diff -Nur man3.old/zzip_opendir.3 man3.new/zzip_opendir.3
+--- man3.old/zzip_opendir.3	2009-05-24 20:36:32.000000000 +0800
++++ man3.new/zzip_opendir.3	2009-06-07 02:34:30.000000000 +0800
+@@ -48,7 +48,7 @@
+ .it 1 an-trap
+ .nr an-no-space-flag 1
+ .nr an-break-flag 1
+-\." make the size of the head bigger
++.\" make the size of the head bigger
+ .ps +3
+ .ft B
+ .ne (2v + 1u)
+@@ -82,7 +82,7 @@
+ .nr an-no-space-flag 1
+ .nr an-break-flag 1
+ .ps \\n[PS-SS]u
+-\." make the size of the head bigger
++.\" make the size of the head bigger
+ .ps +2
+ .ft B
+ .ne (2v + 1u)
+@@ -185,7 +185,9 @@
+ .fam
+ .fam C
+ .HP \w'ZZIP_DIR\ *\ zzip_opendir_ext_io('u
+-.BI "ZZIP_DIR * zzip_opendir_ext_io((zzip_char_t\ *\ filename,\ int\ o_modes,\ zzip_strings_t\ *\ ext,\ zzip_plugin_io_t\ io));"
++.BI "ZZIP_DIR * zzip_opendir_ext_io((zzip_char_t\ *\ filename,"
++.BI "                     \ int\ o_modes,\ zzip_strings_t\ *\ ext,"
++.BI "                     \ zzip_plugin_io_t\ io));"
+ .fam
+ .SH "Description"
+ .PP
+diff -Nur man3.old/__zzip_parse_root_directory.3 man3.new/__zzip_parse_root_directory.3
+--- man3.old/__zzip_parse_root_directory.3	2009-05-24 20:36:32.000000000 +0800
++++ man3.new/__zzip_parse_root_directory.3	2009-06-07 02:42:01.000000000 +0800
+@@ -48,7 +48,7 @@
+ .it 1 an-trap
+ .nr an-no-space-flag 1
+ .nr an-break-flag 1
+-\." make the size of the head bigger
++.\" make the size of the head bigger
+ .ps +3
+ .ft B
+ .ne (2v + 1u)
+@@ -82,7 +82,7 @@
+ .nr an-no-space-flag 1
+ .nr an-break-flag 1
+ .ps \\n[PS-SS]u
+-\." make the size of the head bigger
++.\" make the size of the head bigger
+ .ps +2
+ .ft B
+ .ne (2v + 1u)
+@@ -181,7 +181,10 @@
+ .ft
+ .fam C
+ .HP \w'int\ __zzip_parse_root_directory('u
+-.BI "int __zzip_parse_root_directory((int\ fd,\ struct\ _disk_trailer\ *trailer,\ struct\ zzip_dir_hdr\ **hdr_return,\ zzip_plugin_io_t\ io));"
++.BI "int __zzip_parse_root_directory((int\ fd,"
++.BI "                 \ struct\ _disk_trailer\ *trailer,"
++.BI "                 \ struct\ zzip_dir_hdr\ **hdr_return,"
++.BI "                 \ zzip_plugin_io_t\ io));"
+ .fam
+ .SH "Description"
+ .PP
+diff -Nur man3.old/zzip_read.3 man3.new/zzip_read.3
+--- man3.old/zzip_read.3	2009-05-24 20:36:32.000000000 +0800
++++ man3.new/zzip_read.3	2009-06-07 02:34:54.000000000 +0800
+@@ -48,7 +48,7 @@
+ .it 1 an-trap
+ .nr an-no-space-flag 1
+ .nr an-break-flag 1
+-\." make the size of the head bigger
++.\" make the size of the head bigger
+ .ps +3
+ .ft B
+ .ne (2v + 1u)
+@@ -82,7 +82,7 @@
+ .nr an-no-space-flag 1
+ .nr an-break-flag 1
+ .ps \\n[PS-SS]u
+-\." make the size of the head bigger
++.\" make the size of the head bigger
+ .ps +2
+ .ft B
+ .ne (2v + 1u)
+@@ -185,7 +185,8 @@
+ .fam
+ .fam C
+ .HP \w'zzip_size_t\ zzip_fread('u
+-.BI "zzip_size_t zzip_fread((void\ *ptr,\ zzip_size_t\ size,\ zzip_size_t\ nmemb,\ ZZIP_FILE\ *\ file));"
++.BI "zzip_size_t zzip_fread((void\ *ptr,\ zzip_size_t\ size,"
++.BI "                       \ zzip_size_t\ nmemb,\ ZZIP_FILE\ *\ file));"
+ .fam
+ .SH "Description"
+ .PP
+diff -Nur man3.old/zzip_readdir.3 man3.new/zzip_readdir.3
+--- man3.old/zzip_readdir.3	2009-05-24 20:36:32.000000000 +0800
++++ man3.new/zzip_readdir.3	2009-06-07 02:09:11.000000000 +0800
+@@ -48,7 +48,7 @@
+ .it 1 an-trap
+ .nr an-no-space-flag 1
+ .nr an-break-flag 1
+-\." make the size of the head bigger
++.\" make the size of the head bigger
+ .ps +3
+ .ft B
+ .ne (2v + 1u)
+@@ -82,7 +82,7 @@
+ .nr an-no-space-flag 1
+ .nr an-break-flag 1
+ .ps \\n[PS-SS]u
+-\." make the size of the head bigger
++.\" make the size of the head bigger
+ .ps +2
+ .ft B
+ .ne (2v + 1u)
+diff -Nur man3.old/zzip_rewind.3 man3.new/zzip_rewind.3
+--- man3.old/zzip_rewind.3	2009-05-24 20:36:32.000000000 +0800
++++ man3.new/zzip_rewind.3	2009-06-07 02:09:12.000000000 +0800
+@@ -48,7 +48,7 @@
+ .it 1 an-trap
+ .nr an-no-space-flag 1
+ .nr an-break-flag 1
+-\." make the size of the head bigger
++.\" make the size of the head bigger
+ .ps +3
+ .ft B
+ .ne (2v + 1u)
+@@ -82,7 +82,7 @@
+ .nr an-no-space-flag 1
+ .nr an-break-flag 1
+ .ps \\n[PS-SS]u
+-\." make the size of the head bigger
++.\" make the size of the head bigger
+ .ps +2
+ .ft B
+ .ne (2v + 1u)
+diff -Nur man3.old/zzip_rewinddir.3 man3.new/zzip_rewinddir.3
+--- man3.old/zzip_rewinddir.3	2009-05-24 20:36:32.000000000 +0800
++++ man3.new/zzip_rewinddir.3	2009-06-07 02:09:12.000000000 +0800
+@@ -48,7 +48,7 @@
+ .it 1 an-trap
+ .nr an-no-space-flag 1
+ .nr an-break-flag 1
+-\." make the size of the head bigger
++.\" make the size of the head bigger
+ .ps +3
+ .ft B
+ .ne (2v + 1u)
+@@ -82,7 +82,7 @@
+ .nr an-no-space-flag 1
+ .nr an-break-flag 1
+ .ps \\n[PS-SS]u
+-\." make the size of the head bigger
++.\" make the size of the head bigger
+ .ps +2
+ .ft B
+ .ne (2v + 1u)
+@@ -167,7 +167,7 @@
+ .\" * MAIN CONTENT STARTS HERE *
+ .\" -----------------------------------------------------------------
+ .SH "Name"
+-zzip_rewinddir, zzip_telldir, zzip_seekdir \- 
++zzip_rewinddir, zzip_telldir, zzip_seekdir \- \&.\&.\&.
+ .SH "Synopsis"
+ .sp
+ .ft B
+diff -Nur man3.old/zzip_seek.3 man3.new/zzip_seek.3
+--- man3.old/zzip_seek.3	2009-05-24 20:36:32.000000000 +0800
++++ man3.new/zzip_seek.3	2009-06-07 02:09:12.000000000 +0800
+@@ -48,7 +48,7 @@
+ .it 1 an-trap
+ .nr an-no-space-flag 1
+ .nr an-break-flag 1
+-\." make the size of the head bigger
++.\" make the size of the head bigger
+ .ps +3
+ .ft B
+ .ne (2v + 1u)
+@@ -82,7 +82,7 @@
+ .nr an-no-space-flag 1
+ .nr an-break-flag 1
+ .ps \\n[PS-SS]u
+-\." make the size of the head bigger
++.\" make the size of the head bigger
+ .ps +2
+ .ft B
+ .ne (2v + 1u)
+diff -Nur man3.old/zzip_strerror.3 man3.new/zzip_strerror.3
+--- man3.old/zzip_strerror.3	2009-05-24 20:36:32.000000000 +0800
++++ man3.new/zzip_strerror.3	2009-06-07 02:09:12.000000000 +0800
+@@ -48,7 +48,7 @@
+ .it 1 an-trap
+ .nr an-no-space-flag 1
+ .nr an-break-flag 1
+-\." make the size of the head bigger
++.\" make the size of the head bigger
+ .ps +3
+ .ft B
+ .ne (2v + 1u)
+@@ -82,7 +82,7 @@
+ .nr an-no-space-flag 1
+ .nr an-break-flag 1
+ .ps \\n[PS-SS]u
+-\." make the size of the head bigger
++.\" make the size of the head bigger
+ .ps +2
+ .ft B
+ .ne (2v + 1u)
+diff -Nur man3.old/zzip_tell.3 man3.new/zzip_tell.3
+--- man3.old/zzip_tell.3	2009-05-24 20:36:32.000000000 +0800
++++ man3.new/zzip_tell.3	2009-06-07 02:09:12.000000000 +0800
+@@ -48,7 +48,7 @@
+ .it 1 an-trap
+ .nr an-no-space-flag 1
+ .nr an-break-flag 1
+-\." make the size of the head bigger
++.\" make the size of the head bigger
+ .ps +3
+ .ft B
+ .ne (2v + 1u)
+@@ -82,7 +82,7 @@
+ .nr an-no-space-flag 1
+ .nr an-break-flag 1
+ .ps \\n[PS-SS]u
+-\." make the size of the head bigger
++.\" make the size of the head bigger
+ .ps +2
+ .ft B
+ .ne (2v + 1u)
+diff -Nur man3.old/__zzip_try_open.3 man3.new/__zzip_try_open.3
+--- man3.old/__zzip_try_open.3	2009-05-24 20:36:32.000000000 +0800
++++ man3.new/__zzip_try_open.3	2009-06-07 02:25:26.000000000 +0800
+@@ -48,7 +48,7 @@
+ .it 1 an-trap
+ .nr an-no-space-flag 1
+ .nr an-break-flag 1
+-\." make the size of the head bigger
++.\" make the size of the head bigger
+ .ps +3
+ .ft B
+ .ne (2v + 1u)
+@@ -82,7 +82,7 @@
+ .nr an-no-space-flag 1
+ .nr an-break-flag 1
+ .ps \\n[PS-SS]u
+-\." make the size of the head bigger
++.\" make the size of the head bigger
+ .ps +2
+ .ft B
+ .ne (2v + 1u)
+@@ -181,7 +181,8 @@
+ .ft
+ .fam C
+ .HP \w'int\ __zzip_try_open('u
+-.BI "int __zzip_try_open((zzip_char_t\ *\ filename,\ int\ filemode,\ zzip_strings_t\ *\ ext,\ zzip_plugin_io_t\ io));"
++.BI "int __zzip_try_open((zzip_char_t\ *\ filename,\ int\ filemode,"
++.BI "               \ zzip_strings_t\ *\ ext,\ zzip_plugin_io_t\ io));"
+ .fam
+ .SH "Description"
+ .PP
--- zziplib-0.13.56.orig/debian/rules
+++ zziplib-0.13.56/debian/rules
@@ -0,0 +1,113 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+# Sample debian/rules that uses debhelper.
+# GNU copyright 1997 to 1999 by Joey Hess.
+
+# Uncomment this to turn on verbose mode.
+export DH_VERBOSE=1
+
+# These are used for cross-compiling and for saving the configure script
+# from having to guess our platform (since we know it already)
+DEB_HOST_GNU_TYPE   ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+DEB_BUILD_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+
+
+CFLAGS = -Wall -g
+
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+	CFLAGS += -O0
+else
+	CFLAGS += -O2
+endif
+ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
+	INSTALL_PROGRAM += -s
+endif
+
+configure: configure-stamp
+configure-stamp:
+	dh_testdir
+
+	-test -r /usr/share/misc/config.sub && \
+	cp -f /usr/share/misc/config.sub config.sub && \
+	cp -f /usr/share/misc/config.sub zziplib/config.sub
+	
+	-test -r /usr/share/misc/config.guess && \
+	cp -f /usr/share/misc/config.guess config.guess && \
+	cp -f /usr/share/misc/config.guess zziplib/config.guess
+	
+	CFLAGS="$(CFLAGS)" ./configure \
+			--host=$(DEB_HOST_GNU_TYPE) \
+			--build=$(DEB_BUILD_GNU_TYPE) \
+			--prefix=/usr \
+			--mandir=\$${prefix}/share/man \
+			--infodir=\$${prefix}/share/info \
+			--datadir=\$${prefix}/share
+
+	touch configure-stamp
+
+build: build-stamp
+build-stamp: configure-stamp
+	dh_testdir
+
+	$(MAKE)
+	$(MAKE) docs
+
+	touch build-stamp
+
+clean: 
+	dh_testdir
+	dh_testroot
+	rm -f configure-stamp build-stamp 
+	rm -f config.sub config.guess zziplib/config.sub zziplib/config.guess docs/zzipdoc/*.pyc
+	[ ! -f Makefile ] || $(MAKE) distclean
+	dh_clean 
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_prep
+	dh_installdirs
+
+	# Add here commands to install the package into debian/tmp
+	$(MAKE) install DESTDIR=$(CURDIR)/debian/tmp
+
+	# Move all files in their corresponding package
+	dh_install --list-missing -s --sourcedir=debian/tmp
+
+	cd $(CURDIR)/debian/libzzip-dev/usr/share/man/ \
+		&& tar xf $(CURDIR)/docs/zziplib-manpages.tar
+
+	cd $(CURDIR)/debian/libzzip-dev/usr/share/man/man3/ \
+		&& patch -p1 < $(CURDIR)/debian/man3.patch
+
+# Build architecture-independent files here.
+binary-indep: build install
+# We have nothing to do by default.
+
+# Build architecture-dependent files here.
+binary-arch: build install
+	dh_testdir
+	dh_testroot
+	dh_installchangelogs ChangeLog
+	dh_installdocs
+	dh_installexamples
+	dh_installman
+	cd $(CURDIR)/debian/zziplib-bin/usr/share/man/man1/ \
+		&& ln -s zziplib-bin.1.gz zzcat.1.gz \
+		&& ln -s zziplib-bin.1.gz zzdir.1.gz \
+		&& ln -s zziplib-bin.1.gz zzxorcat.1.gz \
+		&& ln -s zziplib-bin.1.gz zzxordir.1.gz \
+		&& ln -s zziplib-bin.1.gz zzxorcopy.1.gz
+	dh_link
+	dh_strip
+	dh_compress
+	dh_fixperms
+	dh_makeshlibs -V
+	dh_installdeb
+	dh_shlibdeps
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install 
--- zziplib-0.13.56.orig/debian/watch
+++ zziplib-0.13.56/debian/watch
@@ -0,0 +1,2 @@
+version=3
+http://sf.net/zziplib/zziplib-(.+)\.tar\.bz2
--- zziplib-0.13.56.orig/debian/zzcat.1
+++ zziplib-0.13.56/debian/zzcat.1
@@ -0,0 +1 @@
+.so man1/zziplib-bin.1
--- zziplib-0.13.56.orig/debian/zzdir.1
+++ zziplib-0.13.56/debian/zzdir.1
@@ -0,0 +1 @@
+.so man1/zziplib-bin.1
--- zziplib-0.13.56.orig/debian/zziplib-bin.1
+++ zziplib-0.13.56/debian/zziplib-bin.1
@@ -0,0 +1,53 @@
+.TH ZZIPLIB-BIN 1 "June 25, 2004"
+.SH NAME
+zzcat, zzdir, zzxorcat, zzxordir zzxorcopy - small tools using zziplib
+.SH SYNOPSIS
+.B  zzcat FILE [...]
+.B  zzdir DIR [...]
+.B  zzxorcat [-HEX] FILE [...]
+.B  zzxordir [-HEX] DIR [...]
+.B  zzxorcopy [-HEX] FILE OUTFILE
+.SH DESCRIPTION
+.PP
+\fIzzcat\fP prints the given files to stdout, so you may want to
+redirect the output. The FILE can be a normal file or an inflated
+part of a zip archive (see OPTIONS).
+.PP
+\fIzzdir\fP prints the content table to stdout of the given DIR or
+zipfile.
+.PP
+\fIzzxorcat\fP prints the given files to stdout, so you may want to
+redirect the output. The FILE is an inflated part of a zip archive
+obfusctated with a xor value optionally given by the HEX option.
+.PP
+\fIzzxordir\fP prints the content table to stdout of the given DIR or
+zipfile. The DIR can br an inflated part of a zip archive obfusctated 
+with a xor value optionally given by the HEX option.
+.PP
+\fIzzxorcopy\fP copies data from FILE to OUTFILE adding simple 
+obfuscation by xor-ing each byte with the HEX value given. 
+Remember that copying data twice with the same xor-value will result
+in the original file data.
+.
+.SH OPTIONS
+\fIzziplib-bin\fP tools accept the following options:
+.TP 8
+.B  FILE
+Input filename for reading or part (if supported by tool). Part
+is written as zipname/filename, e.g.: for accessing README inside
+of data.zip you'll specify data/README.
+.TP 8 
+.B  DIR
+Disk directory, zipfile or inflated part of a zipfile.
+.TP 8
+.B  \-HEX
+Hex number for xor-ing the zipfile contents. If not supplied all
+tools that use it take 0x55 as default value for xor-ing.
+.B  OUTFILE
+Output file name for zzxorcopy.
+.SH AUTHORS
+.B zziplib
+was written by Guido Draheim <guidod@gmx.de>.
+
+This manual page was written by Ricardo Mones <mones@aic.uniovi.es>,
+for the Debian GNU/Linux system (but may be used by others).
--- zziplib-0.13.56.orig/debian/zziplib-bin.install
+++ zziplib-0.13.56/debian/zziplib-bin.install
@@ -0,0 +1,5 @@
+usr/bin/zzxorcopy
+usr/bin/zzxordir
+usr/bin/zzxorcat
+usr/bin/zzdir
+usr/bin/zzcat
--- zziplib-0.13.56.orig/debian/zziplib-bin.manpages
+++ zziplib-0.13.56/debian/zziplib-bin.manpages
@@ -0,0 +1,6 @@
+debian/zziplib-bin.1
+debian/zzcat.1
+debian/zzdir.1
+debian/zzxorcat.1
+debian/zzxordir.1
+debian/zzxorcopy.1
--- zziplib-0.13.56.orig/debian/zzxorcat.1
+++ zziplib-0.13.56/debian/zzxorcat.1
@@ -0,0 +1 @@
+.so man1/zziplib-bin.1
--- zziplib-0.13.56.orig/debian/zzxorcopy.1
+++ zziplib-0.13.56/debian/zzxorcopy.1
@@ -0,0 +1 @@
+.so man1/zziplib-bin.1
--- zziplib-0.13.56.orig/debian/zzxordir.1
+++ zziplib-0.13.56/debian/zzxordir.1
@@ -0,0 +1 @@
+.so man1/zziplib-bin.1