diff options
author | jwise <jwise@pkgsrc.org> | 2003-07-24 21:24:28 +0000 |
---|---|---|
committer | jwise <jwise@pkgsrc.org> | 2003-07-24 21:24:28 +0000 |
commit | 86c245dc72cc688c2db3a6e8e169f1cb3040385c (patch) | |
tree | e736b41d9986ee77d45b8171499001fbd5598cc3 /security | |
parent | 9b55571cd9f23e514bf7196483300e2e9f4c9dd0 (diff) | |
download | pkgsrc-86c245dc72cc688c2db3a6e8e169f1cb3040385c.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')
-rw-r--r-- | security/openssh/Makefile | 16 |
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} |