source: general/sysutils/unzip.xml@ cdbfae1b

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 6.2 6.2.0 6.2.0-rc1 6.2.0-rc2 6.3 6.3-rc1 6.3-rc2 6.3-rc3 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since cdbfae1b was cdbfae1b, checked in by Tushar Teredesai <tushar@…>, 18 years ago

Update unzip to allow files upto 4 GB

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@5574 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 7.8 KB
RevLine 
[52d29f7]1<?xml version="1.0" encoding="ISO-8859-1"?>
[ff769b8c]2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
3 "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
[52d29f7]4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
[c88ffaa]7 <!ENTITY unzip-download-http "http://www.mirrorservice.org/sites/ftp.info-zip.org/pub/infozip/src/unzip552.tar.gz">
[9c90b1b]8 <!ENTITY unzip-download-ftp "ftp://ftp.info-zip.org/pub/infozip/src/unzip552.tar.gz">
9 <!ENTITY unzip-md5sum "9d23919999d6eac9217d1f41472034a9">
10 <!ENTITY unzip-size "1.1 MB">
11 <!ENTITY unzip-buildsize "7.2 MB">
12 <!ENTITY unzip-time "0.1 SBU">
[52d29f7]13]>
14
[5c5cdbc]15<sect1 id="unzip" xreflabel="UnZip-&unzip-version;">
[c88ffaa]16 <?dbhtml filename="unzip.html"?>
17
18 <sect1info>
19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
[56762b82]21 <keywordset>
22 <keyword role="package">unzip-&unzip-version;.tar</keyword>
[22ac237]23 <keyword role="ftpdir">unzip</keyword>
[56762b82]24 </keywordset>
[c88ffaa]25 </sect1info>
26
27 <title>UnZip-&unzip-version;</title>
28
29 <indexterm zone="unzip">
30 <primary sortas="a-UnZip">UnZip</primary>
31 </indexterm>
32
33 <sect2 role="package">
34 <title>Introduction to UnZip</title>
35
[539ace5]36 <para>The <application>UnZip</application> package contains
[9c90b1b]37 <filename>ZIP</filename> extraction utilities. These are useful for
38 extracting files from <filename>ZIP</filename> archives.
39 <filename>ZIP</filename> archives are created with
40 <application>PKZIP</application> or <application>Info-ZIP</application>
41 utilities, primarily in a DOS environment.</para>
42
43 <caution>
44 <para>The <application>UnZip</application> package has some locale
45 related issues. For a full explanation of the issues and some possible
46 solutions, see the <xref linkend="locale-unzip"/> section of the
47 <xref linkend="locale-issues"/>.</para>
48 </caution>
[c88ffaa]49
50 <bridgehead renderas="sect3">Package Information</bridgehead>
51 <itemizedlist spacing="compact">
52 <listitem>
53 <para>Download (HTTP): <ulink url="&unzip-download-http;"/></para>
54 </listitem>
55 <listitem>
56 <para>Download (FTP): <ulink url="&unzip-download-ftp;"/></para>
57 </listitem>
58 <listitem>
59 <para>Download MD5 sum: &unzip-md5sum;</para>
60 </listitem>
61 <listitem>
62 <para>Download size: &unzip-size;</para>
63 </listitem>
64 <listitem>
65 <para>Estimated disk space required: &unzip-buildsize;</para>
66 </listitem>
67 <listitem>
68 <para>Estimated build time: &unzip-time;</para>
69 </listitem>
70 </itemizedlist>
71
72 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
73 <itemizedlist spacing='compact'>
74 <listitem>
[539ace5]75 <para>Required patch: <ulink
[c88ffaa]76 url="&patch-root;/unzip-&unzip-version;-fix_Makefile-1.patch"/></para>
77 </listitem>
78 <listitem>
79 <para>Required patch: <ulink
80 url="&patch-root;/unzip-&unzip-version;-fix_libz-1.patch"/></para>
81 </listitem>
82 <listitem>
83 <para>Recommended patch: <ulink
84 url="&patch-root;/unzip-&unzip-version;-dont_make_noise-1.patch"/></para>
85 </listitem>
86 </itemizedlist>
87
88 </sect2>
89
90 <sect2 role="installation">
91 <title>Installation of UnZip</title>
92
93 <para>Install <application>UnZip</application> by running the following
94 commands:</para>
95
96<screen><userinput>patch -Np1 -i ../unzip-&unzip-version;-fix_Makefile-1.patch &amp;&amp;
[014d11ad]97patch -Np1 -i ../unzip-&unzip-version;-fix_libz-1.patch &amp;&amp;
98patch -Np1 -i ../unzip-&unzip-version;-dont_make_noise-1.patch &amp;&amp;
[c88ffaa]99cp -v unix/Makefile . &amp;&amp;
[cdbfae1b]100make prefix=/usr LOCAL_UNZIP=-D_FILE_OFFSET_BITS=64 linux &amp;&amp;
101make prefix=/usr LOCAL_UNZIP=-D_FILE_OFFSET_BITS=64 linux_shlibz</userinput></screen>
[c88ffaa]102
[bccbdaea]103 <para>To test the results, issue: <command>LD_LIBRARY_PATH=$PWD
[c88ffaa]104 make check</command>.</para>
105
106 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
107
[cdbfae1b]108<screen role="root"><userinput>make prefix=/usr install &amp;&amp;
[c88ffaa]109cp -v -d libunzip.so* /usr/lib</userinput></screen>
110
111 </sect2>
112
113 <sect2 role="commands">
114 <title>Command Explanations</title>
115
[cdbfae1b]116 <para><parameter>linux</parameter>:
117 This target in the <filename>Makefile</filename> makes assumptions
118 that are useful for a Linux system when compiling the executables.
119 To obtain alternatives to this target, use <command>make list</command></para>
120
121 <para><parameter>LOCAL_UNZIP=...</parameter>:
122 This sets the compilation flags to allow <application>UnZip</application>
123 to handle files upto 4 GB.</para>
[c88ffaa]124
125 <para><command>make ... linux_shlibz</command>: Build shared
[9c90b1b]126 <filename>libunzip</filename> and link <application>UnZip</application>
127 against it and <application>zlib</application>.</para>
[c88ffaa]128
129 </sect2>
130
131 <sect2 role="content">
132 <title>Contents</title>
133
134 <segmentedlist>
135 <segtitle>Installed Programs</segtitle>
136 <segtitle>Installed Library</segtitle>
137 <segtitle>Installed Directories</segtitle>
138
139 <seglistitem>
140 <seg>funzip, unzip, unzipfsx, zipgrep, and zipinfo</seg>
141 <seg>libunzip.so</seg>
142 <seg>None</seg>
143 </seglistitem>
144 </segmentedlist>
145
146 <variablelist>
147 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
148 <?dbfo list-presentation="list"?>
149 <?dbhtml list-presentation="table"?>
150
151 <varlistentry id="funzip">
152 <term><command>funzip</command></term>
153 <listitem>
[539ace5]154 <para>allows the output of <command>unzip</command> commands to be
[c88ffaa]155 redirected.</para>
156 <indexterm zone="unzip funzip">
157 <primary sortas="b-funzip">funzip</primary>
158 </indexterm>
159 </listitem>
160 </varlistentry>
161
162 <varlistentry id="unzip-prog">
163 <term><command>unzip</command></term>
164 <listitem>
[0619e6d]165 <para>lists, tests or extracts files from a <filename>ZIP</filename>
[c88ffaa]166 archive.</para>
167 <indexterm zone="unzip unzip-prog">
168 <primary sortas="b-unzip">unzip</primary>
169 </indexterm>
170 </listitem>
171 </varlistentry>
172
173 <varlistentry id="unzipfsx">
174 <term><command>unzipfsx</command></term>
175 <listitem>
[539ace5]176 <para>is a self-extracting stub that can be prepended to a
[9c90b1b]177 <filename>ZIP</filename> archive. Files in this format allow the
178 recipient to decompress the archive without installing
[c88ffaa]179 <application>UnZip</application>.</para>
180 <indexterm zone="unzip unzipfsx">
181 <primary sortas="b-unzipfsx">unzipfsx</primary>
182 </indexterm>
183 </listitem>
184 </varlistentry>
185
186 <varlistentry id="zipgrep">
187 <term><command>zipgrep</command></term>
188 <listitem>
[539ace5]189 <para>searches files in a <filename>ZIP</filename> archive for
[c88ffaa]190 lines matching a pattern.</para>
191 <indexterm zone="unzip zipgrep">
192 <primary sortas="b-zipgrep">zipgrep</primary>
193 </indexterm>
194 </listitem>
195 </varlistentry>
196
197 <varlistentry id="zipinfo">
198 <term><command>zipinfo</command></term>
199 <listitem>
[539ace5]200 <para>produces technical information about the files in a
201 <filename>ZIP</filename> archive, including file access permissions,
[c88ffaa]202 encryption status, type of compression, etc.</para>
203 <indexterm zone="unzip zipinfo">
204 <primary sortas="b-zipinfo">zipinfo</primary>
205 </indexterm>
206 </listitem>
207 </varlistentry>
208
209 <varlistentry id="libunzip">
210 <term><filename class='libraryfile'>libunzip.so</filename></term>
211 <listitem>
[539ace5]212 <para>contains the API functions required by the
[c88ffaa]213 <application>UnZip</application> programs.</para>
214 <indexterm zone="unzip libunzip">
215 <primary sortas="c-libunzip">libunzip.so</primary>
216 </indexterm>
217 </listitem>
218 </varlistentry>
219
220 </variablelist>
221
222 </sect2>
[f45b1953]223
224</sect1>
Note: See TracBrowser for help on using the repository browser.