Subject: Re: mit-krb5/
To: None <>
From: Matthias Scheler <>
List: tech-pkg
Date: 04/10/2006 16:59:29
On Mon, Apr 10, 2006 at 11:47:06AM -0400, Johnny Lam wrote:
> >Modified Files:
> >	pkgsrc/mk:
> >Added Files:
> >	pkgsrc/security/mit-krb5:
> >
> >Log Message:
> >Teach Kerberos 5 to detect the MIT Kerberos 5 bundled with Mac OS X.
> >This stops the "gnome-vfs2" package from pulling in the "heimdal" package.
> >This fixes PR pkg/29946 by Juha-Matti Liukkonen.
> I don't think checking for /usr/bin/krb5-config is the right way to 
> determine whether MIT Kerberos 5 is part of the base system or not. 

I'm not aware of a better way mostly because I don't know much about
Kerberos V.

> Future versions of NetBSD will also have Heimdal which also installs 
> /usr/bin/krb5-config, ...

This file neither exists on my NetBSD 3.0_STABLE nor on my
NetBSD-current system.

> Is there some header and regular expression match that we can check instead?

I cannot find anything in "/usr/include/krb5.h" which is the only
Kerberos V related include file I can find on my Mac OS 10.4.6 system.

The best idea I can think of is to put a big ".if ${OPSYS} == Darwin"
block arround the whole file.

	Kind regards

Matthias Scheler