Index: general.ent
===================================================================
--- general.ent (revision 4d6d306fcd97a857a959c6ad20d704f143775045)
+++ general.ent (revision 6869595169af2cd2180432d95188ee2c5cf5f17c)
@@ -4,5 +4,5 @@
-->
-
+
Index: introduction/welcome/changelog.xml
===================================================================
--- introduction/welcome/changelog.xml (revision 4d6d306fcd97a857a959c6ad20d704f143775045)
+++ introduction/welcome/changelog.xml (revision 6869595169af2cd2180432d95188ee2c5cf5f17c)
@@ -41,4 +41,16 @@
-->
+
+
+ September 5, 2007
+
+
+ [randy] - Modified the Linux-PAM instructions to install
+ the libraries into /lib and then use the 'readlink' command to
+ create the symlinks so that the instructions are not version
+ specific.
+
+
+
Index: postlfs/security/linux-pam.xml
===================================================================
--- postlfs/security/linux-pam.xml (revision 4d6d306fcd97a857a959c6ad20d704f143775045)
+++ postlfs/security/linux-pam.xml (revision 6869595169af2cd2180432d95188ee2c5cf5f17c)
@@ -95,5 +95,5 @@
running the following commands:
-./configure --libdir=/usr/lib \
+./configure --libdir=/lib \
--sbindir=/lib/security \
--enable-securedir=/lib/security \
@@ -124,9 +124,14 @@
make install &&
chmod -v 4755 /lib/security/unix_chkpwd &&
+
mv -v /lib/security/pam_tally /sbin &&
-mv -v /usr/lib/libpam*.so.0* /lib &&
-ln -v -sf ../../lib/libpam.so.0.81.6 /usr/lib/libpam.so &&
-ln -v -sf ../../lib/libpamc.so.0.81.0 /usr/lib/libpamc.so &&
-ln -v -sf ../../lib/libpam_misc.so.0.81.2 /usr/lib/libpam_misc.so
+
+mv -v /lib/libpam{,c,_misc}.la /usr/lib &&
+sed -i 's| /lib| /usr/lib|' /usr/lib/libpam_misc.la &&
+
+for LINK in libpam{,c,_misc}.so; do
+ ln -v -sf ../../lib/$(readlink /lib/${LINK}) /usr/lib/${LINK} &&
+ rm -v /lib/${LINK}
+done