r3132 - in trunk/BOOK: . general/sysutils introduction/welcome

randy at linuxfromscratch.org randy at linuxfromscratch.org
Tue Dec 21 09:25:58 PST 2004


Author: randy
Date: 2004-12-21 10:25:57 -0700 (Tue, 21 Dec 2004)
New Revision: 3132

Modified:
   trunk/BOOK/general.ent
   trunk/BOOK/general/sysutils/cpio.xml
   trunk/BOOK/introduction/welcome/changelog.xml
Log:
Updated to cpio-2.6

Modified: trunk/BOOK/general/sysutils/cpio.xml
===================================================================
--- trunk/BOOK/general/sysutils/cpio.xml	2004-12-21 15:44:41 UTC (rev 3131)
+++ trunk/BOOK/general/sysutils/cpio.xml	2004-12-21 17:25:57 UTC (rev 3132)
@@ -6,10 +6,9 @@
 
 <!ENTITY cpio-download-http "http://ftp.gnu.org/pub/gnu/cpio/cpio-&cpio-version;.tar.gz">
 <!ENTITY cpio-download-ftp "ftp://ftp.gnu.org/pub/gnu/cpio/cpio-&cpio-version;.tar.gz">
-<!ENTITY cpio-size "188 KB">
-<!ENTITY cpio-buildsize "1 MB">
-<!ENTITY cpio-time "0.06 SBU">
-
+<!ENTITY cpio-size "448 KB">
+<!ENTITY cpio-buildsize "5.4 MB">
+<!ENTITY cpio-time "0.12 SBU">
 ]>
 
 <sect1 id="cpio" xreflabel="cpio-&cpio-version;">
@@ -22,11 +21,10 @@
 
 <sect2>
 <title>Introduction to <application>cpio</application></title>
-                                                                               
-                                                                               
+
 <para>The <application>cpio</application> package contains
 tools for archiving.</para>
-                                                                               
+
 <sect3><title>Package information</title>
 <itemizedlist spacing='compact'>
 <listitem><para>Download (HTTP): <ulink
@@ -34,65 +32,69 @@
 <listitem><para>Download (FTP): <ulink
 url="&cpio-download-ftp;"/></para></listitem>
 <listitem><para>Download size: &cpio-size;</para></listitem>
-<listitem><para>Estimated Disk space required:
+<listitem><para>Estimated disk space required:
 &cpio-buildsize;</para></listitem>
 <listitem><para>Estimated build time:
 &cpio-time;</para></listitem></itemizedlist>
 </sect3>
-                                                                               
-                                                                               
+
 </sect2>
 
 <sect2>
 <title>Installation of <application>cpio</application></title>
-                                                                               
+
 <para>Install <application>cpio</application> by running the following commands:
 </para>
-                                                                               
-<screen><userinput><command>./configure --prefix=/usr --libexecdir=/tmp/cpio \
-    --bindir=/bin &&
+
+<screen><userinput><command>sed -i -e "s/invalid_arg/argmatch_invalid/" src/mt.c &&
+./configure CPIO_MT_PROG=mt --prefix=/usr \
+    --bindir=/bin --libexecdir=/tmp \
+    --with-rmt=/usr/sbin/rmt &&
 make &&
-make install &&
-rm -rf /tmp/cpio</command></userinput></screen>
-                                                                               
+make install</command></userinput></screen>
+
 </sect2>
 
 <sect2>
 <title>Command explanations</title>
-                                                                               
-<para><parameter>--libexec=/tmp/cpio</parameter>: This command installs
-<command>rmt</command> to <filename class="directory">/tmp/cpio</filename> so
-that it can be removed. The <command>rmt</command> executable is already
-installed by the <application>tar</application> package in
-<acronym>LFS</acronym>.</para>
-                                                                               
-<para><parameter>--bindir=/bin</parameter>: This command installs
-<command>cpio</command> to <filename class="directory">/bin</filename> instead
-of <filename class="directory">/usr/bin</filename> as per
+
+<para><command>sed -i -e "s/invalid_arg/argmatch_invalid/" src/mt.c</command>: 
+This command fixes a build problem in the <command>mt</command> program.</para>
+
+<para><parameter>CPIO_MT_PROG=mt</parameter>: This parameter forces the 
+building and installation of the <command>mt</command> program.</para>
+
+<para><parameter>--bindir=/bin</parameter>: This parameter installs 
+<command>cpio</command> to <filename class="directory">/bin</filename> instead 
+of <filename class="directory">/usr/bin</filename> as per 
 <acronym>FHS</acronym> guidelines.</para>
-                                                                               
+
+<para><parameter>--libexecdir=/tmp</parameter>: This parameter is used so 
+that <filename class='directory'>/usr/libexec</filename> is not created.</para>
+
+<para><parameter>--with-rmt=/usr/sbin/rmt</parameter>: This parameter inhibits 
+building the <command>rmt</command> program as it is already installed by the 
+<application>tar</application> package in <acronym>LFS</acronym>.</para>
+
 </sect2>
 
 <sect2>
 <title>Contents</title>
-                                                                               
-<para>The <application>cpio</application> package contains <command>cpio
-</command> and <command>mt</command>.</para>
-                                                                               
+
+<para>The <application>cpio</application> package contains 
+<command>cpio</command> and <command>mt</command>.</para>
+
 </sect2>
-                                                                               
+
 <sect2><title>Description</title>
-                                                                               
+
 <sect3><title>cpio</title>
-<para><command>cpio</command> copies files to and from archives.</para></sect3>                                                                               
+<para><command>cpio</command> copies files to and from archives.</para></sect3>
+
 <sect3><title>mt</title>
-<para><command>mt</command> controls magnetic tape drive operations.</para></sect3>
-                                                                               
-<!--
-<sect3><title>rmt</title>
-<para><command>rmt</command> controls remote magnetic tape drive operations.</para></sect3>
--->
-                                                                               
+<para><command>mt</command> controls magnetic tape drive 
+operations.</para></sect3>
+
 </sect2>
 
 </sect1>

Modified: trunk/BOOK/general.ent
===================================================================
--- trunk/BOOK/general.ent	2004-12-21 15:44:41 UTC (rev 3131)
+++ trunk/BOOK/general.ent	2004-12-21 17:25:57 UTC (rev 3132)
@@ -123,7 +123,7 @@
 <!ENTITY zip-version                  "2.3">
 <!ENTITY pciutils-version             "2.1.11">
 <!ENTITY pkgconfig-version            "0.15.0">
-<!ENTITY cpio-version                 "2.5">
+<!ENTITY cpio-version                 "2.6">
 <!ENTITY mc-version                   "4.6.0">
 <!ENTITY sysstat-version              "5.0.6">
 <!ENTITY apache-ant-version           "1.6.2">

Modified: trunk/BOOK/introduction/welcome/changelog.xml
===================================================================
--- trunk/BOOK/introduction/welcome/changelog.xml	2004-12-21 15:44:41 UTC (rev 3131)
+++ trunk/BOOK/introduction/welcome/changelog.xml	2004-12-21 17:25:57 UTC (rev 3132)
@@ -22,8 +22,8 @@
 
 <itemizedlist>
 
-<listitem><para>December 21st, 2004 [randy]: Updated to
-KOffice-1.3.5.</para></listitem>
+<listitem><para>December 21st, 2004 [randy]: Updated to KOffice-1.3.5 and 
+cpio-2.6.</para></listitem>
 
 <listitem><para>December 20th, 2004 [bdubbs]: Updated license of book to
 make compatible with OSI.</para></listitem>




More information about the blfs-book mailing list