[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 |
|
---|
[4be62042] | 7 | <!ENTITY zip-download-http "http://www.mirrorservice.org/sites/ftp.info-zip.org/pub/infozip/src/zip231.tar.gz">
|
---|
| 8 | <!ENTITY zip-download-ftp "ftp://ftp.info-zip.org/pub/infozip/src/zip231.tar.gz">
|
---|
| 9 | <!ENTITY zip-md5sum "6bfc076664416251d7624ab3538d1cb9">
|
---|
| 10 | <!ENTITY zip-size "781 KB">
|
---|
| 11 | <!ENTITY zip-buildsize "4.1 MB">
|
---|
| 12 | <!ENTITY zip-time "0.04 SBU">
|
---|
[52d29f7] | 13 | ]>
|
---|
| 14 |
|
---|
[5c5cdbc] | 15 | <sect1 id="zip" xreflabel="Zip-&zip-version;">
|
---|
[a0f03b0] | 16 | <sect1info>
|
---|
[5cd0959d] | 17 | <othername>$LastChangedBy$</othername>
|
---|
| 18 | <date>$Date$</date>
|
---|
[a0f03b0] | 19 | </sect1info>
|
---|
[7f72cbf] | 20 | <?dbhtml filename="zip.html"?>
|
---|
[5c5cdbc] | 21 | <title>Zip-&zip-version;</title>
|
---|
[4be62042] | 22 | <indexterm zone="zip">
|
---|
| 23 | <primary sortas="a-Zip">Zip</primary></indexterm>
|
---|
[f45b1953] | 24 |
|
---|
[52d29f7] | 25 | <sect2>
|
---|
| 26 | <title>Introduction to <application>Zip</application></title>
|
---|
[c1ed818] | 27 |
|
---|
[52d29f7] | 28 | <para>The <application>Zip</application> package contains
|
---|
| 29 | <application>Zip</application> utilities. These
|
---|
[c1ed818] | 30 | are useful for compressing files into <filename>ZIP</filename> archives.</para>
|
---|
| 31 |
|
---|
[52d29f7] | 32 | <sect3><title>Package information</title>
|
---|
| 33 | <itemizedlist spacing='compact'>
|
---|
| 34 | <listitem><para>Download (HTTP): <ulink
|
---|
| 35 | url="&zip-download-http;"/></para></listitem>
|
---|
| 36 | <listitem><para>Download (FTP): <ulink
|
---|
| 37 | url="&zip-download-ftp;"/></para></listitem>
|
---|
[a31d341d] | 38 | <listitem><para>Download MD5 sum: &zip-md5sum;</para></listitem>
|
---|
[52d29f7] | 39 | <listitem><para>Download size: &zip-size;</para></listitem>
|
---|
[518538f] | 40 | <listitem><para>Estimated disk space required:
|
---|
[52d29f7] | 41 | &zip-buildsize;</para></listitem>
|
---|
| 42 | <listitem><para>Estimated build time:
|
---|
| 43 | &zip-time;</para></listitem></itemizedlist>
|
---|
| 44 | </sect3>
|
---|
[c1ed818] | 45 |
|
---|
[52d29f7] | 46 | </sect2>
|
---|
| 47 |
|
---|
| 48 | <sect2>
|
---|
| 49 | <title>Installation of <application>Zip</application></title>
|
---|
[c1ed818] | 50 |
|
---|
| 51 | <para>Install <application>Zip</application> by running the following
|
---|
| 52 | commands:</para>
|
---|
| 53 |
|
---|
[5e97b51] | 54 | <screen><userinput><command>sed -i -e 's@$(INSTALL) man/zip.1@$(INSTALL_PROGRAM) man/zip.1@' \
|
---|
| 55 | unix/Makefile &&
|
---|
| 56 | make prefix=/usr -f unix/Makefile generic_gcc</command></userinput></screen>
|
---|
[4be62042] | 57 |
|
---|
[b5e9b15e] | 58 | <para>This package does not come with a test suite.</para>
|
---|
| 59 |
|
---|
[4be62042] | 60 | <para>Now, as the root user:</para>
|
---|
| 61 |
|
---|
[5e97b51] | 62 | <screen><userinput role='root'><command>make prefix=/usr -f unix/Makefile install</command></userinput></screen>
|
---|
[c1ed818] | 63 |
|
---|
[52d29f7] | 64 | </sect2>
|
---|
| 65 |
|
---|
| 66 | <sect2>
|
---|
| 67 | <title>Command explanations</title>
|
---|
[c1ed818] | 68 |
|
---|
[5e97b51] | 69 | <para><command>sed -i -e ... unix/Makefile</command>: The
|
---|
| 70 | <filename>Makefile</filename> has a bug which causes the installation to fail.
|
---|
| 71 | This command fixes the problem.</para>
|
---|
| 72 |
|
---|
[c1ed818] | 73 | <para><command>make prefix=/usr -f unix/Makefile generic_gcc</command>: This
|
---|
| 74 | command overrides the <varname>prefix</varname> variable that is set to
|
---|
[52d29f7] | 75 | <filename class='directory'>/usr/local</filename> in the
|
---|
[c1ed818] | 76 | <filename>unix/Makefile</filename> which is used as a
|
---|
| 77 | <command>Makefile</command> and builds the executables for a Linux system. The
|
---|
| 78 | alternatives to 'generic_gcc' can be seen with a
|
---|
| 79 | <command>make -f unix/Makefile list</command> command.</para>
|
---|
| 80 |
|
---|
[52d29f7] | 81 | </sect2>
|
---|
| 82 |
|
---|
| 83 | <sect2>
|
---|
| 84 | <title>Contents</title>
|
---|
[c1ed818] | 85 |
|
---|
[4be62042] | 86 | <segmentedlist>
|
---|
| 87 | <segtitle>Installed Programs</segtitle>
|
---|
| 88 | <segtitle>Installed Libraries</segtitle>
|
---|
| 89 | <segtitle>Installed Directories</segtitle>
|
---|
| 90 |
|
---|
| 91 | <seglistitem>
|
---|
| 92 | <seg>zip, zipcloak, zipnote, zipsplit</seg>
|
---|
| 93 | <seg>None</seg>
|
---|
| 94 | <seg>None</seg>
|
---|
| 95 | </seglistitem>
|
---|
| 96 | </segmentedlist>
|
---|
| 97 |
|
---|
| 98 | <variablelist>
|
---|
| 99 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 100 | <?dbfo list-presentation="list"?>
|
---|
| 101 |
|
---|
| 102 | <varlistentry id="zip-prog">
|
---|
| 103 | <term><command>zip</command></term>
|
---|
| 104 | <listitem><para>compresses files into a <filename>ZIP</filename>
|
---|
| 105 | archive.</para>
|
---|
| 106 | <indexterm zone="zip zip-prog">
|
---|
| 107 | <primary sortas="b-zip">zip</primary>
|
---|
| 108 | </indexterm></listitem>
|
---|
| 109 | </varlistentry>
|
---|
| 110 |
|
---|
| 111 | <varlistentry id="zipcloak">
|
---|
| 112 | <term><command>zipcloak</command></term>
|
---|
| 113 | <listitem><para>is disabled in this version of <application>Zip</application>.
|
---|
| 114 | It will display a message about how to support encryption by recompiling with
|
---|
| 115 | <filename>zcrypt27.zip</filename>.</para>
|
---|
| 116 | <indexterm zone="zip zipcloak">
|
---|
| 117 | <primary sortas="b-zipcloak">zipcloak</primary>
|
---|
| 118 | </indexterm></listitem>
|
---|
| 119 | </varlistentry>
|
---|
| 120 |
|
---|
| 121 | <varlistentry id="zipnote">
|
---|
| 122 | <term><command>zipnote</command></term>
|
---|
| 123 | <listitem><para>reads or writes comments stored in a <filename>ZIP</filename>
|
---|
| 124 | file.</para>
|
---|
| 125 | <indexterm zone="zip zipnote">
|
---|
| 126 | <primary sortas="b-zipnote">zipnote</primary>
|
---|
| 127 | </indexterm></listitem>
|
---|
| 128 | </varlistentry>
|
---|
| 129 |
|
---|
| 130 | <varlistentry id="zipsplit">
|
---|
| 131 | <term><command>zipsplit</command></term>
|
---|
| 132 | <listitem><para>is a utility to split <filename>ZIP</filename> files into
|
---|
| 133 | smaller files.</para>
|
---|
| 134 | <indexterm zone="zip zipsplit">
|
---|
| 135 | <primary sortas="b-zipsplit">zipsplit</primary>
|
---|
| 136 | </indexterm></listitem>
|
---|
| 137 | </varlistentry>
|
---|
| 138 |
|
---|
| 139 | </variablelist>
|
---|
[c1ed818] | 140 |
|
---|
[52d29f7] | 141 | </sect2>
|
---|
[f45b1953] | 142 |
|
---|
| 143 | </sect1>
|
---|