Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 193088 - Add loop-aes (crypt) support to util-linux-2.13
Summary: Add loop-aes (crypt) support to util-linux-2.13
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-19 16:33 UTC by Hank Leininger
Modified: 2007-10-05 23:26 UTC (History)
2 users (show)

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


Attachments
Patch to restore 'crypt' / loop-aes to util-linux-2.13-r1.ebuild (util-linux-2.13-r1-crypt.diff,1.15 KB, patch)
2007-09-19 16:35 UTC, Hank Leininger
Details | Diff
Header patch needed by util-linux-2.13 + 'crypt' (util-linux-2.13-HAVE_asm_page_h-loop-aes.patch,333 bytes, patch)
2007-09-19 16:37 UTC, Hank Leininger
Details | Diff
Patch to util-linux 2.13 to add loop-aes support (util-linux-ng-2.13-1.diff.bz2,39.52 KB, patch)
2007-09-19 16:40 UTC, Hank Leininger
Details | Diff
Patch to util-linux 2.13 to add loop-aes support (util-linux-ng-2.13-1.diff.bz2,39.52 KB, application/octet-stream)
2007-09-19 16:54 UTC, Hank Leininger
Details
util-linux-2.13-r1.ebuild.diff (util-linux-2.13-r1.ebuild.diff,1.27 KB, patch)
2007-09-29 09:01 UTC, Alon Bar-Lev (RETIRED)
Details | Diff

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