Author: randy
Date: 2010-11-05 09:56:42 -0600 (Fri, 05 Nov 2010)
New Revision: 8665

Modified:
   trunk/BOOK/general.ent
   trunk/BOOK/introduction/welcome/changelog.xml
   trunk/BOOK/postlfs/security/acl.xml
Log:
Modified the acl instructions to support a DESTDIR installation and modified 
permissions of installed library files to standards

Modified: trunk/BOOK/general.ent
===================================================================
--- trunk/BOOK/general.ent      2010-11-05 00:02:08 UTC (rev 8664)
+++ trunk/BOOK/general.ent      2010-11-05 15:56:42 UTC (rev 8665)
@@ -3,7 +3,7 @@
 $Date$
 -->
 
-<!ENTITY day          "04">                   <!-- Always 2 digits -->
+<!ENTITY day          "05">                   <!-- Always 2 digits -->
 <!ENTITY month        "11">                   <!-- Always 2 digits -->
 <!ENTITY year         "2010">
 <!ENTITY copyrightdate "2001-&year;">

Modified: trunk/BOOK/introduction/welcome/changelog.xml
===================================================================
--- trunk/BOOK/introduction/welcome/changelog.xml       2010-11-05 00:02:08 UTC 
(rev 8664)
+++ trunk/BOOK/introduction/welcome/changelog.xml       2010-11-05 15:56:42 UTC 
(rev 8665)
@@ -42,13 +42,24 @@
 -->
 
     <listitem>
+      <para>November 5th, 2010</para>
+      <itemizedlist>
+        <listitem>
+          <para>[randy] - Modified the acl instructions to support a DESTDIR
+          installation and modified permissions of installed library files to
+          standards.</para>
+        </listitem>
+      </itemizedlist>
+    </listitem>
+
+    <listitem>
       <para>November 4th, 2010</para>
       <itemizedlist>
         <listitem>
           <para>[randy] - Modified the attr instructions to support a DESTDIR
           installation, changed the method of creating a versioned
-          documentation directory, and modified permissions of library files
-          to standards.</para>
+          documentation directory, and modified permissions of installed
+          library files to standards.</para>
         </listitem>
         <listitem>
           <para>[ken] - Updated to libxml2-2.7.7 (fixes ticket

Modified: trunk/BOOK/postlfs/security/acl.xml
===================================================================
--- trunk/BOOK/postlfs/security/acl.xml 2010-11-05 00:02:08 UTC (rev 8664)
+++ trunk/BOOK/postlfs/security/acl.xml 2010-11-05 15:56:42 UTC (rev 8665)
@@ -5,7 +5,8 @@
   %general-entities;
 
   <!ENTITY acl-download-http 
"http://mirrors.zerg.biz/nongnu/acl/acl-&acl-version;.src.tar.gz";>
-  <!ENTITY acl-download-ftp  
"ftp://oss.sgi.com/projects/xfs/cmd_tars-oct_09/acl-&acl-version;.src.tar.gz";>
+  <!-- <!ENTITY acl-download-ftp  
"ftp://oss.sgi.com/projects/xfs/cmd_tars-oct_09/acl-&acl-version;.src.tar.gz";> 
-->
+  <!ENTITY acl-download-ftp  " ">
   <!ENTITY acl-md5sum        "181445894cca986da9ae0099d5ce2d08">
   <!ENTITY acl-size          "362 KB">
   <!ENTITY acl-buildsize     "5 MB">
@@ -71,7 +72,11 @@
     <para>Install <application>acl</application> by running the following
     commands:</para>
 
-<screen><userinput>sed -i "s|/@pkg_name@|&amp;-...@pkg_version@|" 
include/builddefs.in &amp;&amp;
+<screen><userinput>sed -i -e 's|/@pkg_name@|&amp;-...@pkg_version@|' \
+       -e 's|@prefix|$(DESTDIR)&amp;|'         \
+       -e 's|@libexec|$(DESTDIR)&amp;|'        \
+    include/builddefs.in &amp;&amp;
+
 ./configure --prefix=/usr --libexecdir=/usr/lib &amp;&amp;
 make</userinput></screen>
 
@@ -79,13 +84,16 @@
     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 ls command. Some failures will occur due to a
-    missing script called sort-getfattr-output which is not part fo the
+    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>
 
     <para>Now, as the <systemitem class="username">root</systemitem> 
user:</para>
 
-<screen role="root"><userinput>make install install-dev 
install-lib</userinput></screen>
+<screen role="root"><userinput>make install install-dev install-lib &amp;&amp;
+install -v -m644 doc/*.txt /usr/share/doc/acl-&acl-version; &amp;&amp;
+chmod -v 755 /usr/lib/libacl.{la,so.1.1.0}</userinput></screen>
 
     <para>You should now re-install <application><ulink
     url="&lfs-root;/chapter06/coreutils.html">Coreutils</ulink>
@@ -101,12 +109,16 @@
     <title>Command Explanations</title>
 
     <para><command>sed -i ... include/builddefs.in</command>: This command
-    changes the documentation directory to a versioned directory.</para>
+    changes the documentation directory to a versioned directory and provides
+    for a DESTDIR installation.</para>
 
+    <para><command>chmod ...</command>: This command modifies the permissions
+    of installed library files to standards.</para>
+
   </sect2>
 
   <sect2 role="configuration">
-    <title>Configuring attr</title>
+    <title>Configuring acl</title>
     <sect3><title>Configuration Information</title>
 
       <para>There is no configuration to <application>acl</application> itself,
@@ -114,7 +126,8 @@
       needs to support access control lists.</para>
 
       <para>One way to achieve this is to add the acl option to an ext3
-      filesystem in the /etc/fstab file as shown below.</para>
+      filesystem in the <filename>/etc/fstab</filename> file as shown
+      below:</para>
 
 <screen># file system  mount-point  type   options                 dump  fsck
 #                                                                order

-- 
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