Date: Fri, 14 Aug 2020 21:10:57 +0700 From: Eugene Grosbein <eugen@grosbein.net> To: Bengt Ahlgren <bengt.ahlgren@ri.se> Cc: stable@freebsd.org Subject: Re: 11.4 sendmail with SASL and ports openssl? Message-ID: <dabfdd22-ab59-c4e3-6575-cdd36a3d1210@grosbein.net> In-Reply-To: <uh7364ppkrk.fsf@P142.sics.se> References: <uh7lfil70nx.fsf@P142.sics.se> <defec58b-673f-bc10-beba-3beec146a5f4@grosbein.net> <uh7364ppkrk.fsf@P142.sics.se>
next in thread | previous in thread | raw e-mail | index | archive | help
14.08.2020 17:46, Bengt Ahlgren wrote: > Then the question is whether I need openssl libraries from ports, when I > use that for all ports with DEFAULT_VERSIONS+=ssl=openssl due to QT5 > requirements? > > If I want to link with openssl from ports, it looks like I anyway need > SENDMAIL_LDFLAGS=-L/usr/local/lib, otherwise the linker will pick up > libssl and libcrypto from base. Specifying the full path for these > libraries, like for libsasl2 in the handbook, only results in > double-linking with libraries from both ports and base. So I ended up > with: > > SENDMAIL_CFLAGS=-I/usr/local/include -I/usr/local/include/sasl -DSASL > SENDMAIL_LDFLAGS=-L/usr/local/lib > SENDMAIL_LDADD=/usr/local/lib/libsasl2.so Stock sendmail was recently updated from 8.14.x to 8.16.x in base after 11.4-RELEASE. Previous sendmail version was incompatible with openssl 1.1+, so Handbook updated before 11.4-RELEASE to make sure sendmail is built and linked with stock openssl, or else build failed. It seems updated sendmail in stable branches made compatible with openssl 1.1+, so the choice is yours.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?dabfdd22-ab59-c4e3-6575-cdd36a3d1210>