source: scripts/patches/Linux-PAM-0.77-linkage-3.patch@ b9181e6

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since b9181e6 was 7f65c0e, checked in by Jim Gifford <clfs@…>, 19 years ago

r625@server (orig r623): jim | 2005-10-31 12:43:24 -0800
Final Move

  • Property mode set to 100644
File size: 2.2 KB
RevLine 
[617118d]1Submitted By: DJ Lucas (dj_AT_lucasit_DOT_com)
2Date: 2004-05-03
3Initial Package Version: 0.77
4Origin: Mandrake CVS (Jim Gifford) + cracklib source
5Description: Fixes linking on PAM and updates cracklib check
6
7$LastChangedBy: bdubbs $
8$Date: 2004-08-07 18:56:30 -0600 (Sat, 07 Aug 2004) $
9
10diff -Naur Linux-PAM-0.77-orig/configure.in Linux-PAM-0.77/configure.in
11--- Linux-PAM-0.77-orig/configure.in 2002-07-09 01:17:13.000000000 -0500
12+++ Linux-PAM-0.77/configure.in 2004-04-30 17:06:17.000000000 -0500
13@@ -257,7 +257,7 @@
14
15 dnl Look for cracklib dictionary
16 AC_MSG_CHECKING(path to cracklib dictionary)
17-DICT_DIR_CANDIDATES="/usr/lib /usr/share/dict /usr/share/lib \
18+DICT_DIR_CANDIDATES="/lib /usr/lib /usr/share/dict /usr/share/lib \
19 /usr/local/lib /usr/local/share/lib"
20 DICT_FILE_CANDIDATES="pw_dict cracklib_dict"
21 CRACKLIB_DICTPATH=""
22diff -Naur Linux-PAM-0.77-orig/libpam_misc/Makefile Linux-PAM-0.77/libpam_misc/Makefile
23--- Linux-PAM-0.77-orig/libpam_misc/Makefile 2002-06-26 23:04:54.000000000 -0500
24+++ Linux-PAM-0.77/libpam_misc/Makefile 2004-04-30 17:02:54.000000000 -0500
25@@ -38,6 +38,8 @@
26 SLIBOBJECTS = $(addprefix static/,$(LIBOBJECTS))
27 endif
28
29+LINKLIBS += -L../libpam -lpam
30+
31 # ---------------------------------------------
32 ## rules
33
34diff -Naur Linux-PAM-0.77-orig/modules/pam_cracklib/pam_cracklib.c Linux-PAM-0.77/modules/pam_cracklib/pam_cracklib.c
35--- Linux-PAM-0.77-orig/modules/pam_cracklib/pam_cracklib.c 2001-11-27 00:09:48.000000000 -0600
36+++ Linux-PAM-0.77/modules/pam_cracklib/pam_cracklib.c 2004-04-30 17:04:05.000000000 -0500
37@@ -49,8 +49,7 @@
38 #include <sys/types.h>
39 #include <sys/stat.h>
40 #include <ctype.h>
41-
42-extern char *FascistCheck(char *pw, const char *dictpath);
43+#include <crack.h>
44
45 #ifndef CRACKLIB_DICTPATH
46 #define CRACKLIB_DICTPATH "/usr/share/dict/cracklib_dict"
47diff -Naur Linux-PAM-0.77-orig/modules/pam_lastlog/Makefile Linux-PAM-0.77/modules/pam_lastlog/Makefile
48--- Linux-PAM-0.77-orig/modules/pam_lastlog/Makefile 2001-02-10 16:33:10.000000000 -0600
49+++ Linux-PAM-0.77/modules/pam_lastlog/Makefile 2004-04-30 17:02:54.000000000 -0500
50@@ -15,5 +15,6 @@
51 endif
52
53 TITLE=pam_lastlog
54+MODULE_SIMPLE_EXTRALIBS=-lutil
55
56 include ../Simple.Rules
Note: See TracBrowser for help on using the repository browser.