Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Jul 2003 23:21:53 +0200
From:      Clement Laforet <sheepkiller@cultdeadsheep.org>
To:        "Ben Goodwin" <ben@atomicmatrix.net>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: NSS Modules
Message-ID:  <20030710232153.500e0152.sheepkiller@cultdeadsheep.org>
In-Reply-To: <001301c34669$438e1040$6801a8c0@dsg.atomicmatrix.net>
References:  <001301c34669$438e1040$6801a8c0@dsg.atomicmatrix.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 9 Jul 2003 18:27:21 -0400
"Ben Goodwin" <ben@atomicmatrix.net> wrote:

>  Hi guys ...
> 
> I thought I'd give you a heads-up that I'm porting libnss-mysql to the NSS
> API that FreeBSD 5.1 has adopted in case anyone has input, suggestions,
> wants to test, etc..
> I'm also curious about including it eventually .. via ports or something
> perhaps?
> Is anyone else developing NSS modules for FreeBSD?
> 
> I believe I've figured out the API .. I've got a rudimentary test working,
> so ...
> 
> Actually, I do have one question .. As I support more operating systems,
> I've wondered about how to autoconf the different APIs .. right now if I see
> nss.h I know it's one OS, and if I see nsswitch.h I know it's the other
> (Linux vs. Solaris) .. but that doesn't hold true with FreeBSD added to the
> mix.  Any recommendations on what I could do to create an API define that
> holds the current O/S in a clean and reliable fashion?
> Thanks!


have a look at :
http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/51768
(sorry I dirt your code :))
It's *really* dirty :) but it works :-)

regards,

clem



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030710232153.500e0152.sheepkiller>