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