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

randy at linuxfromscratch.org randy at linuxfromscratch.org
Sun Mar 18 20:06:43 PDT 2007


Author: randy
Date: 2007-03-18 21:06:43 -0600 (Sun, 18 Mar 2007)
New Revision: 6678

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

Modified: trunk/BOOK/general/sysutils/cpio.xml
===================================================================
--- trunk/BOOK/general/sysutils/cpio.xml	2007-03-18 22:17:09 UTC (rev 6677)
+++ trunk/BOOK/general/sysutils/cpio.xml	2007-03-19 03:06:43 UTC (rev 6678)
@@ -4,12 +4,12 @@
   <!ENTITY % general-entities SYSTEM "../../general.ent">
   %general-entities;
 
-  <!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-md5sum        "76b4145f33df088a5bade3bf4373d17d">
-  <!ENTITY cpio-size          "561 KB">
-  <!ENTITY cpio-buildsize     "5.3 MB">
-  <!ENTITY cpio-time          "0.1 SBU">
+  <!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        "69ad6cb3d288aafe5f969f68d9fd0fb7">
+  <!ENTITY cpio-size          "698 KB">
+  <!ENTITY cpio-buildsize     "10 MB">
+  <!ENTITY cpio-time          "0.2 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;-security_fixes-1.patch"/></para>
       </listitem>
-    </itemizedlist>
+    </itemizedlist> -->
 
     <para condition="html" role="usernotes">User Notes:
     <ulink url="&blfs-wiki;/cpio"/></para>
@@ -73,13 +73,11 @@
     <para>Install <application>cpio</application> by running the following
     commands:</para>
 
-<screen><userinput>sed -i "s/invalid_arg/argmatch_invalid/" src/mt.c &&
-patch -Np1 -i ../cpio-&cpio-version;-security_fixes-1.patch &&
-./configure CPIO_MT_PROG=mt --prefix=/usr \
-    --bindir=/bin --libexecdir=/tmp \
-    --with-rmt=/usr/sbin/rmt &&
-echo "#define HAVE_SETLOCALE 1" >> config.h &&
-echo "#define HAVE_LSTAT 1" >> config.h &&
+<screen><userinput>./configure CPIO_MT_PROG=mt \
+            --prefix=/usr \
+            --bindir=/bin \
+            --libexecdir=/tmp \
+            --with-rmt=/usr/sbin/rmt &&
 make</userinput></screen>
 
     <para>If you have <xref linkend="tetex"/> installed and wish to create
@@ -91,11 +89,8 @@
 texi2html -o doc/cpio.html doc/cpio.texi &&
 makeinfo --plaintext -o doc/cpio.txt doc/cpio.texi</userinput></screen>
 
-    <para>To test the results, issue:</para>
+    <para>To test the results, issue <command>make check</command></para>
 
-<screen><userinput>sed -i 's/static const char/const char/' tests/genfile.c &&
-make check</userinput></screen>
-
     <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
 
 <screen role="root"><userinput>make install</userinput></screen>
@@ -113,10 +108,6 @@
   <sect2 role="commands">
     <title>Command Explanations</title>
 
-    <para><command>sed -i "s/invalid_arg/argmatch_invalid/"
-    src/mt.c</command>: This command fixes a build problem with 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>
 
@@ -133,18 +124,6 @@
     inhibits building the <command>rmt</command> program as it is already
     installed by the <application>Tar</application> package in LFS.</para>
 
-    <para><command>echo "#define HAVE_SETLOCALE 1" >> config.h</command>: This
-    command specifies that the system <application>Libc</application>
-    implements the setlocale function since it is not detected by
-    <command>configure</command>.</para>
-
-    <para><command>echo "#define HAVE_LSTAT 1" >> config.h</command>: This
-    define fixes a bug that causes <command>cpio</command> to convert symlinks
-    into regular files during archive creation.</para>
-
-    <para><command>sed -i 's/static const ...</command>:  This command fixes
-    a build problem when compiling the tests with GCC-&gcc-version;.</para>
-
   </sect2>
 
   <sect2 role="content">

Modified: trunk/BOOK/general.ent
===================================================================
--- trunk/BOOK/general.ent	2007-03-18 22:17:09 UTC (rev 6677)
+++ trunk/BOOK/general.ent	2007-03-19 03:06:43 UTC (rev 6678)
@@ -3,7 +3,7 @@
 $Date$
 -->
 
-<!ENTITY day          "18">                   <!-- Always 2 digits -->
+<!ENTITY day          "19">                   <!-- Always 2 digits -->
 <!ENTITY month        "03">                   <!-- Always 2 digits -->
 <!ENTITY year         "2007">
 <!ENTITY version      "svn-&year;&month;&day;">
@@ -171,7 +171,7 @@
 <!ENTITY pciutils-version             "2.2.3">
 <!ENTITY usbutils-version             "0.72">
 <!ENTITY pkgconfig-version            "0.21">
-<!ENTITY cpio-version                 "2.6">
+<!ENTITY cpio-version                 "2.7">
 <!ENTITY mc-version                   "4.6.1">
 <!ENTITY sysstat-version              "7.0.4">
 <!ENTITY apache-ant-version           "1.6.5">

Modified: trunk/BOOK/introduction/welcome/changelog.xml
===================================================================
--- trunk/BOOK/introduction/welcome/changelog.xml	2007-03-18 22:17:09 UTC (rev 6677)
+++ trunk/BOOK/introduction/welcome/changelog.xml	2007-03-19 03:06:43 UTC (rev 6678)
@@ -42,6 +42,15 @@
 -->
 
     <listitem>
+      <para>March 19th, 2007</para>
+      <itemizedlist>
+        <listitem>
+          <para>[randy] - Updated to cpio-2.7.</para>
+        </listitem>
+      </itemizedlist>
+    </listitem>
+
+    <listitem>
       <para>March 18th, 2007</para>
       <itemizedlist>
         <listitem>




More information about the blfs-book mailing list