postfix linking with wrong version of openssl

Clay Daniels clay.daniels.jr at gmail.com
Fri Jan 17 21:49:42 UTC 2020


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 at 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
>


More information about the freebsd-questions mailing list