#
-# "$Id: Makefile,v 1.10.2.2 2002/01/02 18:04:22 mike Exp $"
+# "$Id: Makefile,v 1.10.2.3 2002/08/30 20:58:20 mike Exp $"
#
# Configuration file makefile for the Common UNIX Printing System (CUPS).
#
fi ; \
$(INSTALL_DATA) $$file $(SERVERROOT) ; \
done
+ -if test x$(PAMDIR) != x$(BUILDROOT); then \
+ $(INSTALL_DIR) $(PAMDIR); \
+ $(INSTALL_DATA) pam.conf $(PAMDIR)/cups; \
+ fi
#
-# End of "$Id: Makefile,v 1.10.2.2 2002/01/02 18:04:22 mike Exp $".
+# End of "$Id: Makefile,v 1.10.2.3 2002/08/30 20:58:20 mike Exp $".
#
dnl
-dnl "$Id: cups-pam.m4,v 1.2.2.4 2002/06/04 21:15:57 mike Exp $"
+dnl "$Id: cups-pam.m4,v 1.2.2.5 2002/08/30 20:58:21 mike Exp $"
dnl
dnl PAM stuff for the Common UNIX Printing System (CUPS).
dnl
PAMDIR=""
PAMLIBS=""
+PAMMOD="pam_unknown.so"
if test x$enable_pam != xno; then
SAVELIBS="$LIBS"
fi
LIBS="$SAVELIBS"
+
+ # This test might need to be updated as Linux distributors move
+ # things around...
+ for mod in pam_unix2.so pam_unix.so pam_pwdb.so; do
+ if test -f /lib/security/$mod; then
+ PAMMOD="$mod"
+ fi
+ done
fi
AC_SUBST(PAMDIR)
AC_SUBST(PAMLIBS)
+AC_SUBST(PAMMOD)
dnl
-dnl End of "$Id: cups-pam.m4,v 1.2.2.4 2002/06/04 21:15:57 mike Exp $".
+dnl End of "$Id: cups-pam.m4,v 1.2.2.5 2002/08/30 20:58:21 mike Exp $".
dnl
dnl
-dnl "$Id: configure.in,v 1.83.2.7 2002/05/09 02:22:03 mike Exp $"
+dnl "$Id: configure.in,v 1.83.2.8 2002/08/30 20:58:20 mike Exp $"
dnl
dnl Configuration script for the Common UNIX Printing System (CUPS).
dnl
MAKEDEFS="../Makedefs"
AC_SUBST(MAKEDEFS)
-AC_OUTPUT(Makedefs cups.list cups.sh cups-config conf/cupsd.conf)
+AC_OUTPUT(Makedefs cups.list cups.sh cups-config conf/cupsd.conf conf/pam.conf)
chmod +x cups-config
dnl
-dnl End of "$Id: configure.in,v 1.83.2.7 2002/05/09 02:22:03 mike Exp $".
+dnl End of "$Id: configure.in,v 1.83.2.8 2002/08/30 20:58:20 mike Exp $".
dnl
#
-# "$Id: cups.list.in,v 1.13.2.8 2002/03/22 15:54:23 mike Exp $"
+# "$Id: cups.list.in,v 1.13.2.9 2002/08/30 20:58:20 mike Exp $"
#
# ESP Package Manager (EPM) file list for the Common UNIX Printing
# System (CUPS).
%system linux
d 0555 root sys $PAMDIR -
-c 0644 root sys $PAMDIR/cups data/cups.pam
-c 0644 root sys $PAMDIR/cups.suse data/cups.suse
-%install if test -f /lib/security/pam_unix.so; then
-%install mv $PAMDIR/cups.suse $PAMDIR/cups
-%install fi
+c 0644 root sys $PAMDIR/cups conf/pam.conf
# IRIX doesn't normally support PAM, but the freeware project
# includes a version of PAM that can be used...
i 0555 root sys cups cups.sh
#
-# End of "$Id: cups.list.in,v 1.13.2.8 2002/03/22 15:54:23 mike Exp $".
+# End of "$Id: cups.list.in,v 1.13.2.9 2002/08/30 20:58:20 mike Exp $".
#
#
-# "$Id: Makefile,v 1.12.2.4 2002/08/19 01:15:21 mike Exp $"
+# "$Id: Makefile,v 1.12.2.5 2002/08/30 20:58:22 mike Exp $"
#
# Datafile makefile for the Common UNIX Printing System (CUPS).
#
for file in $(DATAFILES); do \
$(INSTALL_DATA) $$file $(DATADIR)/data; \
done
- -if test x$(PAMDIR) != x; then \
- $(INSTALL_DIR) $(PAMDIR); \
- if test -f /lib/security/pam_unix.so; then \
- $(INSTALL_DATA) cups.suse $(PAMDIR)/cups; \
- else \
- $(INSTALL_DATA) cups.pam $(PAMDIR)/cups; \
- fi \
- fi
#
-# End of "$Id: Makefile,v 1.12.2.4 2002/08/19 01:15:21 mike Exp $".
+# End of "$Id: Makefile,v 1.12.2.5 2002/08/30 20:58:22 mike Exp $".
#