r5461 - branches/cross-lfs/BOOK/final-system/common

manuel at linuxfromscratch.org manuel at linuxfromscratch.org
Fri May 27 12:50:01 PDT 2005


Author: manuel
Date: 2005-05-27 13:50:00 -0600 (Fri, 27 May 2005)
New Revision: 5461

Modified:
   branches/cross-lfs/BOOK/final-system/common/gzip.xml
Log:
Indented gzip.xml

Modified: branches/cross-lfs/BOOK/final-system/common/gzip.xml
===================================================================
--- branches/cross-lfs/BOOK/final-system/common/gzip.xml	2005-05-27 19:37:55 UTC (rev 5460)
+++ branches/cross-lfs/BOOK/final-system/common/gzip.xml	2005-05-27 19:50:00 UTC (rev 5461)
@@ -7,57 +7,72 @@
 ]>
 
 <sect1 id="ch-system-gzip" role="wrap">
-<title>Gzip-&gzip-version;</title>
-<?dbhtml filename="gzip.html"?>
+  <?dbhtml filename="gzip.html"?>
 
-<indexterm zone="ch-system-gzip"><primary sortas="a-Gzip">Gzip</primary></indexterm>
+  <title>Gzip-&gzip-version;</title>
 
-<sect2 role="package"><title/>
-<para>The Gzip package contains programs for compressing and decompressing
-files.</para>
+  <indexterm zone="ch-system-gzip">
+    <primary sortas="a-Gzip">Gzip</primary>
+  </indexterm>
 
-<segmentedlist>
-<segtitle>&buildtime;</segtitle>
-<segtitle>&diskspace;</segtitle>
-<seglistitem><seg>0.1 SBU</seg><seg>2.6 MB</seg></seglistitem>
-</segmentedlist>
+  <sect2 role="package">
+    <title/>
 
-<segmentedlist>
-<segtitle>&dependencies;</segtitle>
-<seglistitem><seg>Bash, Binutils, Coreutils, Diffutils,
-GCC, Glibc, Grep, Make, and Sed</seg></seglistitem>
-</segmentedlist>
-</sect2>
+    <para>The Gzip package contains programs for compressing and decompressing
+    files.</para>
 
-<sect2 role="installation">
-<title>Installation of Gzip</title>
+    <segmentedlist>
+      <segtitle>&buildtime;</segtitle>
+      <segtitle>&diskspace;</segtitle>
 
-<para>The following patch fixes two security vulnerabilities in gzip: 
-1 - A path traversal bug when using the -N option (CAN-2005-1228)
-2 - race condition in the file permission restore code (CAN-2005-0998)</para>
+      <seglistitem>
+        <seg>Not checked yet</seg>
+        <seg>Not checked yet</seg>
+      </seglistitem>
+    </segmentedlist>
 
+    <segmentedlist>
+      <segtitle>&dependencies;</segtitle>
+
+      <seglistitem>
+        <seg>Bash, Binutils, Coreutils, Diffutils,
+        GCC, Glibc, Grep, Make, and Sed</seg>
+      </seglistitem>
+    </segmentedlist>
+
+  </sect2>
+
+  <sect2 role="installation">
+    <title>Installation of Gzip</title>
+
+    <para>The following patch fixes two security vulnerabilities in Gzip.
+    First, a path traversal bug when using the <option>-N</option> option
+    (CAN-2005-1228) Second, a race condition in the file permission restore
+    code (CAN-2005-0998)</para>
+
 <screen><userinput>patch -Np1 -i ../&gzip-security_fix-patch;</userinput></screen>
 
-<para>Prepare Gzip for compilation:</para>
+    <para>Prepare Gzip for compilation:</para>
 
 <screen><userinput>./configure --prefix=/usr</userinput></screen>
 
-<para>The <command>gzexe</command> script has the location of the
-<command>gzip</command> binary hard-wired into it. Because the
-location of the binary is changed later, the following command ensures
-that the new location gets placed into the script:</para>
+    <para>The <command>gzexe</command> script has the location of the
+    <command>gzip</command> binary hard-wired into it. Because the
+    location of the binary is changed later, the following command ensures
+    that the new location gets placed into the script:</para>
 
 <screen><userinput>sed -i 's@"BINDIR"@/bin at g' gzexe.in</userinput></screen>
 
-<para>Compile the package:</para>
+    <para>Compile the package:</para>
 
 <screen><userinput>make</userinput></screen>
 
-<para>Install the package:</para>
+    <para>Install the package:</para>
 
 <screen><userinput>make install</userinput></screen>
 
-<para>Move the programs to the <filename class="directory">/bin</filename> directory:</para>
+    <para>Move the programs to the <filename class="directory">/bin</filename>
+    directory:</para>
 
 <screen><userinput>mv /usr/bin/gzip /bin
 rm /usr/bin/{gunzip,zcat}
@@ -65,141 +80,174 @@
 ln -s gzip /bin/zcat
 ln -s gunzip /bin/uncompress</userinput></screen>
 
+  </sect2>
 
-</sect2>
+  <sect2 id="contents-gzip" role="content">
+    <title>Contents of Gzip</title>
 
+    <segmentedlist>
+      <segtitle>Installed programs</segtitle>
 
-<sect2 id="contents-gzip" role="content"><title>Contents of Gzip</title>
+      <seglistitem>
+        <seg>gunzip (link to gzip), gzexe, gzip, uncompress (link to gunzip),
+        zcat (link to gzip), zcmp, zdiff, zegrep, zfgrep, zforce, zgrep, zless,
+        zmore, and znew</seg>
+      </seglistitem>
+    </segmentedlist>
 
-<segmentedlist>
-<segtitle>Installed programs</segtitle>
-<seglistitem><seg>gunzip (link to gzip), gzexe,
-gzip, uncompress (link to gunzip), zcat (link to gzip), zcmp, zdiff,
-zegrep, zfgrep, zforce, zgrep, zless, zmore, and znew</seg></seglistitem>
-</segmentedlist>
+    <variablelist>
+      <bridgehead renderas="sect3">Short Descriptions</bridgehead>
+      <?dbfo list-presentation="list"?>
+      <?dbhtml list-presentation="table"?>
 
-<variablelist><bridgehead renderas="sect3">Short Descriptions</bridgehead>
-<?dbfo list-presentation="list"?>
-<?dbhtml list-presentation="table"?>
+      <varlistentry id="gunzip">
+        <term><command>gunzip</command></term>
+        <listitem>
+          <para>Decompresses gzipped files</para>
+          <indexterm zone="ch-system-gzip gunzip">
+            <primary sortas="b-gunzip">gunzip</primary>
+          </indexterm>
+        </listitem>
+      </varlistentry>
 
-<varlistentry id="gunzip">
-<term><command>gunzip</command></term>
-<listitem>
-<para>Decompresses gzipped files</para>
-<indexterm zone="ch-system-gzip gunzip"><primary sortas="b-gunzip">gunzip</primary></indexterm>
-</listitem>
-</varlistentry>
+      <varlistentry id="gzexe">
+        <term><command>gzexe</command></term>
+        <listitem>
+          <para>Creates self-uncompressing executable files</para>
+          <indexterm zone="ch-system-gzip gzexe">
+            <primary sortas="b-gzexe">gzexe</primary>
+          </indexterm>
+        </listitem>
+      </varlistentry>
 
-<varlistentry id="gzexe">
-<term><command>gzexe</command></term>
-<listitem>
-<para>Creates self-uncompressing executable files</para>
-<indexterm zone="ch-system-gzip gzexe"><primary sortas="b-gzexe">gzexe</primary></indexterm>
-</listitem>
-</varlistentry>
+      <varlistentry id="gzip">
+        <term><command>gzip</command></term>
+        <listitem>
+          <para>Compresses the given files using Lempel-Ziv (LZ77) coding</para>
+          <indexterm zone="ch-system-gzip gzip">
+            <primary sortas="b-gzip">gzip</primary>
+          </indexterm>
+        </listitem>
+      </varlistentry>
 
-<varlistentry id="gzip">
-<term><command>gzip</command></term>
-<listitem>
-<para>Compresses the given files using Lempel-Ziv (LZ77) coding</para>
-<indexterm zone="ch-system-gzip gzip"><primary sortas="b-gzip">gzip</primary></indexterm>
-</listitem>
-</varlistentry>
+      <varlistentry id="uncompress">
+        <term><command>uncompress</command></term>
+        <listitem>
+          <para>Decompresses compressed files</para>
+          <indexterm zone="ch-system-gzip uncompress">
+            <primary sortas="b-uncompress">uncompress</primary>
+          </indexterm>
+        </listitem>
+      </varlistentry>
 
-<varlistentry id="uncompress">
-<term><command>uncompress</command></term>
-<listitem>
-<para>Decompresses compressed files</para>
-<indexterm zone="ch-system-gzip uncompress"><primary sortas="b-uncompress">uncompress</primary></indexterm>
-</listitem>
-</varlistentry>
+      <varlistentry id="zcat">
+        <term><command>zcat</command></term>
+        <listitem>
+          <para>Uncompresses the given gzipped files to standard output</para>
+          <indexterm zone="ch-system-gzip zcat">
+            <primary sortas="b-zcat">zcat</primary>
+          </indexterm>
+        </listitem>
+      </varlistentry>
 
-<varlistentry id="zcat">
-<term><command>zcat</command></term>
-<listitem>
-<para>Uncompresses the given gzipped files to standard output</para>
-<indexterm zone="ch-system-gzip zcat"><primary sortas="b-zcat">zcat</primary></indexterm>
-</listitem>
-</varlistentry>
+      <varlistentry id="zcmp">
+        <term><command>zcmp</command></term>
+        <listitem>
+          <para>Runs <command>cmp</command> on gzipped files</para>
+          <indexterm zone="ch-system-gzip zcmp">
+            <primary sortas="b-zcmp">zcmp</primary>
+          </indexterm>
+        </listitem>
+      </varlistentry>
 
-<varlistentry id="zcmp">
-<term><command>zcmp</command></term>
-<listitem>
-<para>Runs <command>cmp</command> on gzipped files</para>
-<indexterm zone="ch-system-gzip zcmp"><primary sortas="b-zcmp">zcmp</primary></indexterm>
-</listitem>
-</varlistentry>
+      <varlistentry id="zdiff">
+        <term><command>zdiff</command></term>
+        <listitem>
+          <para>Runs <command>diff</command> on gzipped files</para>
+          <indexterm zone="ch-system-gzip zdiff">
+            <primary sortas="b-zdiff">zdiff</primary>
+          </indexterm>
+        </listitem>
+      </varlistentry>
 
-<varlistentry id="zdiff">
-<term><command>zdiff</command></term>
-<listitem>
-<para>Runs <command>diff</command> on gzipped files</para>
-<indexterm zone="ch-system-gzip zdiff"><primary sortas="b-zdiff">zdiff</primary></indexterm>
-</listitem>
-</varlistentry>
+      <varlistentry id="zegrep">
+        <term><command>zegrep</command></term>
+        <listitem>
+          <para>Runs <command>egrep</command> on gzipped files</para>
+          <indexterm zone="ch-system-gzip zegrep">
+            <primary sortas="b-zegrep">zegrep</primary>
+          </indexterm>
+        </listitem>
+      </varlistentry>
 
-<varlistentry id="zegrep">
-<term><command>zegrep</command></term>
-<listitem>
-<para>Runs <command>egrep</command> on gzipped files</para>
-<indexterm zone="ch-system-gzip zegrep"><primary sortas="b-zegrep">zegrep</primary></indexterm>
-</listitem>
-</varlistentry>
+      <varlistentry id="zfgrep">
+        <term><command>zfgrep</command></term>
+        <listitem>
+          <para>Runs <command>fgrep</command> on gzipped files</para>
+          <indexterm zone="ch-system-gzip zfgrep">
+            <primary sortas="b-zfgrep">zfgrep</primary>
+          </indexterm>
+        </listitem>
+      </varlistentry>
 
-<varlistentry id="zfgrep">
-<term><command>zfgrep</command></term>
-<listitem>
-<para>Runs <command>fgrep</command> on gzipped files</para>
-<indexterm zone="ch-system-gzip zfgrep"><primary sortas="b-zfgrep">zfgrep</primary></indexterm>
-</listitem>
-</varlistentry>
+      <varlistentry id="zforce">
+        <term><command>zforce</command></term>
+        <listitem>
+          <para>Forces a <filename class="extension">.gz</filename> extension on
+          all given files that are gzipped files, so that <command>gzip</command>
+          will not compress them again; this can be useful when file names were
+          truncated during a file transfer</para>
+          <indexterm zone="ch-system-gzip zforce">
+            <primary sortas="b-zforce">zforce</primary>
+          </indexterm>
+        </listitem>
+      </varlistentry>
 
-<varlistentry id="zforce">
-<term><command>zforce</command></term>
-<listitem>
-<para>Forces a <filename class="extension">.gz</filename> extension on all given files
-that are gzipped files, so that <command>gzip</command> will not compress them again; this can be
-useful when file names were truncated during a file transfer</para>
-<indexterm zone="ch-system-gzip zforce"><primary sortas="b-zforce">zforce</primary></indexterm>
-</listitem>
-</varlistentry>
+      <varlistentry id="zgrep">
+        <term><command>zgrep</command></term>
+        <listitem>
+          <para>Runs <command>grep</command> on gzipped files</para>
+          <indexterm zone="ch-system-gzip zgrep">
+            <primary sortas="b-zgrep">zgrep</primary>
+          </indexterm>
+        </listitem>
+      </varlistentry>
 
-<varlistentry id="zgrep">
-<term><command>zgrep</command></term>
-<listitem>
-<para>Runs <command>grep</command> on gzipped files</para>
-<indexterm zone="ch-system-gzip zgrep"><primary sortas="b-zgrep">zgrep</primary></indexterm>
-</listitem>
-</varlistentry>
+      <varlistentry id="zless">
+        <term><command>zless</command></term>
+        <listitem>
+          <para>Runs <command>less</command> on gzipped files</para>
+          <indexterm zone="ch-system-gzip zless">
+            <primary sortas="b-zless">zless</primary>
+          </indexterm>
+        </listitem>
+      </varlistentry>
 
-<varlistentry id="zless">
-<term><command>zless</command></term>
-<listitem>
-<para>Runs <command>less</command> on gzipped files</para>
-<indexterm zone="ch-system-gzip zless"><primary sortas="b-zless">zless</primary></indexterm>
-</listitem>
-</varlistentry>
+      <varlistentry id="zmore">
+        <term><command>zmore</command></term>
+        <listitem>
+          <para>Runs <command>more</command> on gzipped files</para>
+          <indexterm zone="ch-system-gzip zmore">
+            <primary sortas="b-zmore">zmore</primary>
+          </indexterm>
+        </listitem>
+      </varlistentry>
 
-<varlistentry id="zmore">
-<term><command>zmore</command></term>
-<listitem>
-<para>Runs <command>more</command> on gzipped files</para>
-<indexterm zone="ch-system-gzip zmore"><primary sortas="b-zmore">zmore</primary></indexterm>
-</listitem>
-</varlistentry>
+      <varlistentry id="znew">
+        <term><command>znew</command></term>
+        <listitem>
+          <para>Re-compresses files from <command>compress</command> format to
+          <command>gzip</command> format—<filename
+          class="extension">.Z</filename> to <filename
+          class="extension">.gz</filename></para>
+          <indexterm zone="ch-system-gzip znew">
+            <primary sortas="b-znew">znew</primary>
+          </indexterm>
+        </listitem>
+      </varlistentry>
 
-<varlistentry id="znew">
-<term><command>znew</command></term>
-<listitem>
-<para>Re-compresses files from <command>compress</command> format to
-<command>gzip</command> format—<filename class="extension">.Z</filename>
-to <filename class="extension">.gz</filename></para>
-<indexterm zone="ch-system-gzip znew"><primary sortas="b-znew">znew</primary></indexterm>
-</listitem>
-</varlistentry>
-</variablelist>
+    </variablelist>
 
-</sect2>
+  </sect2>
 
 </sect1>
-




More information about the lfs-book mailing list