Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Sep 2000 13:20:57 -0700 (PDT)
From:      John Baldwin <jhb@pike.osd.bsdi.com>
To:        "Steven E. Ames" <steve@virtual-voodoo.com>
Cc:        Gregory Neil Shapiro <gshapiro@gshapiro.net>, Peter Wemm <peter@netplex.com.au>, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/usr.sbin/sendmail Makefile
Message-ID:  <200009132020.NAA46530@pike.osd.bsdi.com>
In-Reply-To: <05e601c01dbe$277ed870$8a1a050a@winstar.com> from "Steven E. Ames" at "Sep 13, 2000 03:06:49 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
Steven E. Ames wrote:
[Charset iso-8859-1 unsupported, filtering to ASCII...]
> > steve> Is SASL the only possible sendmail module that might be used?
> This way
> > steve> is pretty SASL specific...
> >
> > gshapiro> No, there are others but each has to be specific.  Each has
> their
> > gshapiro> own -DXXX item to turn on the functionality and each may
> have
> > gshapiro> it's own include files or library file(s).  However, when it
> > gshapiro> comes to the more esoteric modules, the user is probably
> better
> > gshapiro> off downloading the open source and building by hand.
> >
> > Or perhaps what you were thinking about would be make.conf variables:
> >
> > SENDMAIL_CFLAGS=
> > SENDMAIL_LDFLAGS=
> > SENDMAIL_LDADD=
> >
> > Where .../sendmail/Makefile would have:
> >
> > CFLAGS+=${SENDMAIL_CFLAGS}
> > LDFLAGS+=${SENDMAIL_LDFLAGS}
> > LDADD+=${SENDMAIL_LDADD}
> >
> > Then users would:
> >
> > SENDMAIL_CFLAGS=-I/usr/local/include -DSASL
> > SENDMAIL_LDFLAGS=-L/usr/local/lib
> > SENDMAIL_LDADD=-lsasl
> 
> Yep. That's more along the lines of my thinking. Nor as intuitive from a
> user persepective maybe, but certainly more flexible.

Then you could have things like:

.ifdef(SENDMAIL_USE_SASL)
SENDMAIL_CFLAGS+=-I/usr/local/include -DSASL
...
.endif

If you wanted to have shortcuts for common extensions.  You could stick
these in either sendmail's Makefile or make.conf.  Probably in sendmail's
Makefile though.

> -Steve

-- 

John Baldwin <jhb@bsdi.com> -- http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




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