Summary: | net-dns/bind-tools-9.8.1[ssl] hardcodes OpenSSL path checks which breaks cross-compiling/etc... | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Bertrand Jacquin <bertrand> |
Component: | Current packages | Assignee: | Christian Ruppert (idl0r) <idl0r> |
Status: | RESOLVED OBSOLETE | ||
Severity: | normal | CC: | bertrand, idl0r |
Priority: | Normal | Keywords: | PATCH |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | https://gitlab.isc.org/isc-projects/bind9/commit/5d1e7be582a357256ee76fc31092a3236119268e | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 662714 | ||
Attachments: | bind-tools-9.8.1-BJA-SSL-path.diff |
Description
Bertrand Jacquin
2012-05-22 17:52:49 UTC
Created attachment 312711 [details, diff]
bind-tools-9.8.1-BJA-SSL-path.diff
the patch
This may be extend to xml USE flag, but don't have libxml2 for current target. This to change xml2-config binary PATH openssl installs .pc files now which should be easy to use Comment on attachment 312711 [details, diff]
bind-tools-9.8.1-BJA-SSL-path.diff
ROOT should not be used in src_* funcs
should be all set now in the tree; thanks for the report! Commit message: Clean up openssl logic to fix cross-compiling http://sources.gentoo.org/net-dns/bind-tools/bind-tools-9.10.2-r1.ebuild?rev=1.1 http://sources.gentoo.org/net-dns/bind-tools/files/bind-tools-9.10.2-openssl.patch?rev=1.1 @vapier: Did you send your patch to upstream? It's at least not included in 9.10.4-P1 so I'd have to merge that by hand otherwise. Can you please forward your patch to the ISC guys? It's also not included in net-dns/bind (ebuild). Upstream fixed it by unconditionally using libcrypto from pkg-config: https://gitlab.isc.org/isc-projects/bind9/commit/5d1e7be582a357256ee76fc31092a3236119268e --- AX_CHECK_OPENSSL([:],[AC_MSG_FAILURE([OpenSSL/LibreSSL not found])]) +++ PKG_CHECK_MODULES([OPENSSL], [libcrypto], [], +++ [AX_CHECK_OPENSSL([:],[AC_MSG_FAILURE([OpenSSL/LibreSSL not found])])]) |