cvs commit: src/libexec/telnetd Makefile

Yar Tikhiy yar at comp.chem.msu.su
Mon Jul 31 17:08:58 UTC 2006


On Mon, Jul 31, 2006 at 09:30:58AM -0700, Sam Leffler wrote:
> Yar Tikhiy wrote:
> > yar         2006-07-31 13:20:44 UTC
> > 
> >   FreeBSD src repository
> > 
> >   Modified files:
> >     libexec/telnetd      Makefile 
> >   Log:
> >   telnetd(8) doesn't really go to the crunched floppies,
> >   so its Makefile needn't test for RELEASE_CRUNCH.
> 
> What about folks building crunchgen'd images w/ telnetd; is there an
> equivalent way to do the same thing w/ the new build knobs?

I'd suggest using WITHOUT_CRYPT=yes, it will have the same effect
for telnetd.  Anyway, the RELEASE_CRUNCH knob's coverage is rather
limited, it's respected by only those parts of src/ that are included
in the standard boot floppies--telnetd was just an exception.  The
other exception is inetd, which puts its IPSEC stuff under
RELEASE_CRUNCH.  The better way would be to introduce the
MK_IPSEC_SUPPORT knob.  RELEASE_CRUNCH could be mostly handled in
a single place then.  Few tools build in a really special way if
RELEASE_CRUNCH is defined; most tools just have crypto, IPX etc
stuff omitted from them.

P.S. Just found that telnetd and inetd are optional components of
src/release/picobsd (left out by default.)  This can justify putting
RELEASE_CRUNCH back into telnetd's Makefile accompanied by a
clarifying comment.  It stays a rather limited solution though.

-- 
Yar


More information about the cvs-all mailing list