Author: randy
Date: 2007-09-07 13:13:53 -0600 (Fri, 07 Sep 2007)
New Revision: 7103

Modified:
   trunk/BOOK/general.ent
   trunk/BOOK/introduction/welcome/changelog.xml
   trunk/BOOK/server/other/openldap.xml
Log:
Changed the chmod command in the OpenLDAP instructions to use the 'readlink' 
command to find out the names of the shared libraries

Modified: trunk/BOOK/general.ent
===================================================================
--- trunk/BOOK/general.ent      2007-09-07 19:03:18 UTC (rev 7102)
+++ trunk/BOOK/general.ent      2007-09-07 19:13:53 UTC (rev 7103)
@@ -3,7 +3,7 @@
 $Date$
 -->
 
-<!ENTITY day          "06">                   <!-- Always 2 digits -->
+<!ENTITY day          "07">                   <!-- Always 2 digits -->
 <!ENTITY month        "09">                   <!-- Always 2 digits -->
 <!ENTITY year         "2007">
 <!ENTITY version      "svn-&year;&month;&day;">

Modified: trunk/BOOK/introduction/welcome/changelog.xml
===================================================================
--- trunk/BOOK/introduction/welcome/changelog.xml       2007-09-07 19:03:18 UTC 
(rev 7102)
+++ trunk/BOOK/introduction/welcome/changelog.xml       2007-09-07 19:13:53 UTC 
(rev 7103)
@@ -42,9 +42,20 @@
 -->
 
     <listitem>
-      <para>September 6, 2007</para>
+      <para>September 7th, 2007</para>
       <itemizedlist>
         <listitem>
+          <para>[randy] - Changed the chmod command in the OpenLDAP
+          instructions to use the 'readlink' command to find out the names
+          of the shared libraries.</para>
+        </listitem>
+      </itemizedlist>
+    </listitem>
+
+    <listitem>
+      <para>September 6th, 2007</para>
+      <itemizedlist>
+        <listitem>
           <para>[randy] - Modified the Heimdal instructions which move the
           libraries into /lib to use the 'readlink' command to create the
           symlinks so that the instructions are not version specific.</para>
@@ -53,7 +64,7 @@
     </listitem>
 
     <listitem>
-      <para>September 5, 2007</para>
+      <para>September 5th, 2007</para>
       <itemizedlist>
         <listitem>
           <para>[randy] - Modified the Linux-PAM instructions to install
@@ -65,7 +76,7 @@
     </listitem>
 
     <listitem>
-      <para>September 4, 2007</para>
+      <para>September 4th, 2007</para>
       <itemizedlist>
         <listitem>
           <para>[dnicholson] - Removed an unnecessary command in the Cyrus
@@ -75,7 +86,7 @@
     </listitem>
 
     <listitem>
-      <para>September 2, 2007</para>
+      <para>September 2nd, 2007</para>
       <itemizedlist>
         <listitem>
           <para>[dnicholson] - Updated to Cyrus SASL-2.1.22.</para>
@@ -84,7 +95,7 @@
     </listitem>
 
     <listitem>
-      <para>August 22, 2007</para>
+      <para>August 22nd, 2007</para>
       <itemizedlist>
         <listitem>
           <para>[dj] - Updated to dhcpcd-3.0.19.</para>
@@ -93,7 +104,7 @@
     </listitem>
 
     <listitem>
-      <para>August 21, 2007</para>
+      <para>August 21st, 2007</para>
       <itemizedlist>
         <listitem>
           <para>[djensen] - Removed a Makefile sed that disabled autoconf
@@ -103,7 +114,7 @@
     </listitem>
 
     <listitem>
-      <para>August 20, 2007</para>
+      <para>August 20th , 2007</para>
       <itemizedlist>
         <listitem>
           <para>[djensen] - Updated to XFS-2.9.3.</para>
@@ -116,7 +127,7 @@
     </listitem>
 
     <listitem>
-      <para>August 19, 2007</para>
+      <para>August 19th, 2007</para>
       <itemizedlist>
         <listitem>
           <para>[randy] - Added new package PIN-Entry-0.7.3.</para>

Modified: trunk/BOOK/server/other/openldap.xml
===================================================================
--- trunk/BOOK/server/other/openldap.xml        2007-09-07 19:03:18 UTC (rev 
7102)
+++ trunk/BOOK/server/other/openldap.xml        2007-09-07 19:13:53 UTC (rev 
7103)
@@ -113,7 +113,11 @@
     <para>Now, as the <systemitem class="username">root</systemitem> 
user:</para>
 
 <screen role="root"><userinput>make install &amp;&amp;
-chmod -v 755 /usr/lib/libl*-2.3.so.0.2.20 &amp;&amp;
+
+for LINK in lber ldap ldap_r; do
+    chmod -v 0755 /usr/lib/$(readlink /usr/lib/lib${LINK}.so)
+done &amp;&amp;
+
 install -v -m755 -d 
/usr/share/doc/openldap-&openldap-version;/{drafts,guide,rfc} &amp;&amp;
 install -v -m644 doc/drafts/* 
/usr/share/doc/openldap-&openldap-version;/drafts &amp;&amp;
 install -v -m644 doc/rfc/*    /usr/share/doc/openldap-&openldap-version;/rfc 
&amp;&amp;
@@ -172,7 +176,7 @@
     <application>Berkeley DB</application> as the primary backend
     database.</para>
 
-    <para><command>chmod -v 755 /usr/lib/libl*-2.3.so.0.2.20</command>: This
+    <para><command>chmod -v 0755 ...</command>: This
     command adds the executable bit to the shared libraries.</para>
 
     <note>

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