Submitted By: Jim Gifford (jim at linuxfromscratch dot org)
Date: 2004-01-14
Initial Package Version: 4.0.4.1
Origin: Jim Gifford
Description: Fixes PAM Compile Issues with Shadow


 
diff -Naur shadow-4.0.4.1.orig/src/Makefile.in shadow-4.0.4.1/src/Makefile.in
--- shadow-4.0.4.1.orig/src/Makefile.in	2004-01-14 14:15:28.000000000 +0000
+++ shadow-4.0.4.1/src/Makefile.in	2004-01-14 19:22:35.000000000 +0000
@@ -211,17 +211,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
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
@@ -263,19 +281,16 @@
 chsh_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 =
@@ -296,37 +311,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 =
@@ -337,19 +346,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 =
@@ -365,19 +371,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 =
@@ -388,7 +391,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 =
@@ -409,7 +411,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 =
