summaryrefslogtreecommitdiff
path: root/security/openssh
diff options
context:
space:
mode:
authorjwise <jwise>2003-07-24 21:24:28 +0000
committerjwise <jwise>2003-07-24 21:24:28 +0000
commit973e47297d5fb577c8ff6d638f038d6f4b94b140 (patch)
treee736b41d9986ee77d45b8171499001fbd5598cc3 /security/openssh
parent27cd5cc2185b39b3b518a51f69a12b3d8b5d6aaa (diff)
downloadpkgsrc-973e47297d5fb577c8ff6d638f038d6f4b94b140.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')
-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}