new shadow patch

Jim Gifford lfs at jg555.com
Mon Sep 22 21:50:25 PDT 2003


Greg,
    If we apply this patch I found in mandrakes CVS, we will not need the
shadow patch.

Submitted By: Jim Gifford (jim at linuxfromscratch dot org)
Date: 2003-09-22
Initial Package Version: 0.77
Origin: Mandrake CVS
Description: Fixes linking on PAM

 This will correct the shadow issue on linking.

diff -Naur Linux-PAM-0.77.orig/libpam_misc/Makefile
Linux-PAM-0.77/libpam_misc/Makefile
--- Linux-PAM-0.77.orig/libpam_misc/Makefile 2002-06-27 04:04:54.000000000
+0000
+++ Linux-PAM-0.77/libpam_misc/Makefile 2003-09-23 04:44:16.000000000 +0000
@@ -38,6 +38,8 @@
 SLIBOBJECTS = $(addprefix static/,$(LIBOBJECTS))
 endif

+LINKLIBS += -L../libpam -lpam
+
 # ---------------------------------------------
 ## rules

diff -Naur Linux-PAM-0.77.orig/modules/pam_lastlog/Makefile
Linux-PAM-0.77/modules/pam_lastlog/Makefile
--- Linux-PAM-0.77.orig/modules/pam_lastlog/Makefile 2001-02-10
22:33:10.000000000 +0000
+++ Linux-PAM-0.77/modules/pam_lastlog/Makefile 2003-09-23
04:44:16.000000000 +0000
@@ -15,5 +15,6 @@
 endif

 TITLE=pam_lastlog
+MODULE_SIMPLE_EXTRALIBS=-lutil

 include ../Simple.Rules
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Linux-PAM-0.77-linkage-1.patch
Type: application/octet-stream
Size: 1011 bytes
Desc: not available
URL: <http://lists.linuxfromscratch.org/pipermail/patches/attachments/20030922/eb562338/attachment.obj>


More information about the patches mailing list