Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Feb 2019 10:53:07 -0500
From:      Nick Rogers <ncrogers@gmail.com>
To:        ports@freebsd.org
Subject:   Using LibreSSL with only one or a subset of all installed ports
Message-ID:  <CAKOb=YbGuYBQ9kMPn%2Bw6V4GRGUSkZGwpyrctuN-u4r_k41uiTA@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
I am wondering if it is wise or possible to use libressl for only a single
installed port, while continuing to use OpenSSL from Base for all remaining
installed ports. I would like to do this in order to get around the fact
that lang/phantomjs does not compile against openssl 1.1.x due to API
changes, and fixing it is less than trivial. However, I am not quite ready
to switch other ports to LibreSSL.

My thought was to use the following approach in make.conf when building via
poudriere.

.if ${.CURDIR:M*/lang/phantomjs}
DEFAULT_VERSIONS+= ssl=libressl
.endif

I am hoping for some advice as to whether or not this will work, or if its
a terrible idea, or if there is perhaps a better way to toggle libressl
per-port. All the port documentation I can find suggests an outright switch
to libressl for all ports, so I am concerned there is something I am
missing that will not be happy?

Thank you!

-Nick



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAKOb=YbGuYBQ9kMPn%2Bw6V4GRGUSkZGwpyrctuN-u4r_k41uiTA>