Date: Wed, 13 Sep 2000 08:14:33 +0400 From: Sergei Vyshenski <svysh@pn.sinp.msu.ru> To: Gregory Neil Shapiro <gshapiro@FreeBSD.org> Cc: freebsd-stable@FreeBSD.org Subject: Re: SMTP AUTH enabling (solved) Message-ID: <4.3.2.7.2.20000913075401.00aa6c40@vivaldi> 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>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4.3.2.7.2.20000913075401.00aa6c40>