r8887 - in trunk/BOOK: introduction/welcome postlfs/security

wblaszcz at linuxfromscratch.org wblaszcz at linuxfromscratch.org
Thu Jun 9 05:47:27 PDT 2011


Author: wblaszcz
Date: 2011-06-09 06:47:22 -0600 (Thu, 09 Jun 2011)
New Revision: 8887

Modified:
   trunk/BOOK/introduction/welcome/changelog.xml
   trunk/BOOK/postlfs/security/acl.xml
   trunk/BOOK/postlfs/security/attr.xml
Log:
ticket 3130

Modified: trunk/BOOK/introduction/welcome/changelog.xml
===================================================================
--- trunk/BOOK/introduction/welcome/changelog.xml	2011-06-09 12:05:21 UTC (rev 8886)
+++ trunk/BOOK/introduction/welcome/changelog.xml	2011-06-09 12:47:22 UTC (rev 8887)
@@ -44,6 +44,17 @@
       <para>June 9th, 2011</para>
       <itemizedlist>
         <listitem>
+          <para>[wblaszcz] - Added instructions for creating missing test
+          scripts for attr-2.4.44 and acl-2.2.49. (ticket
+          <ulink url="&blfs-ticket-root;3130">#3130</ulink>).</para>
+        </listitem>
+      </itemizedlist>
+    </listitem>
+
+    <listitem>
+      <para>June 9th, 2011</para>
+      <itemizedlist>
+        <listitem>
           <para>[wblaszcz] - Minor modification to GIMP-2.6.8. (ticket
           <ulink url="&blfs-ticket-root;3246">#3246</ulink>).</para>
         </listitem>

Modified: trunk/BOOK/postlfs/security/acl.xml
===================================================================
--- trunk/BOOK/postlfs/security/acl.xml	2011-06-09 12:05:21 UTC (rev 8886)
+++ trunk/BOOK/postlfs/security/acl.xml	2011-06-09 12:47:22 UTC (rev 8887)
@@ -74,7 +74,14 @@
     <para>Install <application>acl</application> by running the following
     commands:</para>
 
-<screen><userinput>sed -i -e 's|/@pkg_name@|&- at pkg_version@|' \
+<screen><userinput>cat > test/sort-getfacl-output << "EOF" &&
+#! /usr/bin/perl -w
+
+undef $/;
+print join("\n\n", sort split(/\n\n/, <>)), "\n\n";
+EOF
+chmod 755 test/sort-getfacl-output &&
+sed -i -e 's|/@pkg_name@|&- at pkg_version@|' \
        -e 's|@prefix|$(DESTDIR)&|'         \
        -e 's|@libexec|$(DESTDIR)&|'        \
     include/builddefs.in &&
@@ -86,10 +93,7 @@
     system that supports extended attributes. It is also required that
     <application>Coreutils</application> is re-installed after
     <application>acl</application> is installed so that the extra acl bit
-    displays correctly on a <command>ls</command> command. Some failures will
-    occur due to a missing script called
-    <filename>sort-getfattr-output</filename> which is not part of the
-    tarball.</para>
+    displays correctly on a <command>ls</command> command.</para>
 
     <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
 
@@ -110,6 +114,9 @@
   <sect2 role="commands">
     <title>Command Explanations</title>
 
+    <para><command>cat > test/sort-getfacl-output ... EOF</command>: This
+    command creates a missing test script.</para>
+
     <para><command>sed -i ... include/builddefs.in</command>: This command
     changes the documentation directory to a versioned directory and provides
     for a DESTDIR installation.</para>

Modified: trunk/BOOK/postlfs/security/attr.xml
===================================================================
--- trunk/BOOK/postlfs/security/attr.xml	2011-06-09 12:05:21 UTC (rev 8886)
+++ trunk/BOOK/postlfs/security/attr.xml	2011-06-09 12:47:22 UTC (rev 8887)
@@ -69,7 +69,14 @@
     <para>Install <application>attr</application> by running the following
     commands:</para>
 
-<screen><userinput>sed -i -e 's|/@pkg_name@|&- at pkg_version@|' \
+<screen><userinput>cat > test/sort-getfattr-output << "EOF" &&
+#! /usr/bin/perl -w
+
+undef $/;
+print join("\n\n", sort split(/\n\n/, <>)), "\n\n";
+EOF
+chmod 755 test/sort-getfattr-output &&
+sed -i -e 's|/@pkg_name@|&- at pkg_version@|' \
        -e 's|@prefix|$(DESTDIR)&|'         \
        -e 's|@libexec|$(DESTDIR)&|'        \
     include/builddefs.in &&
@@ -81,9 +88,7 @@
     following to execute all three:
     <command>make tests root-tests ext-tests</command>.  For meaningful results,
     the tests need to be carried out on a file system that supports extended
-    attributes. Some failures will occur due to a missing script called
-    <filename>sort-getfattr-output</filename> which is not part of the
-    tarball.</para>
+    attributes.</para>
 
     <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
 
@@ -95,6 +100,9 @@
   <sect2 role="commands">
     <title>Command Explanations</title>
 
+    <para><command>cat > test/sort-getfattr-output ... EOF</command>: This 
+    command creates a missing test script.</para>
+
     <para><command>sed ... include/builddefs.in</command>: This command
     modifies the documentation directory so that it is a versioned
     directory and also adds support for a DESTDIR installation.</para>




More information about the blfs-book mailing list