[Bug 199298] [MAINTAINER] dns/knot: Update to 1.6.3

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Apr 11 08:55:21 UTC 2015


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=199298

Bernard Spil <spil.oss at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #155433|0                           |1
        is obsolete|                            |

--- Comment #8 from Bernard Spil <spil.oss at gmail.com> ---
Created attachment 155451
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=155451&action=edit
Makefile diff for new 1.6.3

Hi Leo,

Problem is that there IS no such thing as libressl.so, security/libressl uses
the same installed files as security/openssl does (i.e.
/usr/local/lib/libssl.so and /usr/local/lib/libcrypto.so as well as the headers
in /usr/local/include/openssl).

This makes the existing Makefile fail the build as it tries to compile/install
LibreSSL again whilst it is already installed.

/usr/ports/Mk/bsd.openssl.mk contains all the necessary logic to build/install
LibreSSL when WITH_OPENSSL_PORT= security/libressl is defined so all the port
needs to do is add that line to pull in LibreSSL. If security/openssl where
installed already, the CONFLICTS will trigger a build failure.

To be complete, I don't think that this is the right way for the port to deal
with LibreSSL altogether. We should be able to rely on the user setting
WITH_OPENSSL_PORT in their configuration and then either disable GOST or use
the current IGNORE when it detects GOST is enabled and LibreSSL is configured
by the user.

Spotted some more issues... USE_OPENSSL should probably always be defined, even
when building with LibreSSL, as well as CONFIGURE_ENV+=
--with-openssl=${OPENSSLDIR}

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list