Date: Fri, 17 Jan 2020 21:49:28 +0000 From: Clay Daniels <clay.daniels.jr@gmail.com> To: "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org> Cc: Bernard Spil <brnrd@freebsd.org> Subject: Re: postfix linking with wrong version of openssl Message-ID: <CAGLDxTWBqdjofvUiFVkoJ8x9F1q5J2wJkKFMfXsGwnC2-ipp_Q@mail.gmail.com> In-Reply-To: <20200117140010.59c9076c@scorpio> References: <20200117131722.083a4235@scorpio> <b76fd9c4-8451-88c9-9575-94ae12c59760@FreeBSD.org> <20200117140010.59c9076c@scorpio>
next in thread | previous in thread | raw e-mail | index | archive | help
I think the syntax with the "+" sign is important, and the spacing too. Take a look at what Bernard Spil suggests if you want to try LibreSSL: https://wiki.freebsd.org/LibreSSL Ports Using LibreSSL instead of OpenSSL has been integrated in the FreeBSD ports framework. Simply set one of the following in your /etc/make.conf (or corresponding make.conf for poudriere) For the current stable <https://wiki.freebsd.org/LibreSSL#Stable> branch DEFAULT_VERSIONS+= ssl=libressl For the current next <https://wiki.freebsd.org/LibreSSL#Next> branch DEFAULT_VERSIONS+= ssl=libressl-devel Cheers, Clay On Fri, Jan 17, 2020 at 7:00 PM Jerry <jerry@seibercom.net> wrote: > On Fri, 17 Jan 2020 18:38:38 +0000, Matthew Seaman stated: > >On 17/01/2020 18:19, Jerry wrote: > >> Rhis doesn't make aqny sense to me, so I am hoping someone can > >> explain it. > >> > >> If I build "mail/postfix-current-sasl" it links with "OpenSSL 1.1.1d" > >> which I have installed from ports. However, if I build it using > >> 'poudriere', it links with the base version of openssl, "OpenSSL > >> 1.0.2s-freebsd ". > >> > >> The path, which I verified, is set as: > >> > >> PATH=/sbin:/bin:/usr/local/bin:/usr/sbin:/usr/bin:/usr/local/sbin > >> > >> which openssl > >> /usr/local/bin/openssl > >> > >> What am I doing wrong? Is there a setting in poudriere that I am over > >> looking? > >> > > > >Yeah. You want to use DEFAULT_VERSIONS in > >/usr/local/etc/poudriere.d/make.conf -- > > > >DEFAULT_VERSIONS += ssl=openssl > > > >will cause all your pkgs to be linked against the security/openssl > >port, or > > > >DEFAULT_VERSIONS += ssl=base > > > >will use the base version of openssl. See > >/usr/ports/Mk/bsd.default-versions.mk for more options. > > > > Cheers, > > > > Matthew > > > > Matthew, I have this: > > DEFAULT_VERSIONS= ssl=openssl > > I don't have the "+" sign. Is that significant? I am not even sure what > it means. > > -- > Jerry >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAGLDxTWBqdjofvUiFVkoJ8x9F1q5J2wJkKFMfXsGwnC2-ipp_Q>