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

Bug 607826

Summary: mail-client/mutt has unusual USE=ssl handling, requiring extra configuration for libressl
Product: Gentoo Linux Reporter: Hendrik v. Raven <hendrik>
Component: Current packagesAssignee: Fabian Groffen <grobian>
Status: RESOLVED FIXED    
Severity: normal CC: hendrik, net-mail+disabled
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Patch changing the handling of the ssl related USE flags

Description Hendrik v. Raven 2017-01-31 16:19:49 UTC
Created attachment 462008 [details, diff]
Patch changing the handling of the ssl related USE flags

The current ebuilds of mutt uses the ssl flag different to most other ebuilds and opposite to the example given in the devmanual [0].
In the current version ssl is meant as "use openssl", instead of a generic "use any ssl, and default to openssl". Due to this manual configuration is required when using USE=ssl,libressl as it will always enable openssl.

I've attached a patch I've created following the guidelines of the libressl project [1]. I am not quite sure about the gnutls handling, as mutt seems to be special in regards to that, but it 

[0] https://devmanual.gentoo.org/general-concepts/use-flags/
[1] https://wiki.gentoo.org/wiki/Project:LibreSSL
Comment 1 Fabian Groffen gentoo-dev 2017-02-01 13:44:06 UTC
This won't work AFAICS, libressl could be made more transparent likely.
Comment 2 Fabian Groffen gentoo-dev 2017-02-01 13:45:04 UTC
nevertheless, this needs work, will look at it later.
Comment 3 Fabian Groffen gentoo-dev 2017-02-02 15:44:42 UTC
I've used most of your patch, just refining the configure arguments.  Thanks!
Comment 4 Hendrik v. Raven 2017-02-02 15:47:57 UTC
Nice, thanks for the quick response.