Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 607826 - mail-client/mutt has unusual USE=ssl handling, requiring extra configuration for libressl
Summary: mail-client/mutt has unusual USE=ssl handling, requiring extra configuration ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Fabian Groffen
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-01-31 16:19 UTC by Hendrik v. Raven
Modified: 2017-02-02 15:47 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch changing the handling of the ssl related USE flags (mutt-1.7.2-r2-change-ssl-handling.patch,1.53 KB, patch)
2017-01-31 16:19 UTC, Hendrik v. Raven
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.