Subject: Re: libtelnet func signature change
To: Jun-ichiro itojun Hagino <itojun@iijlab.net>
From: Simon Burge <simonb@wasabisystems.com>
List: tech-userlevel
Date: 07/16/2003 09:21:39
Jun-ichiro itojun Hagino wrote:

> >> i guess our life is much easier if we stop using libtelnet and
> >> compile them under libexec/telnetd and usr.bin/telnet...
> >Yes. I don't see the value of a separate libtelnet either.
> 
> 	does it seem sensible?

Seems sensible to me too.  But...

> Index: usr.bin/telnet/Makefile
> +LDADD+= -ltermcap #-ltelnet
> +DPADD+=	${LIBTERMCAP} #${LIBTELNET}

> Index: libexec/telnetd/Makefile
> -DPADD=	${LIBUTIL} ${LIBTERMCAP} ${LIBTELNET}
> -LDADD+=	-lutil -ltermcap -ltelnet
> +DPADD=	${LIBUTIL} ${LIBTERMCAP} #${LIBTELNET}
> +LDADD+=	-lutil -ltermcap #-ltelnet

Please don't leave the libtelnet entries commented out if you do this.


Are you also planning on removing /usr/lib/libtelnet* altogether?  I
can't think of anything else offhand that uses these.  We do have at
least one precedent for this - libntp.

Simon.
--
Simon Burge                            <simonb@wasabisystems.com>
NetBSD Support and Service:         http://www.wasabisystems.com/