From 5691d3ca77c27a69ea848cc1e6df1ed1085a371e Mon Sep 17 00:00:00 2001 From: freesource Date: Wed, 28 Nov 2001 20:16:54 +0000 Subject: [PATCH] Now it works really nicely, automatically gets the proper libraries for pam and nss using their configurations files. --- BootRoot/Yard.pm | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/BootRoot/Yard.pm b/BootRoot/Yard.pm index a0d0bd5..239e4de 100644 --- a/BootRoot/Yard.pm +++ b/BootRoot/Yard.pm @@ -582,7 +582,12 @@ sub library_dependencies { push(@{$lib_needed_by{$file}}, "INCLUDED BY USER"); } - if (-f $file and -B _ and -x _ and $file_line =~ /executable/) { + + ## We make one exception here for pam service modules --freesource + ## This can be turned off and on. + if ( ( -f $file and -B _ and -x _ and $file_line =~ /executable/ ) || + ( $file =~ m,/security/pam_\w+\.so, ) + ) { ##### EXECUTABLE LOADABLE BINARY ##### Run ldd to get library dependencies.