r1985 - in profiles/BLFS/trunk: chapter04 config_standard/etc/pam.d config_standard/packages config_standard/scripts wget

thomasp at linuxfromscratch.org thomasp at linuxfromscratch.org
Mon Sep 5 15:14:50 PDT 2005


Author: thomasp
Date: 2005-09-05 16:14:48 -0600 (Mon, 05 Sep 2005)
New Revision: 1985

Added:
   profiles/BLFS/trunk/config_standard/etc/pam.d/other-pam
   profiles/BLFS/trunk/config_standard/scripts/pam-env.sh
Modified:
   profiles/BLFS/trunk/chapter04/cracklib.xml
   profiles/BLFS/trunk/chapter04/linuxpam.xml
   profiles/BLFS/trunk/chapter04/shadow.xml
   profiles/BLFS/trunk/config_standard/packages/ch04.ent
   profiles/BLFS/trunk/wget/chapter04.urls
Log:
* Package upgrades:
 - cracklib-2.8.3
 - Linux-PAM-0.80
 - shadow-4.0.9



Modified: profiles/BLFS/trunk/chapter04/cracklib.xml
===================================================================
--- profiles/BLFS/trunk/chapter04/cracklib.xml	2005-09-03 22:47:58 UTC (rev 1984)
+++ profiles/BLFS/trunk/chapter04/cracklib.xml	2005-09-05 22:14:48 UTC (rev 1985)
@@ -24,58 +24,58 @@
         <destination>&build_dir;</destination>
       </unpack>
     </stage>
-    <stage name="Installing">
+    <stage name="Patching">
       <stageinfo>
-        <base>&build_dir;/&cracklib-directory;</base>
+	<base>&build_dir;/&cracklib-directory;</base>
       </stageinfo>
-      <mkdir>
-        <option>parents</option>
-        <name>/usr/share/dict</name>
-      </mkdir>
-      <permissions mode="755">
-        <name>/usr/share/dict</name>
-      </permissions>
-      <copy>
-        <source>&build_dir;/&cracklib-wordlist;</source>
-        <destination>/usr/share/dict</destination>
-      </copy>
-      <permissions mode="644">
-        <name>/usr/share/dict/&cracklib-wordlist;</name>
-      </permissions>
-      <link base="/usr/share/dict">
-        <option>force</option>
-        <target>&cracklib-wordlist;</target>
-        <name>words</name>
-      </link>
-      <execute command="echo">
-        <param>$(hostname)</param>
-        <param>>></param>
-        <param>/usr/share/dict/extra.words</param>
-      </execute>
       <patch>
         <param>-N</param>
         <param>-p1</param>
-        <param>-i &packages_dir;/&cracklib-blfs-patch;</param>
-      </patch>
-      <copy>
-        <option>recursive</option>
-        <source>cracklib</source>
-        <destination>cracklib_krb5</destination>
-      </copy>
-      <patch>
-        <param>-N</param>
-        <param>-p1</param>
         <param>-i &packages_dir;/&cracklib-heimdal-patch;</param>
       </patch>
+    </stage>
+    <stage name="Installing">
+      <stageinfo>
+        <base>&build_dir;/&cracklib-directory;</base>
+      </stageinfo>
+      <configure>
+	<param>--prefix=/usr</param>
+	<param>--datadir=/lib</param>
+      </configure>
       <make>
         <param>install</param>
       </make>
-      <remove>/lib/libcrack.so</remove>
+      <move>
+	<source>/usr/lib/libcrack.so.2*</source>
+	<destination>/lib</destination>
+      </move>
       <link>
 	<option>force</option>
-	<target>../../lib/libcrack.so.&cracklib-version;</target>
+	<target>../../lib/libcrack.so.2.8.0</target>
 	<name>/usr/lib/libcrack.so</name>
       </link>
+      <mkdir>
+	<option>parents</option>
+	<name>/usr/share/dict</name>
+      </mkdir>
+      <copy>
+	<source>&build_dir;/&cracklib-wordlist;</source>
+	<destination>/usr/share/dict</destination>
+      </copy>
+      <link>
+	<option>force</option>
+	<target>&cracklib-wordlist;</target>
+	<name>/usr/share/dict/words</name>
+      </link>
+      <execute command="echo">
+        <param>$(hostname)</param>
+        <param>>></param>
+        <param>/usr/share/dict/cracklib-extra-words</param>
+      </execute>
+      <execute command="create-cracklib-dict">
+	<param>/usr/share/dict/&cracklib-wordlist;</param>
+	<param>/usr/share/dict/cracklib-extra-words</param>
+      </execute>
     </stage>
     <stage name="Cleanup">
       <remove>&build_dir;/&cracklib-directory;</remove>

Modified: profiles/BLFS/trunk/chapter04/linuxpam.xml
===================================================================
--- profiles/BLFS/trunk/chapter04/linuxpam.xml	2005-09-03 22:47:58 UTC (rev 1984)
+++ profiles/BLFS/trunk/chapter04/linuxpam.xml	2005-09-05 22:14:48 UTC (rev 1985)
@@ -31,32 +31,32 @@
 	<archive>&packages_dir;/&linuxpam-package;</archive>
         <destination>&build_dir;</destination>
       </unpack>
+      <unpack>
+	<digest>&linuxpam-docs-md5;</digest>
+	<archive>&packages_dir;/&linuxpam-docs-package;</archive>
+	<destination>&build_dir;/&linuxpam-directory;/doc</destination>
+      </unpack>
     </stage>
     <stage name="Patching">
       <stageinfo>
         <base>&build_dir;/&linuxpam-directory;</base>
       </stageinfo>
-      <patch>
-        <param>-N</param>
-        <param>-p1</param>
-        <param>-i &packages_dir;/&linuxpam-linkage-patch;</param>
-      </patch>
+      <execute command="sed">
+	<param>-i</param>
+	<param>'s|DICT_DIR_CANDIDATES="|&real-amp;/lib /lib/cracklib |'</param>
+	<param>configure</param>
+      </execute>
     </stage>
     <stage name="Installing">
       <stageinfo>
         <base>&build_dir;/&linuxpam-directory;</base>
       </stageinfo>
-      <execute command="autoconf" />
-      <search_replace>
-	<file>modules/Simple.Rules</file>
-	<find>(mandir)</find>
-	<replace>(MANDIR)</replace>
-      </search_replace>
       <configure>
         <param>--enable-static-libpam</param>
         <param>--with-mailspool=/var/mail</param>
         <param>--enable-read-both-confs</param>
         <param>--sysconfdir=/etc</param>
+	<param>--mandir=/usr/share/man</param>
       </configure>
       <make />
       <make>
@@ -105,7 +105,7 @@
         <name>/etc/pam.d</name>
       </mkdir>
       <copy>
-        <source>&blfs-config;/etc/pam.d/other</source>
+        <source>&blfs-config;/etc/pam.d/other-pam</source>
         <destination>/etc/pam.d/other</destination>
       </copy>
       <copy>

Modified: profiles/BLFS/trunk/chapter04/shadow.xml
===================================================================
--- profiles/BLFS/trunk/chapter04/shadow.xml	2005-09-03 22:47:58 UTC (rev 1984)
+++ profiles/BLFS/trunk/chapter04/shadow.xml	2005-09-05 22:14:48 UTC (rev 1985)
@@ -33,7 +33,7 @@
       <patch>
         <param>-N</param>
         <param>-p1</param>
-        <param>-i &packages_dir;/&shadow-lastlog-patch;</param>
+        <param>-i &packages_dir;/&shadow-pam-fixes-patch;</param>
       </patch>
     </stage>
     <stage name="Installing">
@@ -108,14 +108,19 @@
       -->
       <move>
 	<option>force</option>
-	<source>/etc/login.access</source>
-	<destination>/etc/login.access.NOUSE</destination>
+	<source>login.access</source>
+	<destination>login.access.NOUSE</destination>
       </move>
       <move>
 	<option>force</option>
-	<source>/etc/limits</source>
-	<destination>/etc/limits.NOUSE</destination>
+	<source>limits</source>
+	<destination>limits.NOUSE</destination>
       </move>
+      <copy>
+	<option>force</option>
+	<source>login.defs</source>
+	<destination>login.defs.orig</destination>
+      </copy>
       <search_replace>
         <file>login.defs</file>
         <find>LASTLOG_ENAB</find>
@@ -171,6 +176,66 @@
         <find>ENVIRON_FILE</find>
         <replace>#ENVIRON_FILE</replace>
       </search_replace>
+      <search_replace>
+        <file>login.defs</file>
+        <find>ULIMIT</find>
+        <replace>#ULIMIT</replace>
+      </search_replace>
+      <search_replace>
+        <file>login.defs</file>
+        <find>ENV_TZ</find>
+        <replace>#ENV_TZ</replace>
+      </search_replace>
+      <search_replace>
+        <file>login.defs</file>
+        <find>ENV_HZ</find>
+        <replace>#ENV_HZ</replace>
+      </search_replace>
+      <search_replace>
+        <file>login.defs</file>
+        <find>ENV_SUPATH</find>
+        <replace>#ENV_SUPATH</replace>
+      </search_replace>
+      <search_replace>
+        <file>login.defs</file>
+        <find>ENV_PATH</find>
+        <replace>#ENV_PATH</replace>
+      </search_replace>
+      <search_replace>
+        <file>login.defs</file>
+        <find>QMAIL_DIR</find>
+        <replace>#QMAIL_DIR</replace>
+      </search_replace>
+      <search_replace>
+        <file>login.defs</file>
+        <find>MAIL_DIR</find>
+        <replace>#MAIL_DIR</replace>
+      </search_replace>
+      <search_replace>
+        <file>login.defs</file>
+        <find>MAIL_FILE</find>
+        <replace>#MAIL_FILE</replace>
+      </search_replace>
+      <search_replace>
+        <file>login.defs</file>
+        <find>CHFN_AUTH</find>
+        <replace>#CHFN_AUTH</replace>
+      </search_replace>
+      <search_replace>
+        <file>login.defs</file>
+        <find>FAILLOG_ENAB</find>
+        <replace>#FAILLOG_ENAB</replace>
+      </search_replace>
+      <search_replace>
+        <file>login.defs</file>
+        <find>QUOTAS_ENAB</find>
+        <replace>#QUOTAS_ENAB</replace>
+      </search_replace>
+      <search_replace>
+        <file>login.defs</file>
+        <find>FTMP_FILE</find>
+        <replace>#FTMP_FILE</replace>
+      </search_replace>
       <!-- if you have cracklib installed uncomment the following -->
       <!--
       <search_replace>
@@ -194,6 +259,7 @@
         <replace>#PASS_ALWAYS_WARN</replace>
       </search_replace>
       -->
+      <execute command="&blfs-config;/scripts/pam-env.sh" />
     </stage>
     <stage name="Cleanup">
       <remove>&build_dir;/&shadow-directory;</remove>

Copied: profiles/BLFS/trunk/config_standard/etc/pam.d/other-pam (from rev 1910, profiles/BLFS/trunk/config_standard/etc/pam.d/other)
===================================================================
--- profiles/BLFS/trunk/config_standard/etc/pam.d/other	2005-06-10 18:26:35 UTC (rev 1910)
+++ profiles/BLFS/trunk/config_standard/etc/pam.d/other-pam	2005-09-05 22:14:48 UTC (rev 1985)
@@ -0,0 +1,8 @@
+# Begin /etc/pam.d/other
+
+auth            required        pam_unix.so     nullok
+account         required        pam_unix.so
+session         required        pam_unix.so
+password        required        pam_unix.so     nullok
+
+# End /etc/pam.d/other

Modified: profiles/BLFS/trunk/config_standard/packages/ch04.ent
===================================================================
--- profiles/BLFS/trunk/config_standard/packages/ch04.ent	2005-09-03 22:47:58 UTC (rev 1984)
+++ profiles/BLFS/trunk/config_standard/packages/ch04.ent	2005-09-05 22:14:48 UTC (rev 1985)
@@ -7,35 +7,31 @@
 
 <!ENTITY openssl-fix-manpages-patch "openssl-&openssl-version;-fix_manpages-1.patch">
 
-<!ENTITY cracklib-version   "2.7">
-<!ENTITY cracklib-package   "cracklib,&cracklib-version;.tar.bz2">
-<!ENTITY cracklib-md5       "95663c4de6036c91cc0cbf89943ffc71">
-<!ENTITY cracklib-directory "cracklib,&cracklib-version;">
+<!ENTITY cracklib-version   "2.8.3">
+<!ENTITY cracklib-package   "cracklib-&cracklib-version;.tar.bz2">
+<!ENTITY cracklib-md5       "b0eb8d901f82b2c70aeafa81cf026c69">
+<!ENTITY cracklib-directory "cracklib-&cracklib-version;">
 
-<!ENTITY cracklib-blfs-patch     "cracklib,&cracklib-version;-blfs-1.patch">
-<!ENTITY cracklib-blfs-patch-md5 "dde137235413c6e15cb6f67aa8000ae0">
+<!ENTITY cracklib-heimdal-patch     "cracklib-&cracklib-version;-heimdal-1.patch">
 
-<!ENTITY cracklib-heimdal-patch     "cracklib,&cracklib-version;-heimdal-1.patch">
-<!ENTITY cracklib-heimdal-patch-md5 "c7817dd07bc1dc57d6a2e29fa7d98288">
+<!ENTITY cracklib-wordlist         "cracklib-words">
+<!ENTITY cracklib-wordlist-package "&cracklib-wordlist;.bz2">
+<!ENTITY cracklib-wordlist-md5     "c183c1a6794ad7133d2c77a0f64d229f">
 
-<!ENTITY cracklib-wordlist         "allwords">
-<!ENTITY cracklib-wordlist-package "allwords.bz2">
-<!ENTITY cracklib-wordlist-md5     "f4a537241a870fb718faaf343cf26d91">
-
-<!ENTITY linuxpam-version   "0.78">
+<!ENTITY linuxpam-version   "0.80">
 <!ENTITY linuxpam-package   "Linux-PAM-&linuxpam-version;.tar.bz2">
-<!ENTITY linuxpam-md5       "34938b4f2449d4d3b2ffdbf354257205">
+<!ENTITY linuxpam-md5       "ccff87fe639efdfc22b1ba4a0f08ec57">
 <!ENTITY linuxpam-directory "Linux-PAM-&linuxpam-version;">
 
-<!ENTITY linuxpam-linkage-patch     "Linux-PAM-&linuxpam-version;-linkage-2.patch">
-<!ENTITY linuxpam-linkage-patch-md5 "137e25bcac7e6ac0acaeed9503def2e9">
+<!ENTITY linuxpam-docs-package "Linux-PAM-&linuxpam-version;-docs.tar.bz2">
+<!ENTITY linuxpam-docs-md5 "91f645dd89a699e68a12bbf4979ccece">
 
-<!ENTITY shadow-version   "4.0.7">
+<!ENTITY shadow-version   "4.0.9">
 <!ENTITY shadow-package   "shadow-&shadow-version;.tar.bz2">
-<!ENTITY shadow-md5       "89ebec0d1c0d861a5bd5c4c63e5cb0cc">
+<!ENTITY shadow-md5       "66e3a3a60ea6b021a7babff311b07607">
 <!ENTITY shadow-directory "shadow-&shadow-version;">
 
-<!ENTITY shadow-lastlog-patch     "shadow-&shadow-version;-fix_lastlog-1.patch">
+<!ENTITY shadow-pam-fixes-patch     "shadow-&shadow-version;-Linux_PAM_fixes-1.patch">
 
 <!ENTITY iptables-version   "1.3.1">
 <!ENTITY iptables-package   "iptables-&iptables-version;.tar.bz2">

Added: profiles/BLFS/trunk/config_standard/scripts/pam-env.sh
===================================================================
--- profiles/BLFS/trunk/config_standard/scripts/pam-env.sh	2005-09-03 22:47:58 UTC (rev 1984)
+++ profiles/BLFS/trunk/config_standard/scripts/pam-env.sh	2005-09-05 22:14:48 UTC (rev 1985)
@@ -0,0 +1,5 @@
+ENV_PATH=`grep '^ENV_PATH' /etc/login.defs.orig | \
+    awk '{ print $2 }' | sed 's/PATH=//'` &&
+echo 'PATH        DEFAULT='`echo "${ENV_PATH}"`'        OVERRIDE=${PATH}' \
+    >> /etc/security/pam_env.conf &&
+unset ENV_PATH

Modified: profiles/BLFS/trunk/wget/chapter04.urls
===================================================================
--- profiles/BLFS/trunk/wget/chapter04.urls	2005-09-03 22:47:58 UTC (rev 1984)
+++ profiles/BLFS/trunk/wget/chapter04.urls	2005-09-05 22:14:48 UTC (rev 1985)
@@ -1,20 +1,19 @@
 ftp://ftp.lfs-matrix.net/pub/BLFS/SVN/M-P/openssl-0.9.7g.tar.bz2
 ftp://ftp.lfs-matrix.net/pub/BLFS/SVN/M-P/openssl-0.9.7g-fix_manpages-1.patch
 
-ftp://ftp.lfs-matrix.net/pub/BLFS/SVN/A-C/cracklib/cracklib,2.7.tar.bz2
-ftp://ftp.lfs-matrix.net/pub/BLFS/SVN/A-C/cracklib/cracklib,2.7-blfs-1.patch
-ftp://ftp.lfs-matrix.net/pub/BLFS/SVN/A-C/cracklib/cracklib,2.7-heimdal-1.patch
-ftp://ftp.lfs-matrix.net/pub/BLFS/SVN/A-C/cracklib/allwords.bz2
+ftp://ftp.lfs-matrix.net/pub/BLFS/SVN/A-C/cracklib-2.8.3.tar.bz2
+ftp://ftp.lfs-matrix.net/pub/BLFS/SVN/A-C/cracklib-2.8.3-heimdal-1.patch
+ftp://ftp.lfs-matrix.net/pub/BLFS/SVN/A-C/cracklib-words.bz2
 
-ftp://ftp.lfs-matrix.net/pub/BLFS/SVN/L/Linux-PAM-0.78.tar.bz2
-ftp://ftp.lfs-matrix.net/pub/BLFS/SVN/L/Linux-PAM-0.78-linkage-2.patch
+ftp://ftp.lfs-matrix.net/pub/BLFS/SVN/L/Linux-PAM-0.80.tar.bz2
+ftp://ftp.lfs-matrix.net/pub/BLFS/SVN/L/Linux-PAM-0.80-docs.tar.bz2
 
-ftp://ftp.lfs-matrix.net/pub/BLFS/SVN/Q-S/shadow-4.0.7.tar.bz2
-ftp://ftp.lfs-matrix.net/pub/BLFS/SVN/Q-S/shadow-4.0.7-fix_lastlog-1.patch
+ftp://ftp.lfs-matrix.net/pub/BLFS/SVN/Q-S/shadow-4.0.9.tar.bz2
+ftp://ftp.lfs-matrix.net/pub/BLFS/SVN/Q-S/shadow-4.0.9-Linux_PAM_fixes-1.patch
 
 ftp://ftp.lfs-matrix.net/pub/BLFS/SVN/I-K/iptables-1.3.1.tar.bz2
 
-ftp://ftp.lfs-matrix.net/pub/BLFS/SVN/F-H/gnupg-1.4.0.tar.bz2
+ftp://ftp.lfs-matrix.net/pub/BLFS/SVN/F-H/gnupg-1.4.1.tar.bz2
 
 ftp://ftp.lfs-matrix.net/pub/BLFS/SVN/T-V/tripwire-portable-0.9.tar.bz2
 




More information about the alfs-log mailing list