diff options
author | wiz <wiz@pkgsrc.org> | 2017-02-17 23:45:48 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2017-02-17 23:45:48 +0000 |
commit | 54c21ee7cbbdff85a2d855d76994efa925571693 (patch) | |
tree | ae5e8e053dcc085ba7ba45592091b55adb0ae220 /print/cups | |
parent | 96f7f1fc5d6c1883d0f48fc22cf8c571c5bda811 (diff) | |
download | pkgsrc-54c21ee7cbbdff85a2d855d76994efa925571693.tar.gz |
Handle non-kerberos automatically. Based on suggestions by pgoyette
and tested by him.
Add upstream bug report URL.
Diffstat (limited to 'print/cups')
-rw-r--r-- | print/cups/MESSAGE.nokerberos | 7 | ||||
-rw-r--r-- | print/cups/options.mk | 9 |
2 files changed, 7 insertions, 9 deletions
diff --git a/print/cups/MESSAGE.nokerberos b/print/cups/MESSAGE.nokerberos deleted file mode 100644 index e106e7085c7..00000000000 --- a/print/cups/MESSAGE.nokerberos +++ /dev/null @@ -1,7 +0,0 @@ -=========================================================================== -$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 --git a/print/cups/options.mk b/print/cups/options.mk index 01829ba9ce4..ec89e188545 100644 --- a/print/cups/options.mk +++ b/print/cups/options.mk @@ -1,4 +1,4 @@ -# $NetBSD: options.mk,v 1.20 2017/02/16 13:09:19 wiz Exp $ +# $NetBSD: options.mk,v 1.21 2017/02/17 23:45:48 wiz Exp $ PKG_OPTIONS_VAR= PKG_OPTIONS.cups PKG_SUPPORTED_OPTIONS= acl dnssd kerberos pam tcpwrappers @@ -59,7 +59,12 @@ CONFIGURE_ARGS+= --disable-dnssd CONFIGURE_ARGS+= --enable-gssapi .else CONFIGURE_ARGS+= --disable-gssapi -MESSAGE_SRC+= ${PKGDIR}/MESSAGE.nokerberos +# https://github.com/apple/cups/issues/4947 +SUBST_CLASSES+= nokerb +SUBST_STAGE.nokerb= post-build +SUBST_SED.nokerb+= -e '\%<Policy kerberos>%,\%</Policy>%s/^/\#/' +SUBST_FILES.nokerb+= conf/cupsd.conf +SUBST_MESSAGE.nokerb= Commenting out kerberos section in config. .endif .if !empty(PKG_OPTIONS:Mlibusb) |