From owner-freebsd-stable Tue Sep 12 21:12:51 2000 Delivered-To: freebsd-stable@freebsd.org Received: from vivaldi.pn.npi.msu.ru (gw.pn.npi.msu.ru [193.232.127.202]) by hub.freebsd.org (Postfix) with ESMTP id 1664337B422; Tue, 12 Sep 2000 21:12:45 -0700 (PDT) Received: from handel.pn.sinp.msu.ru (handel [195.208.223.24]) (authenticated) by vivaldi.pn.npi.msu.ru (8.11.0/8.11.0) with ESMTP id e8D4Ceo00582; Wed, 13 Sep 2000 08:12:41 +0400 (MSD) (envelope-from svysh@pn.sinp.msu.ru) Message-Id: <4.3.2.7.2.20000913075401.00aa6c40@vivaldi> X-Sender: svysh@vivaldi X-Mailer: QUALCOMM Windows Eudora Version 4.3.2 Date: Wed, 13 Sep 2000 08:14:33 +0400 To: Gregory Neil Shapiro From: Sergei Vyshenski Subject: Re: SMTP AUTH enabling (solved) Cc: freebsd-stable@FreeBSD.org In-Reply-To: <14781.45400.621097.143099@horsey.gshapiro.net> References: <4.3.2.7.2.20000912035858.00a86550@vivaldi> <4.3.2.7.2.20000912035858.00a86550@vivaldi> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Gregory. Successfully tested procedure (with tiny modifications of your original idea) which teaches buildworld in FreeBSD-stable how to produce sendmail with SMTP AUTH enabled is specified below. Sergei 1) install cyrus-sasl port 2) patch file /usr/src/usr.sbin/sendmail/Makefile in such a way, that line LDADD= -lutil -lwrap turns into line LDADD+= -lutil -lwrap 3) augment /etc/make.conf with: # Make MD5 version of libskey .if ${.CURDIR} == "/usr/src/usr.sbin/sendmail" CFLAGS+=-DSASL -I/usr/local/include/sasl -L/usr/local/lib LDADD+=-lsasl .endif At 21:30 11.09.00 -0700, you wrote: >svysh> Is it possible to link sasl support into sendmail during buildworld >svysh> on FreeBSD-4.1-STABLE with CYRUS-SASL port installed in advance? > >svysh> site.config.m4 approach seems not applicable here? > >You could do something like this (untested, unsupported) in /etc/make.conf: > ># Make MD5 version of libskey >.if ${.CURDIR} == "/usr/src/usr.sbin/sendmail" >CFLAGS+=-DSASL -I/usr/local/include/sasl >LDADD+=-lsasl >.endif To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message