source: general/sysutils/unzip.xml@ c1ed818

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 6.0 6.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 c1ed818 was c1ed818, checked in by Randy McMurchy <randy@…>, 20 years ago

Corrected HTTP download URL's for Zip and Unzip

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

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