pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/print/cups Add MESSAGE that you have to remove the ker...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3baff2658793
branches:  trunk
changeset: 358603:3baff2658793
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Thu Feb 16 13:09:19 2017 +0000

description:
Add MESSAGE that you have to remove the kerberos section from the
cupsd config file when you build cups without kerberos support.

Found by pgoyette.

diffstat:

 print/cups/MESSAGE.nokerberos |  7 +++++++
 print/cups/options.mk         |  5 +++--
 2 files changed, 10 insertions(+), 2 deletions(-)

diffs (37 lines):

diff -r 1b77b8224736 -r 3baff2658793 print/cups/MESSAGE.nokerberos
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/print/cups/MESSAGE.nokerberos     Thu Feb 16 13:09:19 2017 +0000
@@ -0,0 +1,7 @@
+===========================================================================
+$NetBSD: MESSAGE.nokerberos,v 1.1 2017/02/16 13:09:19 wiz Exp $
+
+When running a non-kerberized cupsd, you need to remove the kerberos
+section from the config file. Otherwise cupsd will not start.
+
+===========================================================================
diff -r 1b77b8224736 -r 3baff2658793 print/cups/options.mk
--- a/print/cups/options.mk     Thu Feb 16 11:12:36 2017 +0000
+++ b/print/cups/options.mk     Thu Feb 16 13:09:19 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.19 2016/12/30 07:08:34 adam Exp $
+# $NetBSD: options.mk,v 1.20 2017/02/16 13:09:19 wiz Exp $
 
 PKG_OPTIONS_VAR=       PKG_OPTIONS.cups
 PKG_SUPPORTED_OPTIONS= acl dnssd kerberos pam tcpwrappers
@@ -59,6 +59,7 @@
 CONFIGURE_ARGS+=       --enable-gssapi
 .else
 CONFIGURE_ARGS+=       --disable-gssapi
+MESSAGE_SRC+=          ${PKGDIR}/MESSAGE.nokerberos
 .endif
 
 .if !empty(PKG_OPTIONS:Mlibusb)
@@ -77,7 +78,7 @@
 PLIST.pam=             yes
 .else
 CONFIGURE_ARGS+=       --disable-pam
-MESSAGE_SRC=           ${.CURDIR}/MESSAGE
+MESSAGE_SRC+=          ${.CURDIR}/MESSAGE
 .endif
 
 .if !empty(PKG_OPTIONS:Mtcpwrappers)



Home | Main Index | Thread Index | Old Index