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

Bug 193088

Summary: Add loop-aes (crypt) support to util-linux-2.13
Product: Gentoo Linux Reporter: Hank Leininger <hlein>
Component: [OLD] UnspecifiedAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED FIXED    
Severity: normal CC: crypto+disabled, gentoo
Priority: High    
Version: 2007.0   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Patch to restore 'crypt' / loop-aes to util-linux-2.13-r1.ebuild
Header patch needed by util-linux-2.13 + 'crypt'
Patch to util-linux 2.13 to add loop-aes support
Patch to util-linux 2.13 to add loop-aes support
util-linux-2.13-r1.ebuild.diff

Description Hank Leininger 2007-09-19 16:33:42 UTC
util-linux 2.12 has support for loop-aes using the 'crypt' use flag.  That was dropped from 2.13.  I've patched util-linux-2.13-r1.ebuild to add loop-aes support back in, with the 'crypt' use flag; will submit a diff against the ebuild and the couple of files I had to add/tweak in files/.

There have been several bugs filed about 2.13 not supporting crypt, but as far as I can tell these were all from when 2.13 was still masked experimental, and the answer was always "Don't do that, can't you read?"  Now that 2.13 is unmasked, the lack of loop-aes support is a big problem for those of us using loop-aes (as I am on a half-dozen boxes).

Some caveats: first, I'm sure I didn't do this the best way; I'm still an ebuild noob.  Second, I've not attempted to keep the 'old-crypt' use flag, so some functionality is still missing.
Comment 1 Hank Leininger 2007-09-19 16:35:48 UTC
Created attachment 131315 [details, diff]
Patch to restore 'crypt' / loop-aes to util-linux-2.13-r1.ebuild
Comment 2 Hank Leininger 2007-09-19 16:37:27 UTC
Created attachment 131317 [details, diff]
Header patch needed by util-linux-2.13 + 'crypt'

This is just an updated/massaged version of what was used for util-linux-2.12.
Comment 3 Hank Leininger 2007-09-19 16:40:06 UTC
Created attachment 131319 [details, diff]
Patch to util-linux 2.13 to add loop-aes support

This is the current patch from the loop-aes maintainer against util-linux 2.13, original URL: http://loop-aes.sourceforge.net/updates/
Comment 4 Hank Leininger 2007-09-19 16:54:20 UTC
Created attachment 131321 [details]
Patch to util-linux 2.13 to add loop-aes support

This is the patch from the upstream loop-aes maintainer to add support to util-linux 2.13.  Pulled from http://loop-aes.sourceforge.net/updates/
(resubmitted as a binary because bugzilla doesn't like bz2'ed patches)
Comment 5 Alon Bar-Lev (RETIRED) gentoo-dev 2007-09-29 09:01:12 UTC
Created attachment 132154 [details, diff]
util-linux-2.13-r1.ebuild.diff

base-system: Please re-add, I use it for quite a long time.

Thanks!
Comment 6 SpanKY gentoo-dev 2007-10-05 23:26:25 UTC
added to 2.13-r2