CHANGES IN CUPS V1.1.21rc1
+ - Added PAM support for Darwin/MacOS X (STR #550)
- The web interface now provides a "Set As Default"
button to set the default printer or class on a server
(STR #577)
#
-# "$Id: Makedefs.in,v 1.63 2004/02/25 20:14:50 mike Exp $"
+# "$Id: Makedefs.in,v 1.64 2004/02/26 16:51:59 mike Exp $"
#
# Common makefile definitions for the Common UNIX Printing System (CUPS).
#
LOCALEDIR = $(BUILDROOT)@CUPS_LOCALEDIR@
LOGDIR = $(BUILDROOT)@CUPS_LOGDIR@
MANDIR = $(BUILDROOT)@mandir@
-PAMDIR = $(BUILDROOT)@PAMDIR@
PMANDIR = $(BUILDROOT)@PMANDIR@
REQUESTS = $(BUILDROOT)@CUPS_REQUESTS@
SBINDIR = $(BUILDROOT)@sbindir@
MAN8EXT = @MAN8EXT@
MAN8DIR = @MAN8DIR@
+PAMDIR = $(BUILDROOT)@PAMDIR@
+PAMFILE = @PAMFILE@
+
+
#
# Rules...
#
#
-# End of "$Id: Makedefs.in,v 1.63 2004/02/25 20:14:50 mike Exp $"
+# End of "$Id: Makedefs.in,v 1.64 2004/02/26 16:51:59 mike Exp $"
#
#
-# "$Id: Makefile,v 1.15 2004/02/25 20:14:51 mike Exp $"
+# "$Id: Makefile,v 1.16 2004/02/26 16:51:59 mike Exp $"
#
# Configuration file makefile for the Common UNIX Printing System (CUPS).
#
done
-if test x$(PAMDIR) != x$(BUILDROOT); then \
$(INSTALL_DIR) $(PAMDIR); \
- $(INSTALL_DATA) pam.conf $(PAMDIR)/cups; \
+ $(INSTALL_DATA) $(PAMFILE) $(PAMDIR)/cups; \
fi
#
-# End of "$Id: Makefile,v 1.15 2004/02/25 20:14:51 mike Exp $".
+# End of "$Id: Makefile,v 1.16 2004/02/26 16:51:59 mike Exp $".
#
--- /dev/null
+# cups: auth account password session
+auth sufficient pam_securityserver.so
+auth sufficient pam_unix.so
+auth required pam_deny.so
+account required pam_permit.so
+password required pam_deny.so
+session required pam_permit.so
dnl
-dnl "$Id: cups-common.m4,v 1.41 2004/02/04 19:29:50 mike Exp $"
+dnl "$Id: cups-common.m4,v 1.42 2004/02/26 16:52:00 mike Exp $"
dnl
dnl Common configuration stuff for the Common UNIX Printing System (CUPS).
dnl
-dnl Copyright 1997-2003 by Easy Software Products, all rights reserved.
+dnl Copyright 1997-2004 by Easy Software Products, all rights reserved.
dnl
dnl These coded instructions, statements, and computer programs are the
dnl property of Easy Software Products and are protected by Federal
AC_SUBST(COMMONLIBS)
dnl
-dnl End of "$Id: cups-common.m4,v 1.41 2004/02/04 19:29:50 mike Exp $".
+dnl End of "$Id: cups-common.m4,v 1.42 2004/02/26 16:52:00 mike Exp $".
dnl
dnl
-dnl "$Id: cups-compiler.m4,v 1.25 2003/08/20 18:27:48 mike Exp $"
+dnl "$Id: cups-compiler.m4,v 1.26 2004/02/26 16:52:00 mike Exp $"
dnl
dnl Common configuration stuff for the Common UNIX Printing System (CUPS).
dnl
-dnl Copyright 1997-2003 by Easy Software Products, all rights reserved.
+dnl Copyright 1997-2004 by Easy Software Products, all rights reserved.
dnl
dnl These coded instructions, statements, and computer programs are the
dnl property of Easy Software Products and are protected by Federal
fi
dnl
-dnl End of "$Id: cups-compiler.m4,v 1.25 2003/08/20 18:27:48 mike Exp $".
+dnl End of "$Id: cups-compiler.m4,v 1.26 2004/02/26 16:52:00 mike Exp $".
dnl
dnl
-dnl "$Id: cups-directories.m4,v 1.10 2002/12/17 18:56:39 swdev Exp $"
+dnl "$Id: cups-directories.m4,v 1.11 2004/02/26 16:52:00 mike Exp $"
dnl
dnl Directory stuff for the Common UNIX Printing System (CUPS).
dnl
-dnl Copyright 1997-2003 by Easy Software Products, all rights reserved.
+dnl Copyright 1997-2004 by Easy Software Products, all rights reserved.
dnl
dnl These coded instructions, statements, and computer programs are the
dnl property of Easy Software Products and are protected by Federal
AC_DEFINE_UNQUOTED(CUPS_FONTPATH, "$fontpath")
dnl
-dnl End of "$Id: cups-directories.m4,v 1.10 2002/12/17 18:56:39 swdev Exp $".
+dnl End of "$Id: cups-directories.m4,v 1.11 2004/02/26 16:52:00 mike Exp $".
dnl
dnl
-dnl "$Id: cups-image.m4,v 1.5 2002/12/17 18:56:39 swdev Exp $"
+dnl "$Id: cups-image.m4,v 1.6 2004/02/26 16:52:00 mike Exp $"
dnl
dnl Image library stuff for the Common UNIX Printing System (CUPS).
dnl
-dnl Copyright 1997-2003 by Easy Software Products, all rights reserved.
+dnl Copyright 1997-2004 by Easy Software Products, all rights reserved.
dnl
dnl These coded instructions, statements, and computer programs are the
dnl property of Easy Software Products and are protected by Federal
AC_CHECK_HEADER(stdlib.h,AC_DEFINE(HAVE_STDLIB_H))
dnl
-dnl End of "$Id: cups-image.m4,v 1.5 2002/12/17 18:56:39 swdev Exp $".
+dnl End of "$Id: cups-image.m4,v 1.6 2004/02/26 16:52:00 mike Exp $".
dnl
dnl
-dnl "$Id: cups-libtool.m4,v 1.5 2002/12/17 18:56:39 swdev Exp $"
+dnl "$Id: cups-libtool.m4,v 1.6 2004/02/26 16:52:00 mike Exp $"
dnl
dnl Libtool stuff for the Common UNIX Printing System (CUPS).
dnl
-dnl Copyright 1997-2003 by Easy Software Products, all rights reserved.
+dnl Copyright 1997-2004 by Easy Software Products, all rights reserved.
dnl
dnl These coded instructions, statements, and computer programs are the
dnl property of Easy Software Products and are protected by Federal
fi
dnl
-dnl End of "$Id: cups-libtool.m4,v 1.5 2002/12/17 18:56:39 swdev Exp $".
+dnl End of "$Id: cups-libtool.m4,v 1.6 2004/02/26 16:52:00 mike Exp $".
dnl
dnl
-dnl "$Id: cups-manpages.m4,v 1.7 2002/12/17 18:56:39 swdev Exp $"
+dnl "$Id: cups-manpages.m4,v 1.8 2004/02/26 16:52:00 mike Exp $"
dnl
dnl Manpage stuff for the Common UNIX Printing System (CUPS).
dnl
-dnl Copyright 1997-2003 by Easy Software Products, all rights reserved.
+dnl Copyright 1997-2004 by Easy Software Products, all rights reserved.
dnl
dnl These coded instructions, statements, and computer programs are the
dnl property of Easy Software Products and are protected by Federal
AC_SUBST(MAN8DIR)
dnl
-dnl End of "$Id: cups-manpages.m4,v 1.7 2002/12/17 18:56:39 swdev Exp $".
+dnl End of "$Id: cups-manpages.m4,v 1.8 2004/02/26 16:52:00 mike Exp $".
dnl
dnl
-dnl "$Id: cups-network.m4,v 1.10 2003/08/28 15:16:07 mike Exp $"
+dnl "$Id: cups-network.m4,v 1.11 2004/02/26 16:52:00 mike Exp $"
dnl
dnl Networking stuff for the Common UNIX Printing System (CUPS).
dnl
-dnl Copyright 1997-2003 by Easy Software Products, all rights reserved.
+dnl Copyright 1997-2004 by Easy Software Products, all rights reserved.
dnl
dnl These coded instructions, statements, and computer programs are the
dnl property of Easy Software Products and are protected by Federal
AC_DEFINE_UNQUOTED(CUPS_MAX_FDS, $maxfiles)
dnl
-dnl End of "$Id: cups-network.m4,v 1.10 2003/08/28 15:16:07 mike Exp $".
+dnl End of "$Id: cups-network.m4,v 1.11 2004/02/26 16:52:00 mike Exp $".
dnl
dnl
-dnl "$Id: cups-openslp.m4,v 1.7 2002/12/17 18:56:39 swdev Exp $"
+dnl "$Id: cups-openslp.m4,v 1.8 2004/02/26 16:52:00 mike Exp $"
dnl
dnl OpenSLP configuration stuff for the Common UNIX Printing System (CUPS).
dnl
-dnl Copyright 1997-2003 by Easy Software Products, all rights reserved.
+dnl Copyright 1997-2004 by Easy Software Products, all rights reserved.
dnl
dnl These coded instructions, statements, and computer programs are the
dnl property of Easy Software Products and are protected by Federal
dnl
-dnl End of "$Id: cups-openslp.m4,v 1.7 2002/12/17 18:56:39 swdev Exp $".
+dnl End of "$Id: cups-openslp.m4,v 1.8 2004/02/26 16:52:00 mike Exp $".
dnl
dnl
-dnl "$Id: cups-openssl.m4,v 1.14 2003/09/17 19:35:22 mike Exp $"
+dnl "$Id: cups-openssl.m4,v 1.15 2004/02/26 16:52:00 mike Exp $"
dnl
dnl OpenSSL/GNUTLS stuff for the Common UNIX Printing System (CUPS).
dnl
-dnl Copyright 1997-2003 by Easy Software Products, all rights reserved.
+dnl Copyright 1997-2004 by Easy Software Products, all rights reserved.
dnl
dnl These coded instructions, statements, and computer programs are the
dnl property of Easy Software Products and are protected by Federal
dnl
-dnl End of "$Id: cups-openssl.m4,v 1.14 2003/09/17 19:35:22 mike Exp $".
+dnl End of "$Id: cups-openssl.m4,v 1.15 2004/02/26 16:52:00 mike Exp $".
dnl
dnl
-dnl "$Id: cups-opsys.m4,v 1.10 2003/09/15 20:32:12 mike Exp $"
+dnl "$Id: cups-opsys.m4,v 1.11 2004/02/26 16:52:00 mike Exp $"
dnl
dnl Operating system stuff for the Common UNIX Printing System (CUPS).
dnl
-dnl Copyright 1997-2003 by Easy Software Products, all rights reserved.
+dnl Copyright 1997-2004 by Easy Software Products, all rights reserved.
dnl
dnl These coded instructions, statements, and computer programs are the
dnl property of Easy Software Products and are protected by Federal
AC_DEFINE_UNQUOTED(CUPS_DEFAULT_GROUP, "$CUPS_GROUP")
dnl
-dnl "$Id: cups-opsys.m4,v 1.10 2003/09/15 20:32:12 mike Exp $"
+dnl "$Id: cups-opsys.m4,v 1.11 2004/02/26 16:52:00 mike Exp $"
dnl
dnl
-dnl "$Id: cups-pam.m4,v 1.7 2002/12/17 18:56:39 swdev Exp $"
+dnl "$Id: cups-pam.m4,v 1.8 2004/02/26 16:52:00 mike Exp $"
dnl
dnl PAM stuff for the Common UNIX Printing System (CUPS).
dnl
-dnl Copyright 1997-2003 by Easy Software Products, all rights reserved.
+dnl Copyright 1997-2004 by Easy Software Products, all rights reserved.
dnl
dnl These coded instructions, statements, and computer programs are the
dnl property of Easy Software Products and are protected by Federal
fi
PAMDIR=""
+PAMFILE=""
PAMLIBS=""
PAMMOD="pam_unknown.so"
AC_CHECK_HEADER(pam/pam_appl.h,AC_DEFINE(HAVE_PAM_PAM_APPL_H))
if test x$ac_cv_lib_pam_pam_start != xno; then
+ # Set the necessary libraries for PAM...
if test x$ac_cv_lib_dl_dlopen != xno; then
PAMLIBS="-lpam -ldl"
else
PAMLIBS="-lpam"
fi
- if test -d /etc/pam.d; then
- PAMDIR="/etc/pam.d"
- fi
+
+ # Find the PAM configuration directory, if any...
+ for dir in /private/etc/pam.d /etc/pam.d; do
+ if test -d $dir; then
+ PAMDIR=$dir
+ fi
+ done
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
+ case "$uname" in
+ Darwin*)
+ # Darwin, MacOS X
+ PAMFILE="pam.darwin"
+ ;;
+ IRIX*)
+ # SGI IRIX
+ PAMFILE="pam.irix"
+ ;;
+ *)
+ # All others; 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
+
+ PAMFILE="pam.std"
+ ;;
+ esac
fi
AC_SUBST(PAMDIR)
+AC_SUBST(PAMFILE)
AC_SUBST(PAMLIBS)
AC_SUBST(PAMMOD)
dnl
-dnl End of "$Id: cups-pam.m4,v 1.7 2002/12/17 18:56:39 swdev Exp $".
+dnl End of "$Id: cups-pam.m4,v 1.8 2004/02/26 16:52:00 mike Exp $".
dnl
dnl
-dnl "$Id: cups-scripting.m4,v 1.1 2003/03/14 17:04:08 mike Exp $"
+dnl "$Id: cups-scripting.m4,v 1.2 2004/02/26 16:52:00 mike Exp $"
dnl
dnl Scripting configuration stuff for the Common UNIX Printing System (CUPS).
dnl
-dnl Copyright 1997-2003 by Easy Software Products, all rights reserved.
+dnl Copyright 1997-2004 by Easy Software Products, all rights reserved.
dnl
dnl These coded instructions, statements, and computer programs are the
dnl property of Easy Software Products and are protected by Federal
fi
dnl
-dnl End of "$Id: cups-scripting.m4,v 1.1 2003/03/14 17:04:08 mike Exp $".
+dnl End of "$Id: cups-scripting.m4,v 1.2 2004/02/26 16:52:00 mike Exp $".
dnl
dnl
-dnl "$Id: cups-sharedlibs.m4,v 1.22 2003/07/23 20:07:34 mike Exp $"
+dnl "$Id: cups-sharedlibs.m4,v 1.23 2004/02/26 16:52:00 mike Exp $"
dnl
dnl Shared library support for the Common UNIX Printing System (CUPS).
dnl
-dnl Copyright 1997-2003 by Easy Software Products, all rights reserved.
+dnl Copyright 1997-2004 by Easy Software Products, all rights reserved.
dnl
dnl These coded instructions, statements, and computer programs are the
dnl property of Easy Software Products and are protected by Federal
AC_SUBST(EXPORT_LDFLAGS)
dnl
-dnl End of "$Id: cups-sharedlibs.m4,v 1.22 2003/07/23 20:07:34 mike Exp $".
+dnl End of "$Id: cups-sharedlibs.m4,v 1.23 2004/02/26 16:52:00 mike Exp $".
dnl
dnl
-dnl "$Id: configure.in,v 1.109 2004/02/25 20:14:50 mike Exp $"
+dnl "$Id: configure.in,v 1.110 2004/02/26 16:51:59 mike Exp $"
dnl
dnl Configuration script for the Common UNIX Printing System (CUPS).
dnl
sinclude(config-scripts/cups-scripting.m4)
-AC_OUTPUT(Makedefs cups.list cups.sh cups-config conf/cupsd.conf conf/pam.conf)
+AC_OUTPUT(Makedefs cups.list cups.sh cups-config conf/cupsd.conf conf/pam.std)
chmod +x cups-config
dnl
-dnl End of "$Id: configure.in,v 1.109 2004/02/25 20:14:50 mike Exp $".
+dnl End of "$Id: configure.in,v 1.110 2004/02/26 16:51:59 mike Exp $".
dnl
#
-# "$Id: cups.list.in,v 1.52 2004/02/26 16:07:02 mike Exp $"
+# "$Id: cups.list.in,v 1.53 2004/02/26 16:51:59 mike Exp $"
#
# ESP Package Manager (EPM) file list for the Common UNIX Printing
# System (CUPS).
%if PAMDIR
d 0555 root sys $PAMDIR -
-
-%system linux
-# Linux almost always supports PAM...
-c 0644 root sys $PAMDIR/cups conf/pam.conf
-
-%system irix
-# IRIX doesn't normally support PAM, but the freeware project
-# includes a version of PAM that can be used...
-c 0644 root sys $PAMDIR/cups conf/pam.irix
-
-%system all
+c 0644 root sys $PAMDIR/cups conf/@PAMFILE@
%endif
# Developer files
i 0555 root sys cups cups.sh
#
-# End of "$Id: cups.list.in,v 1.52 2004/02/26 16:07:02 mike Exp $".
+# End of "$Id: cups.list.in,v 1.53 2004/02/26 16:51:59 mike Exp $".
#