void-packages/srcpkgs/cups/patches/default-config-no-gssapi.patch
Helmut Pozimski ec2acdc051 cups: fix default cupsd.conf add gssapi build option (#5649)
The cupsd.conf currently provided by the cups package contains a Kerberos
section. Since cupsd is built without gssapi support, the daemon fails
to verify it's configuration and refuses to start. This commit adds a
build option to make it possible to build the package with gssapi
support and also provides a patch pulled in from Alpine Linux for the
cupsd.conf to be able to start the daemon without building it with gssapi
support.
2017-02-05 15:37:53 +01:00

26 lines
981 B
Diff

--- a/conf/cupsd.conf.in
+++ b/conf/cupsd.conf.in
@@ -145,12 +145,12 @@
# Job-related operations must be done by the owner or an administrator...
<Limit Create-Job Print-Job Print-URI Validate-Job>
- AuthType Negotiate
+ AuthType Default
Order deny,allow
</Limit>
<Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job Purge-Jobs Set-Job-Attributes Create-Job-Subscription Renew-Subscription Cancel-Subscription Get-Notifications Reprocess-Job Cancel-Current-Job Suspend-Current-Job Resume-Job Cancel-My-Jobs Close-Job CUPS-Move-Job CUPS-Get-Document>
- AuthType Negotiate
+ AuthType Default
Require user @OWNER @SYSTEM
Order deny,allow
</Limit>
@@ -171,7 +171,7 @@
# Only the owner or an administrator can cancel or authenticate a job...
<Limit Cancel-Job CUPS-Authenticate-Job>
- AuthType Negotiate
+ AuthType Default
Require user @OWNER @CUPS_DEFAULT_PRINTOPERATOR_AUTH@
Order deny,allow
</Limit>