On Tue, Jan 21, 2014 at 11:15:36PM +0100, Antoine Jacoutot wrote:
> On Tue, Jan 21, 2014 at 10:41:39PM +0100, Landry Breuil wrote:
> > On Sun, Jan 19, 2014 at 10:32:52AM +0100, Antoine Jacoutot wrote:
> > > > > Instead of patching Firefox, would it be better to change the way
> > > > > OpenBSD links the Heimdal libraries to make the interdependent 
> > > > > libraries
> > > > > implicit?
> > > > 
> > > > I think there was a reason for having it done this way when kerberos was
> > > > updated, and iirc it lead to having quite a bunch of patches around.
> > > > Robert, Antoine ?
> > > 
> > > Nothing to do with Kerberos, OpenBSD does not register interdependant 
> > > libraries in base. We do it in ports but not base.
> > 
> > Right, thx for the reminder. I've commited the fix to our port, and will
> > ensure it's got the proper #ifdef dance + justification to be merged 
> > upstream.
> 
> The problem is that you cannot trust the libs interdependency not to change 
> at some point.
> That is the reason I patched all our ports to use krb5-config; so that we do 
> not need to hardcode the libs in each port that uses kerberos.
> Other OSes don't have this issue obviously.

Yeah, but in that case the code dlopen's all the libs, and i dont really
see a way to use krb5-config in that scheme (calling it at runtime via
popen and iterate on the output ? gross)

Landry

Reply via email to