summaryrefslogtreecommitdiff
path: root/security/openssh/Makefile
diff options
context:
space:
mode:
authorjwise <jwise>2003-07-24 21:24:28 +0000
committerjwise <jwise>2003-07-24 21:24:28 +0000
commit6272c6d276f306e5a51852b752c6d01cf10ebea3 (patch)
treee736b41d9986ee77d45b8171499001fbd5598cc3 /security/openssh/Makefile
parent3451add247cfaac6952af25ff35320415e4b6154 (diff)
downloadpkgsrc-6272c6d276f306e5a51852b752c6d01cf10ebea3.tar.gz
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.
Diffstat (limited to 'security/openssh/Makefile')
-rw-r--r--security/openssh/Makefile16
1 files changed, 10 insertions, 6 deletions
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: <krb.h>
-#.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}