Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 627122 - sys-fs/cryptsetup have no optional dependencies on libressl
Summary: sys-fs/cryptsetup have no optional dependencies on libressl
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-08-05 19:40 UTC by hexum
Modified: 2017-08-05 21:32 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description hexum 2017-08-05 19:40:43 UTC
Does cryptsetup support building with libressl?

Ebuild sys-fs/cryptsetup-1.7.5::gentoo provides only next options
exactly-one-of ( gcrypt kernel nettle openssl )
Comment 1 Arfrever Frehtes Taifersar Arahesis 2017-08-05 21:04:20 UTC
Read ebuild:

CRYPTO_BACKENDS="+gcrypt kernel nettle openssl"

IUSE="${CRYPTO_BACKENDS} libressl ..."
                         ^^^^^^^^

REQUIRED_USE="^^ ( ${CRYPTO_BACKENDS//+/} )
..."

LIB_DEPEND="...
        openssl? (
                !libressl? ( dev-libs/openssl:0=[static-libs(+)] )
                libressl? ( dev-libs/libressl:=[static-libs(+)] )
        )
..."



So to use LibreSSL, you must disable "gcrypt" USE flag and enable "openssl" and "libressl" USE flags.
Comment 2 hexum 2017-08-05 21:32:58 UTC
OK

Looks like libressl is a drop-in replacement for openssl in this case.