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

dj at linuxfromscratch.org dj at linuxfromscratch.org
Sun Jul 24 16:04:59 PDT 2005


Author: dj
Date: 2005-07-24 17:04:55 -0600 (Sun, 24 Jul 2005)
New Revision: 4770

Modified:
   trunk/BOOK/general.ent
   trunk/BOOK/introduction/welcome/changelog.xml
   trunk/BOOK/postlfs/security/linux_pam.xml
   trunk/BOOK/postlfs/security/shadow.xml
Log:
Update to Linux-PAM-0.80, corret sed in shadow

Modified: trunk/BOOK/general.ent
===================================================================
--- trunk/BOOK/general.ent	2005-07-24 22:37:15 UTC (rev 4769)
+++ trunk/BOOK/general.ent	2005-07-24 23:04:55 UTC (rev 4770)
@@ -31,7 +31,7 @@
 <!-- Chapter 4 -->
 <!ENTITY openssl-version              "0.9.7g">
 <!ENTITY cracklib-version             "2.8.3">
-<!ENTITY Linux_PAM-version            "0.78">
+<!ENTITY Linux_PAM-version            "0.80">
 <!ENTITY shadow-version               "4.0.9">
 <!ENTITY iptables-version             "1.3.1">
 <!ENTITY gnupg-version                "1.4.1">

Modified: trunk/BOOK/introduction/welcome/changelog.xml
===================================================================
--- trunk/BOOK/introduction/welcome/changelog.xml	2005-07-24 22:37:15 UTC (rev 4769)
+++ trunk/BOOK/introduction/welcome/changelog.xml	2005-07-24 23:04:55 UTC (rev 4770)
@@ -25,6 +25,11 @@
   <itemizedlist>
     
     <listitem>
+      <para>July 24th 2005 [dj]: Updated to Linux-PAM-0.80 and corrected
+      sed for /etc/login.defs in Shadow instructions.</para>
+    </listitem>
+
+    <listitem>
       <para>July 24th 2005 [randy]: Updated to CrackLib-2.8.3.</para>
     </listitem>
 

Modified: trunk/BOOK/postlfs/security/linux_pam.xml
===================================================================
--- trunk/BOOK/postlfs/security/linux_pam.xml	2005-07-24 22:37:15 UTC (rev 4769)
+++ trunk/BOOK/postlfs/security/linux_pam.xml	2005-07-24 23:04:55 UTC (rev 4770)
@@ -6,10 +6,10 @@
 
   <!ENTITY Linux_PAM-download-http "http://www.kernel.org/pub/linux/libs/pam/pre/library/Linux-PAM-&Linux_PAM-version;.tar.bz2">
   <!ENTITY Linux_PAM-download-ftp "ftp://ftp.kernel.org/pub/linux/libs/pam/pre/library/Linux-PAM-&Linux_PAM-version;.tar.bz2">
-  <!ENTITY Linux_PAM-md5sum    "34938b4f2449d4d3b2ffdbf354257205">
-  <!ENTITY Linux_PAM-size      "364 KB">
-  <!ENTITY Linux_PAM-buildsize "11.4 MB">
-  <!ENTITY Linux_PAM-time      "0.17 SBU">
+  <!ENTITY Linux_PAM-md5sum    "ccff87fe639efdfc22b1ba4a0f08ec57">
+  <!ENTITY Linux_PAM-size      "376 KB">
+  <!ENTITY Linux_PAM-buildsize "8.6 MB">
+  <!ENTITY Linux_PAM-time      "0.15 SBU">
 ]>
 
 <sect1 id="Linux_PAM" xreflabel="Linux-PAM-&Linux_PAM-version;">
@@ -58,18 +58,10 @@
 
     <bridgehead renderas="sect3">Additional Downloads</bridgehead>
     <itemizedlist spacing='compact'>
-      <title>Patches</title>
-      <listitem>
-        <para>Required patch: <ulink
-        url="&patch-root;/Linux-PAM-&Linux_PAM-version;-linkage-2.patch"/></para>
-      </listitem>
-    </itemizedlist>
-
-    <itemizedlist spacing='compact'>
       <title>Documentation</title>
       <listitem>
         <para>Optional documentation: <ulink
-        url="http://www.kernel.org/pub/linux/libs/pam/pre/library/Linux-PAM-0.78-docs.tar.bz2"/>
+        url="http://www.kernel.org/pub/linux/libs/pam/pre/library/Linux-PAM-&Linux_PAM-version;-docs.tar.bz2"/>
       </para>
       </listitem>
     </itemizedlist>
@@ -92,17 +84,18 @@
     <para>Install <application>Linux-PAM</application> by
     running the following commands:</para>
 
-<screen><userinput>patch -Np1 -i ../Linux-PAM-&Linux_PAM-version;-linkage-2.patch &&
+<screen><userinput>sed -i 's at DICT_DIR_CANDIDATES="@DICT_DIR_CANDIDATES="/lib /lib/cracklib @' \
+    configure.in &&
 autoconf &&
-sed -i 's/(mandir)/(MANDIR)/g' modules/Simple.Rules &&
 ./configure --enable-static-libpam --with-mailspool=/var/mail \
-    --enable-read-both-confs --sysconfdir=/etc &&
+    --enable-read-both-confs --sysconfdir=/etc \
+    --mandir=/usr/share/man &&
 make</userinput></screen>
 
     <para>If you downloaded the documentation and wish to install it, unpack the
     tarball into the <filename class='directory'>doc</filename> directory:</para>
 
-<screen><userinput>tar -jxf ../Linux-PAM-0.78-docs.tar.bz2 -C doc</userinput></screen>
+<screen><userinput>tar -jxf ../Linux-PAM-&Linux_PAM-version;-docs.tar.bz2 -C doc</userinput></screen>
 
     <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
 
@@ -126,14 +119,14 @@
   <sect2 role="commands">
     <title>Command Explanations</title>
 
+    <para><command>sed -i 's at CANDIDATES="@CANDIDATES="/lib 
+    /lib/cracklib @' configure.in</command>: This command 
+    changes where configure looks to find the cracklib_dict.</para>
+
     <para><command>autoconf</command>:  This is necessary because the
-    patch changes where PAM looks for the <application>cracklib</application>
+    sed changes where PAM looks for the <application>cracklib</application>
     libraries, requiring regeneration of the configure script.</para>
 
-    <para><command>sed -i 's/(mandir)/(MANDIR)/g' modules/Simple.Rules</command>:
-    This command puts the module manpages with the rest of the manpages in
-    <filename>/usr/share/man</filename>.</para>
-
     <para><parameter>--enable-static-libpam</parameter>: This switch builds
     static PAM libraries as well as the dynamic libraries.</para>
 

Modified: trunk/BOOK/postlfs/security/shadow.xml
===================================================================
--- trunk/BOOK/postlfs/security/shadow.xml	2005-07-24 22:37:15 UTC (rev 4769)
+++ trunk/BOOK/postlfs/security/shadow.xml	2005-07-24 23:04:55 UTC (rev 4770)
@@ -366,7 +366,8 @@
                 SU_WHEEL_ONLY MD5_CRYPT_ENAB \
                 CONSOLE_GROUPS ENVIRON_FILE \
                 ULIMIT ENV_TZ ENV_HZ ENV_SUPATH \
-                ENV_PATH QMAIL_DIR MAIL_DIR MAIL_FILE
+                ENV_PATH QMAIL_DIR MAIL_DIR MAIL_FILE \
+                CHFN_AUTH FAILLOG_ENAB QUOTAS_ENAB FTMP_FILE
 do
     sed -i -e "s/^$FUNCTION/# &/" /etc/login.defs
 done</userinput></screen>




More information about the blfs-book mailing list