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