Changeset c88ffaa for general/sysutils/unzip.xml
- Timestamp:
- 05/07/2005 10:53:26 AM (19 years ago)
- Branches:
- 10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 6.1, 6.2, 6.2.0, 6.2.0-rc1, 6.2.0-rc2, 6.3, 6.3-rc1, 6.3-rc2, 6.3-rc3, 7.10, 7.4, 7.5, 7.6, 7.6-blfs, 7.6-systemd, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gnome, kde5-13430, kde5-14269, kde5-14686, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, krejzi/svn, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, systemd-11177, systemd-13485, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
- Children:
- cbc6a3b
- Parents:
- 25959fa
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
general/sysutils/unzip.xml
r25959fa rc88ffaa 5 5 %general-entities; 6 6 7 <!ENTITY unzip-download-http "http://www.mirrorservice.org/sites/ftp.info-zip.org/pub/infozip/src/unzip552.tar.gz">8 <!ENTITY unzip-download-ftp "ftp://ftp.info-zip.org/pub/infozip/src/unzip552.tar.gz">9 <!ENTITY unzip-md5sum "9d23919999d6eac9217d1f41472034a9">10 <!ENTITY unzip-size "1.1 MB">11 <!ENTITY unzip-buildsize "7.2 MB">12 <!ENTITY unzip-time "0.09 SBU">7 <!ENTITY unzip-download-http "http://www.mirrorservice.org/sites/ftp.info-zip.org/pub/infozip/src/unzip552.tar.gz"> 8 <!ENTITY unzip-download-ftp "ftp://ftp.info-zip.org/pub/infozip/src/unzip552.tar.gz"> 9 <!ENTITY unzip-md5sum "9d23919999d6eac9217d1f41472034a9"> 10 <!ENTITY unzip-size "1.1 MB"> 11 <!ENTITY unzip-buildsize "7.2 MB"> 12 <!ENTITY unzip-time "0.09 SBU"> 13 13 ]> 14 14 15 15 <sect1 id="unzip" xreflabel="UnZip-&unzip-version;"> 16 <sect1info> 17 <othername>$LastChangedBy$</othername> 18 <date>$Date$</date> 19 </sect1info> 20 <?dbhtml filename="unzip.html"?> 21 <title>UnZip-&unzip-version;</title> 22 <indexterm zone="unzip"> 23 <primary sortas="a-UnZip">UnZip</primary></indexterm> 24 25 <sect2> 26 <title>Introduction to <application>UnZip</application></title> 27 28 <para>The <application>UnZip</application> package contains 29 <filename>ZIP</filename> extraction utilities. These are useful for extracting 30 files from <filename>ZIP</filename> archives. <filename>ZIP</filename> archives 31 are created with <application>PKZIP</application> or 32 <application>Info-ZIP</application> utilities primarily in a 33 <acronym>DOS</acronym> environment. 34 </para> 35 36 <sect3><title>Package information</title> 37 <itemizedlist spacing='compact'> 38 <listitem><para>Download (HTTP): <ulink 39 url="&unzip-download-http;"/></para></listitem> 40 <listitem><para>Download (FTP): <ulink 41 url="&unzip-download-ftp;"/></para></listitem> 42 <listitem><para>Download MD5 sum: &unzip-md5sum;</para></listitem> 43 <listitem><para>Download size: &unzip-size;</para></listitem> 44 <listitem><para>Estimated disk space required: 45 &unzip-buildsize;</para></listitem> 46 <listitem><para>Estimated build time: 47 &unzip-time;</para></listitem></itemizedlist> 48 </sect3> 49 50 <sect3><title>Additional downloads</title> 51 <itemizedlist spacing='compact'> 52 <listitem><para>Required patch: <ulink 53 url="&patch-root;/unzip-&unzip-version;-fix_Makefile-1.patch"/></para> 54 </listitem> 55 <listitem><para>Required patch: <ulink 56 url="&patch-root;/unzip-&unzip-version;-fix_libz-1.patch"/></para> 57 </listitem> 58 <listitem><para>Recommended patch: <ulink 59 url="&patch-root;/unzip-&unzip-version;-dont_make_noise-1.patch"/></para> 60 </listitem></itemizedlist> 61 </sect3> 62 63 </sect2> 64 65 <sect2> 66 <title>Installation of <application>UnZip</application></title> 67 68 <para>Install <application>UnZip</application> by running the following 69 commands:</para> 70 71 <screen><userinput><command>patch -Np1 -i ../unzip-&unzip-version;-fix_Makefile-1.patch && 16 <?dbhtml filename="unzip.html"?> 17 18 <sect1info> 19 <othername>$LastChangedBy$</othername> 20 <date>$Date$</date> 21 </sect1info> 22 23 <title>UnZip-&unzip-version;</title> 24 25 <indexterm zone="unzip"> 26 <primary sortas="a-UnZip">UnZip</primary> 27 </indexterm> 28 29 <sect2 role="package"> 30 <title>Introduction to UnZip</title> 31 32 <para>The <application>UnZip</application> package contains 33 <filename>ZIP</filename> extraction utilities. These are useful for extracting 34 files from <filename>ZIP</filename> archives. <filename>ZIP</filename> 35 archives are created with <application>PKZIP</application> or 36 <application>Info-ZIP</application> utilities primarily in a DOS 37 environment. </para> 38 39 <bridgehead renderas="sect3">Package Information</bridgehead> 40 <itemizedlist spacing="compact"> 41 <listitem> 42 <para>Download (HTTP): <ulink url="&unzip-download-http;"/></para> 43 </listitem> 44 <listitem> 45 <para>Download (FTP): <ulink url="&unzip-download-ftp;"/></para> 46 </listitem> 47 <listitem> 48 <para>Download MD5 sum: &unzip-md5sum;</para> 49 </listitem> 50 <listitem> 51 <para>Download size: &unzip-size;</para> 52 </listitem> 53 <listitem> 54 <para>Estimated disk space required: &unzip-buildsize;</para> 55 </listitem> 56 <listitem> 57 <para>Estimated build time: &unzip-time;</para> 58 </listitem> 59 </itemizedlist> 60 61 <bridgehead renderas="sect3">Additional Downloads</bridgehead> 62 <itemizedlist spacing='compact'> 63 <listitem> 64 <para>Required patch: <ulink 65 url="&patch-root;/unzip-&unzip-version;-fix_Makefile-1.patch"/></para> 66 </listitem> 67 <listitem> 68 <para>Required patch: <ulink 69 url="&patch-root;/unzip-&unzip-version;-fix_libz-1.patch"/></para> 70 </listitem> 71 <listitem> 72 <para>Recommended patch: <ulink 73 url="&patch-root;/unzip-&unzip-version;-dont_make_noise-1.patch"/></para> 74 </listitem> 75 </itemizedlist> 76 77 </sect2> 78 79 <sect2 role="installation"> 80 <title>Installation of UnZip</title> 81 82 <para>Install <application>UnZip</application> by running the following 83 commands:</para> 84 85 <screen><userinput>patch -Np1 -i ../unzip-&unzip-version;-fix_Makefile-1.patch && 72 86 patch -Np1 -i ../unzip-&unzip-version;-fix_libz-1.patch && 73 87 patch -Np1 -i ../unzip-&unzip-version;-dont_make_noise-1.patch && 74 cp unix/Makefile . &&88 cp -v unix/Makefile . && 75 89 make prefix=/usr LOCAL_UNZIP=-DUSE_UNSHRINK linux && 76 make prefix=/usr LOCAL_UNZIP=-DUSE_UNSHRINK linux_shlibz</command></userinput></screen> 77 78 <para>To test the results, issue: <command>/sbin/ldconfig $PWD && make check</command>.</para> 79 80 <para>Now, as the root user:</para> 81 82 <screen><userinput role='root'><command>make prefix=/usr LOCAL_UNZIP=-DUSE_UNSHRINK install && 83 cp -v -d libunzip.so* /usr/lib</command></userinput></screen> 84 85 </sect2> 86 87 <sect2> 88 <title>Command explanations</title> 89 90 <para><command>make prefix=/usr LOCAL_UNZIP=-DUSE_UNSHRINK linux</command>: 91 This command overrides the <varname>prefix</varname> variable that is 92 set to <filename class="directory">/usr/local</filename> in the 93 <filename>Makefile</filename>, sets the <envar>LOCAL_UNZIP</envar> 94 environment variable to instruct <application>UnZip</application> to use 95 the shrinking algorithm based on the <acronym>LZW</acronym> compression 96 algorithm, and builds the executables for a Linux system. 97 The alternatives to 'linux' can be seen with a 98 <command>make list</command> command.</para> 99 100 <para><command>make ... linux_shlibz</command>: Build shared 101 <filename>libunzip</filename> and link <application>UnZip</application> against 102 it and <application>zlib</application>.</para> 103 104 </sect2> 105 106 <sect2> 107 <title>Contents</title> 108 109 <segmentedlist> 110 <segtitle>Installed Programs</segtitle> 111 <segtitle>Installed Library</segtitle> 112 <segtitle>Installed Directories</segtitle> 113 114 <seglistitem> 115 <seg>funzip, unzip, unzipfsx, zipgrep and zipinfo</seg> 116 <seg>libunzip.so</seg> 117 <seg>None</seg> 118 </seglistitem> 119 </segmentedlist> 120 121 <variablelist> 122 <bridgehead renderas="sect3">Short Descriptions</bridgehead> 123 <?dbfo list-presentation="list"?> 124 125 <varlistentry id="funzip"> 126 <term><command>funzip</command></term> 127 <listitem><para>allows the output of <command>unzip</command> commands to be 128 redirected.</para> 129 <indexterm zone="unzip funzip"> 130 <primary sortas="b-funzip">funzip</primary> 131 </indexterm></listitem> 132 </varlistentry> 133 134 <varlistentry id="unzip-prog"> 135 <term><command>unzip</command></term> 136 <listitem><para>lists, tests or extracts files from a <filename>ZIP</filename> 137 archive.</para> 138 <indexterm zone="unzip unzip-prog"> 139 <primary sortas="b-unzip">unzip</primary> 140 </indexterm></listitem> 141 </varlistentry> 142 143 <varlistentry id="unzipfsx"> 144 <term><command>unzipfsx</command></term> 145 <listitem><para>is a self-extracting stub that can be prepended to a 146 <filename>ZIP</filename> archive. Files in this format allow the recipient to 147 decompress the archive without installing 148 <application>UnZip</application>.</para> 149 <indexterm zone="unzip unzipfsx"> 150 <primary sortas="b-unzipfsx">unzipfsx</primary> 151 </indexterm></listitem> 152 </varlistentry> 153 154 <varlistentry id="zipgrep"> 155 <term><command>zipgrep</command></term> 156 <listitem><para>searches files in a <filename>ZIP</filename> archive for 157 lines matching a pattern.</para> 158 <indexterm zone="unzip zipgrep"> 159 <primary sortas="b-zipgrep">zipgrep</primary> 160 </indexterm></listitem> 161 </varlistentry> 162 163 <varlistentry id="zipinfo"> 164 <term><command>zipinfo</command></term> 165 <listitem><para>produces technical information about the files in a 166 <filename>ZIP</filename> archive, including file access permissions, 167 encryption status, type of compression, etc.</para> 168 <indexterm zone="unzip zipinfo"> 169 <primary sortas="b-zipinfo">zipinfo</primary> 170 </indexterm></listitem> 171 </varlistentry> 172 173 <varlistentry id="libunzip"> 174 <term><filename class='libraryfile'>libunzip.so</filename></term> 175 <listitem><para>contains the <acronym>API</acronym> functions required by the 176 <application>UnZip</application> programs.</para> 177 <indexterm zone="unzip libunzip"> 178 <primary sortas="c-libunzip">libunzip.so</primary> 179 </indexterm></listitem> 180 </varlistentry> 181 </variablelist> 182 183 </sect2> 90 make prefix=/usr LOCAL_UNZIP=-DUSE_UNSHRINK linux_shlibz</userinput></screen> 91 92 <para>To test the results, issue: <command>/sbin/ldconfig $PWD && 93 make check</command>.</para> 94 95 <para>Now, as the <systemitem class="username">root</systemitem> user:</para> 96 97 <screen role="root"><userinput>make prefix=/usr LOCAL_UNZIP=-DUSE_UNSHRINK install && 98 cp -v -d libunzip.so* /usr/lib</userinput></screen> 99 100 </sect2> 101 102 <sect2 role="commands"> 103 <title>Command Explanations</title> 104 105 <para><command>make prefix=/usr LOCAL_UNZIP=-DUSE_UNSHRINK linux</command>: 106 This command overrides the <varname>prefix</varname> variable that is 107 set to <filename class="directory">/usr/local</filename> in the 108 <filename>Makefile</filename>, sets the <envar>LOCAL_UNZIP</envar> 109 environment variable to instruct <application>UnZip</application> to use 110 the shrinking algorithm based on the LZW compression 111 algorithm, and builds the executables for a Linux system. 112 The alternatives to 'linux' can be seen with a 113 <command>make list</command> command.</para> 114 115 <para><command>make ... linux_shlibz</command>: Build shared 116 <filename>libunzip</filename> and link <application>UnZip</application> against 117 it and <application>zlib</application>.</para> 118 119 </sect2> 120 121 <sect2 role="content"> 122 <title>Contents</title> 123 124 <segmentedlist> 125 <segtitle>Installed Programs</segtitle> 126 <segtitle>Installed Library</segtitle> 127 <segtitle>Installed Directories</segtitle> 128 129 <seglistitem> 130 <seg>funzip, unzip, unzipfsx, zipgrep, and zipinfo</seg> 131 <seg>libunzip.so</seg> 132 <seg>None</seg> 133 </seglistitem> 134 </segmentedlist> 135 136 <variablelist> 137 <bridgehead renderas="sect3">Short Descriptions</bridgehead> 138 <?dbfo list-presentation="list"?> 139 <?dbhtml list-presentation="table"?> 140 141 <varlistentry id="funzip"> 142 <term><command>funzip</command></term> 143 <listitem> 144 <para>allows the output of <command>unzip</command> commands to be 145 redirected.</para> 146 <indexterm zone="unzip funzip"> 147 <primary sortas="b-funzip">funzip</primary> 148 </indexterm> 149 </listitem> 150 </varlistentry> 151 152 <varlistentry id="unzip-prog"> 153 <term><command>unzip</command></term> 154 <listitem> 155 <para>lists, tests or extracts files from a <filename>ZIP</filename> 156 archive.</para> 157 <indexterm zone="unzip unzip-prog"> 158 <primary sortas="b-unzip">unzip</primary> 159 </indexterm> 160 </listitem> 161 </varlistentry> 162 163 <varlistentry id="unzipfsx"> 164 <term><command>unzipfsx</command></term> 165 <listitem> 166 <para>is a self-extracting stub that can be prepended to a 167 <filename>ZIP</filename> archive. Files in this format allow the recipient to 168 decompress the archive without installing 169 <application>UnZip</application>.</para> 170 <indexterm zone="unzip unzipfsx"> 171 <primary sortas="b-unzipfsx">unzipfsx</primary> 172 </indexterm> 173 </listitem> 174 </varlistentry> 175 176 <varlistentry id="zipgrep"> 177 <term><command>zipgrep</command></term> 178 <listitem> 179 <para>searches files in a <filename>ZIP</filename> archive for 180 lines matching a pattern.</para> 181 <indexterm zone="unzip zipgrep"> 182 <primary sortas="b-zipgrep">zipgrep</primary> 183 </indexterm> 184 </listitem> 185 </varlistentry> 186 187 <varlistentry id="zipinfo"> 188 <term><command>zipinfo</command></term> 189 <listitem> 190 <para>produces technical information about the files in a 191 <filename>ZIP</filename> archive, including file access permissions, 192 encryption status, type of compression, etc.</para> 193 <indexterm zone="unzip zipinfo"> 194 <primary sortas="b-zipinfo">zipinfo</primary> 195 </indexterm> 196 </listitem> 197 </varlistentry> 198 199 <varlistentry id="libunzip"> 200 <term><filename class='libraryfile'>libunzip.so</filename></term> 201 <listitem> 202 <para>contains the API functions required by the 203 <application>UnZip</application> programs.</para> 204 <indexterm zone="unzip libunzip"> 205 <primary sortas="c-libunzip">libunzip.so</primary> 206 </indexterm> 207 </listitem> 208 </varlistentry> 209 210 </variablelist> 211 212 </sect2> 184 213 185 214 </sect1>
Note:
See TracChangeset
for help on using the changeset viewer.