2004-06-13 06:56:28 +08:00
|
|
|
<?xml version="1.0" encoding="ISO-8859-1"?>
|
2005-04-04 04:52:42 +08:00
|
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
|
|
|
"http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
2004-06-13 06:56:28 +08:00
|
|
|
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
|
|
|
%general-entities;
|
|
|
|
|
2005-03-18 05:53:41 +08:00
|
|
|
<!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">
|
2004-06-13 06:56:28 +08:00
|
|
|
]>
|
|
|
|
|
2003-09-27 00:42:15 +08:00
|
|
|
<sect1 id="zip" xreflabel="Zip-&zip-version;">
|
2004-08-10 12:23:09 +08:00
|
|
|
<sect1info>
|
2004-08-10 12:25:57 +08:00
|
|
|
<othername>$LastChangedBy$</othername>
|
|
|
|
<date>$Date$</date>
|
2004-08-10 12:23:09 +08:00
|
|
|
</sect1info>
|
2004-05-07 09:51:44 +08:00
|
|
|
<?dbhtml filename="zip.html"?>
|
2003-09-27 00:42:15 +08:00
|
|
|
<title>Zip-&zip-version;</title>
|
2005-03-18 05:53:41 +08:00
|
|
|
<indexterm zone="zip">
|
|
|
|
<primary sortas="a-Zip">Zip</primary></indexterm>
|
2002-07-08 04:28:42 +08:00
|
|
|
|
2004-06-13 06:56:28 +08:00
|
|
|
<sect2>
|
|
|
|
<title>Introduction to <application>Zip</application></title>
|
2004-10-08 03:25:23 +08:00
|
|
|
|
2004-06-13 06:56:28 +08:00
|
|
|
<para>The <application>Zip</application> package contains
|
|
|
|
<application>Zip</application> utilities. These
|
2004-10-08 03:25:23 +08:00
|
|
|
are useful for compressing files into <filename>ZIP</filename> archives.</para>
|
|
|
|
|
2004-06-13 06:56:28 +08:00
|
|
|
<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>
|
2005-02-08 10:34:15 +08:00
|
|
|
<listitem><para>Download MD5 sum: &zip-md5sum;</para></listitem>
|
2004-06-13 06:56:28 +08:00
|
|
|
<listitem><para>Download size: &zip-size;</para></listitem>
|
2005-01-11 01:48:41 +08:00
|
|
|
<listitem><para>Estimated disk space required:
|
2004-06-13 06:56:28 +08:00
|
|
|
&zip-buildsize;</para></listitem>
|
|
|
|
<listitem><para>Estimated build time:
|
|
|
|
&zip-time;</para></listitem></itemizedlist>
|
|
|
|
</sect3>
|
2004-10-08 03:25:23 +08:00
|
|
|
|
2004-06-13 06:56:28 +08:00
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2>
|
|
|
|
<title>Installation of <application>Zip</application></title>
|
2004-10-08 03:25:23 +08:00
|
|
|
|
|
|
|
<para>Install <application>Zip</application> by running the following
|
|
|
|
commands:</para>
|
|
|
|
|
2005-03-19 01:34:38 +08:00
|
|
|
<screen><userinput><command>sed -i -e 's@$(INSTALL) man/zip.1@$(INSTALL_PROGRAM) man/zip.1@' \
|
|
|
|
unix/Makefile &&
|
|
|
|
make prefix=/usr -f unix/Makefile generic_gcc</command></userinput></screen>
|
2005-03-18 05:53:41 +08:00
|
|
|
|
2005-04-10 19:11:35 +08:00
|
|
|
<para>This package does not come with a test suite.</para>
|
|
|
|
|
2005-03-18 05:53:41 +08:00
|
|
|
<para>Now, as the root user:</para>
|
|
|
|
|
2005-03-19 01:34:38 +08:00
|
|
|
<screen><userinput role='root'><command>make prefix=/usr -f unix/Makefile install</command></userinput></screen>
|
2004-10-08 03:25:23 +08:00
|
|
|
|
2004-06-13 06:56:28 +08:00
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2>
|
|
|
|
<title>Command explanations</title>
|
2004-10-08 03:25:23 +08:00
|
|
|
|
2005-03-19 01:34:38 +08:00
|
|
|
<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>
|
|
|
|
|
2004-10-08 03:25:23 +08:00
|
|
|
<para><command>make prefix=/usr -f unix/Makefile generic_gcc</command>: This
|
|
|
|
command overrides the <varname>prefix</varname> variable that is set to
|
2004-06-13 06:56:28 +08:00
|
|
|
<filename class='directory'>/usr/local</filename> in the
|
2004-10-08 03:25:23 +08:00
|
|
|
<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>
|
|
|
|
|
2004-06-13 06:56:28 +08:00
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2>
|
|
|
|
<title>Contents</title>
|
2004-10-08 03:25:23 +08:00
|
|
|
|
2005-03-18 05:53:41 +08:00
|
|
|
<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>
|
2004-10-08 03:25:23 +08:00
|
|
|
|
2004-06-13 06:56:28 +08:00
|
|
|
</sect2>
|
2002-07-08 04:28:42 +08:00
|
|
|
|
|
|
|
</sect1>
|