Subject: Re: krb5 integration proposal
To: Simon Burge <simonb@netbsd.org>
From: Aidan Cully <aidan@kublai.com>
List: tech-userlevel
Date: 06/09/1999 02:55:18
On Wed, Jun 09, 1999 at 01:41:29PM +1000, Simon Burge wrote:
> Aidan Cully wrote:
> 
> > On Wed, Jun 09, 1999 at 12:07:36PM +1000, Simon Burge wrote:
> > > Aidan Cully wrote:
> > > > 4) Reorganize libtelnet, according to my local model.
> > > > 	This means the following hierarchy:
> > > > 	src/lib/libtelnet -- almost all libtelnet sources.
> > > > 	src/lib/libtelnet/Nocrypt -- libtelnet source that might be overridden
> > > > 	    by crypto-enabled files.
> > > 
> > > Can this be done with the right PATH magic so we don't need the Nocrypt
> > > subdirectory?  It's a tad non-aesthetic, as well as making imports of
> > > new versions of libtelnet a little more work (if that were to ever
> > > happen again)...
> > 
> > I do it this way for .PATH reasons..  krb5 comes with a complete libtelnet
> > distribution, and domestic/lib/libtelnet reaches over into it..  One of my
> > goals was to use as much NetBSD source as possible, and only hook into
> > MIT's for kerberos specific stuff, and I couldn't see a good way to let
> > domestic/lib/libtelnet use MIT's encrypt.[ch], and NetBSD's ~everything
> > else without creating the Nocrypt/ subdirectory.
> > 
> > What sort of thing would you suggest?
> 
> I'm not sure I see the problem.  As an example, I've got the
> following directory structure:
...
> Is this more-or-less what we're after, or am I misunderstanding the
> problem?

I believe you're misunderstanding the problem..  Add a file
./domestic/dist/telnet/misc.c
and get the domestic/telnet/Makefile to use the misc.c in ./telnet
instead.

--aidan