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

Bug 613272

Summary: net-mail/dbmail: add support for libressl
Product: Gentoo Linux Reporter: hexum <hexumg>
Component: Current packagesAssignee: Thomas Raschbacher <lordvan>
Status: RESOLVED FIXED    
Severity: normal CC: libressl, net-mail+disabled, sandino, tsmksubc
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 561854    
Attachments: emerge.info
dbmail-3.2.3-r2.ebuild
libzdb-3.1-r1.ebuild

Description hexum 2017-03-19 22:47:47 UTC
Can't build dbmail with libressl enabled.

> [blocks B      ] dev-libs/openssl:0 ("dev-libs/openssl:0" is blocking dev-libs/libressl-2.5.1, dev-libs/libressl-2.5.0)
>  * Error: The above package list contains packages which cannot be
>  * installed at the same time on the same system.
>   (dev-libs/openssl-1.0.2k:0/0::gentoo, ebuild scheduled for merge) pulled in by dev-libs/openssl required by (dev-db/libzdb-3.1:0/0::gentoo, ebuild scheduled for merge)
>     dev-libs/openssl required by (net-mail/dbmail-3.2.3-r1:0/0::gentoo, ebuild scheduled for merge)
Comment 1 hexum 2017-03-19 22:49:09 UTC
Created attachment 467624 [details]
emerge.info
Comment 2 hexum 2017-04-03 22:07:10 UTC
Created attachment 469110 [details]
dbmail-3.2.3-r2.ebuild
Comment 3 hexum 2017-04-03 22:07:35 UTC
Created attachment 469112 [details]
libzdb-3.1-r1.ebuild
Comment 4 hexum 2017-04-03 22:09:55 UTC
Just added libressl use flag and compilation passed with no errors.
Comment 5 Thomas Raschbacher gentoo-dev 2017-07-13 07:46:42 UTC
i will have a look and test.
Comment 6 Thomas Raschbacher gentoo-dev 2018-01-26 17:51:36 UTC
just a heads up: tbh i forgot about this (I have no box with libressl at the moment, because something always gave me problems when i tried to replace openssl with libressl .. probably works by now, but I'd have to find the time to try it again).

I plan to maybe add some of the latest git patches to a -rX version some time soon, so I might just add libressl to it for testing.
Comment 7 Aaron Bauman (RETIRED) gentoo-dev 2018-04-20 19:30:03 UTC
(In reply to Thomas Raschbacher from comment #6)
> just a heads up: tbh i forgot about this (I have no box with libressl at the
> moment, because something always gave me problems when i tried to replace
> openssl with libressl .. probably works by now, but I'd have to find the
> time to try it again).
> 
> I plan to maybe add some of the latest git patches to a -rX version some
> time soon, so I might just add libressl to it for testing.

Thomas, I have tested this on the latest stable packages and it works perfectly with both dev-libs/libressl-{2.6.4, 2.7.2}.

Just need to add the following to this package and dev-db/libzdb:

ssl? (
    !libressl? ( dev-libs/openssl:0= )
    libressl? ( dev-libs/libressl:0= )
)"

If you want me to commit it let me know.
Comment 8 Thomas Raschbacher gentoo-dev 2018-04-24 05:06:11 UTC
@Aaron: ok thanks for testing - i just had put this on low priority cuz of time constraints. -- feel free to commit it ;)
Comment 9 Larry the Git Cow gentoo-dev 2018-04-24 21:21:18 UTC
The bug has been closed via the following commit(s):

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

commit 3ef2060ce07014795e8d488564729e1796bcf084
Author:     Aaron Bauman <bman@gentoo.org>
AuthorDate: 2018-04-24 21:21:07 +0000
Commit:     Aaron Bauman <bman@gentoo.org>
CommitDate: 2018-04-24 21:21:07 +0000

    net-mail/dbmail: add LibreSSL support
    
    Closes: https://bugs.gentoo.org/613272
    Package-Manager: Portage-2.3.31, Repoman-2.3.9

 net-mail/dbmail/dbmail-3.2.3-r1.ebuild | 9 ++++++---
 net-mail/dbmail/dbmail-3.2.3-r2.ebuild | 7 +++++--
 2 files changed, 11 insertions(+), 5 deletions(-)