Date: Mon, 17 Aug 2020 10:27:50 +0200 From: Bengt Ahlgren <bengt.ahlgren@ri.se> To: Eugene Grosbein <eugen@grosbein.net> Cc: stable@freebsd.org Subject: Re: 11.4 sendmail with SASL and ports openssl? Message-ID: <uh7v9hh1xtl.fsf@P142.sics.se> In-Reply-To: <dabfdd22-ab59-c4e3-6575-cdd36a3d1210@grosbein.net> (Eugene Grosbein's message of "Fri, 14 Aug 2020 21:10:57 %2B0700") References: <uh7lfil70nx.fsf@P142.sics.se> <defec58b-673f-bc10-beba-3beec146a5f4@grosbein.net> <uh7364ppkrk.fsf@P142.sics.se> <dabfdd22-ab59-c4e3-6575-cdd36a3d1210@grosbein.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Eugene Grosbein <eugen@grosbein.net> writes: > 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. Thanks for the info! For the record, I run 11.4-STABLE after that sendmail update. Bengt
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?uh7v9hh1xtl.fsf>