r7101 - in trunk/BOOK: . introduction/welcome postlfs/security

randy at linuxfromscratch.org randy at linuxfromscratch.org
Thu Sep 6 12:24:00 PDT 2007


Author: randy
Date: 2007-09-06 13:24:00 -0600 (Thu, 06 Sep 2007)
New Revision: 7101

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

Modified: trunk/BOOK/general.ent
===================================================================
--- trunk/BOOK/general.ent	2007-09-05 05:50:44 UTC (rev 7100)
+++ trunk/BOOK/general.ent	2007-09-06 19:24:00 UTC (rev 7101)
@@ -3,7 +3,7 @@
 $Date$
 -->
 
-<!ENTITY day          "05">                   <!-- Always 2 digits -->
+<!ENTITY day          "06">                   <!-- Always 2 digits -->
 <!ENTITY month        "09">                   <!-- Always 2 digits -->
 <!ENTITY year         "2007">
 <!ENTITY version      "svn-&year;&month;&day;">
@@ -33,10 +33,7 @@
 <!ENTITY publisher            "Unknown">
 
 <!-- These entities are used to identify versions of LFS
-     packages referenced throughout the BLFS book. If the
-     BDB package updates cause the library names to change,
-     ensure you update the Heimdal package to the current
-     BDB library names. -->
+     packages referenced throughout the BLFS book. -->
 <!ENTITY lfs-autoconf-version         "2.61">
 <!ENTITY lfs-bdb-version              "4.5.20">
 <!ENTITY lfs-coreutils-version        "6.9">
@@ -58,11 +55,7 @@
 
 <!-- Chapter 4 -->
 
-<!-- Ensure you check the library version number and update the
-     Heimdal instructions (postlfs/security/heimdal.xml) if necessary -->
 <!ENTITY openssl-version              "0.9.8e">
-<!-- End special note about Heimdal -->
-
 <!ENTITY gnutls-version               "1.6.3">
 <!ENTITY cracklib-version             "2.8.10">
 <!ENTITY linux-pam-version            "0.99.7.1">
@@ -393,11 +386,7 @@
 
 <!-- Chapter 23 -->
 
-<!-- Ensure you check the library version number and update the
-     Heimdal instructions (postlfs/security/heimdal.xml) if necessary -->
 <!ENTITY db-version                   "4.5.20">
-<!-- End special note about Heimdal -->
-
 <!ENTITY mysql-version                "5.0.41">
 <!ENTITY postgresql-version           "8.2.4">
 

Modified: trunk/BOOK/introduction/welcome/changelog.xml
===================================================================
--- trunk/BOOK/introduction/welcome/changelog.xml	2007-09-05 05:50:44 UTC (rev 7100)
+++ trunk/BOOK/introduction/welcome/changelog.xml	2007-09-06 19:24:00 UTC (rev 7101)
@@ -42,6 +42,17 @@
 -->
 
     <listitem>
+      <para>September 6, 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>
+        </listitem>
+      </itemizedlist>
+    </listitem>
+
+    <listitem>
       <para>September 5, 2007</para>
       <itemizedlist>
         <listitem>

Modified: trunk/BOOK/postlfs/security/heimdal.xml
===================================================================
--- trunk/BOOK/postlfs/security/heimdal.xml	2007-09-05 05:50:44 UTC (rev 7100)
+++ trunk/BOOK/postlfs/security/heimdal.xml	2007-09-06 19:24:00 UTC (rev 7101)
@@ -131,8 +131,7 @@
     <warning>
       <para>Ensure you really need a Kerberos installation before you decide
       to install this package. Failure to install and configure the package
-      in accordance with the instructions below can alter your system so that
-      users cannot log in.</para>
+      correctly can alter your system so that users cannot log in.</para>
     </warning>
 
     <para>If you wish the <application>Heimdal</application> package to
@@ -166,68 +165,77 @@
 make -C doc pdf &&
 make -C doc ps &&
 makeinfo --html --no-split -o doc/heimdal.html doc/heimdal.texi &&
-makeinfo --plaintext -o doc/heimdal.txt doc/heimdal.texi</userinput></screen>
+makeinfo --plaintext       -o doc/heimdal.txt  doc/heimdal.texi</userinput></screen>
 
     <para>To test the results, issue: <command>make check</command>.</para>
 
     <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
 
 <screen role="root"><?dbfo keep-together="auto"?><userinput>mv -v /usr/include/fnmatch.h /usr/include/fnmatch.h.glibc &&
-mv -v /usr/include/glob.h /usr/include/glob.h.glibc &&
+mv -v /usr/include/glob.h    /usr/include/glob.h.glibc &&
 
-mv -v /usr/include/ss/ss.h /usr/include/ss/ss.h.e2fsprogs &&
-mv -v /usr/lib/libss.a /usr/lib/libss.a.e2fsprogs &&
-mv -v /usr/lib/libss.so /usr/lib/libss.so.e2fsprogs &&
+mv -v /usr/include/ss/ss.h   /usr/include/ss/ss.h.e2fsprogs &&
+mv -v /usr/lib/libss.a       /usr/lib/libss.a.e2fsprogs &&
+mv -v /usr/lib/libss.so      /usr/lib/libss.so.e2fsprogs &&
+if [ -f /usr/lib/libss.la ]; then 
+    mv -v /usr/lib/libss.la  /usr/lib/libss.la.e2fsprogs
+done &&
 
 make install &&
 
-mv -v /usr/include/fnmatch.h /usr/include/fnmatch.h.heimdal &&
+mv -v /usr/include/fnmatch.h       /usr/include/fnmatch.h.heimdal &&
 mv -v /usr/include/fnmatch.h.glibc /usr/include/fnmatch.h &&
-mv -v /usr/include/glob.h /usr/include/glob.h.heimdal &&
-mv -v /usr/include/glob.h.glibc /usr/include/glob.h &&
+mv -v /usr/include/glob.h          /usr/include/glob.h.heimdal &&
+mv -v /usr/include/glob.h.glibc    /usr/include/glob.h &&
 
-mv -v /usr/include/ss/ss.h /usr/include/ss/ss.h.heimdal &&
-mv -v /usr/include/ss/ss.h.e2fsprogs /usr/include/ss/ss.h &&
-mv -v /usr/lib/libss.a /usr/lib/libss.a.heimdal &&
-mv -v /usr/lib/libss.a.e2fsprogs /usr/lib/libss.a &&
-mv -v /usr/lib/libss.so /usr/lib/libss.so.heimdal &&
-mv -v /usr/lib/libss.la /usr/lib/libss.la.heimdal &&
-mv -v /usr/lib/libss.so.e2fsprogs /usr/lib/libss.so &&
+mv -v /usr/include/ss/ss.h            /usr/include/ss/ss.h.heimdal &&
+mv -v /usr/include/ss/ss.h.e2fsprogs  /usr/include/ss/ss.h &&
+mv -v /usr/lib/libss.a                /usr/lib/libss.a.heimdal &&
+mv -v /usr/lib/libss.a.e2fsprogs      /usr/lib/libss.a &&
+mv -v /usr/lib/libss.so               /usr/lib/libss.so.heimdal &&
+mv -v /usr/lib/libss.so.e2fsprogs     /usr/lib/libss.so &&
+mv -v /usr/lib/libss.la               /usr/lib/libss.la.heimdal &&
+if [ -e   /usr/lib/libss.la.e2fsprogs ]; then 
+    mv -v /usr/lib/libss.la.e2fsprogs /usr/lib/libss.la
+fi &&
+
 if [ -e /usr/lib/libss.so.2 ]; then rm -v /usr/lib/libss.so.2; fi &&
 
 install -v -m755 -d /usr/share/doc/heimdal-&heimdal-version;/standardisation &&
 install -v -m644 doc/{init-creds,layman.asc} \
-    /usr/share/doc/heimdal-&heimdal-version; &&
+                 /usr/share/doc/heimdal-&heimdal-version; &&
 install -v -m644 doc/standardisation/* \
-    /usr/share/doc/heimdal-&heimdal-version;/standardisation &&
+                 /usr/share/doc/heimdal-&heimdal-version;/standardisation &&
 
-mv -v /bin/login /bin/login.shadow &&
-mv -v /bin/su /bin/su.shadow &&
+mv -v /bin/login          /bin/login.shadow &&
+mv -v /bin/su             /bin/su.shadow &&
 mv -v /usr/bin/{login,su} /bin &&
 ln -v -sf ../../bin/login /usr/bin &&
-mv -v /usr/lib/lib{otp,kafs,krb5,asn1,roken,crypto}.so.* \
-      /usr/lib/libdb-4.5.so /lib &&
-ln -v -sf ../../lib/libdb-4.5.so /usr/lib/libdb.so &&
-ln -v -sf ../../lib/libdb-4.5.so /usr/lib/libdb-4.so &&
 
-for SYMLINK in otp.so.0.1.3  kafs.so.0.4.1   krb5.so.17.4.0 \
-               asn1.so.6.1.0 roken.so.16.1.0 crypto.so.0.9.8
-do
-    ln -v -sf ../../lib/lib$SYMLINK \
-        /usr/lib/lib`echo $SYMLINK | cut -d. -f1`.so
-done
+for LINK in   lib{otp,kafs,krb5,asn1,roken,crypto}; do \
+    mv -v     /usr/lib/${LINK}.so.* /lib &&
+    ln -v -sf ../../lib/$(readlink  /usr/lib/${LINK}.so) \
+              /usr/lib/${LINK}.so
+done &&
 
+mv -v     /usr/lib/$(readlink /usr/lib/libdb.so) \
+          /usr/lib/libdb-?.so \
+          /lib &&
+ln -v -sf ../../lib/$(readlink /usr/lib/libdb.so) \
+          /usr/lib/libdb.so &&
+
 ldconfig</userinput></screen>
 
     <para>If you built any of the alternate forms of documentation, install it
     using the following commands as the
     <systemitem class="username">root</systemitem> user:</para>
 
-<screen role="root"><userinput>install -v -m755 -d /usr/share/doc/heimdal-&heimdal-version;/html &&
-install -v -m644 doc/html/* \
-    /usr/share/doc/heimdal-&heimdal-version;/html &&
-install -v -m644 doc/heimdal.{dvi,ps,pdf,html,txt} \
-    /usr/share/doc/heimdal-&heimdal-version;</userinput></screen>
+<screen role="root"><userinput>
+install -v -m755 -d /usr/share/doc/heimdal-&heimdal-version;/html &&
+install -v -m644    doc/html/* \
+                    /usr/share/doc/heimdal-&heimdal-version;/html &&
+install -v -m644    doc/heimdal.{dvi,ps,pdf,html,txt} \
+                    /usr/share/doc/heimdal-&heimdal-version;</userinput></screen>
 
   </sect2>
 
@@ -244,8 +252,8 @@
     renaming the new <application>Heimdal</application> files) after the
     installation.</para>
 
-    <para><parameter>--libexecdir=/usr/sbin</parameter>: This switch
-    puts the daemon programs into
+    <para><parameter>--libexecdir=/usr/sbin</parameter>: This switch causes
+    the daemon programs to be installed into
     <filename class="directory">/usr/sbin</filename>.</para>
 
     <tip>




More information about the blfs-book mailing list