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 [EMAIL PROTECTED]
with "unsubscribe freebsd-stable" in the body of the message

Reply via email to