summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorthorpej <thorpej@pkgsrc.org>2000-02-28 01:55:26 +0000
committerthorpej <thorpej@pkgsrc.org>2000-02-28 01:55:26 +0000
commit2388b352d8b28e14359ec40e7bd0db0cb558ac90 (patch)
tree2d93d763ba7314849eaaf881c5f1c303bf1f321c /security
parent586e83db553c38dd8f9f6680960cea38c92f862c (diff)
downloadpkgsrc-2388b352d8b28e14359ec40e7bd0db0cb558ac90.tar.gz
Only enable Kerberos 5 support if USE_HEIMDAL is set; sudo uses API
features present in Heimdal but NOT present in MIT Kerberos (one more reason to ditch MIT, I guess).
Diffstat (limited to 'security')
-rw-r--r--security/sudo/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/security/sudo/Makefile b/security/sudo/Makefile
index 3e555452a91..1860a5572b9 100644
--- a/security/sudo/Makefile
+++ b/security/sudo/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.21 2000/01/28 17:01:46 jlam Exp $
+# $NetBSD: Makefile,v 1.22 2000/02/28 01:55:26 thorpej Exp $
# FreeBSD Id: Makefile,v 1.9 1997/11/12 03:24:41 obrien Exp
#
@@ -32,12 +32,15 @@ CONFIGURE_ARGS+=--with-kerb4
CONFIGURE_ARGS+=--without-kerb4
.endif
+# XXX Currently uses API features present only in Heimdal.
+.if defined(USE_HEIMDAL)
.if defined(KERBEROS) && ${KERBEROS} == 5
USE_KERBEROS= yes
CONFIGURE_ARGS+=--with-kerb5
.else
CONFIGURE_ARGS+=--without-kerb5
.endif
+.endif
CONFIGURE_ARGS+=--with-nbsdops --disable-path-info