r5025 - in trunk: BOOK/introduction/welcome BOOK/postlfs/security patches

randy at linuxfromscratch.org randy at linuxfromscratch.org
Fri Sep 9 14:50:50 PDT 2005


Author: randy
Date: 2005-09-09 15:50:49 -0600 (Fri, 09 Sep 2005)
New Revision: 5025

Added:
   trunk/patches/Linux-PAM-0.80-gcc4-1.patch
Modified:
   trunk/BOOK/introduction/welcome/changelog.xml
   trunk/BOOK/postlfs/security/linux_pam.xml
Log:
Added a GGC-4 patch to the Linux-PAM instructions

Modified: trunk/BOOK/introduction/welcome/changelog.xml
===================================================================
--- trunk/BOOK/introduction/welcome/changelog.xml	2005-09-09 01:33:39 UTC (rev 5024)
+++ trunk/BOOK/introduction/welcome/changelog.xml	2005-09-09 21:50:49 UTC (rev 5025)
@@ -45,6 +45,9 @@
       <para>September 9th, 2005</para>
       <itemizedlist>
         <listitem>
+          <para>[randy] - Added a GCC-4 patch to the Linux-PAM instructions.</para>
+        </listitem>
+        <listitem>
           <para>[randy] - Updated to intltool-0.34.1.</para>
         </listitem>
         <listitem>

Modified: trunk/BOOK/postlfs/security/linux_pam.xml
===================================================================
--- trunk/BOOK/postlfs/security/linux_pam.xml	2005-09-09 01:33:39 UTC (rev 5024)
+++ trunk/BOOK/postlfs/security/linux_pam.xml	2005-09-09 21:50:49 UTC (rev 5025)
@@ -66,6 +66,15 @@
       </listitem>
     </itemizedlist>
 
+    <itemizedlist spacing='compact'>
+      <title>Patches</title>
+      <listitem>
+        <para>Required patch: <ulink
+        url="&patch-root;/Linux-PAM-&Linux_PAM-version;-gcc4-1.patch"/>
+      </para>
+      </listitem>
+    </itemizedlist>
+
     <bridgehead renderas="sect3">Linux-PAM Dependencies</bridgehead>
 
     <bridgehead renderas="sect4">Recommended</bridgehead>
@@ -86,6 +95,7 @@
 
 <screen><userinput>sed -i 's|DICT_DIR_CANDIDATES="|&/lib /lib/cracklib |' \
     configure &&
+patch -Np1 -i ../Linux-PAM-&Linux_PAM-version;-gcc4-1.patch &&
 ./configure --enable-static-libpam --with-mailspool=/var/mail \
     --enable-read-both-confs --sysconfdir=/etc \
     --mandir=/usr/share/man &&

Added: trunk/patches/Linux-PAM-0.80-gcc4-1.patch
===================================================================
--- trunk/patches/Linux-PAM-0.80-gcc4-1.patch	2005-09-09 01:33:39 UTC (rev 5024)
+++ trunk/patches/Linux-PAM-0.80-gcc4-1.patch	2005-09-09 21:50:49 UTC (rev 5025)
@@ -0,0 +1,23 @@
+Submitted By: DJ Lucas (dj_AT_linuxfromscratch_DOT_org)
+Date: 2005-08-28
+Initial Package Version: 0.80
+Origin: RedHat/Fedora pam-0.80-7 SRPM (pam-0.80-cleanup.patch)
+Upstream Status: Unknown
+Description: Fixes segfault in _unix_verify_password().
+
+$LastChangedBy$
+$Date$
+
+
+diff -Naur Linux-PAM-0.80-orig/modules/pam_unix/support.c Linux-PAM-0.80/modules/pam_unix/support.c
+--- Linux-PAM-0.80-orig/modules/pam_unix/support.c	2005-07-08 04:20:07.000000000 -0500
++++ Linux-PAM-0.80/modules/pam_unix/support.c	2005-08-28 00:01:05.000000000 -0500
+@@ -801,7 +801,7 @@
+ 			if (new != NULL) {
+ 
+ 			    const char *login_name;
+-			    const void *void_old;
++			    const void *void_old = NULL;
+ 
+ 
+ 			    login_name = _pammodutil_getlogin(pamh);


Property changes on: trunk/patches/Linux-PAM-0.80-gcc4-1.patch
___________________________________________________________________
Name: svn:keywords
   + LastChangedBy Date




More information about the blfs-book mailing list