pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/security/openssh+gssapi Depend on security/kth-krb4 to...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9ac170451f54
branches:  trunk
changeset: 515650:9ac170451f54
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Wed Jul 05 20:53:11 2006 +0000

description:
Depend on security/kth-krb4 to make this build
on NetBSD-current (where kerberosIV was removed).
Bump PKGREVISION for dependency change.

diffstat:

 security/openssh+gssapi/Makefile |  13 ++++++++-----
 1 files changed, 8 insertions(+), 5 deletions(-)

diffs (43 lines):

diff -r a839ab08e22a -r 9ac170451f54 security/openssh+gssapi/Makefile
--- a/security/openssh+gssapi/Makefile  Wed Jul 05 20:29:29 2006 +0000
+++ b/security/openssh+gssapi/Makefile  Wed Jul 05 20:53:11 2006 +0000
@@ -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-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 @@
 .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
 



Home | Main Index | Thread Index | Old Index