[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>
|
---|
[014d11ad] | 21 |
|
---|
[5b5ecb9] | 22 | <para>The <application>UnZip</application> package contains
|
---|
| 23 | <filename>ZIP</filename> extraction utilities. These are useful for extracting
|
---|
| 24 | files from <filename>ZIP</filename> archives. <filename>ZIP</filename> archives
|
---|
| 25 | are created with <application>PKZIP</application> or
|
---|
| 26 | <application>Info-ZIP</application> utilities primarily in a
|
---|
| 27 | <acronym>DOS</acronym> environment.
|
---|
[52d29f7] | 28 | </para>
|
---|
[014d11ad] | 29 |
|
---|
[52d29f7] | 30 | <sect3><title>Package information</title>
|
---|
| 31 | <itemizedlist spacing='compact'>
|
---|
| 32 | <listitem><para>Download (HTTP): <ulink
|
---|
| 33 | url="&unzip-download-http;"/></para></listitem>
|
---|
| 34 | <listitem><para>Download (FTP): <ulink
|
---|
| 35 | url="&unzip-download-ftp;"/></para></listitem>
|
---|
| 36 | <listitem><para>Download size: &unzip-size;</para></listitem>
|
---|
| 37 | <listitem><para>Estimated Disk space required:
|
---|
| 38 | &unzip-buildsize;</para></listitem>
|
---|
| 39 | <listitem><para>Estimated build time:
|
---|
| 40 | &unzip-time;</para></listitem></itemizedlist>
|
---|
| 41 | </sect3>
|
---|
[014d11ad] | 42 |
|
---|
[52d29f7] | 43 | <sect3><title>Additional downloads</title>
|
---|
| 44 | <itemizedlist spacing='compact'>
|
---|
[07b157f4] | 45 | <listitem><para>Required Patch: <ulink
|
---|
[4a9b381] | 46 | url="&patch-root;/unzip-&unzip-version;-fix_Makefile-1.patch"/></para>
|
---|
| 47 | </listitem>
|
---|
[07b157f4] | 48 | <listitem><para>Required Patch: <ulink
|
---|
[4a9b381] | 49 | url="&patch-root;/unzip-&unzip-version;-fix_libz-1.patch"/></para>
|
---|
| 50 | </listitem>
|
---|
[07b157f4] | 51 | <listitem><para>Recommended Patch: <ulink
|
---|
[4a9b381] | 52 | url="&patch-root;/unzip-&unzip-version;-dont_make_noise-1.patch"/></para>
|
---|
| 53 | </listitem></itemizedlist>
|
---|
[52d29f7] | 54 | </sect3>
|
---|
[014d11ad] | 55 |
|
---|
[52d29f7] | 56 | </sect2>
|
---|
| 57 |
|
---|
| 58 | <sect2>
|
---|
| 59 | <title>Installation of <application>UnZip</application></title>
|
---|
[014d11ad] | 60 |
|
---|
[52d29f7] | 61 | <para>Install <application>UnZip</application> by running the following
|
---|
| 62 | commands:</para>
|
---|
[014d11ad] | 63 |
|
---|
| 64 | <screen><userinput><command>patch -Np1 -i ../unzip-&unzip-version;-fix_Makefile-1.patch &&
|
---|
| 65 | patch -Np1 -i ../unzip-&unzip-version;-fix_libz-1.patch &&
|
---|
| 66 | patch -Np1 -i ../unzip-&unzip-version;-dont_make_noise-1.patch &&
|
---|
[52d29f7] | 67 | cp unix/Makefile . &&
|
---|
[1ae85332] | 68 | make prefix=/usr LOCAL_UNZIP=-DUSE_UNSHRINK linux &&
|
---|
| 69 | make prefix=/usr LOCAL_UNZIP=-DUSE_UNSHRINK linux_shlibz &&
|
---|
| 70 | make prefix=/usr LOCAL_UNZIP=-DUSE_UNSHRINK install &&
|
---|
[5b5ecb9] | 71 | install -m 755 -o root -g root libunzip.so* /usr/lib</command></userinput></screen>
|
---|
[014d11ad] | 72 |
|
---|
[52d29f7] | 73 | </sect2>
|
---|
| 74 |
|
---|
| 75 | <sect2>
|
---|
| 76 | <title>Command explanations</title>
|
---|
[014d11ad] | 77 |
|
---|
[1ae85332] | 78 | <para><command>make prefix=/usr LOCAL_UNZIP=-DUSE_UNSHRINK linux</command>:
|
---|
| 79 | This command overrides the <varname>prefix</varname> variable that is
|
---|
| 80 | set to <filename class="directory">/usr/local</filename> in the
|
---|
| 81 | <filename>Makefile</filename>, sets the <envar>LOCAL_UNZIP</envar>
|
---|
| 82 | environment variable to instruct <application>UnZip</application> to use
|
---|
| 83 | the shrinking algorithm based on the <acronym>LZW</acronym> compression
|
---|
| 84 | algorithm, and builds the executables for a Linux system.
|
---|
| 85 | The alternatives to 'linux' can be seen with a
|
---|
[4a9b381] | 86 | <command>make list</command> command.</para>
|
---|
[014d11ad] | 87 |
|
---|
[1ae85332] | 88 | <para><command>make ... linux_shlibz</command>: Build shared
|
---|
[014d11ad] | 89 | <filename>libunzip</filename> and link <application>UnZip</application> against
|
---|
[52d29f7] | 90 | it and <application>zlib</application>.</para>
|
---|
[014d11ad] | 91 |
|
---|
[52d29f7] | 92 | </sect2>
|
---|
| 93 |
|
---|
| 94 | <sect2>
|
---|
| 95 | <title>Contents</title>
|
---|
[014d11ad] | 96 |
|
---|
[4a9b381] | 97 | <para>The <application>UnZip</application> package contains
|
---|
| 98 | <command>unzip</command>, <command>funzip</command>, <command>unzipfsx</command>,
|
---|
| 99 | <command>zipgrep</command>, <command>zipinfo</command> and the
|
---|
[bcd89599] | 100 | <filename class="libraryfile">libunzip</filename> library.</para>
|
---|
[014d11ad] | 101 |
|
---|
[52d29f7] | 102 | </sect2>
|
---|
[014d11ad] | 103 |
|
---|
[52d29f7] | 104 | <sect2><title>Description</title>
|
---|
[014d11ad] | 105 |
|
---|
[52d29f7] | 106 | <sect3><title>unzip</title>
|
---|
| 107 | <para><command>unzip</command> lists, tests or extracts files from a
|
---|
| 108 | <filename>ZIP</filename> archive.</para></sect3>
|
---|
[014d11ad] | 109 |
|
---|
[52d29f7] | 110 | <sect3><title>funzip</title>
|
---|
| 111 | <para><command>funzip</command> allows the output of <command>unzip</command>
|
---|
| 112 | commands to be redirected.</para></sect3>
|
---|
[014d11ad] | 113 |
|
---|
[52d29f7] | 114 | <sect3><title>unzipfsx</title>
|
---|
| 115 | <para><command>unzipfsx</command> is the self-extracting stub that can be
|
---|
| 116 | prepended to a <filename>ZIP</filename> archive. Files in this format allow
|
---|
| 117 | the recipient to decompress the archive without installing
|
---|
| 118 | <application>UnZip</application>.</para></sect3>
|
---|
[014d11ad] | 119 |
|
---|
[52d29f7] | 120 | <sect3><title>zipgrep</title>
|
---|
| 121 | <para><command>zipgrep</command> is a grep for <filename>ZIP</filename>
|
---|
| 122 | archives.</para></sect3>
|
---|
[014d11ad] | 123 |
|
---|
[52d29f7] | 124 | <sect3><title>zipinfo</title>
|
---|
[014d11ad] | 125 | <para><command>zipinfo</command> produces technical information about the files
|
---|
[52d29f7] | 126 | in a <filename>ZIP</filename> archive, including file access permissions,
|
---|
| 127 | encryption status, type of compression, etc.</para></sect3>
|
---|
[014d11ad] | 128 |
|
---|
[52d29f7] | 129 | </sect2>
|
---|
[f45b1953] | 130 |
|
---|
| 131 | </sect1>
|
---|