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

Bug 645252

Summary: sys-apps/ucspi-ssl add libressl support
Product: Gentoo Linux Reporter: Alexander Hof <gentoobugs>
Component: Current packagesAssignee: Alex Efros <powerman-asdf>
Status: RESOLVED FIXED    
Severity: normal CC: gentoobugs, jstein, proxy-maint
Priority: Normal Keywords: PullRequest
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=625574
https://github.com/gentoo/gentoo/pull/11177
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 561854    
Attachments: emerge --info
emerge --info '=sys-apps/ucspi-ssl-0.99::nyx'
emerge -pqv '=sys-apps/ucspi-ssl-0.99::nyx'
build.log
environment
make output

Description Alexander Hof 2018-01-21 15:01:47 UTC
Created attachment 515656 [details]
emerge --info

Currently sys-apps/ucspi-ssl only allows openssl as SSL provider.

Upstream (http://www.fehcom.de/ipnet/ucspi-ssl.html) says they support libressl as well - at least on OpenBSD 6.0. However I couldn't find a ucspi-ssl package neither in OpenBSD's ports (http://cvsweb.openbsd.org) nor on a machine running OpenBSD 6.2/current.

FreeBSD is also aware of ucspi-ssl currently having trouble with libressl. Their libressl resources page (https://wiki.freebsd.org/LibreSSL/Ports#LibreSSL_2.6.1) mentions the same error in compile time I am facing (X509_get0_tbs_sigalg).

For testing and providing emerge logs I simply changed the dependency in the ebuild from openssl to libressl. However the same compile time error occurs when building the source by hand.
Comment 1 Alexander Hof 2018-01-21 15:04:08 UTC
Created attachment 515658 [details]
emerge --info '=sys-apps/ucspi-ssl-0.99::nyx'

'nyx' is my overlay where I changed the ebuild to use libressl.
Comment 2 Alexander Hof 2018-01-21 15:05:11 UTC
Created attachment 515660 [details]
emerge -pqv '=sys-apps/ucspi-ssl-0.99::nyx'
Comment 3 Alexander Hof 2018-01-21 15:05:33 UTC
Created attachment 515662 [details]
build.log
Comment 4 Alexander Hof 2018-01-21 15:06:01 UTC
Created attachment 515664 [details]
environment
Comment 5 Alexander Hof 2018-01-21 15:06:25 UTC
Created attachment 515666 [details]
make output
Comment 6 Alex Efros 2018-01-21 17:15:59 UTC
I can confirm this, but can't fix it. I've reported this issue upstream.
Comment 7 Larry the Git Cow gentoo-dev 2019-05-21 00:29:30 UTC
The bug has been closed via the following commit(s):

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

commit 71b29a42b07e8af16132a8a59f306727c197960f
Author:     Alex Efros <powerman-asdf@yandex.ru>
AuthorDate: 2019-02-28 18:02:37 +0000
Commit:     Stefan Strogin <steils@gentoo.org>
CommitDate: 2019-05-21 00:27:20 +0000

    sys-apps/ucspi-ssl: Version bump to 0.99e
    
    Add USE=libressl; EAPI=7.
    
    Closes: https://bugs.gentoo.org/678930
    Closes: https://bugs.gentoo.org/645252
    Closes: https://bugs.gentoo.org/625574
    Package-Manager: Portage-2.3.51, Repoman-2.3.11
    Signed-off-by: Aleksandr Efros <powerman-asdf@yandex.ru>
    Closes: https://github.com/gentoo/gentoo/pull/11177
    Signed-off-by: Stefan Strogin <steils@gentoo.org>

 sys-apps/ucspi-ssl/Manifest               |  1 +
 sys-apps/ucspi-ssl/metadata.xml           |  3 ++
 sys-apps/ucspi-ssl/ucspi-ssl-0.99e.ebuild | 62 +++++++++++++++++++++++++++++++
 3 files changed, 66 insertions(+)