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

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since aec544d 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
  • configure.in

    Submitted By: DJ Lucas (dj_AT_lucasit_DOT_com)
    Date: 2004-05-03
    Initial Package Version: 0.77
    Origin: Mandrake CVS (Jim Gifford) + cracklib source
    Description: Fixes linking on PAM and updates cracklib check
    
    $LastChangedBy: bdubbs $
    $Date: 2004-08-07 18:56:30 -0600 (Sat, 07 Aug 2004) $
    
    diff -Naur Linux-PAM-0.77-orig/configure.in Linux-PAM-0.77/configure.in
    old new  
    257257
    258258dnl Look for cracklib dictionary
    259259AC_MSG_CHECKING(path to cracklib dictionary)
    260 DICT_DIR_CANDIDATES="/usr/lib /usr/share/dict /usr/share/lib \
     260DICT_DIR_CANDIDATES="/lib /usr/lib /usr/share/dict /usr/share/lib \
    261261  /usr/local/lib /usr/local/share/lib"
    262262DICT_FILE_CANDIDATES="pw_dict cracklib_dict"
    263263CRACKLIB_DICTPATH=""
  • libpam_misc/Makefile

    diff -Naur Linux-PAM-0.77-orig/libpam_misc/Makefile Linux-PAM-0.77/libpam_misc/Makefile
    old new  
    3838SLIBOBJECTS = $(addprefix static/,$(LIBOBJECTS))
    3939endif
    4040
     41LINKLIBS += -L../libpam -lpam
     42
    4143# ---------------------------------------------
    4244## rules
    4345
  • modules/pam_cracklib/pam_cracklib.c

    diff -Naur Linux-PAM-0.77-orig/modules/pam_cracklib/pam_cracklib.c Linux-PAM-0.77/modules/pam_cracklib/pam_cracklib.c
    old new  
    4949#include <sys/types.h>
    5050#include <sys/stat.h>
    5151#include <ctype.h>
    52 
    53 extern char *FascistCheck(char *pw, const char *dictpath);
     52#include <crack.h>
    5453
    5554#ifndef CRACKLIB_DICTPATH
    5655#define CRACKLIB_DICTPATH "/usr/share/dict/cracklib_dict"
  • modules/pam_lastlog/Makefile

    diff -Naur Linux-PAM-0.77-orig/modules/pam_lastlog/Makefile Linux-PAM-0.77/modules/pam_lastlog/Makefile
    old new  
    1515endif
    1616
    1717TITLE=pam_lastlog
     18MODULE_SIMPLE_EXTRALIBS=-lutil
    1819
    1920include ../Simple.Rules
Note: See TracBrowser for help on using the repository browser.