CHANGES IN CUPS V1.1.13
+ - Updated the default system group under MacOS X.
+ - If no SystemGroup was defined in cupsd.conf, the
+ system default group was not used.
- The cups-lpd mini-daemon now supports LPD clients that
send multiple control files.
- httpConnectEncrypt() now always uses encryption for
dnl
-dnl "$Id: cups-opsys.m4,v 1.5.2.1 2001/12/26 16:52:10 mike Exp $"
+dnl "$Id: cups-opsys.m4,v 1.5.2.2 2001/12/29 00:28:15 mike Exp $"
dnl
dnl Operating system stuff for the Common UNIX Printing System (CUPS).
dnl
AC_ARG_WITH(cups-group, [ --with-cups-group set default group for CUPS],
CUPS_GROUP="$withval",
AC_MSG_CHECKING(for default print group)
- if test -f /etc/group; then
- CUPS_GROUP=""
- for group in sys system root; do
- if test "`grep \^${group}: /etc/group`" != ""; then
- CUPS_GROUP="$group"
- AC_MSG_RESULT($group)
- break;
- fi
- done
+ if test x$uname = xDarwin; then
+ CUPS_GROUP="${GROUP:=admin}"
+ AC_MSG_RESULT(Darwin, using "$CUPS_GROUP")
+ else
+ if test -f /etc/group; then
+ CUPS_GROUP=""
+ for group in sys system root; do
+ if test "`grep \^${group}: /etc/group`" != ""; then
+ CUPS_GROUP="$group"
+ AC_MSG_RESULT($group)
+ break;
+ fi
+ done
- if test x$CUPS_GROUP = x; then
+ if test x$CUPS_GROUP = x; then
+ CUPS_GROUP="${GROUP:=nobody}"
+ AC_MSG_RESULT(not found, using "$CUPS_GROUP")
+ fi
+ else
CUPS_GROUP="${GROUP:=nobody}"
- AC_MSG_RESULT(not found, using "$CUPS_GROUP")
+ AC_MSG_RESULT(no group file, using "$CUPS_GROUP")
fi
- else
- CUPS_GROUP="${GROUP:=nobody}"
- AC_MSG_RESULT(no group file, using "$CUPS_GROUP")
fi)
AC_SUBST(CUPS_USER)
AC_DEFINE_UNQUOTED(CUPS_DEFAULT_GROUP, "$CUPS_GROUP")
dnl
-dnl "$Id: cups-opsys.m4,v 1.5.2.1 2001/12/26 16:52:10 mike Exp $"
+dnl "$Id: cups-opsys.m4,v 1.5.2.2 2001/12/29 00:28:15 mike Exp $"
dnl
/*
- * "$Id: conf.c,v 1.77.2.3 2001/12/27 00:04:52 mike Exp $"
+ * "$Id: conf.c,v 1.77.2.4 2001/12/29 00:28:15 mike Exp $"
*
* Configuration routines for the Common UNIX Printing System (CUPS).
*
if (!status)
return (0);
+ /*
+ * Use the default system group if none was supplied in cupsd.conf...
+ */
+
+ if (NumSystemGroups == 0)
+ NumSystemGroups ++;
+
/*
* Get the access control list for browsing...
*/
/*
- * End of "$Id: conf.c,v 1.77.2.3 2001/12/27 00:04:52 mike Exp $".
+ * End of "$Id: conf.c,v 1.77.2.4 2001/12/29 00:28:15 mike Exp $".
*/