CHANGES IN CUPS V1.1.19rc2
+ - The static cupsimage library was not built by default.
- The path for the "ln" command was hardcoded in
Makedefs.in instead of being checked at configure time
(STR #28).
#
-# "$Id: Makefile,v 1.41.2.22 2003/03/30 21:49:14 mike Exp $"
+# "$Id: Makefile,v 1.41.2.23 2003/04/17 23:10:34 mike Exp $"
#
# Filter makefile for the Common UNIX Printing System (CUPS).
#
include ../Makedefs
FILTERS = gziptoany hpgltops texttops pstops imagetops imagetoraster \
- rastertodymo rastertoepson rastertohp rastertortl
+ rastertodymo rastertoepson rastertohp rastertortl \
+ libcupsimage.a
TARGETS = $(FILTERS) testraster
HPGLOBJS = hpgl-attr.o hpgl-config.o hpgl-main.o hpgl-prolog.o \
#
-# End of "$Id: Makefile,v 1.41.2.22 2003/03/30 21:49:14 mike Exp $".
+# End of "$Id: Makefile,v 1.41.2.23 2003/04/17 23:10:34 mike Exp $".
#
/*
- * "$Id: policy.c,v 1.1.2.3 2003/01/07 18:27:26 mike Exp $"
+ * "$Id: policy.c,v 1.1.2.4 2003/04/17 23:10:35 mike Exp $"
*
* Policy routines for the Common UNIX Printing System (CUPS).
*
NumPolicies ++;
memset(temp, 0, sizeof(policy_t));
- strlcpy(temp->name, policy, sizeof(temp->name));
+ temp->name = strdup(policy);
temp->default_result = 1;
}
int i; /* Looping var */
struct passwd *user; /* User info */
struct group *group; /* System group info */
+ char junk[33]; /* MD5 password (not used) */
LogMessage(L_DEBUG2, "check_group(%s, %s)\n", username, groupname);
return (1);
/*
- * TODO: Check the lppasswd user:group mapping...
+ * Username not found, group not found, or user is not part of the
+ * system group... Check for a user and group in the MD5 password
+ * file...
*/
+ if (GetMD5Passwd(username, groupname, junk) != NULL)
+ return (1);
+
/*
* If we get this far, then the user isn't part of the named group...
*/
/*
- * End of "$Id: policy.c,v 1.1.2.3 2003/01/07 18:27:26 mike Exp $".
+ * End of "$Id: policy.c,v 1.1.2.4 2003/04/17 23:10:35 mike Exp $".
*/
/*
- * "$Id: policy.h,v 1.1.2.4 2003/01/07 18:27:26 mike Exp $"
+ * "$Id: policy.h,v 1.1.2.5 2003/04/17 23:10:35 mike Exp $"
*
* Policy definitions for the Common UNIX Printing System (CUPS)
* scheduler.
typedef struct
{
- char name[IPP_MAX_NAME]; /* Policy name */
+ char *name; /* Policy name */
int default_result; /* Default policy result */
int num_ops; /* Number of operations */
policyop_t *ops; /* Operations */
/*
- * End of "$Id: policy.h,v 1.1.2.4 2003/01/07 18:27:26 mike Exp $".
+ * End of "$Id: policy.h,v 1.1.2.5 2003/04/17 23:10:35 mike Exp $".
*/