glfs/general/sysutils/zip.xml

142 lines
4.4 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
"http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../../general.ent">
%general-entities;
<!ENTITY zip-download-http "http://www.mirrorservice.org/sites/ftp.info-zip.org/pub/infozip/src/zip231.tar.gz">
<!ENTITY zip-download-ftp "ftp://ftp.info-zip.org/pub/infozip/src/zip231.tar.gz">
<!ENTITY zip-md5sum "6bfc076664416251d7624ab3538d1cb9">
<!ENTITY zip-size "781 KB">
<!ENTITY zip-buildsize "4.1 MB">
<!ENTITY zip-time "0.04 SBU">
]>
<sect1 id="zip" xreflabel="Zip-&zip-version;">
<sect1info>
<othername>$LastChangedBy$</othername>
<date>$Date$</date>
</sect1info>
<?dbhtml filename="zip.html"?>
<title>Zip-&zip-version;</title>
<indexterm zone="zip">
<primary sortas="a-Zip">Zip</primary></indexterm>
<sect2>
<title>Introduction to <application>Zip</application></title>
<para>The <application>Zip</application> package contains
<application>Zip</application> utilities. These
are useful for compressing files into <filename>ZIP</filename> archives.</para>
<sect3><title>Package information</title>
<itemizedlist spacing='compact'>
<listitem><para>Download (HTTP): <ulink
url="&zip-download-http;"/></para></listitem>
<listitem><para>Download (FTP): <ulink
url="&zip-download-ftp;"/></para></listitem>
<listitem><para>Download MD5 sum: &zip-md5sum;</para></listitem>
<listitem><para>Download size: &zip-size;</para></listitem>
<listitem><para>Estimated disk space required:
&zip-buildsize;</para></listitem>
<listitem><para>Estimated build time:
&zip-time;</para></listitem></itemizedlist>
</sect3>
</sect2>
<sect2>
<title>Installation of <application>Zip</application></title>
<para>Install <application>Zip</application> by running the following
commands:</para>
<screen><userinput><command>sed -i -e 's@$(INSTALL) man/zip.1@$(INSTALL_PROGRAM) man/zip.1@' \
unix/Makefile &amp;&amp;
make prefix=/usr -f unix/Makefile generic_gcc</command></userinput></screen>
<para>Now, as the root user:</para>
<screen><userinput role='root'><command>make prefix=/usr -f unix/Makefile install</command></userinput></screen>
</sect2>
<sect2>
<title>Command explanations</title>
<para><command>sed -i -e ... unix/Makefile</command>: The
<filename>Makefile</filename> has a bug which causes the installation to fail.
This command fixes the problem.</para>
<para><command>make prefix=/usr -f unix/Makefile generic_gcc</command>: This
command overrides the <varname>prefix</varname> variable that is set to
<filename class='directory'>/usr/local</filename> in the
<filename>unix/Makefile</filename> which is used as a
<command>Makefile</command> and builds the executables for a Linux system. The
alternatives to 'generic_gcc' can be seen with a
<command>make -f unix/Makefile list</command> command.</para>
</sect2>
<sect2>
<title>Contents</title>
<segmentedlist>
<segtitle>Installed Programs</segtitle>
<segtitle>Installed Libraries</segtitle>
<segtitle>Installed Directories</segtitle>
<seglistitem>
<seg>zip, zipcloak, zipnote, zipsplit</seg>
<seg>None</seg>
<seg>None</seg>
</seglistitem>
</segmentedlist>
<variablelist>
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
<?dbfo list-presentation="list"?>
<varlistentry id="zip-prog">
<term><command>zip</command></term>
<listitem><para>compresses files into a <filename>ZIP</filename>
archive.</para>
<indexterm zone="zip zip-prog">
<primary sortas="b-zip">zip</primary>
</indexterm></listitem>
</varlistentry>
<varlistentry id="zipcloak">
<term><command>zipcloak</command></term>
<listitem><para>is disabled in this version of <application>Zip</application>.
It will display a message about how to support encryption by recompiling with
<filename>zcrypt27.zip</filename>.</para>
<indexterm zone="zip zipcloak">
<primary sortas="b-zipcloak">zipcloak</primary>
</indexterm></listitem>
</varlistentry>
<varlistentry id="zipnote">
<term><command>zipnote</command></term>
<listitem><para>reads or writes comments stored in a <filename>ZIP</filename>
file.</para>
<indexterm zone="zip zipnote">
<primary sortas="b-zipnote">zipnote</primary>
</indexterm></listitem>
</varlistentry>
<varlistentry id="zipsplit">
<term><command>zipsplit</command></term>
<listitem><para>is a utility to split <filename>ZIP</filename> files into
smaller files.</para>
<indexterm zone="zip zipsplit">
<primary sortas="b-zipsplit">zipsplit</primary>
</indexterm></listitem>
</varlistentry>
</variablelist>
</sect2>
</sect1>