summaryrefslogtreecommitdiff
path: root/security/openssh+gssapi
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2006-07-05 20:53:11 +0000
committerwiz <wiz@pkgsrc.org>2006-07-05 20:53:11 +0000
commit54bb8ae9ae7b7754dcad9629e360835f9a7f9a2a (patch)
treebdb68774d0df3fab95db78fc802e5c1fc93c95e4 /security/openssh+gssapi
parentd7e0da9fa7dcd307d4918d437a489034e26c7739 (diff)
downloadpkgsrc-54bb8ae9ae7b7754dcad9629e360835f9a7f9a2a.tar.gz
Depend on security/kth-krb4 to make this build
on NetBSD-current (where kerberosIV was removed). Bump PKGREVISION for dependency change.
Diffstat (limited to 'security/openssh+gssapi')
-rw-r--r--security/openssh+gssapi/Makefile13
1 files changed, 8 insertions, 5 deletions
diff --git a/security/openssh+gssapi/Makefile b/security/openssh+gssapi/Makefile
index 64af3d18869..c450c6e3ff1 100644
--- a/security/openssh+gssapi/Makefile
+++ b/security/openssh+gssapi/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.36 2006/06/04 14:56:37 joerg Exp $
+# $NetBSD: Makefile,v 1.37 2006/07/05 20:53:11 wiz Exp $
# NOTE: This package is modeled on ../openssh, but does not share
# files with it as that package may update faster than the gssapi
@@ -6,7 +6,7 @@
DISTNAME= openssh-3.6.1p2
PKGNAME= openssh+gssapi-3.6.1.2.20030430
-PKGREVISION= 6
+PKGREVISION= 7
SVR4_PKGNAME= osshgss
CATEGORIES= security
MASTER_SITES= ftp://ftp7.usa.openbsd.org/pub/os/OpenBSD/OpenSSH/portable/ \
@@ -63,9 +63,8 @@ CONFIGURE_ARGS+= --with-tcp-wrappers=${BUILDLINK_PREFIX.tcp_wrappers}
CONFIGURE_ARGS+= --with-privsep-path=${OPENSSH_CHROOT:Q}
CONFIGURE_ARGS+= --with-privsep-user=${OPENSSH_USER:Q}
CONFIGURE_ARGS+= --with-kerberos5=/usr
-CONFIGURE_ARGS+= --with-kerberos4=/usr
-CPPFLAGS+= -I/usr/include/krb5 -I/usr/include/kerberosIV
+CPPFLAGS+= -I/usr/include/krb5
# XXX: PAM authentication causes memory faults, and I haven't tracked down
# XXX: why yet. For the moment, disable PAM authentication.
@@ -93,8 +92,12 @@ CONFIGURE_ARGS+= --without-skey
.endif
.if defined(KERBEROS)
+.include "../../security/kth-krb4/buildlink3.mk"
PKG_USE_KERBEROS= yes
-CONFIGURE_ARGS+= --with-kerberos4=/usr
+CONFIGURE_ARGS+= --with-kerberos4=${BUILDLINK_PREFIX.kth-krb4}
+CPPFLAGS+= -I${BUILDLINK_PREFIX.kth-krb4}/include/kerberosIV
+LDFLAGS+= -L${BUILDLINK_PREFIX.kth-krb4}/lib
+LDFLAGS+= -Wl,-R${BUILDLINK_PREFIX.kth-krb4}/lib
LDFLAGS+= -lkrb -lcom_err -lroken -ldes -lcrypto
.endif