Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 71603 - loop-aes in portage
Summary: loop-aes in portage
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL:
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks: 77695
  Show dependency tree
 
Reported: 2004-11-17 14:21 UTC by Marcin Kryczek (RETIRED)
Modified: 2005-01-31 08:48 UTC (History)
0 users

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


Attachments
loop-aes-2.2d.ebuild (loop-aes-2.2d.ebuild,1.78 KB, text/plain)
2004-11-17 14:22 UTC, Marcin Kryczek (RETIRED)
Details
patch for util-linux ebuild (util-linux.patch,2.04 KB, patch)
2004-11-17 14:23 UTC, Marcin Kryczek (RETIRED)
Details | Diff
ebuild for new version (loop-aes-3.0a.ebuild,1.78 KB, text/plain)
2004-11-29 10:11 UTC, Marcin Kryczek (RETIRED)
Details
patch for util-linux to compile with loop-aes-3.0a (util-linux.patch,2.22 KB, patch)
2004-11-29 10:15 UTC, Marcin Kryczek (RETIRED)
Details | Diff
loop-aes-3.0b.ebuild (loop-aes-3.0b.ebuild,1.32 KB, text/plain)
2005-01-28 05:44 UTC, Stefan Schweizer (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marcin Kryczek (RETIRED) gentoo-dev 2004-11-17 14:21:45 UTC
just wanted to have loop-aes in portage... here's an abuild and patch for util-linux, which allow user to chose between cryptoapi and loop-aes support. note, that util-linux depends on sys-fs/loop-aes - i'm not sure if it's the best location for it (if you want - change it). also - note that i've added 'loop-aes' into USE flags
Comment 1 Marcin Kryczek (RETIRED) gentoo-dev 2004-11-17 14:22:41 UTC
Created attachment 44187 [details]
loop-aes-2.2d.ebuild
Comment 2 Marcin Kryczek (RETIRED) gentoo-dev 2004-11-17 14:23:30 UTC
Created attachment 44188 [details, diff]
patch for util-linux ebuild
Comment 3 Carsten Lohrke (RETIRED) gentoo-dev 2004-11-17 14:44:32 UTC
Don't know if it's worth it, having dm-crypt in mind. Since you need to agree for the patch, it's your bug base-system herd.
Comment 4 Marcin Kryczek (RETIRED) gentoo-dev 2004-11-17 15:30:19 UTC
actually i don't like dm-crypt. i've tried it some time ago and it crashed after about month of using;/ besides - it was damm slow (comparing to loop-aes). i'm not sure if that issues aren't fixed now (i've tried it in 2.6.2 or 2.6.3 kernel as far as i remember), but anyway many people still uses cryptoloop and loop-aes and it's often not so easy to move all data to new crypting system
Comment 5 Lukas Miczka 2004-11-18 09:29:53 UTC
loop-aes would be useful in portage IMHO
Comment 6 Karol Wojtaszek (RETIRED) gentoo-dev 2004-11-18 09:45:48 UTC
I'm agree with cpu, it should be added to portage.
Comment 7 Marcin Kryczek (RETIRED) gentoo-dev 2004-11-29 10:11:26 UTC
Created attachment 44937 [details]
ebuild for new version
Comment 8 Marcin Kryczek (RETIRED) gentoo-dev 2004-11-29 10:15:32 UTC
Created attachment 44939 [details, diff]
patch for util-linux to compile with loop-aes-3.0a
Comment 9 Marcin Kryczek (RETIRED) gentoo-dev 2004-11-29 10:16:37 UTC
i've added ebuilds for loop-aes-3.0a above (hope someone'll add it to portage at last;/)
Comment 10 Lars Weiler (RETIRED) gentoo-dev 2005-01-24 10:22:21 UTC
And the current util-linux also supports only loop-aes instead of the kernel-based cryptoloop.
Comment 11 Stefan Schweizer (RETIRED) gentoo-dev 2005-01-28 05:44:43 UTC
Created attachment 49733 [details]
loop-aes-3.0b.ebuild

New ebuild, please test and comment
Comment 12 Adam Twardowski 2005-01-30 23:22:59 UTC
It would be nice if there was a way to use the loop-AES kernel patch without having to manually patch my sources.  I'd rather build this into my kernel instead of as a module.

Quoting loop-AES.README
"
kernel-2.[46].*.diff        Kernel patch for those people who prefer not to
                            use modules. Before this patch can be applied to
                            your kernel, drivers/block/loop.c and
                            include/linux/loop.h source files must be
                            removed using 'rm' command. Obviously applying
                            this patch changes your kernel sources, so this
                            is not entirely hassle free. This patch is
                            against recent mainline kernel. If this patch
                            doesn't apply cleanly to your kernel, I don't
                            want to know about it. Note: you only need to
                            build loop.o module or apply this patch but not
                            both.
"
Comment 13 Stefan Schweizer (RETIRED) gentoo-dev 2005-01-31 04:26:05 UTC
Our gentoo-dev-sources patchset is feature-frozen, so I dont think we have any chance to get it in there. Any specific reason why external modules are not so good for you?
Comment 14 Marcin Kryczek (RETIRED) gentoo-dev 2005-01-31 04:35:37 UTC
hmm - IMO there's nothing wrong in external module, however i do not understand why you guyz don't want it in official portage tree... this bug is the only source of new loop-aes ebuilds..
Comment 15 Stefan Schweizer (RETIRED) gentoo-dev 2005-01-31 08:33:17 UTC
because none of the developers here added it and took up maintainance, also no one volunteered to maintain this pkg

I added it to portage now, thank you
Comment 16 Marcin Kryczek (RETIRED) gentoo-dev 2005-01-31 08:48:01 UTC
nice to hear;>
there's one imperfection in that ebuild. loop-aes offers 'make tests', which should be done if one has 'maketest' in FEATURES. this ebuild skip that part, becouse those test needs loop module to be loaded. i didn't know what to do if user has already older version loaded. should portage try to unload it first? (well - but what if module is in use?) or maybe tests should fail in such situations? (but then they'll almost always fails, which certainly isn't good solution). 
if you got any idea how to fix that, let me know and i'll add tests (or do it by your own if you like)