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

Bug 478374

Summary: sys-fs/udisks-2.1.0: USE cryptsetup is automagic
Product: Gentoo Linux Reporter: Nikoli <nikoli>
Component: Current packagesAssignee: Freedesktop bugs <freedesktop-bugs>
Status: RESOLVED WORKSFORME    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Nikoli 2013-07-27 17:22:46 UTC
USE crypsetup does not change installed files anyhow, udisks uses cryptsetup even when built with USE="-crypsetup", no option related to it is in configure.ac, in Makefile* building src/udiskslinuxencrypted.c and src/udiskslinuxblock.c is not optional.
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2013-07-28 09:46:09 UTC
It's not automagic because the package doesn't link against to cryptsetup libraries which is why it's only in RDEPEND instead of both, DEPEND and RDEPEND.
AFAIK the functionality is used only for cryptsetup managed disks/partitions
Or provide a way to reproduce a real problem with the way the dependency is handled in the ebuild
Comment 2 Nikoli 2013-07-28 15:37:29 UTC
Now metadata.xml has:
<flag name='cryptsetup'>Enable <pkg>sys-fs/cryptsetup</pkg> support</flag>

So with USE="-crypsetup" user expects support for cryptsetup be disabled, but it is not. More correct description would be something like "Depend on <pkg>sys-fs/cryptsetup</pkg> for supporting encrypted devices".