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

Bug 78556

Summary: util-linux: USE=old-crypt fails if USE=crypt
Product: Gentoo Linux Reporter: Andreas Proschofsky (RETIRED) <suka>
Component: [OLD] Core systemAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Andreas Proschofsky (RETIRED) gentoo-dev 2005-01-18 11:47:49 UTC
the old-crypt useflag in util-linux only works if you also specify -crypt. As "crypt" is a global use flag which is also used for other stuff, the ebuild should be corrected so that the loop-aes patch only gets applied if the cryptoapi wasn't applied before.

And just for interest: I know that cryptoapi has its issues, but why do we default on something (loop-aes) which none of our default kernels supply at all? Wouldn't it be more logical to use new-crypt for loop-aes?

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 SpanKY gentoo-dev 2005-01-18 12:28:34 UTC
cryptoapi is crap ... it's dead upstream and it only still applies to util-linux becuase people (like myself) have been forward porting it

i stopped doing that with 2.12p

i'll touch up the ebuild to do `! use old-crypt && use crypt && epatch loop-aes`
Comment 2 SpanKY gentoo-dev 2005-01-18 16:47:16 UTC
added ! use old-crypt logic to cvs