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

thomasp at linuxfromscratch.org thomasp at linuxfromscratch.org
Fri Jun 10 11:26:38 PDT 2005


Author: thomasp
Date: 2005-06-10 12:26:35 -0600 (Fri, 10 Jun 2005)
New Revision: 1910

Added:
   profiles/BLFS/trunk/config_standard/etc/pam.d/chpasswd
   profiles/BLFS/trunk/config_standard/etc/pam.d/groupadd
   profiles/BLFS/trunk/config_standard/etc/pam.d/groupdel
   profiles/BLFS/trunk/config_standard/etc/pam.d/groupmod
   profiles/BLFS/trunk/config_standard/etc/pam.d/login-cracklib
   profiles/BLFS/trunk/config_standard/etc/pam.d/newusers
   profiles/BLFS/trunk/config_standard/etc/pam.d/userdel
   profiles/BLFS/trunk/config_standard/etc/pam.d/usermod
Removed:
   profiles/BLFS/trunk/config_standard/etc/pam.d/shadow
Modified:
   profiles/BLFS/trunk/chapter04/openssl.xml
   profiles/BLFS/trunk/chapter04/shadow.xml
   profiles/BLFS/trunk/chapter04/stunnel.xml
   profiles/BLFS/trunk/config_standard/etc/pam.d/login
   profiles/BLFS/trunk/config_standard/etc/pam.d/other
   profiles/BLFS/trunk/config_standard/etc/pam.d/passwd-cracklib
   profiles/BLFS/trunk/config_standard/etc/pam.d/su
   profiles/BLFS/trunk/config_standard/packages/ch04.ent
   profiles/BLFS/trunk/wget/chapter04.urls
Log:
* Package upgrades:
 - openssl-0.9.7f
 - shadow-4.0.7
 - stunnel-4.09



Modified: profiles/BLFS/trunk/chapter04/openssl.xml
===================================================================
--- profiles/BLFS/trunk/chapter04/openssl.xml	2005-06-09 15:43:28 UTC (rev 1909)
+++ profiles/BLFS/trunk/chapter04/openssl.xml	2005-06-10 18:26:35 UTC (rev 1910)
@@ -24,23 +24,20 @@
         <destination>&build_dir;</destination>
       </unpack>
     </stage>
+    <stage name="Patching">
+      <stageinfo>
+	<base>&build_dir;/&openssl-directory;</base>
+      </stageinfo>
+      <patch>
+	<param>-N</param>
+	<param>-p1</param>
+	<param>-i &packages_dir;/&openssl-fix-manpages-patch;</param>
+      </patch>
+    </stage>
     <stage name="Installing">
       <stageinfo>
         <base>&build_dir;/&openssl-directory;</base>
       </stageinfo>
-      <search_replace base="&build_dir;/&openssl-directory;/doc/apps">
-        <file>passwd.pod</file>
-        <find>passwd - compute password hashes</find>
-        <replace>openssl-passwd - compute password hashes</replace>
-      </search_replace>
-      <move>
-        <source>doc/apps/passwd.pod</source>
-        <destination>doc/apps/openssl-passwd.pod</destination>
-      </move>
-      <move>
-        <source>doc/crypto/threads.pod</source>
-        <destination>doc/crypto/openssl_threads.pod</destination>
-      </move>
       <configure command="./config">
         <param>--openssldir=/etc/ssl</param>
         <param>--prefix=/usr</param>

Modified: profiles/BLFS/trunk/chapter04/shadow.xml
===================================================================
--- profiles/BLFS/trunk/chapter04/shadow.xml	2005-06-09 15:43:28 UTC (rev 1909)
+++ profiles/BLFS/trunk/chapter04/shadow.xml	2005-06-10 18:26:35 UTC (rev 1910)
@@ -33,7 +33,7 @@
       <patch>
         <param>-N</param>
         <param>-p1</param>
-        <param>-i &packages_dir;/&shadow-pam-patch;</param>
+        <param>-i &packages_dir;/&shadow-lastlog-patch;</param>
       </patch>
     </stage>
     <stage name="Installing">
@@ -41,52 +41,39 @@
         <base>&build_dir;/&shadow-directory;</base>
       </stageinfo>
       <configure>
-        <prefix>LIBS="-lpam -lpam_misc"</prefix>
-        <param>--libdir=/usr/lib</param>
+        <param>--libdir=/lib</param>
         <param>--enable-shared</param>
         <param>--with-libpam</param>
         <param>--without-libcrack</param>
       </configure>
-      <textdump mode="append">
-        <file>config.h</file>
-        <content>=#define HAVE_SETLOCALE 1</content>
-      </textdump>
       <search_replace>
-	<file>libmisc/xmalloc.c</file>
-	<find>extern char *malloc ();</find>
-	<replace>/* extern char *malloc (); */</replace>
+        <file>src/Makefile</file>
+        <find>groups$(EXEEXT)</find>
+        <replace></replace>
       </search_replace>
+      <execute command="sed">
+        <param>-i</param>
+        <param>-e '/groups/d'</param>
+        <param>man/Makefile</param>
+      </execute>
       <make />
       <make>
         <param>install</param>
       </make>
       <move>
-        <source>/bin/sg</source>
-        <destination>/usr/bin</destination>
-      </move>
-      <move>
-        <source>/bin/vigr</source>
-        <destination>/usr/sbin</destination>
-      </move>
-      <move>
 	<source>/usr/bin/passwd</source>
 	<destination>/bin</destination>
       </move>
-      <remove>/bin/groups</remove>
       <move>
-        <source>/usr/lib/lib{misc,shadow}.so.0*</source>
-        <destination>/lib</destination>
+        <source>/lib/libshadow.*a</source>
+        <destination>/usr/lib</destination>
       </move>
+      <remove>/lib/libshadow.so</remove>
       <link>
         <option>force</option>
         <target>../../lib/libshadow.so.0</target>
         <name>/usr/lib/libshadow.so</name>
       </link>
-      <link>
-        <option>force</option>
-        <target>../../lib/libmisc.so.0</target>
-        <name>/usr/lib/libmisc.so</name>
-      </link>
     </stage>
     <stage name="Configuring">
       <stageinfo>
@@ -95,19 +82,40 @@
       <copy base="&blfs-config;/etc/pam.d">
 	<source>login</source>
 	<source>passwd</source>
-	<source>shadow</source>
 	<source>su</source>
+	<source>chage</source>
+	<source>chpasswd</source>
+	<source>newusers</source>
+	<source>groupadd</source>
+	<source>groupdel</source>
+	<source>groupmod</source>
 	<source>useradd</source>
-	<source>chage</source>
+	<source>userdel</source>
+	<source>usermod</source>
+	<!--<source>other</source>-->
 	<destination>/etc/pam.d</destination>
       </copy>
       <!-- if you have cracklib installed uncomment the following -->
       <!--
       <copy base="&blfs-config;/etc/pam.d">
+	<source>login-cracklib</source>
+	<destination>/etc/pam.d/login</destination>
+      </copy>
+      <copy base=&blfs-config;/etc/pam.d">
 	<source>passwd-cracklib</source>
 	<destination>/etc/pam.d/passwd</destination>
       </copy>
       -->
+      <move>
+	<option>force</option>
+	<source>/etc/login.access</source>
+	<destination>/etc/login.access.NOUSE</destination>
+      </move>
+      <move>
+	<option>force</option>
+	<source>/etc/limits</source>
+	<destination>/etc/limits.NOUSE</destination>
+      </move>
       <search_replace>
         <file>login.defs</file>
         <find>LASTLOG_ENAB</find>

Modified: profiles/BLFS/trunk/chapter04/stunnel.xml
===================================================================
--- profiles/BLFS/trunk/chapter04/stunnel.xml	2005-06-09 15:43:28 UTC (rev 1909)
+++ profiles/BLFS/trunk/chapter04/stunnel.xml	2005-06-10 18:26:35 UTC (rev 1910)
@@ -45,6 +45,16 @@
       <param>stunnel</param>
     </execute>
   </stage>
+  <stage name="Patching">
+    <stageinfo>
+      <base>&build_dir;/&stunnel-directory;</base>
+    </stageinfo>
+    <patch>
+      <param>-N</param>
+      <param>-p1</param>
+      <param>-i &packages_dir;/&stunnel-sleep-fix-patch;</param>
+    </patch>
+  </stage>
   <stage name="Installing.">
     <stageinfo>
       <base>&build_dir;/&stunnel-directory;</base>

Copied: profiles/BLFS/trunk/config_standard/etc/pam.d/chpasswd (from rev 1870, profiles/BLFS/trunk/config_standard/etc/pam.d/chage)
===================================================================
--- profiles/BLFS/trunk/config_standard/etc/pam.d/chage	2005-04-28 19:56:25 UTC (rev 1870)
+++ profiles/BLFS/trunk/config_standard/etc/pam.d/chpasswd	2005-06-10 18:26:35 UTC (rev 1910)
@@ -0,0 +1,9 @@
+# Begin /etc/pam.d/chpasswd
+
+auth        sufficient      pam_rootok.so
+auth        required        pam_unix.so
+account     required        pam_unix.so
+session     required        pam_unix.so
+password    required        pam_permit.so
+
+# End /etc/pam.d/chpasswd

Copied: profiles/BLFS/trunk/config_standard/etc/pam.d/groupadd (from rev 1870, profiles/BLFS/trunk/config_standard/etc/pam.d/chage)
===================================================================
--- profiles/BLFS/trunk/config_standard/etc/pam.d/chage	2005-04-28 19:56:25 UTC (rev 1870)
+++ profiles/BLFS/trunk/config_standard/etc/pam.d/groupadd	2005-06-10 18:26:35 UTC (rev 1910)
@@ -0,0 +1,9 @@
+# Begin /etc/pam.d/groupadd
+
+auth        sufficient      pam_rootok.so
+auth        required        pam_unix.so
+account     required        pam_unix.so
+session     required        pam_unix.so
+password    required        pam_permit.so
+
+# End /etc/pam.d/groupadd

Copied: profiles/BLFS/trunk/config_standard/etc/pam.d/groupdel (from rev 1870, profiles/BLFS/trunk/config_standard/etc/pam.d/chage)
===================================================================
--- profiles/BLFS/trunk/config_standard/etc/pam.d/chage	2005-04-28 19:56:25 UTC (rev 1870)
+++ profiles/BLFS/trunk/config_standard/etc/pam.d/groupdel	2005-06-10 18:26:35 UTC (rev 1910)
@@ -0,0 +1,9 @@
+# Begin /etc/pam.d/groupdel
+
+auth        sufficient      pam_rootok.so
+auth        required        pam_unix.so
+account     required        pam_unix.so
+session     required        pam_unix.so
+password    required        pam_permit.so
+
+# End /etc/pam.d/groupdel

Copied: profiles/BLFS/trunk/config_standard/etc/pam.d/groupmod (from rev 1870, profiles/BLFS/trunk/config_standard/etc/pam.d/chage)
===================================================================
--- profiles/BLFS/trunk/config_standard/etc/pam.d/chage	2005-04-28 19:56:25 UTC (rev 1870)
+++ profiles/BLFS/trunk/config_standard/etc/pam.d/groupmod	2005-06-10 18:26:35 UTC (rev 1910)
@@ -0,0 +1,9 @@
+# Begin /etc/pam.d/groupmod
+
+auth        sufficient      pam_rootok.so
+auth        required        pam_unix.so
+account     required        pam_unix.so
+session     required        pam_unix.so
+password    required        pam_permit.so
+
+# End /etc/pam.d/groupmod

Modified: profiles/BLFS/trunk/config_standard/etc/pam.d/login
===================================================================
--- profiles/BLFS/trunk/config_standard/etc/pam.d/login	2005-06-09 15:43:28 UTC (rev 1909)
+++ profiles/BLFS/trunk/config_standard/etc/pam.d/login	2005-06-10 18:26:35 UTC (rev 1910)
@@ -8,8 +8,9 @@
 account     required       pam_unix.so
 session     required       pam_motd.so
 session     required       pam_limits.so
-session     optional       pam_mail.so     dir=/var/mail standard
+session     optional       pam_mail.so      dir=/var/mail standard
 session     optional       pam_lastlog.so
 session     required       pam_unix.so
+password    required       pam_unix.so      md5 shadow
 
 # End /etc/pam.d/login

Added: profiles/BLFS/trunk/config_standard/etc/pam.d/login-cracklib
===================================================================
--- profiles/BLFS/trunk/config_standard/etc/pam.d/login-cracklib	2005-06-09 15:43:28 UTC (rev 1909)
+++ profiles/BLFS/trunk/config_standard/etc/pam.d/login-cracklib	2005-06-10 18:26:35 UTC (rev 1910)
@@ -0,0 +1,19 @@
+# Begin /etc/pam.d/login
+
+auth        requisite      pam_securetty.so
+auth        requisite      pam_nologin.so
+auth        required       pam_env.so
+auth        required       pam_unix.so
+account     required       pam_access.so
+account     required       pam_unix.so
+session     required       pam_motd.so
+session     required       pam_limits.so
+session     optional       pam_mail.so      dir=/var/mail standard
+session     optional       pam_lastlog.so
+session     required       pam_unix.so
+password    required       pam_cracklib.so  retry=3 difok=8 minlen=5 \
+                                            dcredit=3 ocredit=3 \
+                                            ucredit=2 lcredit=2
+password    required       pam_unix.so      md5 shadow use_authtok
+
+# End /etc/pam.d/login

Copied: profiles/BLFS/trunk/config_standard/etc/pam.d/newusers (from rev 1870, profiles/BLFS/trunk/config_standard/etc/pam.d/chage)
===================================================================
--- profiles/BLFS/trunk/config_standard/etc/pam.d/chage	2005-04-28 19:56:25 UTC (rev 1870)
+++ profiles/BLFS/trunk/config_standard/etc/pam.d/newusers	2005-06-10 18:26:35 UTC (rev 1910)
@@ -0,0 +1,9 @@
+# Begin /etc/pam.d/newusers
+
+auth        sufficient      pam_rootok.so
+auth        required        pam_unix.so
+account     required        pam_unix.so
+session     required        pam_unix.so
+password    required        pam_permit.so
+
+# End /etc/pam.d/newusers

Modified: profiles/BLFS/trunk/config_standard/etc/pam.d/other
===================================================================
--- profiles/BLFS/trunk/config_standard/etc/pam.d/other	2005-06-09 15:43:28 UTC (rev 1909)
+++ profiles/BLFS/trunk/config_standard/etc/pam.d/other	2005-06-10 18:26:35 UTC (rev 1910)
@@ -1,8 +1,10 @@
 # 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
+auth        required        pam_deny.so
+auth        required        pam_warn.so
+account     required        pam_deny.so
+session     required        pam_deny.so
+password    required        pam_deny.so
+password    required        pam_warn.so
 
 # End /etc/pam.d/other

Modified: profiles/BLFS/trunk/config_standard/etc/pam.d/passwd-cracklib
===================================================================
--- profiles/BLFS/trunk/config_standard/etc/pam.d/passwd-cracklib	2005-06-09 15:43:28 UTC (rev 1909)
+++ profiles/BLFS/trunk/config_standard/etc/pam.d/passwd-cracklib	2005-06-10 18:26:35 UTC (rev 1910)
@@ -1,7 +1,8 @@
 # Begin /etc/pam.d/passwd
 
-password    required    pam_cracklib.so     \
-    retry=3  difok=8  minlen=5  dcredit=3  ocredit=3  ucredit=2  lcredit=2
-password    required    pam_unix.so     md5 shadow use_authtok
+password    required       pam_cracklib.so  retry=3 difok=8 minlen=5 \
+                                            dcredit=3  ocredit=3 \
+                                            ucredit=2  lcredit=2
+password    required       pam_unix.so      md5 shadow use_authtok
 
 # End /etc/pam.d/passwd

Deleted: profiles/BLFS/trunk/config_standard/etc/pam.d/shadow
===================================================================
--- profiles/BLFS/trunk/config_standard/etc/pam.d/shadow	2005-06-09 15:43:28 UTC (rev 1909)
+++ profiles/BLFS/trunk/config_standard/etc/pam.d/shadow	2005-06-10 18:26:35 UTC (rev 1910)
@@ -1,9 +0,0 @@
-# Begin /etc/pam.d/shadow
-
-auth        sufficient      pam_rootok.so
-auth        required        pam_unix.so
-account     required        pam_unix.so
-session     required        pam_unix.so
-password    required        pam_permit.so
-
-# End /etc/pam.d/shadow

Modified: profiles/BLFS/trunk/config_standard/etc/pam.d/su
===================================================================
--- profiles/BLFS/trunk/config_standard/etc/pam.d/su	2005-06-09 15:43:28 UTC (rev 1909)
+++ profiles/BLFS/trunk/config_standard/etc/pam.d/su	2005-06-10 18:26:35 UTC (rev 1910)
@@ -3,6 +3,7 @@
 auth        sufficient      pam_rootok.so
 auth        required        pam_unix.so
 account     required        pam_unix.so
+session     optional        pam_mail.so     dir=/var/mail standard
 session     required        pam_unix.so
 
 # End /etc/pam.d/su

Copied: profiles/BLFS/trunk/config_standard/etc/pam.d/userdel (from rev 1870, profiles/BLFS/trunk/config_standard/etc/pam.d/chage)
===================================================================
--- profiles/BLFS/trunk/config_standard/etc/pam.d/chage	2005-04-28 19:56:25 UTC (rev 1870)
+++ profiles/BLFS/trunk/config_standard/etc/pam.d/userdel	2005-06-10 18:26:35 UTC (rev 1910)
@@ -0,0 +1,9 @@
+# Begin /etc/pam.d/userdel
+
+auth        sufficient      pam_rootok.so
+auth        required        pam_unix.so
+account     required        pam_unix.so
+session     required        pam_unix.so
+password    required        pam_permit.so
+
+# End /etc/pam.d/userdel

Copied: profiles/BLFS/trunk/config_standard/etc/pam.d/usermod (from rev 1870, profiles/BLFS/trunk/config_standard/etc/pam.d/chage)
===================================================================
--- profiles/BLFS/trunk/config_standard/etc/pam.d/chage	2005-04-28 19:56:25 UTC (rev 1870)
+++ profiles/BLFS/trunk/config_standard/etc/pam.d/usermod	2005-06-10 18:26:35 UTC (rev 1910)
@@ -0,0 +1,9 @@
+# Begin /etc/pam.d/usermod
+
+auth        sufficient      pam_rootok.so
+auth        required        pam_unix.so
+account     required        pam_unix.so
+session     required        pam_unix.so
+password    required        pam_permit.so
+
+# End /etc/pam.d/usermod

Modified: profiles/BLFS/trunk/config_standard/packages/ch04.ent
===================================================================
--- profiles/BLFS/trunk/config_standard/packages/ch04.ent	2005-06-09 15:43:28 UTC (rev 1909)
+++ profiles/BLFS/trunk/config_standard/packages/ch04.ent	2005-06-10 18:26:35 UTC (rev 1910)
@@ -1,10 +1,12 @@
 <!--************* packages for chapter 4 *************-->
 
-<!ENTITY openssl-version   "0.9.7e">
+<!ENTITY openssl-version   "0.9.7f">
 <!ENTITY openssl-package   "openssl-&openssl-version;.tar.bz2">
-<!ENTITY openssl-md5       "bad03fa90732c244174f72c910e47b83">
+<!ENTITY openssl-md5       "237a78efdd3ac0b0bc53051f80a2dfde">
 <!ENTITY openssl-directory "openssl-&openssl-version;">
 
+<!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">
@@ -28,13 +30,12 @@
 <!ENTITY linuxpam-linkage-patch     "Linux-PAM-&linuxpam-version;-linkage-2.patch">
 <!ENTITY linuxpam-linkage-patch-md5 "137e25bcac7e6ac0acaeed9503def2e9">
 
-<!ENTITY shadow-version   "4.0.4.1">
+<!ENTITY shadow-version   "4.0.7">
 <!ENTITY shadow-package   "shadow-&shadow-version;.tar.bz2">
-<!ENTITY shadow-md5       "3a3d17d3d7c630b602baf66ae7434c61">
+<!ENTITY shadow-md5       "89ebec0d1c0d861a5bd5c4c63e5cb0cc">
 <!ENTITY shadow-directory "shadow-&shadow-version;">
 
-<!ENTITY shadow-pam-patch     "shadow-&shadow-version;-pam-1.patch">
-<!ENTITY shadow-pam-patch-md5 "21b903caa6ca38cd60bc0a4d133aee4c">
+<!ENTITY shadow-lastlog-patch     "shadow-&shadow-version;-fix_lastlog-1.patch">
 
 <!ENTITY iptables-version   "1.3.1">
 <!ENTITY iptables-package   "iptables-&iptables-version;.tar.bz2">
@@ -72,7 +73,10 @@
 <!ENTITY cyrus-sasl-md5       "4981b64da5747e7ca6f4696a6d172066">
 <!ENTITY cyrus-sasl-directory "cyrus-sasl-&cyrus-sasl-version;">
 
-<!ENTITY stunnel-version   "4.07">
+<!ENTITY stunnel-version   "4.09">
 <!ENTITY stunnel-package   "stunnel-&stunnel-version;.tar.bz2">
-<!ENTITY stunnel-md5       "3da3880189133533b20e19ed0b40a04a">
+<!ENTITY stunnel-md5       "f048f58da3d49f0a6843a0b1b819d7f5">
 <!ENTITY stunnel-directory "stunnel-&stunnel-version;">
+
+<!ENTITY stunnel-sleep-fix-patch "stunnel-&stunnel-version;-1_minute_sleep_fix.patch">
+

Modified: profiles/BLFS/trunk/wget/chapter04.urls
===================================================================
--- profiles/BLFS/trunk/wget/chapter04.urls	2005-06-09 15:43:28 UTC (rev 1909)
+++ profiles/BLFS/trunk/wget/chapter04.urls	2005-06-10 18:26:35 UTC (rev 1910)
@@ -1,4 +1,5 @@
-ftp://ftp.lfs-matrix.net/pub/BLFS/6.0/M-P/openssl-0.9.7e.tar.bz2
+ftp://ftp.lfs-matrix.net/pub/BLFS/SVN/M-P/openssl-0.9.7f.tar.bz2
+ftp://ftp.lfs-matrix.net/pub/BLFS/SVN/M-P/openssl-0.9.7f-fix_manpages-1.patch
 
 ftp://ftp.lfs-matrix.net/pub/BLFS/6.0/A-C/cracklib/cracklib,2.7.tar.bz2
 ftp://ftp.lfs-matrix.net/pub/BLFS/6.0/A-C/cracklib/cracklib,2.7-blfs-1.patch
@@ -8,8 +9,8 @@
 ftp://ftp.lfs-matrix.net/pub/BLFS/6.0/L/Linux-PAM-0.78.tar.bz2
 ftp://ftp.lfs-matrix.net/pub/BLFS/6.0/L/Linux-PAM-0.78-linkage-2.patch
 
-ftp://ftp.lfs-matrix.net/pub/BLFS/6.0/Q-S/shadow-4.0.4.1.tar.bz2
-ftp://ftp.lfs-matrix.net/pub/BLFS/6.0/Q-S/shadow-4.0.4.1-pam-1.patch
+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/6.0/I-K/iptables-1.3.1.tar.bz2
 
@@ -25,4 +26,5 @@
 
 ftp://ftp.lfs-matrix.net/pub/BLFS/6.0/A-C/cyrus-sasl-2.1.20.tar.bz2
 
-ftp://ftp.lfs-matrix.net/pub/BLFS/6.0/Q-S/stunnel-4.07.tar.bz2
+ftp://ftp.lfs-matrix.net/pub/BLFS/SVN/Q-S/stunnel-4.09.tar.bz2
+ftp://ftp.lfs-matrix.net/pub/BLFS/SVN/Q-S/stunnel-4.09-1_minute_sleep_fix.patch




More information about the alfs-log mailing list