r194 - in trunk/BOOK: chapter05 chapter06

manuel at linuxfromscratch.org manuel at linuxfromscratch.org
Mon Feb 14 12:20:33 PST 2005


Author: manuel
Date: 2005-02-14 13:20:32 -0700 (Mon, 14 Feb 2005)
New Revision: 194

Added:
   trunk/BOOK/chapter05/coreutils.xml
   trunk/BOOK/chapter05/diffutils.xml
   trunk/BOOK/chapter05/findutils.xml
   trunk/BOOK/chapter05/gawk.xml
   trunk/BOOK/chapter05/gettext.xml
   trunk/BOOK/chapter05/grep.xml
   trunk/BOOK/chapter05/make.xml
   trunk/BOOK/chapter05/sed.xml
   trunk/BOOK/chapter06/coreutils.xml
   trunk/BOOK/chapter06/diffutils.xml
   trunk/BOOK/chapter06/findutils.xml
   trunk/BOOK/chapter06/gawk.xml
   trunk/BOOK/chapter06/gettext.xml
   trunk/BOOK/chapter06/grep.xml
   trunk/BOOK/chapter06/make.xml
   trunk/BOOK/chapter06/sed.xml
Modified:
   trunk/BOOK/chapter05/chapter05.xml
   trunk/BOOK/chapter06/chapter06.xml
Log:
Added package files up to Gettext.

Modified: trunk/BOOK/chapter05/chapter05.xml
===================================================================
--- trunk/BOOK/chapter05/chapter05.xml	2005-02-14 09:33:20 UTC (rev 193)
+++ trunk/BOOK/chapter05/chapter05.xml	2005-02-14 20:20:32 UTC (rev 194)
@@ -21,7 +21,7 @@
 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="expect.xml"/>
 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="dejagnu.xml"/>
 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="binutils.xml"/>
-<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="gcc.xml"/><!--
+<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="gcc.xml"/>
 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="gawk.xml"/>
 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="coreutils.xml"/>
 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="diffutils.xml"/>
@@ -29,7 +29,7 @@
 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="make.xml"/>
 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="grep.xml"/>
 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="sed.xml"/>
-<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="gettext.xml"/>
+<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="gettext.xml"/><!--
 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="ncurses.xml"/>
 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="patch.xml"/>
 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="tar.xml"/>

Added: trunk/BOOK/chapter05/coreutils.xml
===================================================================
--- trunk/BOOK/chapter05/coreutils.xml	2005-02-14 09:33:20 UTC (rev 193)
+++ trunk/BOOK/chapter05/coreutils.xml	2005-02-14 20:20:32 UTC (rev 194)
@@ -0,0 +1,62 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
+  <!ENTITY % general-entities SYSTEM "../general.ent">
+  %general-entities;
+]>
+<sect1 id="ch-tools-coreutils" role="wrap">
+<title>Coreutils-&coreutils-version;</title>
+<?dbhtml filename="coreutils.html"?>
+
+<indexterm zone="ch-tools-coreutils">
+<primary sortas="a-Coreutils">Coreutils</primary>
+<secondary>tools</secondary></indexterm>
+
+<sect2 role="package"><title/>
+<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../chapter06/coreutils.xml" xpointer="xpointer(/sect1/sect2[1]/para[1])"/>
+
+<segmentedlist>
+<segtitle>&buildtime;</segtitle>
+<segtitle>&diskspace;</segtitle>
+<seglistitem><seg>?? SBU</seg><seg>?? MB</seg></seglistitem>
+</segmentedlist>
+
+<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../chapter06/coreutils.xml" xpointer="xpointer(/sect1/sect2[1]/segmentedlist[2])"/>
+
+</sect2>
+
+<sect2 role="installation">
+<title>Installation of Coreutils</title>
+
+<para>Amend <filename>Makefile.in</filename>:</para>
+
+<screen><userinput>sed -e 's/^CFLAGS .*$/& -pie -fpie/' -i src/Makefile.in</userinput></screen>
+
+<para>Prepare Coreutils for compilation:</para>
+
+<screen><userinput>env DEFAULT_POSIX2_VERSION=199209 \
+    ./configure --prefix=/tools ${disable_nls} </userinput></screen>
+
+<para>Compile the package:</para>
+
+<screen><userinput>make</userinput></screen>
+
+<para>To test the results, issue: <userinput>make
+RUN_EXPENSIVE_TESTS=yes check</userinput>.  The
+<parameter>RUN_EXPENSIVE_TESTS=yes</parameter> parameter tells the
+test suite to run several additional tests that are considered
+relatively expensive (in terms of CPU power and memory usage) on some
+platforms, but generally are not a problem on Linux.</para>
+
+<para>Install the package:</para>
+
+<screen><userinput>make install</userinput></screen>
+
+</sect2>
+
+<sect2 role="content"><title/>
+<para>Details on this package are located in <xref
+linkend="contents-coreutils" role="."/></para>
+</sect2>
+
+</sect1>
+


Property changes on: trunk/BOOK/chapter05/coreutils.xml
___________________________________________________________________
Name: svn:keywords
   + "Author Date Revision Id"

Added: trunk/BOOK/chapter05/diffutils.xml
===================================================================
--- trunk/BOOK/chapter05/diffutils.xml	2005-02-14 09:33:20 UTC (rev 193)
+++ trunk/BOOK/chapter05/diffutils.xml	2005-02-14 20:20:32 UTC (rev 194)
@@ -0,0 +1,56 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
+  <!ENTITY % general-entities SYSTEM "../general.ent">
+  %general-entities;
+]>
+<sect1 id="ch-tools-diffutils" role="wrap">
+<title>Diffutils-&diffutils-version;</title>
+<?dbhtml filename="diffutils.html"?>
+
+<indexterm zone="ch-tools-diffutils">
+<primary sortas="a-Diffutils">Diffutils</primary>
+<secondary>tools</secondary></indexterm>
+
+<sect2 role="package"><title/>
+<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../chapter06/diffutils.xml" xpointer="xpointer(/sect1/sect2[1]/para[1])"/>
+
+<segmentedlist>
+<segtitle>&buildtime;</segtitle>
+<segtitle>&diskspace;</segtitle>
+<seglistitem><seg>?? SBU</seg><seg>?? MB</seg></seglistitem>
+</segmentedlist>
+
+<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../chapter06/diffutils.xml" xpointer="xpointer(/sect1/sect2[1]/segmentedlist[2])"/>
+
+</sect2>
+
+<sect2 role="installation">
+<title>Installation of Diffutils</title>
+
+<para>Amend <filename>Makefile.in</filename>:</para>
+
+<screen><userinput>sed -e 's/^CFLAGS .*$/& -pie -fpie/' -i src/Makefile.in</userinput></screen>
+
+<para>Prepare Diffutils for compilation:</para>
+
+<screen><userinput>./configure --prefix=/tools ${disable_nls}</userinput></screen>
+
+<para>Compile the package:</para>
+
+<screen><userinput>make</userinput></screen>
+
+<para>This package does not come with a test suite.</para>
+
+<para>Install the package:</para>
+
+<screen><userinput>make install</userinput></screen>
+
+</sect2>
+
+<sect2 role="content"><title/>
+<para>Details on this package are located in <xref
+linkend="contents-diffutils" role="."/></para>
+</sect2>
+
+</sect1>
+


Property changes on: trunk/BOOK/chapter05/diffutils.xml
___________________________________________________________________
Name: svn:keywords
   + "Author Date Revision Id"

Added: trunk/BOOK/chapter05/findutils.xml
===================================================================
--- trunk/BOOK/chapter05/findutils.xml	2005-02-14 09:33:20 UTC (rev 193)
+++ trunk/BOOK/chapter05/findutils.xml	2005-02-14 20:20:32 UTC (rev 194)
@@ -0,0 +1,57 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
+  <!ENTITY % general-entities SYSTEM "../general.ent">
+  %general-entities;
+]>
+<sect1 id="ch-tools-findutils" role="wrap">
+<title>Findutils-&findutils-version;</title>
+<?dbhtml filename="findutils.html"?>
+
+<indexterm zone="ch-tools-findutils">
+<primary sortas="a-Findutils">Findutils</primary>
+<secondary>tools</secondary></indexterm>
+
+<sect2 role="package"><title/>
+<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../chapter06/findutils.xml" xpointer="xpointer(/sect1/sect2[1]/para[1])"/>
+
+<segmentedlist>
+<segtitle>&buildtime;</segtitle>
+<segtitle>&diskspace;</segtitle>
+<seglistitem><seg>?? SBU</seg><seg>?? MB</seg></seglistitem>
+</segmentedlist>
+
+<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../chapter06/findutils.xml" xpointer="xpointer(/sect1/sect2[1]/segmentedlist[2])"/>
+
+</sect2>
+
+<sect2 role="installation">
+<title>Installation of Findutils</title>
+
+<para>Amend <filename>Makefile.in</filename>:</para>
+
+<screen><userinput>sed -e 's/^CFLAGS .*$/& -pie -fpie/' -i {find,locate,xargs}/Makefile.in</userinput></screen>
+
+<para>Prepare Findutils for compilation:</para>
+
+<screen><userinput>./configure --prefix=/tools ${disable_nls}</userinput></screen>
+
+<para>Compile the package:</para>
+
+<screen><userinput>make</userinput></screen>
+
+<para>To test the results, issue: <userinput>make
+check</userinput>.</para>
+
+<para>Install the package:</para>
+
+<screen><userinput>make install</userinput></screen>
+
+</sect2>
+
+<sect2 role="content"><title/>
+<para>Details on this package are located in <xref
+linkend="contents-findutils" role="."/></para>
+</sect2>
+
+</sect1>
+


Property changes on: trunk/BOOK/chapter05/findutils.xml
___________________________________________________________________
Name: svn:keywords
   + "Author Date Revision Id"

Added: trunk/BOOK/chapter05/gawk.xml
===================================================================
--- trunk/BOOK/chapter05/gawk.xml	2005-02-14 09:33:20 UTC (rev 193)
+++ trunk/BOOK/chapter05/gawk.xml	2005-02-14 20:20:32 UTC (rev 194)
@@ -0,0 +1,57 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
+  <!ENTITY % general-entities SYSTEM "../general.ent">
+  %general-entities;
+]>
+<sect1 id="ch-tools-gawk" role="wrap">
+<title>Gawk-&gawk-version;</title>
+<?dbhtml filename="gawk.html"?>
+
+<indexterm zone="ch-tools-gawk">
+<primary sortas="a-Gawk">Gawk</primary>
+<secondary>tools</secondary></indexterm>
+
+<sect2 role="package"><title/>
+<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../chapter06/gawk.xml" xpointer="xpointer(/sect1/sect2[1]/para[1])"/>
+
+<segmentedlist>
+<segtitle>&buildtime;</segtitle>
+<segtitle>&diskspace;</segtitle>
+<seglistitem><seg>?? SBU</seg><seg>?? MB</seg></seglistitem>
+</segmentedlist>
+
+<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../chapter06/gawk.xml" xpointer="xpointer(/sect1/sect2[1]/segmentedlist[2])"/>
+
+</sect2>
+
+<sect2 role="installation">
+<title>Installation of Gawk</title>
+
+<para>Amend <filename>Makefile.in</filename>:</para>
+
+<screen><userinput>sed -e 's/^CFLAGS .*$/& -pie -fpie/' -i Makefile.in</userinput></screen>
+
+<para>Prepare Gawk for compilation:</para>
+
+<screen><userinput>./configure --prefix=/tools ${disable_nls}</userinput></screen>
+
+<para>Compile the package:</para>
+
+<screen><userinput>make</userinput></screen>
+
+<para>To test the results (not necessary), issue: <userinput>make
+check</userinput>.</para>
+
+<para>Install the package:</para>
+
+<screen><userinput>make install</userinput></screen>
+
+</sect2>
+
+<sect2 role="content"><title/>
+<para>Details on this package are located in <xref
+linkend="contents-gawk" role="."/></para>
+</sect2>
+
+</sect1>
+


Property changes on: trunk/BOOK/chapter05/gawk.xml
___________________________________________________________________
Name: svn:keywords
   + "Author Date Revision Id"

Added: trunk/BOOK/chapter05/gettext.xml
===================================================================
--- trunk/BOOK/chapter05/gettext.xml	2005-02-14 09:33:20 UTC (rev 193)
+++ trunk/BOOK/chapter05/gettext.xml	2005-02-14 20:20:32 UTC (rev 194)
@@ -0,0 +1,89 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
+  <!ENTITY % general-entities SYSTEM "../general.ent">
+  %general-entities;
+]>
+<sect1 id="ch-tools-gettext" role="wrap" condition="glibc">
+<title>Gettext-&gettext-version;</title>
+<?dbhtml filename="gettext.html"?>
+
+<indexterm zone="ch-tools-gettext">
+<primary sortas="a-Gettext">Gettext</primary>
+<secondary>tools</secondary></indexterm>
+
+<sect2 role="package"><title/>
+<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../chapter06/gettext.xml" xpointer="xpointer(/sect1/sect2[1]/para[1])"/>
+
+<segmentedlist>
+<segtitle>&buildtime;</segtitle>
+<segtitle>&diskspace;</segtitle>
+<seglistitem><seg>?? SBU</seg><seg>?? MB</seg></seglistitem>
+</segmentedlist>
+
+<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../chapter06/gettext.xml" xpointer="xpointer(/sect1/sect2[1]/segmentedlist[2])"/>
+
+</sect2>
+
+<sect2 role="installation">
+<title>Installation of Gettext</title>
+
+<para>Amend <filename>Makefile.in</filename>. We're lucky Gettext already has 
+specific  <envar>CFLAGS</envar> for the programs in <filename 
+class="directory">gettext-tools/</filename>. This saves us a patch because there 
+are also libraries in that directory, but the sed might not work forever:</para>
+
+<screen><userinput>sed -e 's/^C\(XX\)\?FLAGS .*$/amp; -pie -fpie/' -i \
+    gettext-runtime/src/Makefile.in
+sed -e 's/.*_CFLAGS = .*$/& -pie -fpie/' -i \
+    gettext-tools/src/Makefile.in</userinput></screen>
+
+<para>Prepare Gettext for compilation:</para>
+
+<screen><userinput>./configure --prefix=/tools --disable-libasprintf \
+    --disable-csharp --disable-static</userinput></screen>
+
+<para>The meaning of the configure options:</para>
+
+<variablelist>
+<varlistentry>
+<term><parameter>--disable-libasprintf</parameter></term>
+<listitem><para>This flag tells Gettext not to build the
+<filename class="libraryfile">asprintf</filename> library. Because nothing in this 
+chapter or the next requires this library and Gettext gets rebuilt later,
+exclude it to save time and space.</para></listitem>
+</varlistentry>
+
+<varlistentry>
+<term><parameter>--disable-csharp</parameter></term>
+<listitem><para>This tells Gettext not to use a C# compiler, even if a
+C# compiler is installed on the host. This needs to be done because
+once we enter the chroot environment, C# will no longer be
+available.</para></listitem>
+</varlistentry>
+</variablelist>
+
+<beginpage/>
+<para>Compile the package:</para>
+
+<screen><userinput>make</userinput></screen>
+
+<para>To test the results, issue: <userinput>make check</userinput>.
+This takes quite some time, around 7 SBUs. The Gettext test suite is
+known to experience failures under certain host conditions, for
+example when it finds a Java compiler on the host.  An experimental
+patch to disable Java is available from the LFS Patches project at
+<ulink url="&lfs-root;patches/"/>.</para>
+
+<para>Install the package:</para>
+
+<screen><userinput>make install</userinput></screen>
+
+</sect2>
+
+<sect2 role="content"><title/>
+<para>Details on this package are located in <xref 
+linkend="contents-gettext" role="."/></para>
+</sect2>
+
+</sect1>
+


Property changes on: trunk/BOOK/chapter05/gettext.xml
___________________________________________________________________
Name: svn:keywords
   + "Author Date Revision Id"

Added: trunk/BOOK/chapter05/grep.xml
===================================================================
--- trunk/BOOK/chapter05/grep.xml	2005-02-14 09:33:20 UTC (rev 193)
+++ trunk/BOOK/chapter05/grep.xml	2005-02-14 20:20:32 UTC (rev 194)
@@ -0,0 +1,78 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
+  <!ENTITY % general-entities SYSTEM "../general.ent">
+  %general-entities;
+]>
+<sect1 id="ch-tools-grep" role="wrap">
+<title>Grep-&grep-version;</title>
+<?dbhtml filename="grep.html"?>
+
+<indexterm zone="ch-tools-grep">
+<primary sortas="a-Grep">Grep</primary>
+<secondary>tools</secondary></indexterm>
+
+<sect2 role="package"><title/>
+<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../chapter06/grep.xml" xpointer="xpointer(/sect1/sect2[1]/para[1])"/>
+
+<segmentedlist>
+<segtitle>&buildtime;</segtitle>
+<segtitle>&diskspace;</segtitle>
+<seglistitem><seg>?? SBU</seg><seg>?? MB</seg></seglistitem>
+</segmentedlist>
+
+<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../chapter06/grep.xml" xpointer="xpointer(/sect1/sect2[1]/segmentedlist[2])"/>
+
+</sect2>
+
+<sect2 role="installation">
+<title>Installation of Grep</title>
+
+<para>Amend <filename>Makefile.in</filename>:</para>
+
+<screen><userinput>sed -e 's/^CFLAGS .*$/& -pie -fpie/' -i src/Makefile.in</userinput></screen>
+
+<para>Prepare Grep for compilation:</para>
+
+<screen><userinput>./configure --prefix=/tools ${disable_nls}  \
+    --disable-perl-regexp --with-included-regex</userinput></screen>
+
+<para>The meaning of the configure options:</para>
+
+<variablelist>
+<varlistentry>
+<term><parameter>--disable-perl-regexp</parameter></term>
+<listitem><para>This makes sure that the <command>grep</command>
+program does not get linked against a Perl Compatible Regular
+Expression (PCRE) library that may be present on the host and would
+not be available once we enter the chroot
+environment.</para></listitem>
+</varlistentry>
+
+<varlistentry>
+<term><parameter>--with-included-regex</parameter></term>
+<listitem><para>This ensures that Grep uses its internal regular
+expression code.  Without this switch, Grep will use the code from
+Glibc, which is known to be buggy.</para></listitem>
+</varlistentry>
+</variablelist>
+
+<para>Compile the package:</para>
+
+<screen><userinput>make</userinput></screen>
+
+<para>To test the results, issue: <userinput>make
+check</userinput>.</para>
+
+<para>Install the package:</para>
+
+<screen><userinput>make install</userinput></screen>
+
+</sect2>
+
+<sect2 role="content"><title/>
+<para>Details on this package are located in <xref
+linkend="contents-grep" role="."/></para>
+</sect2>
+
+</sect1>
+


Property changes on: trunk/BOOK/chapter05/grep.xml
___________________________________________________________________
Name: svn:keywords
   + "Author Date Revision Id"

Added: trunk/BOOK/chapter05/make.xml
===================================================================
--- trunk/BOOK/chapter05/make.xml	2005-02-14 09:33:20 UTC (rev 193)
+++ trunk/BOOK/chapter05/make.xml	2005-02-14 20:20:32 UTC (rev 194)
@@ -0,0 +1,57 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
+  <!ENTITY % general-entities SYSTEM "../general.ent">
+  %general-entities;
+]>
+<sect1 id="ch-tools-make" role="wrap">
+<title>Make-&make-version;</title>
+<?dbhtml filename="make.html"?>
+
+<indexterm zone="ch-tools-make">
+<primary sortas="a-Make">Make</primary>
+<secondary>tools</secondary></indexterm>
+
+<sect2 role="package"><title/>
+<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../chapter06/make.xml" xpointer="xpointer(/sect1/sect2[1]/para[1])"/>
+
+<segmentedlist>
+<segtitle>&buildtime;</segtitle>
+<segtitle>&diskspace;</segtitle>
+<seglistitem><seg>?? SBU</seg><seg>?? MB</seg></seglistitem>
+</segmentedlist>
+
+<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../chapter06/make.xml" xpointer="xpointer(/sect1/sect2[1]/segmentedlist[2])"/>
+
+</sect2>
+
+<sect2 role="installation">
+<title>Installation of Make</title>
+
+<para>Amend <filename>Makefile.in</filename>:</para>
+
+<screen><userinput>sed -e 's/^CFLAGS .*$/& -pie -fpie/' -i Makefile.in</userinput></screen>
+
+<para>Prepare Make for compilation:</para>
+
+<screen><userinput>./configure --prefix=/tools ${disable_nls}</userinput></screen>
+
+<para>Compile the package:</para>
+
+<screen><userinput>make</userinput></screen>
+
+<para>To test the results, issue: <userinput>make
+check</userinput>.</para>
+
+<para>Install the package:</para>
+
+<screen><userinput>make install</userinput></screen>
+
+</sect2>
+
+<sect2 role="content"><title/>
+<para>Details on this package are located in <xref
+linkend="contents-make" role="."/></para>
+</sect2>
+
+</sect1>
+


Property changes on: trunk/BOOK/chapter05/make.xml
___________________________________________________________________
Name: svn:keywords
   + "Author Date Revision Id"

Added: trunk/BOOK/chapter05/sed.xml
===================================================================
--- trunk/BOOK/chapter05/sed.xml	2005-02-14 09:33:20 UTC (rev 193)
+++ trunk/BOOK/chapter05/sed.xml	2005-02-14 20:20:32 UTC (rev 194)
@@ -0,0 +1,57 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
+  <!ENTITY % general-entities SYSTEM "../general.ent">
+  %general-entities;
+]>
+<sect1 id="ch-tools-sed" role="wrap">
+<title>Sed-&sed-version;</title>
+<?dbhtml filename="sed.html"?>
+
+<indexterm zone="ch-tools-sed">
+<primary sortas="a-Sed">Sed</primary>
+<secondary>tools</secondary></indexterm>
+
+<sect2 role="package"><title/>
+<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../chapter06/sed.xml" xpointer="xpointer(/sect1/sect2[1]/para[1])"/>
+
+<segmentedlist>
+<segtitle>&buildtime;</segtitle>
+<segtitle>&diskspace;</segtitle>
+<seglistitem><seg>?? SBU</seg><seg>?? MB</seg></seglistitem>
+</segmentedlist>
+
+<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../chapter06/sed.xml" xpointer="xpointer(/sect1/sect2[1]/segmentedlist[2])"/>
+
+</sect2>
+
+<sect2 role="installation">
+<title>Installation of Sed</title>
+
+<para>Amend <filename>Makefile.in</filename>:</para>
+
+<screen><userinput>sed -e 's/^CFLAGS .*$/& -pie -fpie/' -i sed/Makefile.in</userinput></screen>
+
+<para>Prepare Sed for compilation:</para>
+
+<screen><userinput>./configure --prefix=/tools ${disable_nls}</userinput></screen>
+
+<para>Compile the package:</para>
+
+<screen><userinput>make</userinput></screen>
+
+<para>To test the results, issue: <userinput>make
+check</userinput>.</para>
+
+<para>Install the package:</para>
+
+<screen><userinput>make install</userinput></screen>
+
+</sect2>
+
+<sect2 role="content"><title/>
+<para>Details on this package are located in <xref
+linkend="contents-sed" role="."/></para>
+</sect2>
+
+</sect1>
+


Property changes on: trunk/BOOK/chapter05/sed.xml
___________________________________________________________________
Name: svn:keywords
   + "Author Date Revision Id"

Modified: trunk/BOOK/chapter06/chapter06.xml
===================================================================
--- trunk/BOOK/chapter06/chapter06.xml	2005-02-14 09:33:20 UTC (rev 193)
+++ trunk/BOOK/chapter06/chapter06.xml	2005-02-14 20:20:32 UTC (rev 194)
@@ -23,23 +23,23 @@
 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="uclibc.xml"/><!--
 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="readjusting.xml"/>-->
 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="binutils.xml"/>
-<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="gcc.xml"/><!--
-<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="coreutils.xml"/>
+<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="gcc.xml"/>
+<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="coreutils.xml"/><!--
 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="zlib.xml"/>
 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="mktemp.xml"/>
-<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="iana-etc.xml"/>
+<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="iana-etc.xml"/>-->
 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="findutils.xml"/>
-<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="gawk.xml"/>
+<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="gawk.xml"/><!--
 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="ncurses.xml"/>
 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="readline.xml"/>
 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="vim.xml"/>
 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="m4.xml"/>
 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="bison.xml"/>
 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="less.xml"/>
-<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="groff.xml"/>
-<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="sed.xml"/>
-<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="flex.xml"/>
-<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="gettext.xml"/>
+<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="groff.xml"/>-->
+<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="sed.xml"/><!--
+<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="flex.xml"/>-->
+<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="gettext.xml"/><!--
 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="inetutils.xml"/>
 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="iproute2.xml"/>
 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="perl.xml"/>
@@ -49,16 +49,16 @@
 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="bash.xml"/>
 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="file.xml"/>
 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="libtool.xml"/>
-<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="bzip2.xml"/>
-<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="diffutils.xml"/>
+<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="bzip2.xml"/>-->
+<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="diffutils.xml"/><!--
 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="kbd.xml"/>
-<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="e2fsprogs.xml"/>
-<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="grep.xml"/>
+<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="e2fsprogs.xml"/>-->
+<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="grep.xml"/><!--
 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="grub.xml"/>
 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="gzip.xml"/>
 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="hotplug.xml"/>
-<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="man.xml"/>
-<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="make.xml"/>
+<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="man.xml"/>-->
+<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="make.xml"/><!--
 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="module-init-tools.xml"/>
 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="patch.xml"/>
 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="procps.xml"/>

Added: trunk/BOOK/chapter06/coreutils.xml
===================================================================
--- trunk/BOOK/chapter06/coreutils.xml	2005-02-14 09:33:20 UTC (rev 193)
+++ trunk/BOOK/chapter06/coreutils.xml	2005-02-14 20:20:32 UTC (rev 194)
@@ -0,0 +1,850 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
+  <!ENTITY % general-entities SYSTEM "../general.ent">
+  %general-entities;
+]>
+<sect1 id="ch-system-coreutils" role="wrap">
+<title>Coreutils-&coreutils-version;</title>
+<?dbhtml filename="coreutils.html"?>
+
+<indexterm zone="ch-system-coreutils"><primary sortas="a-Coreutils">Coreutils</primary></indexterm>
+
+<sect2 role="package"><title/>
+<para>The Coreutils package contains utilities for showing and setting the
+basic system characteristics.</para>
+
+<segmentedlist>
+<segtitle>&buildtime;</segtitle>
+<segtitle>&diskspace;</segtitle>
+<seglistitem><seg>0.9 SBU</seg><seg>69 MB</seg></seglistitem>
+</segmentedlist>
+
+<segmentedlist>
+<segtitle>Coreutils installation depends on</segtitle>
+<seglistitem><seg>Bash, Binutils, Coreutils, Diffutils, GCC,
+Gettext, Glibc, Grep, Make, Perl, and Sed</seg></seglistitem>
+</segmentedlist>
+</sect2>
+
+<sect2 role="installation">
+<title>Installation of Coreutils</title>
+
+<para>Prevent Coreutils from installing binaries that will be later be
+installed by other packages:</para>
+
+<screen><userinput>patch -Np1 -i \
+    ../coreutils-&coreutils-version;-suppress_uptime_kill_su-1.patch</userinput></screen>
+
+<para>Amend <filename>Makefile.in</filename>:</para>
+
+<screen><userinput>sed -e 's/^CFLAGS .*$/& -pie -fpie/' -i src/Makefile.in</userinput></screen>
+
+<para>Now prepare Coreutils for compilation:</para>
+
+<screen><userinput>env DEFAULT_POSIX2_VERSION=199209 \
+    ./configure --prefix=/usr ${disable_nls}</userinput></screen>
+
+<para>Compile the package:</para>
+
+<screen><userinput>make</userinput></screen>
+
+<para>The test suite of Coreutils makes several assumptions about the
+presence of files and users that are not valid this early in the LFS
+build. Therefore, additional items need to be set up before running
+the tests. Skip down to <quote>Install the package</quote> if
+not running the test suite.</para>
+
+<para>Create two dummy groups and a dummy user name:</para>
+
+<screen><userinput>echo "dummy1:x:1000:" >> /etc/group
+echo "dummy2:x:1001:dummy" >> /etc/group
+echo "dummy:x:1000:1000:::/bin/bash" >> /etc/passwd</userinput></screen>
+
+<para>Now the test suite is ready to be run. First, run the tests that
+are meant to be run as user <emphasis>root</emphasis>:</para>
+
+<screen><userinput>make NON_ROOT_USERNAME=dummy check-root</userinput></screen>
+
+<para>Then run the remainder of the tests as the
+<emphasis>dummy</emphasis> user:</para>
+
+<screen><userinput>src/su dummy -c "make RUN_EXPENSIVE_TESTS=yes check"</userinput></screen>
+
+<para>When testing is complete, remove the dummy user and
+groups:</para>
+
+<screen><userinput>sed -i '/dummy/d' /etc/passwd /etc/group</userinput></screen>
+
+<para>Install the package:</para>
+
+<screen><userinput>make install</userinput></screen>
+
+<para>Move programs to the proper locations:</para>
+
+<screen><userinput>mv /usr/bin/{[,basename,cat,chgrp,chmod,chown,cp,dd,df} /bin
+mv /usr/bin/{date,echo,false,head,hostname,install,ln} /bin
+mv /usr/bin/{ls,mkdir,mknod,mv,pwd,rm,rmdir,sync} /bin
+mv /usr/bin/{sleep,stty,test,touch,true,uname} /bin
+mv /usr/bin/chroot /usr/sbin</userinput></screen>
+
+<para>Finally, create a symlink to be FHS-compliant:</para>
+
+<screen><userinput>ln -s ../../bin/install /usr/bin</userinput></screen>
+
+</sect2>
+
+
+<sect2 id="contents-coreutils" role="content"><title>Contents of Coreutils</title>
+
+<segmentedlist>
+<segtitle>Installed programs</segtitle>
+<seglistitem><seg>basename, cat, chgrp, chmod, chown, chroot, cksum,
+comm, cp, csplit, cut, date, dd, df, dir, dircolors, dirname, du,
+echo, env, expand, expr, factor, false, fmt, fold, groups, head,
+hostid, hostname, id, install, join, link, ln, logname, ls, md5sum,
+mkdir, mkfifo, mknod, mv, nice, nl, nohup, od, paste, pathchk, pinky,
+pr, printenv, printf, ptx, pwd, readlink, rm, rmdir, seq, sha1sum,
+shred, sleep, sort, split, stat, stty, sum, sync, tac, tail, tee,
+test, touch, tr, true, tsort, tty, uname, unexpand, uniq, unlink,
+users, vdir, wc, who, whoami, and yes</seg></seglistitem>
+</segmentedlist>
+
+<variablelist><bridgehead renderas="sect3">Short Descriptions</bridgehead>
+<?dbfo list-presentation="list"?>
+
+<varlistentry id="basename">
+<term><command>basename</command></term>
+<listitem>
+<para>Strips any path and a given suffix from a file name</para>
+<indexterm zone="ch-system-coreutils basename"><primary sortas="b-basename">basename</primary></indexterm>
+</listitem>
+</varlistentry>
+
+<varlistentry id="cat">
+<term><command>cat</command></term>
+<listitem>
+<para>Concatenates files to standard output</para>
+<indexterm zone="ch-system-coreutils cat"><primary sortas="b-cat">cat</primary></indexterm>
+</listitem>
+</varlistentry>
+
+<varlistentry id="chgrp">
+<term><command>chgrp</command></term>
+<listitem>
+<para>Changes the group ownership of each given file to the given
+group; the group can either be either given a name or a numeric
+ID</para>
+<indexterm zone="ch-system-coreutils chgrp"><primary sortas="b-chgrp">chgrp</primary></indexterm>
+</listitem>
+</varlistentry>
+
+<varlistentry id="chmod">
+<term><command>chmod</command></term>
+<listitem>
+<para>Changes the permissions of each file to the given mode; the mode
+can be either a symbolic representation of the changes to make or an
+octal number representing the new permissions</para>
+<indexterm zone="ch-system-coreutils chmod"><primary sortas="b-chmod">chmod</primary></indexterm>
+</listitem>
+</varlistentry>
+
+<varlistentry id="chown">
+<term><command>chown</command></term>
+<listitem>
+<para>Changes the user and/or group ownership of
+each given file to the given user/group pair</para>
+<indexterm zone="ch-system-coreutils chown"><primary sortas="b-chown">chown</primary></indexterm>
+</listitem>
+</varlistentry>
+
+<varlistentry id="chroot">
+<term><command>chroot</command></term>
+<listitem>
+<para>Runs a command with the specified directory as the 
+<filename class="directory">/</filename> directory</para>
+<indexterm zone="ch-system-coreutils chroot"><primary sortas="b-chroot">chroot</primary></indexterm>
+</listitem>
+</varlistentry>
+
+<varlistentry id="cksum">
+<term><command>cksum</command></term>
+<listitem>
+<para>Prints the Cyclic Redundancy Check (CRC) checksum and the byte
+counts of each specified file</para>
+<indexterm zone="ch-system-coreutils cksum"><primary sortas="b-cksum">cksum</primary></indexterm>
+</listitem>
+</varlistentry>
+
+<varlistentry id="comm">
+<term><command>comm</command></term>
+<listitem>
+<para>Compares two sorted files, outputting in three columns the lines
+that are unique and the lines that are common</para>
+<indexterm zone="ch-system-coreutils comm"><primary sortas="b-comm">comm</primary></indexterm>
+</listitem>
+</varlistentry>
+
+<varlistentry id="cp">
+<term><command>cp</command></term>
+<listitem>
+<para>Copies files</para>
+<indexterm zone="ch-system-coreutils cp"><primary sortas="b-cp">cp</primary></indexterm>
+</listitem>
+</varlistentry>
+
+<varlistentry id="csplit">
+<term><command>csplit</command></term>
+<listitem>
+<para>Splits a given file into several new files, separating them
+according to given patterns or line numbers and outputting the byte
+count of each new file</para>
+<indexterm zone="ch-system-coreutils csplit"><primary sortas="b-csplit">csplit</primary></indexterm>
+</listitem>
+</varlistentry>
+
+<varlistentry id="cut">
+<term><command>cut</command></term>
+<listitem>
+<para>Prints sections of lines, selecting the parts according to given
+fields or positions</para>
+<indexterm zone="ch-system-coreutils cut"><primary sortas="b-cut">cut</primary></indexterm>
+</listitem>
+</varlistentry>
+
+<varlistentry id="date">
+<term><command>date</command></term>
+<listitem>
+<para>Displays the current time in the given format, or sets the
+system date</para>
+<indexterm zone="ch-system-coreutils date"><primary sortas="b-date">date</primary></indexterm>
+</listitem>
+</varlistentry>
+
+<varlistentry id="dd">
+<term><command>dd</command> </term>
+<listitem>
+<para>Copies a file using the given block size and count, while
+optionally performing conversions on it</para>
+<indexterm zone="ch-system-coreutils dd"><primary sortas="b-dd">dd</primary></indexterm>
+</listitem>
+</varlistentry>
+
+<varlistentry id="df">
+<term><command>df</command></term>
+<listitem>
+<para>Reports the amount of disk space available (and used) on all
+mounted file systems, or only on the file systems holding the selected
+files</para>
+<indexterm zone="ch-system-coreutils df"><primary sortas="b-df">df</primary></indexterm>
+</listitem>
+</varlistentry>
+
+<varlistentry id="dir">
+<term><command>dir</command></term>
+<listitem>
+<para>Lists the contents of each given directory (the same as
+the <command>ls</command> command)</para>
+<indexterm zone="ch-system-coreutils dir"><primary sortas="b-dir">dir</primary></indexterm>
+</listitem>
+</varlistentry>
+
+<varlistentry id="dircolors">
+<term><command>dircolors</command></term>
+<listitem>
+<para>Outputs commands to set the <envar>LS_COLOR</envar>
+environment variable to change the color scheme used by
+<command>ls</command></para>
+<indexterm zone="ch-system-coreutils dircolors"><primary sortas="b-dircolors">dircolors</primary></indexterm>
+</listitem>
+</varlistentry>
+
+<varlistentry id="dirname">
+<term><command>dirname</command></term>
+<listitem>
+<para>Strips the non-directory suffix from a file name</para>
+<indexterm zone="ch-system-coreutils dirname"><primary sortas="b-dirname">dirname</primary></indexterm>
+</listitem>
+</varlistentry>
+
+<varlistentry id="du">
+<term><command>du</command></term>
+<listitem>
+<para>Reports the amount of disk space used by the current directory,
+by each of the given directories (including all subdirectories) or by
+each of the given files</para>
+<indexterm zone="ch-system-coreutils du"><primary sortas="b-du">du</primary></indexterm>
+</listitem>
+</varlistentry>
+
+<varlistentry id="echo">
+<term><command>echo</command></term>
+<listitem>
+<para>Displays the given strings</para>
+<indexterm zone="ch-system-coreutils echo"><primary sortas="b-echo">echo</primary></indexterm>
+</listitem>
+</varlistentry>
+
+<varlistentry id="env">
+<term><command>env</command></term>
+<listitem>
+<para>Runs a command in a modified environment</para>
+<indexterm zone="ch-system-coreutils env"><primary sortas="b-env">env</primary></indexterm>
+</listitem>
+</varlistentry>
+
+<varlistentry id="expand">
+<term><command>expand</command></term>
+<listitem>
+<para>Converts tabs to spaces</para>
+<indexterm zone="ch-system-coreutils expand"><primary sortas="b-expand">expand</primary></indexterm>
+</listitem>
+</varlistentry>
+
+<varlistentry id="expr">
+<term><command>expr</command></term>
+<listitem>
+<para>Evaluates expressions</para>
+<indexterm zone="ch-system-coreutils expr"><primary sortas="b-expr">expr</primary></indexterm>
+</listitem>
+</varlistentry>
+
+<varlistentry id="factor">
+<term><command>factor</command></term>
+<listitem>
+<para>Prints the prime factors of all specified integer numbers</para>
+<indexterm zone="ch-system-coreutils factor"><primary sortas="b-factor">factor</primary></indexterm>
+</listitem>
+</varlistentry>
+
+<varlistentry id="false">
+<term><command>false</command></term>
+<listitem>
+<para>Does nothing, unsuccessfully; it always exits with a status code
+indicating failure</para>
+<indexterm zone="ch-system-coreutils false"><primary sortas="b-false">false</primary></indexterm>
+</listitem>
+</varlistentry>
+
+<varlistentry id="fmt">
+<term><command>fmt</command></term>
+<listitem>
+<para>Reformats the paragraphs in the given files</para>
+<indexterm zone="ch-system-coreutils fmt"><primary sortas="b-fmt">fmt</primary></indexterm>
+</listitem>
+</varlistentry>
+
+<varlistentry id="fold">
+<term><command>fold</command></term>
+<listitem>
+<para>Wraps the lines in the given files</para>
+<indexterm zone="ch-system-coreutils fold"><primary sortas="b-fold">fold</primary></indexterm>
+</listitem>
+</varlistentry>
+
+<varlistentry id="groups-coreutils">
+<term><command>groups</command></term>
+<listitem>
+<para>Reports a user's group memberships</para>
+<indexterm zone="ch-system-coreutils groups-coreutils"><primary sortas="b-groups-coreutils">groups</primary></indexterm>
+</listitem>
+</varlistentry>
+
+<varlistentry id="head">
+<term><command>head</command></term>
+<listitem>
+<para>Prints the first ten lines (or the given number of lines) of each given file</para>
+<indexterm zone="ch-system-coreutils head"><primary sortas="b-head">head</primary></indexterm>
+</listitem>
+</varlistentry>
+
+<varlistentry id="hostid">
+<term><command>hostid</command></term>
+<listitem>
+<para>Reports the numeric identifier (in hexadecimal) of the host</para>
+<indexterm zone="ch-system-coreutils hostid"><primary sortas="b-hostid">hostid</primary></indexterm>
+</listitem>
+</varlistentry>
+
+<varlistentry id="hostname">
+<term><command>hostname</command></term>
+<listitem>
+<para>Reports or sets the name of the host</para>
+<indexterm zone="ch-system-coreutils hostname"><primary sortas="b-hostname">hostname</primary></indexterm>
+</listitem>
+</varlistentry>
+
+<varlistentry id="id">
+<term><command>id</command></term>
+<listitem>
+<para>Reports the effective user ID, group ID, and
+group memberships of the current user or specified user</para>
+<indexterm zone="ch-system-coreutils id"><primary sortas="b-id">id</primary></indexterm>
+</listitem>
+</varlistentry>
+
+<varlistentry id="install">
+<term><command>install</command> </term>
+<listitem>
+<para>Copies files while setting their
+permission modes and, if possible, their owner and group</para>
+<indexterm zone="ch-system-coreutils install"><primary sortas="b-install">install</primary></indexterm>
+</listitem>
+</varlistentry>
+
+<varlistentry id="join">
+<term><command>join</command></term>
+<listitem>
+<para>Joins the lines that have identical join fields from two
+separate files</para>
+<indexterm zone="ch-system-coreutils join"><primary sortas="b-join">join</primary></indexterm>
+</listitem>
+</varlistentry>
+
+<varlistentry id="link">
+<term><command>link</command></term>
+<listitem>
+<para>Creates a hard link with the given name to a file</para>
+<indexterm zone="ch-system-coreutils link"><primary sortas="b-link">link</primary></indexterm>
+</listitem>
+</varlistentry>
+
+<varlistentry id="ln">
+<term><command>ln</command></term>
+<listitem>
+<para>Makes hard links or soft (symbolic) links between files</para>
+<indexterm zone="ch-system-coreutils ln"><primary sortas="b-ln">ln</primary></indexterm>
+</listitem>
+</varlistentry>
+
+<varlistentry id="logname">
+<term><command>logname</command></term>
+<listitem>
+<para>Reports the current user's login name</para>
+<indexterm zone="ch-system-coreutils logname"><primary sortas="b-logname">logname</primary></indexterm>
+</listitem>
+</varlistentry>
+
+<varlistentry id="ls">
+<term><command>ls</command></term>
+<listitem>
+<para>Lists the contents of each given directory</para>
+<indexterm zone="ch-system-coreutils ls"><primary sortas="b-ls">ls</primary></indexterm>
+</listitem>
+</varlistentry>
+
+<varlistentry id="md5sum">
+<term><command>md5sum</command></term>
+<listitem>
+<para>Reports or checks Message Digest 5 (MD5) checksums</para>
+<indexterm zone="ch-system-coreutils md5sum"><primary sortas="b-md5sum">md5sum</primary></indexterm>
+</listitem>
+</varlistentry>
+
+<varlistentry id="mkdir">
+<term><command>mkdir</command></term>
+<listitem>
+<para>Creates directories with the given names</para>
+<indexterm zone="ch-system-coreutils mkdir"><primary sortas="b-mkdir">mkdir</primary></indexterm>
+</listitem>
+</varlistentry>
+
+<varlistentry id="mkfifo">
+<term><command>mkfifo</command></term>
+<listitem>
+<para>Creates First-In, First-Outs (FIFOs), a <quote>named
+pipe</quote> in UNIX parlance, with the given names</para>
+<indexterm zone="ch-system-coreutils mkfifo"><primary sortas="b-mkfifo">mkfifo</primary></indexterm>
+</listitem>
+</varlistentry>
+
+<varlistentry id="mknod">
+<term><command>mknod</command></term>
+<listitem>
+<para>Creates device nodes with the given names; a device node is a
+character special file, a block special file, or a FIFO</para>
+<indexterm zone="ch-system-coreutils mknod"><primary sortas="b-mknod">mknod</primary></indexterm>
+</listitem>
+</varlistentry>
+
+<varlistentry id="mv">
+<term><command>mv</command></term>
+<listitem>
+<para>Moves or renames files or directories</para>
+<indexterm zone="ch-system-coreutils mv"><primary sortas="b-mv">mv</primary></indexterm>
+</listitem>
+</varlistentry>
+
+<varlistentry id="nice">
+<term><command>nice</command></term>
+<listitem>
+<para>Runs a program with modified scheduling priority</para>
+<indexterm zone="ch-system-coreutils nice"><primary sortas="b-nice">nice</primary></indexterm>
+</listitem>
+</varlistentry>
+
+<varlistentry id="nl">
+<term><command>nl</command></term>
+<listitem>
+<para>Numbers the lines from the given files</para>
+<indexterm zone="ch-system-coreutils nl"><primary sortas="b-nl">nl</primary></indexterm>
+</listitem>
+</varlistentry>
+
+<varlistentry id="nohup">
+<term><command>nohup</command></term>
+<listitem>
+<para>Runs a command immune to hangups, with its output redirected to
+a log file</para>
+<indexterm zone="ch-system-coreutils nohup"><primary sortas="b-nohup">nohup</primary></indexterm>
+</listitem>
+</varlistentry>
+
+<varlistentry id="od">
+<term><command>od</command></term>
+<listitem>
+<para>Dumps files in octal and other formats</para>
+<indexterm zone="ch-system-coreutils od"><primary sortas="b-od">od</primary></indexterm>
+</listitem>
+</varlistentry>
+
+<varlistentry id="paste">
+<term><command>paste</command></term>
+<listitem>
+<para>Merges the given files, joining sequentially corresponding lines
+side by side, separated by tab characters</para>
+<indexterm zone="ch-system-coreutils paste"><primary sortas="b-paste">paste</primary></indexterm>
+</listitem>
+</varlistentry>
+
+<varlistentry id="pathchk">
+<term><command>pathchk</command></term>
+<listitem>
+<para>Checks if file names are valid or portable</para>
+<indexterm zone="ch-system-coreutils pathchk"><primary sortas="b-pathchk">pathchk</primary></indexterm>
+</listitem>
+</varlistentry>
+
+<varlistentry id="pinky">
+<term><command>pinky</command></term>
+<listitem>
+<para>Is a lightweight finger client; it reports some information about the given users</para>
+<indexterm zone="ch-system-coreutils pinky"><primary sortas="b-pinky">pinky</primary></indexterm>
+</listitem>
+</varlistentry>
+
+<varlistentry id="pr">
+<term><command>pr</command></term>
+<listitem>
+<para>Paginates and columnates files for printing</para>
+<indexterm zone="ch-system-coreutils pr"><primary sortas="b-pr">pr</primary></indexterm>
+</listitem>
+</varlistentry>
+
+<varlistentry id="printenv">
+<term><command>printenv</command></term>
+<listitem>
+<para>Prints the environment</para>
+<indexterm zone="ch-system-coreutils printenv"><primary sortas="b-printenv">printenv</primary></indexterm>
+</listitem>
+</varlistentry>
+
+<varlistentry id="printf">
+<term><command>printf</command></term>
+<listitem>
+<para>Prints the given arguments according to the given format, much
+like the C printf function</para>
+<indexterm zone="ch-system-coreutils printf"><primary sortas="b-printf">printf</primary></indexterm>
+</listitem>
+</varlistentry>
+
+<varlistentry id="ptx">
+<term><command>ptx</command></term>
+<listitem>
+<para>Produces a permuted index from the contents of the given files,
+with each keyword in its context</para>
+<indexterm zone="ch-system-coreutils ptx"><primary sortas="b-ptx">ptx</primary></indexterm>
+</listitem>
+</varlistentry>
+
+<varlistentry id="pwd">
+<term><command>pwd</command></term>
+<listitem>
+<para>Reports the name of the current working directory</para>
+<indexterm zone="ch-system-coreutils pwd"><primary sortas="b-pwd">pwd</primary></indexterm>
+</listitem>
+</varlistentry>
+
+<varlistentry id="readlink">
+<term><command>readlink</command></term>
+<listitem>
+<para>Reports the value of the given symbolic link</para>
+<indexterm zone="ch-system-coreutils readlink"><primary sortas="b-readlink">readlink</primary></indexterm>
+</listitem>
+</varlistentry>
+
+<varlistentry id="rm">
+<term><command>rm</command></term>
+<listitem>
+<para>Removes files or directories</para>
+<indexterm zone="ch-system-coreutils rm"><primary sortas="b-rm">rm</primary></indexterm>
+</listitem>
+</varlistentry>
+
+<varlistentry id="rmdir">
+<term><command>rmdir</command></term>
+<listitem>
+<para>Removes directories if they are empty</para>
+<indexterm zone="ch-system-coreutils rmdir"><primary sortas="b-rmdir">rmdir</primary></indexterm>
+</listitem>
+</varlistentry>
+
+<varlistentry id="seq">
+<term><command>seq</command></term>
+<listitem>
+<para>Prints a sequence of numbers within a given range and with a
+given increment</para>
+<indexterm zone="ch-system-coreutils seq"><primary sortas="b-seq">seq</primary></indexterm>
+</listitem>
+</varlistentry>
+
+<varlistentry id="sha1sum">
+<term><command>sha1sum</command></term>
+<listitem>
+<para>Prints or checks 160-bit Secure Hash Algorithm 1 (SHA1) checksums</para>
+<indexterm zone="ch-system-coreutils sha1sum"><primary sortas="b-sha1sum">sha1sum</primary></indexterm>
+</listitem>
+</varlistentry>
+
+<varlistentry id="shred">
+<term><command>shred</command></term>
+<listitem>
+<para>Overwrites the given files repeatedly with complex patterns,
+making it difficult to recover the data</para>
+<indexterm zone="ch-system-coreutils shred"><primary sortas="b-shred">shred</primary></indexterm>
+</listitem>
+</varlistentry>
+
+<varlistentry id="sleep">
+<term><command>sleep</command></term>
+<listitem>
+<para>Pauses for the given amount of time</para>
+<indexterm zone="ch-system-coreutils sleep"><primary sortas="b-sleep">sleep</primary></indexterm>
+</listitem>
+</varlistentry>
+
+<varlistentry id="sort">
+<term><command>sort</command></term>
+<listitem>
+<para>Sorts the lines from the given files</para>
+<indexterm zone="ch-system-coreutils sort"><primary sortas="b-sort">sort</primary></indexterm>
+</listitem>
+</varlistentry>
+
+<varlistentry id="split">
+<term><command>split</command></term>
+<listitem>
+<para>Splits the given file into pieces, by size or by number of lines</para>
+<indexterm zone="ch-system-coreutils split"><primary sortas="b-split">split</primary></indexterm>
+</listitem>
+</varlistentry>
+
+<varlistentry id="stat">
+<term><command>stat</command></term>
+<listitem>
+<para>Displays file or filesystem status</para>
+<indexterm zone="ch-system-coreutils stat"><primary sortas="b-stat">stat</primary></indexterm>
+</listitem>
+</varlistentry>
+
+<varlistentry id="stty">
+<term><command>stty</command></term>
+<listitem>
+<para>Sets or reports terminal line settings</para>
+<indexterm zone="ch-system-coreutils stty"><primary sortas="b-stty">stty</primary></indexterm>
+</listitem>
+</varlistentry>
+
+<varlistentry id="sum">
+<term><command>sum</command></term>
+<listitem>
+<para>Prints checksum and block counts for each given file</para>
+<indexterm zone="ch-system-coreutils sum"><primary sortas="b-sum">sum</primary></indexterm>
+</listitem>
+</varlistentry>
+
+<varlistentry id="sync">
+<term><command>sync</command></term>
+<listitem>
+<para>Flushes file system buffers; it forces changed blocks to disk
+and updates the super block</para>
+<indexterm zone="ch-system-coreutils sync"><primary sortas="b-sync">sync</primary></indexterm>
+</listitem>
+</varlistentry>
+
+<varlistentry id="tac">
+<term><command>tac</command></term>
+<listitem>
+<para>Concatenates the given files in reverse</para>
+<indexterm zone="ch-system-coreutils tac"><primary sortas="b-tac">tac</primary></indexterm>
+</listitem>
+</varlistentry>
+
+<varlistentry id="tail">
+<term><command>tail</command></term>
+<listitem>
+<para>Prints the last ten lines (or the given number of lines) of each
+given file</para>
+<indexterm zone="ch-system-coreutils tail"><primary sortas="b-tail">tail</primary></indexterm>
+</listitem>
+</varlistentry>
+
+<varlistentry id="tee">
+<term><command>tee</command></term>
+<listitem>
+<para>Reads from standard input while writing both to standard output
+and to the given files</para>
+<indexterm zone="ch-system-coreutils tee"><primary sortas="b-tee">tee</primary></indexterm>
+</listitem>
+</varlistentry>
+
+<varlistentry id="test">
+<term><command>test</command></term>
+<listitem>
+<para>Compares values and checks file types</para>
+<indexterm zone="ch-system-coreutils test"><primary sortas="b-test">test</primary></indexterm>
+</listitem>
+</varlistentry>
+
+<varlistentry id="touch">
+<term><command>touch</command></term>
+<listitem>
+<para>Changes file timestamps, setting the access and modification
+times of the given files to the current time; files that do not exist
+are created with zero length</para>
+<indexterm zone="ch-system-coreutils touch"><primary sortas="b-touch">touch</primary></indexterm>
+</listitem>
+</varlistentry>
+
+<varlistentry id="tr">
+<term><command>tr</command></term>
+<listitem>
+<para>Translates, squeezes, and deletes the given characters from
+standard input</para>
+<indexterm zone="ch-system-coreutils tr"><primary sortas="b-tr">tr</primary></indexterm>
+</listitem>
+</varlistentry>
+
+<varlistentry id="true">
+<term><command>true</command></term>
+<listitem>
+<para>Does nothing, successfully; it always exits with a status code
+indicating success</para>
+<indexterm zone="ch-system-coreutils true"><primary sortas="b-true">true</primary></indexterm>
+</listitem>
+</varlistentry>
+
+<varlistentry id="tsort">
+<term><command>tsort</command></term>
+<listitem>
+<para>Performs a topological sort; it writes a completely ordered list
+according to the partial ordering in a given file</para>
+<indexterm zone="ch-system-coreutils tsort"><primary sortas="b-tsort">tsort</primary></indexterm>
+</listitem>
+</varlistentry>
+
+<varlistentry id="tty">
+<term><command>tty</command></term>
+<listitem>
+<para>Reports the file name of the terminal connected to standard
+input</para>
+<indexterm zone="ch-system-coreutils tty"><primary sortas="b-tty">tty</primary></indexterm>
+</listitem>
+</varlistentry>
+
+<varlistentry id="uname">
+<term><command>uname</command></term>
+<listitem>
+<para>Reports system information</para>
+<indexterm zone="ch-system-coreutils uname"><primary sortas="b-uname">uname</primary></indexterm>
+</listitem>
+</varlistentry>
+
+<varlistentry id="unexpand">
+<term><command>unexpand</command></term>
+<listitem>
+<para>Converts spaces to tabs</para>
+<indexterm zone="ch-system-coreutils unexpand"><primary sortas="b-unexpand">unexpand</primary></indexterm>
+</listitem>
+</varlistentry>
+
+<varlistentry id="uniq">
+<term><command>uniq</command></term>
+<listitem>
+<para>Discards all but one of successive identical lines</para>
+<indexterm zone="ch-system-coreutils unexpand"><primary sortas="b-unexpand">unexpand</primary></indexterm>
+</listitem>
+</varlistentry>
+
+<varlistentry id="unlink">
+<term><command>unlink</command></term>
+<listitem>
+<para>Removes the given file</para>
+<indexterm zone="ch-system-coreutils unlink"><primary sortas="b-unlink">unlink</primary></indexterm>
+</listitem>
+</varlistentry>
+
+<varlistentry id="users">
+<term><command>users</command></term>
+<listitem>
+<para>Reports the names of the users currently logged on</para>
+<indexterm zone="ch-system-coreutils users"><primary sortas="b-users">users</primary></indexterm>
+</listitem>
+</varlistentry>
+
+<varlistentry id="vdir">
+<term><command>vdir</command></term>
+<listitem>
+<para>Is the same as <command>ls -l</command></para>
+<indexterm zone="ch-system-coreutils vdir"><primary sortas="b-vdir">vdir</primary></indexterm>
+</listitem>
+</varlistentry>
+
+<varlistentry id="wc">
+<term><command>wc</command></term>
+<listitem>
+<para>Reports the number of lines, words, and bytes for each given
+file, as well as a total line when more than one file is given</para>
+<indexterm zone="ch-system-coreutils wc"><primary sortas="b-wc">wc</primary></indexterm>
+</listitem>
+</varlistentry>
+
+<varlistentry id="who">
+<term><command>who</command></term>
+<listitem>
+<para>Reports who is logged on</para>
+<indexterm zone="ch-system-coreutils who"><primary sortas="b-who">who</primary></indexterm>
+</listitem>
+</varlistentry>
+
+<varlistentry id="whoami">
+<term><command>whoami</command></term>
+<listitem>
+<para>Reports the user name associated with the current effective user ID</para>
+<indexterm zone="ch-system-coreutils whoami"><primary sortas="b-whoami">whoami</primary></indexterm>
+</listitem>
+</varlistentry>
+
+<varlistentry id="yes">
+<term><command>yes</command></term>
+<listitem>
+<para>Repeatedly outputs <quote>y</quote> or a given string until
+killed</para>
+<indexterm zone="ch-system-coreutils yes"><primary sortas="b-yes">yes</primary></indexterm>
+</listitem>
+</varlistentry>
+</variablelist>
+
+</sect2>
+
+</sect1>
+


Property changes on: trunk/BOOK/chapter06/coreutils.xml
___________________________________________________________________
Name: svn:keywords
   + "Author Date Revision Id"

Added: trunk/BOOK/chapter06/diffutils.xml
===================================================================
--- trunk/BOOK/chapter06/diffutils.xml	2005-02-14 09:33:20 UTC (rev 193)
+++ trunk/BOOK/chapter06/diffutils.xml	2005-02-14 20:20:32 UTC (rev 194)
@@ -0,0 +1,99 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
+  <!ENTITY % general-entities SYSTEM "../general.ent">
+  %general-entities;
+]>
+<sect1 id="ch-system-diffutils" role="wrap">
+<title>Diffutils-&diffutils-version;</title>
+<?dbhtml filename="diffutils.html"?>
+
+<indexterm zone="ch-system-diffutils"><primary sortas="a-Diffutils">Diffutils</primary></indexterm>
+
+<sect2 role="package"><title/>
+<para>The Diffutils package contains programs that show the differences
+between files or directories.</para>
+
+<segmentedlist>
+<segtitle>&buildtime;</segtitle>
+<segtitle>&diskspace;</segtitle>
+<seglistitem><seg>?? SBU</seg><seg>?? MB</seg></seglistitem>
+</segmentedlist>
+
+<segmentedlist>
+<segtitle>Diffutils installation depends on</segtitle>
+<seglistitem><seg>Bash, Binutils, Coreutils, Diffutils, GCC,
+Gettext, Glibc, Grep, Make, and Sed</seg></seglistitem>
+</segmentedlist>
+</sect2>
+
+<sect2 role="installation">
+<title>Installation of Diffutils</title>
+
+<para>Amend <filename>Makefile.in</filename>:</para>
+
+<screen><userinput>sed -e 's/^CFLAGS .*$/& -pie -fpie/' -i src/Makefile.in</userinput></screen>
+
+<para>Prepare Diffutils for compilation:</para>
+
+<screen><userinput>./configure --prefix=/usr ${disable_nls}</userinput></screen>
+
+<para>Compile the package:</para>
+
+<screen><userinput>make</userinput></screen>
+
+<para>This package does not come with a test suite.</para>
+
+<para>Install the package:</para>
+
+<screen><userinput>make install</userinput></screen>
+
+</sect2>
+
+
+<sect2 id="contents-diffutils" role="content"><title>Contents of Diffutils</title>
+
+<segmentedlist>
+<segtitle>Installed programs</segtitle>
+<seglistitem><seg>cmp, diff, diff3, and sdiff</seg></seglistitem>
+</segmentedlist>
+
+<variablelist><bridgehead renderas="sect3">Short Descriptions</bridgehead>
+<?dbfo list-presentation="list"?>
+
+<varlistentry id="cmp">
+<term><command>cmp</command></term>
+<listitem>
+<para>Compares two files and reports whether or in which bytes they differ</para>
+<indexterm zone="ch-system-diffutils cmp"><primary sortas="b-cmp">cmp</primary></indexterm>
+</listitem>
+</varlistentry>
+
+<varlistentry id="diff">
+<term><command>diff</command></term>
+<listitem>
+<para>Compares two files or directories and reports which lines in the files differ</para>
+<indexterm zone="ch-system-diffutils diff"><primary sortas="b-diff">diff</primary></indexterm>
+</listitem>
+</varlistentry>
+
+<varlistentry id="diff3">
+<term><command>diff3</command></term>
+<listitem>
+<para>Compares three files line by line</para>
+<indexterm zone="ch-system-diffutils diff3"><primary sortas="b-diff3">diff3</primary></indexterm>
+</listitem>
+</varlistentry>
+
+<varlistentry id="sdiff">
+<term><command>sdiff</command></term>
+<listitem>
+<para>Merges two files and interactively outputs the results</para>
+<indexterm zone="ch-system-diffutils sdiff"><primary sortas="b-sdiff">sdiff</primary></indexterm>
+</listitem>
+</varlistentry>
+</variablelist>
+
+</sect2>
+
+</sect1>
+


Property changes on: trunk/BOOK/chapter06/diffutils.xml
___________________________________________________________________
Name: svn:keywords
   + "Author Date Revision Id"

Added: trunk/BOOK/chapter06/findutils.xml
===================================================================
--- trunk/BOOK/chapter06/findutils.xml	2005-02-14 09:33:20 UTC (rev 193)
+++ trunk/BOOK/chapter06/findutils.xml	2005-02-14 20:20:32 UTC (rev 194)
@@ -0,0 +1,136 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
+  <!ENTITY % general-entities SYSTEM "../general.ent">
+  %general-entities;
+]>
+<sect1 id="ch-system-findutils" role="wrap">
+<title>Findutils-&findutils-version;</title>
+<?dbhtml filename="findutils.html"?>
+
+<indexterm zone="ch-system-findutils"><primary sortas="a-Findutils">Findutils</primary></indexterm>
+
+<sect2 role="package"><title/>
+<para>The Findutils package contains programs to find files. Processes
+are provided to recursively search through a directory tree and to
+create, maintain, and search a database (often faster than the recursive
+find, but unreliable if the database has not been recently updated).</para>
+
+<segmentedlist>
+<segtitle>&buildtime;</segtitle>
+<segtitle>&diskspace;</segtitle>
+<seglistitem><seg>?? SBU</seg><seg>?? MB</seg></seglistitem>
+</segmentedlist>
+
+<segmentedlist>
+<segtitle>Findutils installation depends on</segtitle>
+<seglistitem><seg>Bash, Binutils, Coreutils,
+Diffutils, GCC, Gettext, Glibc, Grep, Make and Sed</seg></seglistitem>
+</segmentedlist>
+</sect2>
+
+<sect2 role="installation">
+<title>Installation of Findutils</title>
+
+<para>Amend <filename>Makefile.in</filename>:</para>
+
+<screen><userinput>sed -e 's/^CFLAGS .*$/& -pie -fpie/' -i {find,locate,xargs}/Makefile.in</userinput></screen>
+
+<para>Prepare Findutils for compilation:</para>
+
+<screen><userinput>./configure --prefix=/usr --libexecdir=/usr/lib/locate \
+    --localstatedir=/var/lib/locate ${disable_nls}</userinput></screen>
+
+<para>The <parameter>localstatedir</parameter> directive above changes the
+location of the <command>locate</command> database to be in <filename
+class="directory">/var/lib/locate</filename>, which is FHS-compliant.</para>
+
+<para>Compile the package:</para>
+
+<screen><userinput>make</userinput></screen>
+
+<para>To test the results, issue:
+<userinput>make check</userinput>.</para>
+
+<para>Install the package:</para>
+
+<screen><userinput>make install</userinput></screen>
+
+</sect2>
+
+<sect2 id="contents-findutils" role="content"><title>Contents of Findutils</title>
+
+<segmentedlist>
+<segtitle>Installed programs</segtitle>
+<seglistitem><seg>bigram, code, find, frcode, locate, updatedb, and xargs</seg></seglistitem>
+</segmentedlist>
+
+<variablelist><bridgehead renderas="sect3">Short Descriptions</bridgehead>
+<?dbfo list-presentation="list"?>
+
+<varlistentry id="bigram">
+<term><command>bigram</command></term>
+<listitem>
+<para>Was formerly used to produce <command>locate</command> databases</para>
+<indexterm zone="ch-system-findutils bigram"><primary sortas="b-bigram">bigram</primary></indexterm>
+</listitem>
+</varlistentry>
+
+<varlistentry id="code">
+<term><command>code</command></term>
+<listitem>
+<para>Was formerly used to produce <command>locate</command>
+databases; it is the ancestor of <command>frcode</command>.</para>
+<indexterm zone="ch-system-findutils code"><primary sortas="b-code">code</primary></indexterm>
+</listitem>
+</varlistentry>
+
+<varlistentry id="find">
+<term><command>find</command></term>
+<listitem>
+<para>Searches given directory trees for files matching the specified criteria</para>
+<indexterm zone="ch-system-findutils find"><primary sortas="b-find">find</primary></indexterm>
+</listitem>
+</varlistentry>
+
+<varlistentry id="frcode">
+<term><command>frcode</command></term>
+<listitem>
+<para>Is called by <command>updatedb</command> to compress the list of file names; it uses
+front-compression, reducing the database size by a factor of four to
+five.</para>
+<indexterm zone="ch-system-findutils frcode"><primary sortas="b-frcode">frcode</primary></indexterm>
+</listitem>
+</varlistentry>
+
+<varlistentry id="locate">
+<term><command>locate</command></term>
+<listitem>
+<para>Searches through a database of file names and reports the names
+that contain a given string or match a given pattern</para>
+<indexterm zone="ch-system-findutils locate"><primary sortas="b-locate">locate</primary></indexterm>
+</listitem>
+</varlistentry>
+
+<varlistentry id="updatedb">
+<term><command>updatedb</command></term>
+<listitem>
+<para>Updates the <command>locate</command> database; it scans
+the entire file system (including other file systems that are currently mounted,
+unless told not to) and puts every file name it finds into the database</para>
+<indexterm zone="ch-system-findutils updatedb"><primary sortas="b-updatedb">updatedb</primary></indexterm>
+</listitem>
+</varlistentry>
+
+<varlistentry id="xargs">
+<term><command>xargs</command></term>
+<listitem>
+<para>Can be used to apply a given command to a list of files</para>
+<indexterm zone="ch-system-findutils xargs"><primary sortas="b-xargs">xargs</primary></indexterm>
+</listitem>
+</varlistentry>
+</variablelist>
+
+</sect2>
+
+</sect1>
+


Property changes on: trunk/BOOK/chapter06/findutils.xml
___________________________________________________________________
Name: svn:keywords
   + "Author Date Revision Id"

Added: trunk/BOOK/chapter06/gawk.xml
===================================================================
--- trunk/BOOK/chapter06/gawk.xml	2005-02-14 09:33:20 UTC (rev 193)
+++ trunk/BOOK/chapter06/gawk.xml	2005-02-14 20:20:32 UTC (rev 194)
@@ -0,0 +1,133 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
+  <!ENTITY % general-entities SYSTEM "../general.ent">
+  %general-entities;
+]>
+<sect1 id="ch-system-gawk" role="wrap">
+<title>Gawk-&gawk-version;</title>
+<?dbhtml filename="gawk.html"?>
+
+<indexterm zone="ch-system-gawk"><primary sortas="a-Gawk">Gawk</primary></indexterm>
+
+<sect2 role="package"><title/>
+<para>The Gawk package contains programs for manipulating text files.</para>
+
+<segmentedlist>
+<segtitle>&buildtime;</segtitle>
+<segtitle>&diskspace;</segtitle>
+<seglistitem><seg>?? SBU</seg><seg>?? MB</seg></seglistitem>
+</segmentedlist>
+
+<segmentedlist>
+<segtitle>Gawk installation depends on</segtitle>
+<seglistitem><seg>Bash, Binutils, Coreutils,
+Diffutils, GCC, Gettext, Glibc, Grep, Make, and Sed</seg></seglistitem>
+</segmentedlist>
+</sect2>
+
+<sect2 role="installation">
+<title>Installation of Gawk</title>
+
+<para>Amend <filename>Makefile.in</filename>:</para>
+
+<screen><userinput>sed -e 's/^CFLAGS .*$/& -pie -fpie/' -i Makefile.in</userinput></screen>
+
+<para>Prepare Gawk for compilation:</para>
+
+<screen><userinput>./configure --prefix=/usr --libexecdir=/usr/lib \
+    ${disable_nls} </userinput></screen>
+
+<para>Compile the package:</para>
+
+<screen><userinput>make</userinput></screen>
+
+<para>To test the results, issue:
+<userinput>make check</userinput>.</para>
+
+<para>Install the package:</para>
+
+<screen><userinput>make install</userinput></screen>
+</sect2>
+
+
+<sect2 id="contents-gawk" role="content"><title>Contents of Gawk</title>
+
+<segmentedlist>
+<segtitle>Installed programs</segtitle>
+<seglistitem><seg>awk (link to gawk), gawk, gawk-&gawk-version;, grcat, igawk, 
+pgawk, pgawk-&gawk-version;, and pwcat</seg></seglistitem>
+</segmentedlist>
+
+<variablelist><bridgehead renderas="sect3">Short Descriptions</bridgehead>
+<?dbfo list-presentation="list"?>
+
+<varlistentry id="awk">
+<term><command>awk</command></term>
+<listitem>
+<para>A link to <command>gawk</command></para>
+<indexterm zone="ch-system-gawk awk"><primary sortas="b-awk">awk</primary></indexterm>
+</listitem>
+</varlistentry>
+
+<varlistentry id="gawk">
+<term><command>gawk</command></term>
+<listitem>
+<para>A program for manipulating text files; it is the GNU
+implementation of <command>awk</command></para>
+<indexterm zone="ch-system-gawk gawk"><primary sortas="b-gawk">gawk</primary></indexterm>
+</listitem>
+</varlistentry>
+
+<varlistentry id="gawk-version">
+<term><command>gawk-&gawk-version;</command></term>
+<listitem>
+<para>A hard link to <command>gawk</command></para>
+<indexterm zone="ch-system-gawk gawk-version"><primary sortas="b-gawk-&gawk-version;">gawk-&gawk-version;</primary></indexterm>
+</listitem>
+</varlistentry>
+
+<varlistentry id="grcat">
+<term><command>grcat</command></term>
+<listitem>
+<para>Dumps the group database <filename>/etc/group</filename></para>
+<indexterm zone="ch-system-gawk grcat"><primary sortas="b-grcat">grcat</primary></indexterm>
+</listitem>
+</varlistentry>
+
+<varlistentry id="igawk">
+<term><command>igawk</command></term>
+<listitem>
+<para>Gives <command>gawk</command> the ability to include files</para>
+<indexterm zone="ch-system-gawk igawk"><primary sortas="b-igawk">igawk</primary></indexterm>
+</listitem>
+</varlistentry>
+
+<varlistentry id="pgawk">
+<term><command>pgawk</command></term>
+<listitem>
+<para>The profiling version of <command>gawk</command></para>
+<indexterm zone="ch-system-gawk pgawk"><primary sortas="b-pgawk">pgawk</primary></indexterm>
+</listitem>
+</varlistentry>
+
+<varlistentry id="pgawk-version">
+<term><command>pgawk-&gawk-version;</command></term>
+<listitem>
+<para>Hard link to <command>pgawk</command></para>
+<indexterm zone="ch-system-gawk pgawk-version"><primary sortas="b-pgawk-&gawk-version;">pgawk-&gawk-version;</primary></indexterm>
+</listitem>
+</varlistentry>
+
+<varlistentry id="pwcat">
+<term><command>pwcat</command></term>
+<listitem>
+<para>Dumps the password database <filename>/etc/passwd</filename></para>
+<indexterm zone="ch-system-gawk pwcat"><primary sortas="b-pwcat">pwcat</primary></indexterm>
+</listitem>
+</varlistentry>
+</variablelist>
+
+</sect2>
+
+</sect1>
+


Property changes on: trunk/BOOK/chapter06/gawk.xml
___________________________________________________________________
Name: svn:keywords
   + "Author Date Revision Id"

Added: trunk/BOOK/chapter06/gettext.xml
===================================================================
--- trunk/BOOK/chapter06/gettext.xml	2005-02-14 09:33:20 UTC (rev 193)
+++ trunk/BOOK/chapter06/gettext.xml	2005-02-14 20:20:32 UTC (rev 194)
@@ -0,0 +1,314 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
+  <!ENTITY % general-entities SYSTEM "../general.ent">
+  %general-entities;
+]>
+<sect1 id="ch-system-gettext" role="wrap" condition="glibc">
+<title>Gettext-&gettext-version;</title>
+<?dbhtml filename="gettext.html"?>
+
+<indexterm zone="ch-system-gettext"><primary sortas="a-Gettext">Gettext</primary></indexterm>
+
+<sect2 role="package"><title/>
+<para>The Gettext package contains utilities for internationalization and
+localization. These allow programs to be compiled with NLS, enabling them
+to output messages in the user's native language.</para>
+
+<segmentedlist>
+<segtitle>&buildtime;</segtitle>
+<segtitle>&diskspace;</segtitle>
+<seglistitem><seg>?? SBU</seg><seg>?? MB</seg></seglistitem>
+</segmentedlist>
+
+<segmentedlist>
+<segtitle>Gettext installation depends on</segtitle>
+<seglistitem><seg>Bash, Binutils, Bison, Coreutils,
+Diffutils, Gawk, GCC, Glibc, Grep, Make, and Sed</seg></seglistitem>
+</segmentedlist>
+</sect2>
+
+<sect2 role="installation">
+<title>Installation of Gettext</title>
+
+<para>Amend <filename>Makefile.in</filename>:</para>
+
+<screen><userinput>sed -e 's/^C\(XX\)\?FLAGS .*$/& -pie -fpie/' -i \
+    gettext-runtime/src/Makefile.in
+sed -e 's/.*_CFLAGS = .*$/& -pie -fpie/' -i \
+    gettext-tools/src/Makefile.in</userinput></screen> 
+
+<para>Prepare Gettext for compilation:</para>
+
+<screen><userinput>./configure --prefix=/usr --disable-static</userinput></screen>
+
+<para>Compile the package:</para>
+
+<screen><userinput>make</userinput></screen>
+
+<para>To test the results, issue:
+<userinput>make check</userinput>. This takes a very long time, around
+7 SBUs.</para>
+
+<para>Install the package:</para>
+
+<screen><userinput>make install</userinput></screen>
+
+</sect2>
+
+
+<sect2 id="contents-gettext" role="content"><title>Contents of Gettext</title>
+
+<segmentedlist>
+<segtitle>Installed programs</segtitle>
+<segtitle>Installed libraries</segtitle>
+<seglistitem><seg>autopoint, config.charset, config.rpath, envsubst, gettext, 
+gettextize, hostname, msgattrib, msgcat, msgcmp, msgcomm, msgconv, msgen, 
+msgexec, msgfilter, msgfmt, msggrep, msginit, msgmerge, msgunfmt, msguniq, 
+ngettext, and xgettext</seg>
+<seg>libasprintf[a,so], libgettextlib[a,so], libgettextpo[a,so] and libgettextsrc[a,so]</seg></seglistitem>
+</segmentedlist>
+
+<variablelist><bridgehead renderas="sect3">Short Descriptions</bridgehead>
+<?dbfo list-presentation="list"?>
+
+<varlistentry id="autopoint">
+<term><command>autopoint</command></term>
+<listitem>
+<para>Copies standard Gettext infrastructure files into a source package</para>
+<indexterm zone="ch-system-gettext autopoint"><primary sortas="b-autopoint">autopoint</primary></indexterm>
+</listitem>
+</varlistentry>
+
+<varlistentry id="config.charset">
+<term><command>config.charset</command></term>
+<listitem>
+<para>Outputs a system-dependent table of character encoding aliases</para>
+<indexterm zone="ch-system-gettext config.charset"><primary sortas="b-config.charset">config.charset</primary></indexterm>
+</listitem>
+</varlistentry>
+
+<varlistentry id="config.rpath">
+<term><command>config.rpath</command></term>
+<listitem>
+<para>Outputs a system-dependent set of variables, describing how to set the
+runtime search path of shared libraries in an executable</para>
+<indexterm zone="ch-system-gettext config.rpath"><primary sortas="b-config.rpath">config.rpath</primary></indexterm>
+</listitem>
+</varlistentry>
+
+<varlistentry id="envsubst">
+<term><command>envsubst</command></term>
+<listitem>
+<para>Substitutes environment variables in shell format strings</para>
+<indexterm zone="ch-system-gettext envsubst"><primary sortas="b-envsubst">envsubst</primary></indexterm>
+</listitem>
+</varlistentry>
+
+<varlistentry id="gettext">
+<term><command>gettext</command></term>
+<listitem>
+<para>Translates a natural language message into the user's language
+by looking up the translation in a message catalog</para>
+<indexterm zone="ch-system-gettext gettext"><primary sortas="b-gettext">gettext</primary></indexterm>
+</listitem>
+</varlistentry>
+
+<varlistentry id="gettextize">
+<term><command>gettextize</command></term>
+<listitem>
+<para>Copies all standard Gettext files into the given top-level
+directory of a package to begin internationalizing it</para>
+<indexterm zone="ch-system-gettext gettextize"><primary sortas="b-gettextize">gettextize</primary></indexterm>
+</listitem>
+</varlistentry>
+
+<varlistentry id="hostname-gettext">
+<term><command>hostname</command></term>
+<listitem>
+<para>Displays a network hostname in various forms</para>
+<indexterm zone="ch-system-gettext hostname-gettext"><primary sortas="b-hostname-gettext">hostname</primary></indexterm>
+</listitem>
+</varlistentry>
+
+<varlistentry id="msgattrib">
+<term><command>msgattrib</command></term>
+<listitem>
+<para>Filters the messages of a translation catalog according to their
+attributes and manipulates the attributes</para>
+<indexterm zone="ch-system-gettext msgattrib"><primary sortas="b-msgattrib">msgattrib</primary></indexterm>
+</listitem>
+</varlistentry>
+
+<varlistentry id="msgcat">
+<term><command>msgcat</command></term>
+<listitem>
+<para>Concatenates and merges the given <filename class="extension">.po</filename> files</para>
+<indexterm zone="ch-system-gettext msgcat"><primary sortas="b-msgcat">msgcat</primary></indexterm>
+</listitem>
+</varlistentry>
+
+<varlistentry id="msgcmp">
+<term><command>msgcmp</command></term>
+<listitem>
+<para>Compares two <filename class="extension">.po</filename>
+files to check that both contain the same set of msgid strings</para>
+<indexterm zone="ch-system-gettext msgcmp"><primary sortas="b-msgcmp">msgcmp</primary></indexterm>
+</listitem>
+</varlistentry>
+
+<varlistentry id="msgcomm">
+<term><command>msgcomm</command></term>
+<listitem>
+<para>Finds the messages that are common to
+to the given <filename class="extension">.po</filename> files</para>
+<indexterm zone="ch-system-gettext msgcomm"><primary sortas="b-msgcomm">msgcomm</primary></indexterm>
+</listitem>
+</varlistentry>
+
+<varlistentry id="msgconv">
+<term><command>msgconv</command></term>
+<listitem>
+<para>Converts a translation catalog to a different character encoding</para>
+<indexterm zone="ch-system-gettext msgconv"><primary sortas="b-msgconv">msgconv</primary></indexterm>
+</listitem>
+</varlistentry>
+
+<varlistentry id="msgen">
+<term><command>msgen</command></term>
+<listitem>
+<para>Creates an English translation catalog</para>
+<indexterm zone="ch-system-gettext msgen"><primary sortas="b-msgen">msgen</primary></indexterm>
+</listitem>
+</varlistentry>
+
+<varlistentry id="msgexec">
+<term><command>msgexec</command></term>
+<listitem>
+<para>Applies a command to all translations of a translation catalog</para>
+<indexterm zone="ch-system-gettext msgexec"><primary sortas="b-msgexec">msgexec</primary></indexterm>
+</listitem>
+</varlistentry>
+
+<varlistentry id="msgfilter">
+<term><command>msgfilter</command></term>
+<listitem>
+<para>Applies a filter to all translations of a translation catalog</para>
+<indexterm zone="ch-system-gettext msgfilter"><primary sortas="b-msgfilter">msgfilter</primary></indexterm>
+</listitem>
+</varlistentry>
+
+<varlistentry id="msgfmt">
+<term><command>msgfmt</command></term>
+<listitem>
+<para>Generates a binary message catalog from from a translation catalog</para>
+<indexterm zone="ch-system-gettext msgfmt"><primary sortas="b-msgfmt">msgfmt</primary></indexterm>
+</listitem>
+</varlistentry>
+
+<varlistentry id="msggrep">
+<term><command>msggrep</command></term>
+<listitem>
+<para>Extracts all messages of a translation catalog that match a
+given pattern or belong to some given source files</para>
+<indexterm zone="ch-system-gettext msggrep"><primary sortas="b-msggrep">msggrep</primary></indexterm>
+</listitem>
+</varlistentry>
+
+<varlistentry id="msginit">
+<term><command>msginit</command></term>
+<listitem>
+<para>Creates a new <filename class="extension">.po</filename> file, initializing the meta
+information with values from the user's environment</para>
+<indexterm zone="ch-system-gettext msginit"><primary sortas="b-msginit">msginit</primary></indexterm>
+</listitem>
+</varlistentry>
+
+<varlistentry id="msgmerge">
+<term><command>msgmerge</command></term>
+<listitem>
+<para>Combines two raw translations into a single file</para>
+<indexterm zone="ch-system-gettext msgmerge"><primary sortas="b-msgmerge">msgmerge</primary></indexterm>
+</listitem>
+</varlistentry>
+
+<varlistentry id="msgunfmt">
+<term><command>msgunfmt</command></term>
+<listitem>
+<para>Decompiles a binary message catalog into raw translation text</para>
+<indexterm zone="ch-system-gettext msgunfmt"><primary sortas="b-msgunfmt">msgunfmt</primary></indexterm>
+</listitem>
+</varlistentry>
+
+<varlistentry id="msguniq">
+<term><command>msguniq</command></term>
+<listitem>
+<para>Unifies duplicate translations in a translation catalog</para>
+<indexterm zone="ch-system-gettext msguniq"><primary sortas="b-msguniq">msguniq</primary></indexterm>
+</listitem>
+</varlistentry>
+
+<varlistentry id="ngettext">
+<term><command>ngettext</command></term>
+<listitem>
+<para>Displays native language translations of a textual message whose
+grammatical form depends on a number</para>
+<indexterm zone="ch-system-gettext ngettext"><primary sortas="b-ngettext">ngettext</primary></indexterm>
+</listitem>
+</varlistentry>
+
+<varlistentry id="xgettext">
+<term><command>xgettext</command></term>
+<listitem>
+<para>Extracts the translatable message lines from the given source
+files to make the first translation template</para>
+<indexterm zone="ch-system-gettext xgettext"><primary sortas="b-xgettext">xgettext</primary></indexterm>
+</listitem>
+</varlistentry>
+
+<varlistentry id="libasprintf">
+<term><filename class="libraryfile">libasprintf</filename></term>
+<listitem>
+<para>defines the <emphasis>autosprintf</emphasis> class, which makes
+C formatted output routines usable in C++ programs, for use with the
+<emphasis><string></emphasis> strings and the
+<emphasis><iostream></emphasis> streams</para>
+<indexterm zone="ch-system-gettext libasprintf"><primary sortas="c-libasprintf">libasprintf</primary></indexterm>
+</listitem>
+</varlistentry>
+
+<varlistentry id="libgettextlib">
+<term><filename class="libraryfile">libgettextlib</filename></term>
+<listitem>
+<para>a private library containing common routines used by the various Gettext
+programs; these are not intended for general use</para>
+<indexterm zone="ch-system-gettext libgettextlib"><primary sortas="c-libgettextlib">libgettextlib</primary></indexterm>
+</listitem>
+</varlistentry>
+
+<varlistentry id="libgettextpo">
+<term><filename class="libraryfile">libgettextpo</filename></term>
+<listitem>
+<para>Used to write specialized programs that process <filename
+class="extension">.po</filename> files; this library is used when the
+standard applications shipped with Gettext (such as
+<command>msgcomm</command>, <command>msgcmp</command>,
+<command>msgattrib</command>, and <command>msgen</command>) will not
+suffice</para>
+<indexterm zone="ch-system-gettext libgettextpo"><primary sortas="c-libgettextpo">libgettextpo</primary></indexterm>
+</listitem>
+</varlistentry>
+
+<varlistentry id="libgettextsrc">
+<term><filename class="libraryfile">libgettextsrc</filename></term>
+<listitem>
+<para>A private library containing common routines used by the various Gettext
+programs; these are not intended for general use</para>
+<indexterm zone="ch-system-gettext libgettextsrc"><primary sortas="c-libgettextsrc">libgettextsrc</primary></indexterm>
+</listitem>
+</varlistentry>
+</variablelist>
+
+</sect2>
+
+</sect1>
+


Property changes on: trunk/BOOK/chapter06/gettext.xml
___________________________________________________________________
Name: svn:keywords
   + "Author Date Revision Id"

Added: trunk/BOOK/chapter06/grep.xml
===================================================================
--- trunk/BOOK/chapter06/grep.xml	2005-02-14 09:33:20 UTC (rev 193)
+++ trunk/BOOK/chapter06/grep.xml	2005-02-14 20:20:32 UTC (rev 194)
@@ -0,0 +1,92 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
+  <!ENTITY % general-entities SYSTEM "../general.ent">
+  %general-entities;
+]>
+<sect1 id="ch-system-grep" role="wrap">
+<title>Grep-&grep-version;</title>
+<?dbhtml filename="grep.html"?>
+
+<indexterm zone="ch-system-grep"><primary sortas="a-Grep">Grep</primary></indexterm>
+
+<sect2 role="package"><title/>
+<para>The Grep package contains programs for searching through files.</para>
+
+<segmentedlist>
+<segtitle>&buildtime;</segtitle>
+<segtitle>&diskspace;</segtitle>
+<seglistitem><seg>?? SBU</seg><seg>?? MB</seg></seglistitem>
+</segmentedlist>
+
+<segmentedlist>
+<segtitle>Grep installation depends on</segtitle>
+<seglistitem><seg>Bash, Binutils, Coreutils,
+Diffutils, GCC, Gettext, Glibc, Make, Sed, and Texinfo</seg></seglistitem>
+</segmentedlist>
+</sect2>
+
+<sect2 role="installation">
+<title>Installation of Grep</title>
+
+<para>Amend <filename>Makefile.in</filename>:</para>
+
+<screen><userinput>sed -e 's/^CFLAGS .*$/& -pie -fpie/' -i src/Makefile.in</userinput></screen>
+
+<para>Prepare Grep for compilation:</para>
+
+<screen><userinput>./configure --prefix=/usr --bindir=/bin \
+    --with-included-regex ${disable_nls}</userinput></screen>
+
+<para>Compile the package:</para>
+
+<screen><userinput>make</userinput></screen>
+
+<para>To test the results, issue:
+<userinput>make check</userinput>.</para>
+
+<para>Install the package:</para>
+
+<screen><userinput>make install</userinput></screen>
+
+</sect2>
+
+
+<sect2 id="contents-grep" role="content"><title>Contents of Grep</title>
+
+<segmentedlist>
+<segtitle>Installed programs</segtitle>
+<seglistitem><seg>egrep (link to grep), fgrep (link to grep), and grep</seg></seglistitem>
+</segmentedlist>
+
+<variablelist><bridgehead renderas="sect3">Short Descriptions</bridgehead>
+<?dbfo list-presentation="list"?>
+
+<varlistentry id="egrep">
+<term><command>egrep</command></term>
+<listitem>
+<para>Prints lines matching an extended regular expression</para>
+<indexterm zone="ch-system-grep egrep"><primary sortas="b-egrep">egrep</primary></indexterm>
+</listitem>
+</varlistentry>
+
+<varlistentry id="fgrep">
+<term><command>fgrep</command></term>
+<listitem>
+<para>Prints lines matching a list of fixed strings</para>
+<indexterm zone="ch-system-grep fgrep"><primary sortas="b-fgrep">fgrep</primary></indexterm>
+</listitem>
+</varlistentry>
+
+<varlistentry id="grep">
+<term><command>grep</command></term>
+<listitem>
+<para>Prints lines matching a basic regular expression</para>
+<indexterm zone="ch-system-grep grep"><primary sortas="b-grep">grep</primary></indexterm>
+</listitem>
+</varlistentry>
+</variablelist>
+
+</sect2>
+
+</sect1>
+


Property changes on: trunk/BOOK/chapter06/grep.xml
___________________________________________________________________
Name: svn:keywords
   + "Author Date Revision Id"

Added: trunk/BOOK/chapter06/make.xml
===================================================================
--- trunk/BOOK/chapter06/make.xml	2005-02-14 09:33:20 UTC (rev 193)
+++ trunk/BOOK/chapter06/make.xml	2005-02-14 20:20:32 UTC (rev 194)
@@ -0,0 +1,76 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
+  <!ENTITY % general-entities SYSTEM "../general.ent">
+  %general-entities;
+]>
+<sect1 id="ch-system-make" role="wrap">
+<title>Make-&make-version;</title>
+<?dbhtml filename="make.html"?>
+
+<indexterm zone="ch-system-make"><primary sortas="a-Make">Make</primary></indexterm>
+
+<sect2 role="package"><title/>
+<para>The Make package contains a program for compiling large packages.</para>
+
+<segmentedlist>
+<segtitle>&buildtime;</segtitle>
+<segtitle>&diskspace;</segtitle>
+<seglistitem><seg>?? SBU</seg><seg>?? MB</seg></seglistitem>
+</segmentedlist>
+
+<segmentedlist>
+<segtitle>Make installation depends on</segtitle>
+<seglistitem><seg>Bash, Binutils, Coreutils, Diffutils,
+GCC, Gettext, Glibc, Grep, and Sed</seg></seglistitem>
+</segmentedlist>
+</sect2>
+
+<sect2 role="installation">
+<title>Installation of Make</title>
+
+<para>Amend <filename>Makefile.in</filename>:</para>
+
+<screen><userinput>sed -e 's/^CFLAGS .*$/& -pie -fpie/' -i Makefile.in</userinput></screen>
+
+<para>Prepare Make for compilation:</para>
+
+<screen><userinput>./configure --prefix=/usr ${disable_nls}</userinput></screen>
+
+<para>Compile the package:</para>
+
+<screen><userinput>make</userinput></screen>
+
+<para>To test the results, issue:
+<userinput>make check</userinput>.</para>
+
+<para>Install the package:</para>
+
+<screen><userinput>make install</userinput></screen>
+
+</sect2>
+
+
+<sect2 id="contents-make" role="content"><title>Contents of Make</title>
+
+<segmentedlist>
+<segtitle>Installed program</segtitle>
+<seglistitem><seg>make</seg></seglistitem>
+</segmentedlist>
+
+<variablelist><bridgehead renderas="sect3">Short Descriptions</bridgehead>
+<?dbfo list-presentation="list"?>
+
+<varlistentry id="make">
+<term><command>make</command></term>
+<listitem>
+<para>Automatically determines which pieces of a large package need to
+be recompiled and then issues the relevant commands</para>
+<indexterm zone="ch-system-make make"><primary sortas="b-make">make</primary></indexterm>
+</listitem>
+</varlistentry>
+</variablelist>
+
+</sect2>
+
+</sect1>
+


Property changes on: trunk/BOOK/chapter06/make.xml
___________________________________________________________________
Name: svn:keywords
   + "Author Date Revision Id"

Added: trunk/BOOK/chapter06/sed.xml
===================================================================
--- trunk/BOOK/chapter06/sed.xml	2005-02-14 09:33:20 UTC (rev 193)
+++ trunk/BOOK/chapter06/sed.xml	2005-02-14 20:20:32 UTC (rev 194)
@@ -0,0 +1,76 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
+  <!ENTITY % general-entities SYSTEM "../general.ent">
+  %general-entities;
+]>
+<sect1 id="ch-system-sed" role="wrap">
+<title>Sed-&sed-version;</title>
+<?dbhtml filename="sed.html"?>
+
+<indexterm zone="ch-system-sed"><primary sortas="a-Sed">Sed</primary></indexterm>
+
+<sect2 role="package"><title/>
+<para>The Sed package contains a stream editor.</para>
+
+<segmentedlist>
+<segtitle>&buildtime;</segtitle>
+<segtitle>&diskspace;</segtitle>
+<seglistitem><seg>?? SBU</seg><seg>?? MB</seg></seglistitem>
+</segmentedlist>
+
+<segmentedlist>
+<segtitle>Sed installation depends on</segtitle>
+<seglistitem><seg>Bash, Binutils, Coreutils,
+Diffutils, GCC, Gettext, Glibc, Grep, Make, and Texinfo</seg></seglistitem>
+</segmentedlist>
+</sect2>
+
+<sect2 role="installation">
+<title>Installation of Sed</title>
+
+<para>Amend <filename>Makefile.in</filename>:</para>
+
+<screen><userinput>sed -e 's/^CFLAGS .*$/& -pie -fpie/' -i sed/Makefile.in</userinput></screen>
+
+<para>Prepare Sed for compilation:</para>
+
+<screen><userinput>./configure --prefix=/usr --bindir=/bin \
+    ${disable_nls}</userinput></screen>
+
+<para>Compile the package:</para>
+
+<screen><userinput>make</userinput></screen>
+
+<para>To test the results, issue:
+<userinput>make check</userinput>.</para>
+
+<para>Install the package:</para>
+
+<screen><userinput>make install</userinput></screen>
+
+</sect2>
+
+
+<sect2 id="contents-sed" role="content"><title>Contents of Sed</title>
+
+<segmentedlist>
+<segtitle>Installed program</segtitle>
+<seglistitem><seg>sed</seg></seglistitem>
+</segmentedlist>
+
+<variablelist><bridgehead renderas="sect3">Short Descriptions</bridgehead>
+<?dbfo list-presentation="list"?>
+
+<varlistentry id="sed">
+<term><command>sed</command></term>
+<listitem>
+<para>Filters and transforms text files in a single pass</para>
+<indexterm zone="ch-system-sed sed"><primary sortas="b-sed">sed</primary></indexterm>
+</listitem>
+</varlistentry>
+</variablelist>
+
+</sect2>
+
+</sect1>
+


Property changes on: trunk/BOOK/chapter06/sed.xml
___________________________________________________________________
Name: svn:keywords
   + "Author Date Revision Id"




More information about the hlfs-dev mailing list