From owner-cvs-all Wed Sep 13 13:22: 9 2000 Delivered-To: cvs-all@freebsd.org Received: from pike.osd.bsdi.com (pike.osd.bsdi.com [204.216.28.222]) by hub.freebsd.org (Postfix) with ESMTP id 8DEDD37B422; Wed, 13 Sep 2000 13:22:04 -0700 (PDT) Received: (from jhb@localhost) by pike.osd.bsdi.com (8.9.3/8.9.3) id NAA46530; Wed, 13 Sep 2000 13:20:57 -0700 (PDT) (envelope-from jhb) From: John Baldwin Message-Id: <200009132020.NAA46530@pike.osd.bsdi.com> Subject: Re: cvs commit: src/usr.sbin/sendmail Makefile In-Reply-To: <05e601c01dbe$277ed870$8a1a050a@winstar.com> from "Steven E. Ames" at "Sep 13, 2000 03:06:49 pm" To: "Steven E. Ames" Date: Wed, 13 Sep 2000 13:20:57 -0700 (PDT) Cc: Gregory Neil Shapiro , Peter Wemm , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org X-Mailer: ELM [version 2.4ME+ PL68 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 -- 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