Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 712360 - mail-mta/exim-4.93: Does't build without tls/ssl
Summary: mail-mta/exim-4.93: Does't build without tls/ssl
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Fabian Groffen
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-03-13 10:50 UTC by Hans F. Nordhaug
Modified: 2020-03-15 08:32 UTC (History)
1 user (show)

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


Attachments
Disable DANE by default for exim-4.93 (exim-4.93-dane-fix.patch,281 bytes, patch)
2020-03-13 10:55 UTC, Hans F. Nordhaug
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Hans F. Nordhaug 2020-03-13 10:50:49 UTC
If you are building without ssl use enabled, you get the following error:


transports/smtp.c:12:3: error: #error TLS is required for DANE
   12 | # error TLS is required for DANE

The attach patch fixes the issue - that DANE support always is enabled, even if dane use isn't enabled.

Reproducible: Always
Comment 1 Hans F. Nordhaug 2020-03-13 10:55:47 UTC
Created attachment 618410 [details, diff]
Disable DANE by default for exim-4.93
Comment 2 Larry the Git Cow gentoo-dev 2020-03-15 08:32:42 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aff1b0cb03abb3466ca6aebe7de96510d933dd1b

commit aff1b0cb03abb3466ca6aebe7de96510d933dd1b
Author:     Fabian Groffen <grobian@gentoo.org>
AuthorDate: 2020-03-15 08:32:00 +0000
Commit:     Fabian Groffen <grobian@gentoo.org>
CommitDate: 2020-03-15 08:32:36 +0000

    mail-mta/exim-4.93.0.4: reflect DANE default in USE-flags
    
    As pointed out by Hans F. Nordhaug in bug #712360, the configuration for
    Exim has changed to default to DANE, because TLS (ssl) is enabled by
    default as well.  We handled the latter already, but didn't do the
    former, resulting in build failures with TLS disabled.
    
    Rework the logic such that we USE-enable dane (to reflect upstream) and
    that we disable it when not enabled.
    
    Closes: https://bugs.gentoo.org/712360
    Package-Manager: Portage-2.3.89, Repoman-2.3.20
    Signed-off-by: Fabian Groffen <grobian@gentoo.org>

 mail-mta/exim/exim-4.93.0.4.ebuild | 18 ++++++++++--------
 1 file changed, 10 insertions(+), 8 deletions(-)