Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 585938

Summary: mail-mta/exim-4.87 - incorrect USE dependency dev-libs/openssl[-bindist]
Product: Gentoo Linux Reporter: Marcel Pennewiß <gentoo>
Component: Current packagesAssignee: Fabian Groffen <grobian>
Status: RESOLVED FIXED    
Severity: normal CC: net-mail+disabled
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=556654
Whiteboard:
Package list:
Runtime testing required: ---

Description Marcel Pennewiß 2016-06-14 15:27:10 UTC
In Bug #556654 use-flag dependency for "dev-libs/openssl" was changed to "-bindist", as this is needed for ecdh. 

This blocks update on systems where openssl was not build with -bindist and openssh was also not build with -bindist.

net-misc/openssh has bindist-useflag and dev-libs/openssl[bindist=] as bdep. This should be a more common approach to allow users both versions. Please add bindist to metadata.xml and add change useflags to conditional setting "bindist=".
Comment 1 Marcel Pennewiß 2016-06-14 15:32:46 UTC
Build exim-4.87 with openssl[bindist] successfully, build did not failed as described in #556654.
Comment 2 Fabian Groffen gentoo-dev 2016-06-20 08:12:57 UTC
hmmm, I can't really find proof of a fix for this.  There was some libressl commit, that went in 4.87, but the rest seems openssl version number checks to determine if ecdh can be used.  Odd.
Comment 3 Fabian Groffen gentoo-dev 2016-06-21 07:23:01 UTC
The code was slightly changed to avoid the compilation error, so I removed the conditional.  Exim works both with and without ECDH support in OpenSSL.