[52d29f7] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
| 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
|
---|
| 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
| 7 | <!ENTITY unzip-download-http "http://www.mirror.ac.uk/sites/ftp.info-zip.org/pub/infozip/src/unzip551.tar.gz">
|
---|
| 8 | <!ENTITY unzip-download-ftp "ftp://ftp.info-zip.org/pub/infozip/src/unzip551.tar.gz">
|
---|
| 9 | <!ENTITY unzip-size "1.1 MB">
|
---|
| 10 | <!ENTITY unzip-buildsize "6.5 MB">
|
---|
| 11 | <!ENTITY unzip-time "0.11 SBU">
|
---|
| 12 |
|
---|
| 13 | ]>
|
---|
| 14 |
|
---|
[5c5cdbc] | 15 | <sect1 id="unzip" xreflabel="UnZip-&unzip-version;">
|
---|
[7f72cbf] | 16 | <?dbhtml filename="unzip.html"?>
|
---|
[5c5cdbc] | 17 | <title>UnZip-&unzip-version;</title>
|
---|
[f45b1953] | 18 |
|
---|
[52d29f7] | 19 | <sect2>
|
---|
| 20 | <title>Introduction to <application>UnZip</application></title>
|
---|
| 21 |
|
---|
| 22 | <para>The <application>UnZip</application> package contains <filename>ZIP
|
---|
| 23 | </filename> extraction utilities. These are useful for extracting files from
|
---|
| 24 | <filename>ZIP</filename> archives. <filename>ZIP</filename> archives are
|
---|
| 25 | created with <application>PKZIP</application> or <application>Info-ZIP
|
---|
| 26 | </application> utilities primarily in a <acronym>DOS</acronym> environment.
|
---|
| 27 | </para>
|
---|
| 28 |
|
---|
| 29 | <sect3><title>Package information</title>
|
---|
| 30 | <itemizedlist spacing='compact'>
|
---|
| 31 | <listitem><para>Download (HTTP): <ulink
|
---|
| 32 | url="&unzip-download-http;"/></para></listitem>
|
---|
| 33 | <listitem><para>Download (FTP): <ulink
|
---|
| 34 | url="&unzip-download-ftp;"/></para></listitem>
|
---|
| 35 | <listitem><para>Download size: &unzip-size;</para></listitem>
|
---|
| 36 | <listitem><para>Estimated Disk space required:
|
---|
| 37 | &unzip-buildsize;</para></listitem>
|
---|
| 38 | <listitem><para>Estimated build time:
|
---|
| 39 | &unzip-time;</para></listitem></itemizedlist>
|
---|
| 40 | </sect3>
|
---|
| 41 |
|
---|
| 42 | <sect3><title>Additional downloads</title>
|
---|
| 43 | <itemizedlist spacing='compact'>
|
---|
| 44 | <listitem><para>Required patch: <ulink
|
---|
| 45 | url="&patch-root;/unzip-&unzip-version;-fix-Makefile.patch"/></para></listitem><listitem><para>Required patch: <ulink
|
---|
| 46 | url="&patch-root;/unzip-&unzip-version;-fix-libz.patch"/></para></listitem>
|
---|
| 47 | <listitem><para>Recommended patch: <ulink
|
---|
| 48 | url="&patch-root;/unzip-&unzip-version;-dont-make-noise.patch"/></para></listitem></itemizedlist>
|
---|
| 49 | </sect3>
|
---|
| 50 |
|
---|
| 51 | </sect2>
|
---|
| 52 |
|
---|
| 53 | <sect2>
|
---|
| 54 | <title>Installation of <application>UnZip</application></title>
|
---|
| 55 |
|
---|
| 56 | <para>By default, <application>UnZip</application> does not support shrink
|
---|
| 57 | decompression. To enable it or to obtain more information, check out the
|
---|
| 58 | <application>UnZip</application> <acronym>FAQ</acronym> at
|
---|
| 59 | <ulink url="http://www.info-zip.org/pub/infozip/FAQ.html#unshrink"/>.</para>
|
---|
| 60 |
|
---|
| 61 | <para>Install <application>UnZip</application> by running the following
|
---|
| 62 | commands:</para>
|
---|
| 63 |
|
---|
| 64 | <screen><userinput><command>patch -Np1 -i ../unzip-&unzip-version;-fix-Makefile.patch &&
|
---|
| 65 | patch -Np1 -i ../unzip-&unzip-version;-fix-libz.patch &&
|
---|
| 66 | patch -Np1 -i ../unzip-&unzip-version;-dont-make-noise.patch &&
|
---|
| 67 | cp unix/Makefile . &&
|
---|
| 68 | make prefix=/usr linux &&
|
---|
| 69 | make prefix=/usr linux_shlibz &&
|
---|
| 70 | make prefix=/usr install &&
|
---|
| 71 | cp -a libunzip.so* /usr/lib</command></userinput></screen>
|
---|
| 72 |
|
---|
| 73 | </sect2>
|
---|
| 74 |
|
---|
| 75 | <sect2>
|
---|
| 76 | <title>Command explanations</title>
|
---|
| 77 |
|
---|
| 78 | <para><command>make prefix=/usr linux</command>: This command
|
---|
| 79 | overrides the prefix variable that is set to
|
---|
| 80 | <filename class='directory'>/usr/local</filename> in the
|
---|
| 81 | <filename>Makefile</filename>
|
---|
| 82 | and builds the executables for a linux system. The alternatives to
|
---|
| 83 | 'linux' can be seen with a 'make list' command.</para>
|
---|
| 84 |
|
---|
| 85 | <para><command>make prefix=/usr linux_shlibz</command>: Build shared
|
---|
| 86 | <filename>libunzip</filename> and link <application>UnZip</application> against
|
---|
| 87 | it and <application>zlib</application>.</para>
|
---|
| 88 |
|
---|
| 89 | </sect2>
|
---|
| 90 |
|
---|
| 91 | <sect2>
|
---|
| 92 | <title>Contents</title>
|
---|
| 93 |
|
---|
| 94 | <para>The <application>UnZip</application> package contains <command>unzip
|
---|
| 95 | </command>, <command>funzip</command>, <command>unzipfsx</command>,
|
---|
| 96 | <command>zipgrep</command> and <command>zipinfo</command>.</para>
|
---|
| 97 |
|
---|
| 98 | </sect2>
|
---|
| 99 |
|
---|
| 100 | <sect2><title>Description</title>
|
---|
| 101 |
|
---|
| 102 | <sect3><title>unzip</title>
|
---|
| 103 | <para><command>unzip</command> lists, tests or extracts files from a
|
---|
| 104 | <filename>ZIP</filename> archive.</para></sect3>
|
---|
| 105 |
|
---|
| 106 | <sect3><title>funzip</title>
|
---|
| 107 | <para><command>funzip</command> allows the output of <command>unzip</command>
|
---|
| 108 | commands to be redirected.</para></sect3>
|
---|
| 109 |
|
---|
| 110 | <sect3><title>unzipfsx</title>
|
---|
| 111 | <para><command>unzipfsx</command> is the self-extracting stub that can be
|
---|
| 112 | prepended to a <filename>ZIP</filename> archive. Files in this format allow
|
---|
| 113 | the recipient to decompress the archive without installing
|
---|
| 114 | <application>UnZip</application>.</para></sect3>
|
---|
| 115 |
|
---|
| 116 | <sect3><title>zipgrep</title>
|
---|
| 117 | <para><command>zipgrep</command> is a grep for <filename>ZIP</filename>
|
---|
| 118 | archives.</para></sect3>
|
---|
| 119 |
|
---|
| 120 | <sect3><title>zipinfo</title>
|
---|
| 121 | <para><command>zipinfo</command> produces technical information about the files
|
---|
| 122 | in a <filename>ZIP</filename> archive, including file access permissions,
|
---|
| 123 | encryption status, type of compression, etc.</para></sect3>
|
---|
| 124 |
|
---|
| 125 | </sect2>
|
---|
[f45b1953] | 126 |
|
---|
| 127 | </sect1>
|
---|