Author: randy
Date: 2010-11-04 10:31:00 -0600 (Thu, 04 Nov 2010)
New Revision: 8662

Modified:
   trunk/BOOK/general.ent
   trunk/BOOK/introduction/welcome/changelog.xml
   trunk/BOOK/postlfs/security/attr.xml
Log:
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

Modified: trunk/BOOK/general.ent
===================================================================
--- trunk/BOOK/general.ent      2010-11-03 20:01:49 UTC (rev 8661)
+++ trunk/BOOK/general.ent      2010-11-04 16:31:00 UTC (rev 8662)
@@ -3,13 +3,13 @@
 $Date$
 -->
 
-<!ENTITY day          "03">                   <!-- Always 2 digits -->
+<!ENTITY day          "04">                   <!-- Always 2 digits -->
 <!ENTITY month        "11">                   <!-- Always 2 digits -->
 <!ENTITY year         "2010">
 <!ENTITY copyrightdate "2001-&year;">
 <!ENTITY copyholder   "The BLFS Development Team">
 <!ENTITY version      "svn-&year;&month;&day;">
-<!ENTITY releasedate  "November &day;rd, &year;">
+<!ENTITY releasedate  "November &day;th, &year;">
 <!ENTITY pubdate      "&year;-&month;-&day;"> <!-- metadata req. by TLDP -->
 <!ENTITY blfs-version "svn">                  <!-- svn|[release #] -->
 <!ENTITY lfs-version  "development">          <!-- 
version|testing|unstable|development] -->

Modified: trunk/BOOK/introduction/welcome/changelog.xml
===================================================================
--- trunk/BOOK/introduction/welcome/changelog.xml       2010-11-03 20:01:49 UTC 
(rev 8661)
+++ trunk/BOOK/introduction/welcome/changelog.xml       2010-11-04 16:31:00 UTC 
(rev 8662)
@@ -42,6 +42,18 @@
 -->
 
     <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>
+        </listitem>
+      </itemizedlist>
+    </listitem>
+
+    <listitem>
       <para>November 3rd, 2010</para>
       <itemizedlist>
         <listitem>

Modified: trunk/BOOK/postlfs/security/attr.xml
===================================================================
--- trunk/BOOK/postlfs/security/attr.xml        2010-11-03 20:01:49 UTC (rev 
8661)
+++ trunk/BOOK/postlfs/security/attr.xml        2010-11-04 16:31:00 UTC (rev 
8662)
@@ -67,7 +67,12 @@
     <para>Install <application>attr</application> by running the following
     commands:</para>
 
-<screen><userinput>./configure --prefix=/usr --libexecdir=/usr/lib &amp;&amp;
+<screen><userinput>sed -i -e 's|doc/@pkg_name@|&amp;-...@pkg_version@|' \
+       -e 's|@prefix|$(DESTDIR)&amp;|'            \
+       -e 's|@libexec|$(DESTDIR)&amp;|'           \
+    include/builddefs.in
+
+./configure --prefix=/usr --libexecdir=/usr/lib &amp;&amp;
 make</userinput></screen>
 
     <para>There are three sets of tests that come with this package. Issue the
@@ -80,10 +85,22 @@
     <para>Now, as the <systemitem class="username">root</systemitem> 
user:</para>
 
 <screen role="root"><userinput>make install install-dev install-lib &amp;&amp;
-mv /usr/share/doc/attr /usr/share/doc/attr-&attr-version;</userinput></screen>
+chmod -v 755 /usr/lib/libattr.{la,so.1.1.0}</userinput></screen>
 
   </sect2>
 
+  <sect2 role="commands">
+    <title>Command Explanations</title>
+
+    <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>
+
+    <para><command>chmod ...</command>: This command modifies the permissions
+    of installed library files to standards.</para>
+
+  </sect2>
+
   <sect2 role="configuration">
     <title>Configuring attr</title>
     <sect3><title>Configuration Information</title>
@@ -93,7 +110,7 @@
       needs to support extended attributes.</para>
 
       <para>One way to achieve this is to add the user_xattr option to an ext3
-      filesystem in the /etc/fstab file as shown below.</para>
+      filesystem in the /etc/fstab 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