Author: randy
Date: 2010-04-07 12:53:42 -0600 (Wed, 07 Apr 2010)
New Revision: 8389

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

Modified: trunk/BOOK/general/sysutils/cpio.xml
===================================================================
--- trunk/BOOK/general/sysutils/cpio.xml        2010-04-07 18:32:18 UTC (rev 
8388)
+++ trunk/BOOK/general/sysutils/cpio.xml        2010-04-07 18:53:42 UTC (rev 
8389)
@@ -6,10 +6,10 @@
 
   <!ENTITY cpio-download-http 
"http://ftp.gnu.org/pub/gnu/cpio/cpio-&cpio-version;.tar.bz2";>
   <!ENTITY cpio-download-ftp  
"ftp://ftp.gnu.org/pub/gnu/cpio/cpio-&cpio-version;.tar.bz2";>
-  <!ENTITY cpio-md5sum        "e387abfdae3a0b9a8a5f762db653a96d">
-  <!ENTITY cpio-size          "758 KB">
-  <!ENTITY cpio-buildsize     "10 MB">
-  <!ENTITY cpio-time          "0.2 SBU">
+  <!ENTITY cpio-md5sum        "20fc912915c629e809f80b96b2e75d7d">
+  <!ENTITY cpio-size          "1 MB">
+  <!ENTITY cpio-buildsize     "13 MB">
+  <!ENTITY cpio-time          "0.3 SBU">
 ]>
 
 <sect1 id="cpio" xreflabel="cpio-&cpio-version;">
@@ -54,13 +54,13 @@
       </listitem>
     </itemizedlist>
 
-    <bridgehead renderas="sect3">Additional Downloads</bridgehead>
+    <!-- <bridgehead renderas="sect3">Additional Downloads</bridgehead>
     <itemizedlist spacing="compact">
       <listitem>
         <para>Required Patch: <ulink
         url="&patch-root;/cpio-&cpio-version;-gcc43_inline-1.patch"/></para>
       </listitem>
-    </itemizedlist>
+    </itemizedlist> -->
 
     <para condition="html" role="usernotes">User Notes:
     <ulink url="&blfs-wiki;/cpio"/></para>
@@ -73,35 +73,39 @@
     <para>Install <application>cpio</application> by running the following
     commands:</para>
 
-<screen><userinput>patch -Np1 -i ../cpio-&cpio-version;-gcc43_inline-1.patch 
&amp;&amp;
-./configure CPIO_MT_PROG=mt \
-            --prefix=/usr \
-            --bindir=/bin \
+<screen><userinput>./configure --prefix=/usr     \
+            --bindir=/bin     \
             --libexecdir=/tmp \
+            --enable-mt       \
             --with-rmt=/usr/sbin/rmt &amp;&amp;
-make</userinput></screen>
+make &amp;&amp;
+makeinfo --html            -o doc/html      doc/cpio.texi &amp;&amp;
+makeinfo --html --no-split -o doc/cpio.html doc/cpio.texi &amp;&amp;
+makeinfo --plaintext       -o doc/cpio.txt  doc/cpio.texi</userinput></screen>
 
     <para>If you have <xref linkend="tetex"/> installed and wish to create
-    alternate forms of the documentation, issue the any or all of the following
+    PDF or Postscript documentation, issue one or both of the following
     commands:</para>
 
 <screen><userinput>make -C doc pdf &amp;&amp;
-make -C doc ps &amp;&amp;
-texi2html -o doc/cpio.html doc/cpio.texi &amp;&amp;
-makeinfo --plaintext -o doc/cpio.txt doc/cpio.texi</userinput></screen>
+make -C doc ps</userinput></screen>
 
     <para>To test the results, issue <command>make check</command></para>
 
     <para>Now, as the <systemitem class="username">root</systemitem> 
user:</para>
 
-<screen role="root"><userinput>make install</userinput></screen>
+<screen role="root"><userinput>make install &amp;&amp;
+install -v -m755 -d /usr/share/doc/cpio-&cpio-version;/html &amp;&amp;
+install -v -m644    doc/html/* \
+                    /usr/share/doc/cpio-&cpio-version;/html &amp;&amp;
+install -v -m644    doc/cpio.{html,txt} \
+                    /usr/share/doc/cpio-&cpio-version;</userinput></screen>
 
-    <para>If you built any of the alternate forms of documentation, install it
+    <para>If you built PDF or Postscript documentation, install it
     by issuing the following commands as the
     <systemitem class="username">root</systemitem> user:</para>
 
-<screen role="root"><userinput>install -v -m755 -d 
/usr/share/doc/cpio-&cpio-version; &amp;&amp;
-install -v -m644 doc/cpio.{pdf,ps,dvi,html,txt} \
+<screen role="root"><userinput>install -v -m644 doc/cpio.{pdf,ps,dvi} \
                  /usr/share/doc/cpio-&cpio-version;</userinput></screen>
 
   </sect2>
@@ -109,9 +113,6 @@
   <sect2 role="commands">
     <title>Command Explanations</title>
 
-    <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 recommended
@@ -121,6 +122,9 @@
     that <filename class='directory'>/usr/libexec</filename> is not
     created.</para>
 
+    <para><parameter>--enable-mt</parameter>: This parameter forces the
+    building and installation of the <command>mt</command> program.</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 LFS.</para>
@@ -138,7 +142,7 @@
       <seglistitem>
         <seg>cpio and mt</seg>
         <seg>None</seg>
-        <seg>None</seg>
+        <seg>/usr/share/doc/cpio-&cpio-version;</seg>
       </seglistitem>
     </segmentedlist>
 

Modified: trunk/BOOK/general.ent
===================================================================
--- trunk/BOOK/general.ent      2010-04-07 18:32:18 UTC (rev 8388)
+++ trunk/BOOK/general.ent      2010-04-07 18:53:42 UTC (rev 8389)
@@ -245,7 +245,7 @@
 <!ENTITY zip-version                  "3.0">
 <!ENTITY pciutils-version             "3.1.7">
 <!ENTITY usbutils-version             "0.86">
-<!ENTITY cpio-version                 "2.9">
+<!ENTITY cpio-version                 "2.11">
 <!ENTITY mc-version                   "4.6.1">
 <!ENTITY sysstat-version              "9.0.6">
 <!ENTITY apache-ant-version           "1.8.0">

Modified: trunk/BOOK/introduction/welcome/changelog.xml
===================================================================
--- trunk/BOOK/introduction/welcome/changelog.xml       2010-04-07 18:32:18 UTC 
(rev 8388)
+++ trunk/BOOK/introduction/welcome/changelog.xml       2010-04-07 18:53:42 UTC 
(rev 8389)
@@ -45,6 +45,9 @@
       <para>April 7th, 2010</para>
       <itemizedlist>
         <listitem>
+          <para>[randy] - Updated to cpio-2.11.</para>
+        </listitem>
+        <listitem>
           <para>[randy] - Changed the SQLite package from optional to required
           in the Subversion instructions.</para>
         </listitem>

-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to