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 |
|
---|
15 | <sect1 id="unzip" xreflabel="UnZip-&unzip-version;">
|
---|
16 | <?dbhtml filename="unzip.html"?>
|
---|
17 | <title>UnZip-&unzip-version;</title>
|
---|
18 |
|
---|
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-1.patch"/></para>
|
---|
46 | </listitem>
|
---|
47 | <listitem><para>Required Patch: <ulink
|
---|
48 | url="&patch-root;/unzip-&unzip-version;-fix_libz-1.patch"/></para>
|
---|
49 | </listitem>
|
---|
50 | <listitem><para>Recommended Patch: <ulink
|
---|
51 | url="&patch-root;/unzip-&unzip-version;-dont_make_noise-1.patch"/></para>
|
---|
52 | </listitem></itemizedlist>
|
---|
53 | </sect3>
|
---|
54 |
|
---|
55 | </sect2>
|
---|
56 |
|
---|
57 | <sect2>
|
---|
58 | <title>Installation of <application>UnZip</application></title>
|
---|
59 |
|
---|
60 | <para>By default, <application>UnZip</application> does not support shrink
|
---|
61 | decompression. To enable it or to obtain more information, check out the
|
---|
62 | <application>UnZip</application> <acronym>FAQ</acronym> at
|
---|
63 | <ulink url="http://www.info-zip.org/pub/infozip/FAQ.html#unshrink"/>.</para>
|
---|
64 |
|
---|
65 | <para>Install <application>UnZip</application> by running the following
|
---|
66 | commands:</para>
|
---|
67 |
|
---|
68 | <screen><userinput><command>patch -Np1 -i ../unzip-&unzip-version;-fix_Makefile-1.patch &&
|
---|
69 | patch -Np1 -i ../unzip-&unzip-version;-fix_libz-1.patch &&
|
---|
70 | patch -Np1 -i ../unzip-&unzip-version;-dont_make_noise-1.patch &&
|
---|
71 | cp unix/Makefile . &&
|
---|
72 | make prefix=/usr linux &&
|
---|
73 | make prefix=/usr linux_shlibz &&
|
---|
74 | make prefix=/usr install &&
|
---|
75 | cp -a libunzip.so* /usr/lib</command></userinput></screen>
|
---|
76 |
|
---|
77 | </sect2>
|
---|
78 |
|
---|
79 | <sect2>
|
---|
80 | <title>Command explanations</title>
|
---|
81 |
|
---|
82 | <para><command>make prefix=/usr linux</command>: This command overrides the
|
---|
83 | prefix variable that is set to <filename class="directory">/usr/local</filename>
|
---|
84 | in the <filename>Makefile</filename> and builds the executables for a Linux
|
---|
85 | system. The alternatives to 'linux' can be seen with a
|
---|
86 | <command>make list</command> command.</para>
|
---|
87 |
|
---|
88 | <para><command>make prefix=/usr linux_shlibz</command>: Build shared
|
---|
89 | <filename>libunzip</filename> and link <application>UnZip</application> against
|
---|
90 | it and <application>zlib</application>.</para>
|
---|
91 |
|
---|
92 | </sect2>
|
---|
93 |
|
---|
94 | <sect2>
|
---|
95 | <title>Contents</title>
|
---|
96 |
|
---|
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
|
---|
100 | <filename class="libraryfile">libunzip</filename> library.</para>
|
---|
101 |
|
---|
102 | </sect2>
|
---|
103 |
|
---|
104 | <sect2><title>Description</title>
|
---|
105 |
|
---|
106 | <sect3><title>unzip</title>
|
---|
107 | <para><command>unzip</command> lists, tests or extracts files from a
|
---|
108 | <filename>ZIP</filename> archive.</para></sect3>
|
---|
109 |
|
---|
110 | <sect3><title>funzip</title>
|
---|
111 | <para><command>funzip</command> allows the output of <command>unzip</command>
|
---|
112 | commands to be redirected.</para></sect3>
|
---|
113 |
|
---|
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>
|
---|
119 |
|
---|
120 | <sect3><title>zipgrep</title>
|
---|
121 | <para><command>zipgrep</command> is a grep for <filename>ZIP</filename>
|
---|
122 | archives.</para></sect3>
|
---|
123 |
|
---|
124 | <sect3><title>zipinfo</title>
|
---|
125 | <para><command>zipinfo</command> produces technical information about the files
|
---|
126 | in a <filename>ZIP</filename> archive, including file access permissions,
|
---|
127 | encryption status, type of compression, etc.</para></sect3>
|
---|
128 |
|
---|
129 | </sect2>
|
---|
130 |
|
---|
131 | </sect1>
|
---|