From 973e47297d5fb577c8ff6d638f038d6f4b94b140 Mon Sep 17 00:00:00 2001 From: jwise Date: Thu, 24 Jul 2003 21:24:28 +0000 Subject: Fix kerberos support in this package (kerberos support in the Makefile was commented out because it didn't work with recent openssh, is now fiexed and commented back in). This support is conditional on ${KERBEROS} being set, and currently enables support for both kerberos 4 and 5. This should be refined. This has been tested and confirmed on -current and 1.6. Testing on other platforms (if any? solaris?) in which we support kerberos in pkgsrc should be done. --- security/openssh/Makefile | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) (limited to 'security/openssh') diff --git a/security/openssh/Makefile b/security/openssh/Makefile index 5acca5e3690..293335e8831 100644 --- a/security/openssh/Makefile +++ b/security/openssh/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.103 2003/07/24 20:59:03 jwise Exp $ +# $NetBSD: Makefile,v 1.104 2003/07/24 21:24:28 jwise Exp $ DISTNAME= openssh-3.6.1p2 PKGNAME= openssh-3.6.1.2 @@ -82,11 +82,15 @@ CONFIGURE_ARGS+= --without-skey CONFIGURE_ARGS+= --without-skey .endif -# XXX: -#.if defined(KERBEROS) -#PKG_USE_KERBEROS= yes -#CONFIGURE_ARGS+= --with-kerberos4=/usr -#.endif +.if defined(KERBEROS) +PKG_USE_KERBEROS= yes +CONFIGURE_ARGS+= --with-kerberos4=/usr +CONFIGURE_ARGS+= --with-kerberos5=/usr +CPPFLAGS+= -I/usr/include/krb5 +CPPFLAGS+= -I/usr/include/kerberosIV +# kerberos 5 dependencies are detected correctly. +LDFLAGS+= -lkrb -lcom_err -lroken -ldes +.endif LD= ${CC} -- cgit v1.2.3