Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 645252 - sys-apps/ucspi-ssl add libressl support
Summary: sys-apps/ucspi-ssl add libressl support
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Alex Efros
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: libressl-support
  Show dependency tree
 
Reported: 2018-01-21 15:01 UTC by Alexander Hof
Modified: 2019-05-21 00:29 UTC (History)
3 users (show)

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


Attachments
emerge --info (emerge-info.txt,3.94 KB, text/plain)
2018-01-21 15:01 UTC, Alexander Hof
Details
emerge --info '=sys-apps/ucspi-ssl-0.99::nyx' (emerge-info-ucspi-ssl.txt,4.04 KB, text/plain)
2018-01-21 15:04 UTC, Alexander Hof
Details
emerge -pqv '=sys-apps/ucspi-ssl-0.99::nyx' (emerge-pqv.txt,54 bytes, text/plain)
2018-01-21 15:05 UTC, Alexander Hof
Details
build.log (build.log,19.02 KB, text/plain)
2018-01-21 15:05 UTC, Alexander Hof
Details
environment (environment,112.69 KB, text/plain)
2018-01-21 15:06 UTC, Alexander Hof
Details
make output (make-output.txt,484 bytes, text/plain)
2018-01-21 15:06 UTC, Alexander Hof
Details

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