This was originally "no dm-crypt ebuild" (http://bugs.gentoo.org/show_bug.cgi?id=43146) I have broken off cryptsetup (the tool used for setting up dm-crypt devices, from the dm-crypt ebuild, and put it in its own ebuild (here). note that this DOES NOT OBSOLETE the previous bug. It complements it. This is needed for the following reason. the dm-crypt ebuild contains the .rc and .conf files, and should eventually get integrated with baselayout or similar (just as crypto-loop is). The cryptsetup ebuild should be allowed to evolve independent from the gentoo-specific stuff. cryptsetup-0.1.ebuild to follow.
Created attachment 27066 [details] cryptsetup-0.1 ebuild (sys-apps/)
changed license to GPL-2 and marked ~x86. Will leave as is till next version bump.
Created attachment 27143 [details] 0.2-pre1 ebuild cryptsetup-0.2-pre1 ebuild. static cryptsetup binary installed to /sbin (Thanks Mathieu Segaud) NOTE: must have libdevmapper.a from device-mapper ebuild. this does NOT install by default. I have submitted this as bug 44223. to make use of this ebuild (while the device-mapper ebuild remains unchanged), copy lib/ioctl/libdevmapper.a out of the device-mapper build dir. sorry hope this changes quite soon. everything else installed to /usr including dynamic libs.
Justin, >=sys-kernel/linux-headers-2.6.1 is no longer required for cryptsetup (there are some #ifdef BLKGETSIZE64 sections in setup.c now). Also, the device-mapper ebuild now puts libdevmapper.a in /usr/lib automatically.
Created attachment 32485 [details] cryptsetup-0.1-r1.ebuild new ebuild for cryptsetup.minor cleanup
*** Bug 54663 has been marked as a duplicate of this bug. ***
What's up to this bug? I just can't find a cryptsetup ebuild in portage (neither masked nor unmasked). It's really annoying to read several docus and all want me to manually download and compile cryptsetup. That's not why I'm using portage, isn't it. :-(
I've commited an ebuild to cvs for cryptsetup-0.1. Please open a new bug for the pre version when its actually listed on Christophe's site. I don't think its worth putting in portage until he starts advertising it there. Thanks for the submitted ebuilds but I prefered other ways of doing things. If my ebuild is in error in any way, please let me know.