[52d29f7] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[6732c094] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
[52d29f7] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
[8dfc5c3] | 7 | <!ENTITY zip-download-http "&sourceforge-dl;/infozip/zip30.tar.gz">
|
---|
| 8 | <!ENTITY zip-download-ftp "ftp://ftp.info-zip.org/pub/infozip/src/zip30.tgz">
|
---|
| 9 | <!ENTITY zip-md5sum "7b74551e63f8ee6aab6fbc86676c0d37">
|
---|
| 10 | <!ENTITY zip-size "1.1 MB">
|
---|
| 11 | <!ENTITY zip-buildsize "6.4 MB">
|
---|
| 12 | <!ENTITY zip-time "0.1 SBU">
|
---|
[52d29f7] | 13 | ]>
|
---|
| 14 |
|
---|
[5c5cdbc] | 15 | <sect1 id="zip" xreflabel="Zip-&zip-version;">
|
---|
[d0006cd8] | 16 | <?dbhtml filename="zip.html"?>
|
---|
| 17 |
|
---|
| 18 |
|
---|
| 19 | <title>Zip-&zip-version;</title>
|
---|
| 20 |
|
---|
| 21 | <indexterm zone="zip">
|
---|
| 22 | <primary sortas="a-Zip">Zip</primary>
|
---|
| 23 | </indexterm>
|
---|
| 24 |
|
---|
| 25 | <sect2 role="package">
|
---|
| 26 | <title>Introduction to Zip</title>
|
---|
| 27 |
|
---|
[b1532549] | 28 | <para>
|
---|
| 29 | The <application>Zip</application> package contains
|
---|
| 30 | <application>Zip</application> utilities. These
|
---|
| 31 | are useful for compressing files into <filename>ZIP</filename>
|
---|
| 32 | archives.
|
---|
| 33 | </para>
|
---|
[a8d3d55a] | 34 |
|
---|
[9c87711] | 35 | &lfs113_checked;
|
---|
[d0006cd8] | 36 |
|
---|
| 37 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 38 | <itemizedlist spacing="compact">
|
---|
| 39 | <listitem>
|
---|
[b1532549] | 40 | <para>
|
---|
| 41 | Download (HTTP): <ulink url="&zip-download-http;"/>
|
---|
| 42 | </para>
|
---|
[d0006cd8] | 43 | </listitem>
|
---|
| 44 | <listitem>
|
---|
[b1532549] | 45 | <para>
|
---|
| 46 | Download (FTP): <ulink url="&zip-download-ftp;"/>
|
---|
| 47 | </para>
|
---|
[d0006cd8] | 48 | </listitem>
|
---|
| 49 | <listitem>
|
---|
[b1532549] | 50 | <para>
|
---|
| 51 | Download MD5 sum: &zip-md5sum;
|
---|
| 52 | </para>
|
---|
[d0006cd8] | 53 | </listitem>
|
---|
| 54 | <listitem>
|
---|
[b1532549] | 55 | <para>
|
---|
| 56 | Download size: &zip-size;
|
---|
| 57 | </para>
|
---|
[d0006cd8] | 58 | </listitem>
|
---|
| 59 | <listitem>
|
---|
[b1532549] | 60 | <para>
|
---|
| 61 | Estimated disk space required: &zip-buildsize;
|
---|
| 62 | </para>
|
---|
[d0006cd8] | 63 | </listitem>
|
---|
| 64 | <listitem>
|
---|
[b1532549] | 65 | <para>
|
---|
| 66 | Estimated build time: &zip-time;
|
---|
| 67 | </para>
|
---|
[d0006cd8] | 68 | </listitem>
|
---|
| 69 | </itemizedlist>
|
---|
| 70 |
|
---|
| 71 | </sect2>
|
---|
| 72 |
|
---|
| 73 | <sect2 role="installation">
|
---|
| 74 | <title>Installation of Zip</title>
|
---|
| 75 |
|
---|
[b1532549] | 76 | <para>
|
---|
| 77 | Install <application>Zip</application> by running the following
|
---|
| 78 | commands:
|
---|
| 79 | </para>
|
---|
[d0006cd8] | 80 |
|
---|
[792cb12e] | 81 | <screen><userinput>make -f unix/Makefile generic_gcc</userinput></screen>
|
---|
[d0006cd8] | 82 |
|
---|
[b1532549] | 83 | <para>
|
---|
| 84 | This package does not come with a test suite.
|
---|
| 85 | </para>
|
---|
[d0006cd8] | 86 |
|
---|
[b1532549] | 87 | <para>
|
---|
| 88 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 89 | </para>
|
---|
[d0006cd8] | 90 |
|
---|
[fc6725ee] | 91 | <screen role="root"><userinput>make prefix=/usr MANDIR=/usr/share/man/man1 -f unix/Makefile install</userinput></screen>
|
---|
[d0006cd8] | 92 |
|
---|
| 93 | </sect2>
|
---|
| 94 |
|
---|
| 95 | <sect2 role="commands">
|
---|
| 96 | <title>Command Explanations</title>
|
---|
| 97 |
|
---|
[b1532549] | 98 | <para>
|
---|
| 99 | <command>make prefix=/usr -f unix/Makefile install</command>: This
|
---|
| 100 | command overrides the <varname>prefix</varname> variable that is set to
|
---|
| 101 | <filename class='directory'>/usr/local</filename> in the
|
---|
| 102 | <filename>unix/Makefile</filename>.
|
---|
| 103 | Alternatives to <option>generic_gcc</option> can be seen with a
|
---|
| 104 | <command>make -f unix/Makefile list</command> command.
|
---|
| 105 | </para>
|
---|
[d0006cd8] | 106 |
|
---|
| 107 | </sect2>
|
---|
| 108 |
|
---|
| 109 | <sect2 role="content">
|
---|
| 110 | <title>Contents</title>
|
---|
| 111 |
|
---|
| 112 | <segmentedlist>
|
---|
| 113 | <segtitle>Installed Programs</segtitle>
|
---|
| 114 | <segtitle>Installed Libraries</segtitle>
|
---|
| 115 | <segtitle>Installed Directories</segtitle>
|
---|
| 116 |
|
---|
| 117 | <seglistitem>
|
---|
| 118 | <seg>zip, zipcloak, zipnote, and zipsplit</seg>
|
---|
| 119 | <seg>None</seg>
|
---|
| 120 | <seg>None</seg>
|
---|
| 121 | </seglistitem>
|
---|
| 122 | </segmentedlist>
|
---|
| 123 |
|
---|
| 124 | <variablelist>
|
---|
| 125 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 126 | <?dbfo list-presentation="list"?>
|
---|
| 127 | <?dbhtml list-presentation="table"?>
|
---|
| 128 |
|
---|
| 129 | <varlistentry id="zip-prog">
|
---|
| 130 | <term><command>zip</command></term>
|
---|
| 131 | <listitem>
|
---|
[b1532549] | 132 | <para>
|
---|
[4c24eb0a] | 133 | compresses files into a <filename>ZIP</filename> archive
|
---|
[b1532549] | 134 | </para>
|
---|
[d0006cd8] | 135 | <indexterm zone="zip zip-prog">
|
---|
| 136 | <primary sortas="b-zip">zip</primary>
|
---|
| 137 | </indexterm>
|
---|
| 138 | </listitem>
|
---|
| 139 | </varlistentry>
|
---|
| 140 |
|
---|
| 141 | <varlistentry id="zipcloak">
|
---|
| 142 | <term><command>zipcloak</command></term>
|
---|
| 143 | <listitem>
|
---|
[b1532549] | 144 | <para>
|
---|
| 145 | is a utility to encrypt and decrypt a <filename>ZIP</filename>
|
---|
[4c24eb0a] | 146 | archive
|
---|
[b1532549] | 147 | </para>
|
---|
[d0006cd8] | 148 | <indexterm zone="zip zipcloak">
|
---|
| 149 | <primary sortas="b-zipcloak">zipcloak</primary>
|
---|
| 150 | </indexterm>
|
---|
| 151 | </listitem>
|
---|
| 152 | </varlistentry>
|
---|
| 153 |
|
---|
| 154 | <varlistentry id="zipnote">
|
---|
| 155 | <term><command>zipnote</command></term>
|
---|
| 156 | <listitem>
|
---|
[b1532549] | 157 | <para>
|
---|
| 158 | reads or writes comments stored in a <filename>ZIP</filename>
|
---|
[4c24eb0a] | 159 | file
|
---|
[b1532549] | 160 | </para>
|
---|
[d0006cd8] | 161 | <indexterm zone="zip zipnote">
|
---|
| 162 | <primary sortas="b-zipnote">zipnote</primary>
|
---|
| 163 | </indexterm>
|
---|
| 164 | </listitem>
|
---|
| 165 | </varlistentry>
|
---|
| 166 |
|
---|
| 167 | <varlistentry id="zipsplit">
|
---|
| 168 | <term><command>zipsplit</command></term>
|
---|
| 169 | <listitem>
|
---|
[b1532549] | 170 | <para>
|
---|
| 171 | is a utility to split <filename>ZIP</filename> files into
|
---|
[4c24eb0a] | 172 | smaller files
|
---|
[b1532549] | 173 | </para>
|
---|
[d0006cd8] | 174 | <indexterm zone="zip zipsplit">
|
---|
| 175 | <primary sortas="b-zipsplit">zipsplit</primary>
|
---|
| 176 | </indexterm>
|
---|
| 177 | </listitem>
|
---|
| 178 | </varlistentry>
|
---|
| 179 |
|
---|
| 180 | </variablelist>
|
---|
| 181 |
|
---|
| 182 | </sect2>
|
---|
[f45b1953] | 183 |
|
---|
| 184 | </sect1>
|
---|