From 0efd53c9f2e93e68db671c534f7748c9c5db633d Mon Sep 17 00:00:00 2001 From: tijl Date: Thu, 19 Jan 2017 13:46:03 +0000 Subject: Remove Kerberos related configuration from default cupsd.conf because Kerberos support is disabled and the configuration causes an error. Reported by: cpm --- print/cups/Makefile | 1 + print/cups/files/patch-conf_cupsd.conf.in | 52 +++++++++++++++++++++++++++++++ 2 files changed, 53 insertions(+) create mode 100644 print/cups/files/patch-conf_cupsd.conf.in (limited to 'print') diff --git a/print/cups/Makefile b/print/cups/Makefile index c943d43f80ce..5d42abd696ff 100644 --- a/print/cups/Makefile +++ b/print/cups/Makefile @@ -4,6 +4,7 @@ PORTNAME= cups PORTVERSION= 2.2.2 DISTVERSIONPREFIX=v +PORTREVISION= 1 CATEGORIES= print MAINTAINER= tijl@FreeBSD.org diff --git a/print/cups/files/patch-conf_cupsd.conf.in b/print/cups/files/patch-conf_cupsd.conf.in new file mode 100644 index 000000000000..90836e3c4b9a --- /dev/null +++ b/print/cups/files/patch-conf_cupsd.conf.in @@ -0,0 +1,52 @@ +--- conf/cupsd.conf.in.orig 2017-01-17 19:27:22 UTC ++++ conf/cupsd.conf.in +@@ -134,49 +134,3 @@ WebInterface @CUPS_WEBIF@ + Order deny,allow + + +- +-# Set the kerberized printer/job policies... +- +- # Job/subscription privacy... +- JobPrivateAccess default +- JobPrivateValues default +- SubscriptionPrivateAccess default +- SubscriptionPrivateValues default +- +- # Job-related operations must be done by the owner or an administrator... +- +- AuthType Negotiate +- Order deny,allow +- +- +- +- AuthType Negotiate +- Require user @OWNER @SYSTEM +- Order deny,allow +- +- +- # All administration operations require an administrator to authenticate... +- +- AuthType Default +- Require user @SYSTEM +- Order deny,allow +- +- +- # All printer operations require a printer operator to authenticate... +- +- AuthType Default +- Require user @CUPS_DEFAULT_PRINTOPERATOR_AUTH@ +- Order deny,allow +- +- +- # Only the owner or an administrator can cancel or authenticate a job... +- +- AuthType Negotiate +- Require user @OWNER @CUPS_DEFAULT_PRINTOPERATOR_AUTH@ +- Order deny,allow +- +- +- +- Order deny,allow +- +- -- cgit