Created at 21:01 Sep 02, 2005 by mike, last modified at 21:01 Sep 02, 2005
A new weekly snapshot of CUPS 1.2svn (r4627) is now available on the download page:
http://www.cups.org/software.php
This snapshot contains pre-release software and should not be used on production systems.
Commit Log:
------------------------------------------------------------------------
r4627 | mike | 2005-09-01 16:51:08 -0400 (Thu, 01 Sep 2005) | 57 lines
Add CacheDir support and fix some web interface and authentication issues.
cgi-bin/admin.c:
- do_am_printer(): Set ppd-make or requested-attributes when
showing the lists of makes and models; this is a lot more
efficient...
cgi-bin/ipp-var.c:
- ippSetCGIVars(): Add debug fprintf's.
scheduler/auth.c:
- cupsdCheckGroup(): Added.
- IsAuthorized(): Use new cupsdCheckGroup(), support @SYSTEM
group name when doing lookups, and use case-insensitive
comparisons for user and group names.
scheduler/auth.h:
- Add cupsdCheckGroup() function and <pwd.h> include.
scheduler/client.c:
- pipe_command(): Add CUPS_CACHEDIR env var.
scheduler/conf.c:
- ReadConfiguration(): Add CacheDir support and use @SYSTEM
instead of listing every system group.
- read_configuration(): Add CacheDir support, and use @SYSTEM
instead of listing every system group.
scheduler/conf.h:
- Add CacheDir variable.
scheduler/cups-driverd.c:
- main(): Fix command-line processing.
- list_ppds(): Add debug fprintf's.
scheduler/ipp.c:
- check_quotas(): Use cupsdCheckGroup() function.
- get_ppds(): ppd-make is a text attribute, not a keyword
attribute.
- get_ppds(): Use URI escaping for spaces.
- user_allowed(): Use cupsdCheckGroup() function.
scheduler/job.c:
- StartJob(): Add CUPS_CACHEDIR env var.
scheduler/policy.c:
- check_group(): Removed.
- check_ok(): Use cupsdCheckGroup() function.
scheduler/util.c:
- cupsdSendIPPHeader(): Status code is only 2 bytes, not 4.
test/run-stp-tests.sh:
- Add CacheDir to sample config file.
------------------------------------------------------------------------
r4626 | mike | 2005-09-01 14:41:18 -0400 (Thu, 01 Sep 2005) | 52 lines
Update default security configuration in cupsd.conf, add new
DefaultAuthType directive for policy-based authentication, and
fix cups-deviced invocation to use the run/root user.
cgi-bin/admin.c:
- Check and write /admin/conf location as well as /admin.
conf/cupsd.conf.in:
templates/edit-config.tmpl.in:
- Add /admin/conf location which requires authentication and
membership in the system group.
scheduler/auth.c:
- IsAuthorized(): Add logging of group checking.
scheduler/auth.h:
- Add DefaultAuthType variable.
scheduler/client.c:
- ReadClient(): Add "root" argument to SendCommand() calls.
- SendCommand(): Add "root" argument to function and to
pipe_command() calls.
- SendHeader(): Use DefaultAuthType for authentication
failures that don't match a location.
- pipe_command(): Add "root" argument to function and to
cupsdStartProcess() calls.
scheduler/client.h:
- Add "root" argument to SendCommand() function.
scheduler/conf.c:
- ReadConfiguration(): Add initialization of DefaultAuthType.
- read_configuration(): Add support for DefaultAuthType
directive.
- read_location(): Use DefaultAuthType as needed.
scheduler/ipp.c:
- get_devices(): Add root argument to SendCommand() call.
- get_ppds(): Add root argument to SendCommand() call.
- send_ipp_error(): Always return HTTP authentication error,
regardless of whether we have successfully authenticated
before.
scheduler/statbuf.c:
- cupsdStatBufUpdate(): Don't add prefix if the message
starts with a left bracket.
systemv/lppasswd.c:
- Update root user checks to allow for non-setuid
installations.
------------------------------------------------------------------------
r4625 | mike | 2005-08-31 17:02:35 -0400 (Wed, 31 Aug 2005) | 19 lines
Fix some web interface authentication issues.
cgi-bin/html.c:
cgi-bin/var.c:
- Log when we are asked for a password.
scheduler/client.c:
- ReadClient(): Use Basic authentication when there are no
locations defined (need to add a "DefaultAuthType"
directive...)
scheduler/ipp.c:
- send_error(): Send HTTP_UNAUTHORIZED HTTP status when user
hasn't yet authenticated...
scheduler/policy.c:
- check_group(): Code cleanup.
------------------------------------------------------------------------
r4624 | mike | 2005-08-31 16:29:03 -0400 (Wed, 31 Aug 2005) | 7 lines
Add tools subdir to hold script tools for testing and creating
releases.
tools/testrpm:
- Export the current WC and build RPMs.
------------------------------------------------------------------------
r4623 | mike | 2005-08-31 15:47:05 -0400 (Wed, 31 Aug 2005) | 2 lines
Use /tmp instead of %{__tmppath}, which isn't universally defined...
------------------------------------------------------------------------
r4622 | mike | 2005-08-31 15:44:28 -0400 (Wed, 31 Aug 2005) | 3 lines
Update RPM spec file with stuff to make it more compatible with
Red Hat's version...
------------------------------------------------------------------------
r4621 | mike | 2005-08-31 15:15:09 -0400 (Wed, 31 Aug 2005) | 2 lines
Set version number to "1.2svn" until we do a release.
------------------------------------------------------------------------
r4620 | mike | 2005-08-31 14:17:28 -0400 (Wed, 31 Aug 2005) | 8 lines
scheduler/client.c:
- ReadClient(): Change "strcmp() == 0" to "!strcmp()"
scheduler/auth.c:
- IsAuthorized: Allow access from local system when there is
no matching location.
------------------------------------------------------------------------
r4619 | mike | 2005-08-30 16:32:26 -0400 (Tue, 30 Aug 2005) | 2 lines
Move /etc/cups/certs to /var/run/cups/certs.
------------------------------------------------------------------------
r4618 | mike | 2005-08-30 16:30:14 -0400 (Tue, 30 Aug 2005) | 8 lines
More "make install" fixes...
Makedefs.in:
- Add STATEDIR definition.
scheduler/Makefile:
- Announce what is being installed.
------------------------------------------------------------------------
r4617 | mike | 2005-08-30 16:21:04 -0400 (Tue, 30 Aug 2005) | 2 lines
Remove the old one...
------------------------------------------------------------------------
r4616 | mike | 2005-08-30 16:20:46 -0400 (Tue, 30 Aug 2005) | 2 lines
Add SLP include file (dunno why the "svn mv" didn't work for this one...)
------------------------------------------------------------------------
r4615 | mike | 2005-08-30 16:13:19 -0400 (Tue, 30 Aug 2005) | 14 lines
Rename the SSL and SLP config scripts, since they are not
specific to a particular project.
Fix CUPS_FONTPATH and CUPS_LOCALEDIR definitions.
Default to supporting domain sockets, with the default domain socket
path = /var/run/cups/cups.sock, per FHS.
Properly install the state and cache directories, and ignore install
errors for the certs directory.
Change the encryption library check order to: CDSA, GNU TLS, and OpenSSL.
------------------------------------------------------------------------
r4614 | mike | 2005-08-30 15:27:55 -0400 (Tue, 30 Aug 2005) | 44 lines
Finish up cups-driverd and fix some bugs.
cgi-bin/var.c:
- Add missing include.
config.h.in:
config-scripts/cups-directories.m4:
- Sort directory definitions and add CUPS_CACHEDIR.
cups/dir.c:
- cupsDirRead(): Fix readdir_r() return value checks.
- Add debug code.
cups/tempfile.c:
- Default to /tmp instead of /var/tmp, to conform with the
FHS.
filter/raster.c:
- cupsRasterReadPixels(): remove extra definition of "byte"
variable.
Makedefs.in:
- Add CUPS_CACHEDIR definition.
scheduler/conf.c:
- ReadConfiguration(): Clean out TempDir if it is a
subdirectory of RequestRoot.
- ReadConfiguration(): Log the new value of MaxClients when
limiting.
scheduler/cups-deviced.c:
- Add function list to header.
scheduler/cups-driverd.c:
- Finish up "list" implementation, including new dynamic
driver PPD interface.
scheduler/ipp.c:
- get_ppds(): default ppd-make to "" instead of "all".
scheduler/printers.c:
- SetPrinterAttrs(): Fix cupsPortMonitor loops.
------------------------------------------------------------------------
r4613 | mike | 2005-08-30 08:41:48 -0400 (Tue, 30 Aug 2005) | 6 lines
Save work on cups-driverd.c.
Fix compile errors.
Set keyword substitution on all source files...
------------------------------------------------------------------------
r4612 | mike | 2005-08-29 23:17:47 -0400 (Mon, 29 Aug 2005) | 56 lines
Tweak file, directory, and PPD APIs, and save work on new cups-driverd.
config-scripts/cups-compiler.m4:
- Remove Wconversion option (too noisy)
- Move -Wunused to additional development options.
cups/Makefile:
- Remove current extended option code from build.
cups/dir.c:
cups/dir.h:
- Change cups_dir_entry_t to cups_dentry_t.
cups/file.c:
cups/file.h:
- Add cupsPeekChar() function.
cups/ppd.c:
cups/ppd.h:
- Add ppdOpen2() function using cups_file_t *.
- Comment out current (unused) extended option code.
scheduler/Makefile:
- Add cups-driverd to build, remove ppds.o.
scheduler/banners.c:
- Use new cupsDir*() functions.
scheduler/conf.c:
- Create subdirs of RequestRoot and StateDir as needed.
scheduler/cups-deviced.c:
- Use new cupsDir*() functions.
- Add options argument to support requested-attributes and
other future options.
- Honor requested-attributes keywords.
scheduler/cupsd.h:
- Remove directory includes and PPDs variable.
scheduler/cups-driverd.c:
- Add incomplete code.
scheduler/ipp.c:
- add_printer(): Remove unused variables.
- get_devices(): Add requested-attributes support.
- get_ppds(): Change to use cups-driverd subprocess.
scheduler/job.c:
- Use new cupsDir*() functions.
scheduler/log.c:
- check_log_file(): Change argument name from "log" to "lf"
to eliminate a compiler warning (name shadowed).
------------------------------------------------------------------------
r4611 | mike | 2005-08-29 03:19:08 -0400 (Mon, 29 Aug 2005) | 13 lines
Add new cupsDir*() functions, remove private file API header.
cups/dir.c:
cups/dir.h:
- Added new cupsDir*() functions.
cups/file.c:
- Move private definitions to this file and mark as private.
cups/file-private.h:
- Removed.
------------------------------------------------------------------------
r4610 | mike | 2005-08-28 08:50:21 -0400 (Sun, 28 Aug 2005) | 24 lines
Add port monitor support to scheduler.
scheduler/ipp.c:
- add_printer(): Validate port-monitor value against
port-monitor-supported.
scheduler/job.c:
- StartJob(): add CUPS_DOCROOT to environment and add port
monitor to filter list, if configured.
scheduler/mime.h:
- Fix mime_op_t comment formatting.
scheduler/printers.c:
- DeletePrinter(): clear port monitor string.
- LoadAllPrinters(): Read port monitor setting.
- SaveAllPrinters(): Write port monitor setting.
- SetPrinterAttrs(): Add port-monitor and port-monitor-supported
attributes.
scheduler/printers.h:
- printer_t: Add port_monitor member.
------------------------------------------------------------------------
r4609 | mike | 2005-08-27 07:24:30 -0400 (Sat, 27 Aug 2005) | 4 lines
Add web interface for per-printer sharing via "Publish" and
"Unpublish" buttons.
------------------------------------------------------------------------
Download · Home Page · Listing