]> git.ipfire.org Git - thirdparty/cups.git/commit
File cleanup.
authormike <mike@7a7537e8-13f0-0310-91df-b6672ffda945>
Fri, 3 Mar 2006 18:57:56 +0000 (18:57 +0000)
committermike <mike@7a7537e8-13f0-0310-91df-b6672ffda945>
Fri, 3 Mar 2006 18:57:56 +0000 (18:57 +0000)
commit781996c9136ff4ec23b858a3611c21698a6bb317
treecc97cd521ef16294c82f4800f384acf87ab4bc42
parent8529bd68c6de1698af77400532d05ed47d8da0e8
File cleanup.

svn:ignores cleanup.

Cleanup GNU TLS support.

Automatically generate a self-signed certificate and private key
as needed when using GNU TLS.

Add DefaultEncryption option so that we can require encryption by
default for authenticated access.

Map 401 unauthorized to 426 upgrade required when encryption is
required.

More documentation updates and reorg.

cups/http.c:
    - http_setup_ssl(): Add cast to gnutls_transport_set_ptr()
      call.

scheduler/auth.c:
    - cupsdIsAuthorized(): Fix inline comment (::1, not :::1).

scheduler/auth.h:
    - Add DefaultEncryption variable.

scheduler/client.c:
    - cupsdEncryptClient(): When setting up a GNU TLS session,
      check whether the key and certificate are present, and
      create them if not. Also add cast to
      gnutls_transport_set_ptr() call.
    - cupsdSendError(): Map HTTP_UNAUTHORIZED to
      HTTP_UPGRADE_REQUIRED if we need to encrypt the connection
      before authenticating.
    - cupsdWriteClient(): Use cupsdSendError() for Status:
      headers, only send transfer-encoding header for successful
      CGI calls, and don't return early otherwise cupsd will spin
      on the socket FD.
    - make_certificate(): Added for GNU TLS configurations.

scheduler/conf.c:
    - cupsdReadConfiguration(): Initialize DefaultEncryption to
      Required.
    - read_configuration(): Add support for DefaultEncryption
      directive.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@5222 7a7537e8-13f0-0310-91df-b6672ffda945
31 files changed:
INSTALL.txt
LICENSE.txt
README.txt
cups/http.c
doc/Makefile
doc/help/license.html [moved from LICENSE.html with 95% similarity]
doc/images/classes.gif
doc/images/classes.svg [moved from doc/images/class.svg with 100% similarity]
doc/images/cups-browser-admin.png [deleted file]
packaging/cups.readme [new file with mode: 0644]
pstoraster/README.pstoraster [deleted file]
pstoraster/cups.mak [deleted file]
pstoraster/gdevcups.c [deleted file]
pstoraster/gs707-lib.patch [deleted file]
pstoraster/gs811-lib.patch [deleted file]
pstoraster/pstopxl [deleted file]
pstoraster/pstopxl.in [deleted file]
pstoraster/pstoraster [deleted file]
pstoraster/pstoraster.convs [deleted file]
pstoraster/pstoraster.in [deleted file]
pstoraster/pxlcolor.ppd [deleted file]
pstoraster/pxlmono.ppd [deleted file]
scheduler/auth.c
scheduler/auth.h
scheduler/client.c
scheduler/conf.c
standards/rfc4122.txt [new file with mode: 0644]
standards/wake-on-lan.pdf [new file with mode: 0644]
systemv/Makefile
templates/Makefile
templates/edit-config.tmpl.in