Submitted By: Jim Gifford (jim at linuxfromscratch dot org) Date: 2003-09-22 Initial Package Version: 4.0.3 Origin: Jim Gifford Description: Revised PAM Patch for Shadow --- shadow-4.0.3/src/Makefile.in.orig 2003-09-23 05:00:04.000000000 +0000 +++ shadow-4.0.3/src/Makefile.in 2003-09-23 05:15:11.000000000 +0000 @@ -152,17 +152,35 @@ chage_LDADD = $(LDADD) $(LIBPAM) chfn_LDADD = $(LDADD) $(LIBPAM) chsh_LDADD = $(LDADD) $(LIBPAM) +dpasswd_LDADD = $(LDADD) $(LIBPAM) +expiry_LDADD = $(LDADD) $(LIBPAM) +faillog_LDADD = $(LDADD) $(LIBPAM) +gpasswd_LDADD = $(LDADD) $(LIBPAM) groupadd_LDADD = $(LDADD) $(LIBPAM) groupdel_LDADD = $(LDADD) $(LIBPAM) groupmod_LDADD = $(LDADD) $(LIBPAM) +groups_LDADD = $(LDADD) $(LIBPAM) +grpck_LDADD = $(LDADD) $(LIBPAM) +grpconv_LDADD = $(LDADD) $(LIBPAM) +grpunconv_LDADD = $(LDADD) $(LIBPAM) +id_LDADD = $(LDADD) $(LIBPAM) +lastlog_LDADD = $(LDADD) $(LIBPAM) login_LDADD = $(LDADD) $(LIBPAM) +logoutd_LDADD = $(LDADD) $(LIBPAM) +mkpasswd_LDADD = $(LDADD) $(LIBPAM) +newgrp_LDADD = $(LDADD) $(LIBPAM) newusers_LDADD = $(LDADD) $(LIBPAM) passwd_LDADD = $(LDADD) $(LIBPAM) $(LIBCRACK) +pwck_LDADD = $(LDADD) $(LIBPAM) +pwconv_LDADD = $(LDADD) $(LIBPAM) +pwunconv_LDADD = $(LDADD) $(LIBPAM) su_SOURCES = su.c suauth.c su_LDADD = $(LDADD) $(LIBPAM) +sulogin_LDADD = $(LDADD) $(LIBPAM) useradd_LDADD = $(LDADD) $(LIBPAM) userdel_LDADD = $(LDADD) $(LIBPAM) usermod_LDADD = $(LDADD) $(LIBPAM) +vipw_LDADD = $(LDADD) $(LIBPAM) subdir = src mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs CONFIG_HEADER = $(top_builddir)/config.h @@ -203,25 +221,21 @@ chsh_LDFLAGS = dpasswd_SOURCES = dpasswd.c dpasswd_OBJECTS = dpasswd.$(OBJEXT) -dpasswd_LDADD = $(LDADD) dpasswd_DEPENDENCIES = $(top_builddir)/libmisc/libmisc.la \ $(top_builddir)/lib/libshadow.la dpasswd_LDFLAGS = expiry_SOURCES = expiry.c expiry_OBJECTS = expiry.$(OBJEXT) -expiry_LDADD = $(LDADD) expiry_DEPENDENCIES = $(top_builddir)/libmisc/libmisc.la \ $(top_builddir)/lib/libshadow.la expiry_LDFLAGS = faillog_SOURCES = faillog.c faillog_OBJECTS = faillog.$(OBJEXT) -faillog_LDADD = $(LDADD) faillog_DEPENDENCIES = $(top_builddir)/libmisc/libmisc.la \ $(top_builddir)/lib/libshadow.la faillog_LDFLAGS = gpasswd_SOURCES = gpasswd.c gpasswd_OBJECTS = gpasswd.$(OBJEXT) -gpasswd_LDADD = $(LDADD) gpasswd_DEPENDENCIES = $(top_builddir)/libmisc/libmisc.la \ $(top_builddir)/lib/libshadow.la gpasswd_LDFLAGS = @@ -242,37 +256,31 @@ groupmod_LDFLAGS = groups_SOURCES = groups.c groups_OBJECTS = groups.$(OBJEXT) -groups_LDADD = $(LDADD) groups_DEPENDENCIES = $(top_builddir)/libmisc/libmisc.la \ $(top_builddir)/lib/libshadow.la groups_LDFLAGS = grpck_SOURCES = grpck.c grpck_OBJECTS = grpck.$(OBJEXT) -grpck_LDADD = $(LDADD) grpck_DEPENDENCIES = $(top_builddir)/libmisc/libmisc.la \ $(top_builddir)/lib/libshadow.la grpck_LDFLAGS = grpconv_SOURCES = grpconv.c grpconv_OBJECTS = grpconv.$(OBJEXT) -grpconv_LDADD = $(LDADD) grpconv_DEPENDENCIES = $(top_builddir)/libmisc/libmisc.la \ $(top_builddir)/lib/libshadow.la grpconv_LDFLAGS = grpunconv_SOURCES = grpunconv.c grpunconv_OBJECTS = grpunconv.$(OBJEXT) -grpunconv_LDADD = $(LDADD) grpunconv_DEPENDENCIES = $(top_builddir)/libmisc/libmisc.la \ $(top_builddir)/lib/libshadow.la grpunconv_LDFLAGS = id_SOURCES = id.c id_OBJECTS = id.$(OBJEXT) -id_LDADD = $(LDADD) id_DEPENDENCIES = $(top_builddir)/libmisc/libmisc.la \ $(top_builddir)/lib/libshadow.la id_LDFLAGS = lastlog_SOURCES = lastlog.c lastlog_OBJECTS = lastlog.$(OBJEXT) -lastlog_LDADD = $(LDADD) lastlog_DEPENDENCIES = $(top_builddir)/libmisc/libmisc.la \ $(top_builddir)/lib/libshadow.la lastlog_LDFLAGS = @@ -283,19 +291,16 @@ login_LDFLAGS = logoutd_SOURCES = logoutd.c logoutd_OBJECTS = logoutd.$(OBJEXT) -logoutd_LDADD = $(LDADD) logoutd_DEPENDENCIES = $(top_builddir)/libmisc/libmisc.la \ $(top_builddir)/lib/libshadow.la logoutd_LDFLAGS = mkpasswd_SOURCES = mkpasswd.c mkpasswd_OBJECTS = mkpasswd.$(OBJEXT) -mkpasswd_LDADD = $(LDADD) mkpasswd_DEPENDENCIES = $(top_builddir)/libmisc/libmisc.la \ $(top_builddir)/lib/libshadow.la mkpasswd_LDFLAGS = newgrp_SOURCES = newgrp.c newgrp_OBJECTS = newgrp.$(OBJEXT) -newgrp_LDADD = $(LDADD) newgrp_DEPENDENCIES = $(top_builddir)/libmisc/libmisc.la \ $(top_builddir)/lib/libshadow.la newgrp_LDFLAGS = @@ -311,19 +316,16 @@ passwd_LDFLAGS = pwck_SOURCES = pwck.c pwck_OBJECTS = pwck.$(OBJEXT) -pwck_LDADD = $(LDADD) pwck_DEPENDENCIES = $(top_builddir)/libmisc/libmisc.la \ $(top_builddir)/lib/libshadow.la pwck_LDFLAGS = pwconv_SOURCES = pwconv.c pwconv_OBJECTS = pwconv.$(OBJEXT) -pwconv_LDADD = $(LDADD) pwconv_DEPENDENCIES = $(top_builddir)/libmisc/libmisc.la \ $(top_builddir)/lib/libshadow.la pwconv_LDFLAGS = pwunconv_SOURCES = pwunconv.c pwunconv_OBJECTS = pwunconv.$(OBJEXT) -pwunconv_LDADD = $(LDADD) pwunconv_DEPENDENCIES = $(top_builddir)/libmisc/libmisc.la \ $(top_builddir)/lib/libshadow.la pwunconv_LDFLAGS = @@ -334,7 +336,6 @@ su_LDFLAGS = sulogin_SOURCES = sulogin.c sulogin_OBJECTS = sulogin.$(OBJEXT) -sulogin_LDADD = $(LDADD) sulogin_DEPENDENCIES = $(top_builddir)/libmisc/libmisc.la \ $(top_builddir)/lib/libshadow.la sulogin_LDFLAGS = @@ -355,7 +356,6 @@ usermod_LDFLAGS = vipw_SOURCES = vipw.c vipw_OBJECTS = vipw.$(OBJEXT) -vipw_LDADD = $(LDADD) vipw_DEPENDENCIES = $(top_builddir)/libmisc/libmisc.la \ $(top_builddir)/lib/libshadow.la vipw_LDFLAGS =