Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 77965 - New ebuild for cryptsetup-luks
Summary: New ebuild for cryptsetup-luks
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: rob holland (RETIRED)
URL: http://clemens.endorphin.org/LUKS
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-14 05:33 UTC by Dirk Heinrichs
Modified: 2005-06-01 16:59 UTC (History)
1 user (show)

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


Attachments
The ebuild (cryptsetup-luks-0.2.2.ebuild,1.19 KB, text/plain)
2005-01-14 05:35 UTC, Dirk Heinrichs
Details
Patch for libgcrypt ebuild (libgcrypt-1.2.1.ebuild.patch,895 bytes, patch)
2005-01-14 05:42 UTC, Dirk Heinrichs
Details | Diff
Patch for libgpg-error ebuild (libgpg-error-1.0-r1.ebuild.patch,1.13 KB, patch)
2005-01-14 05:43 UTC, Dirk Heinrichs
Details | Diff
Patch for /etc/init.d/checkfs (checkfs.patch,1.36 KB, patch)
2005-01-14 05:45 UTC, Dirk Heinrichs
Details | Diff
Patch for /etc/init.d/localmount (localmount.patch,1.10 KB, patch)
2005-01-14 05:46 UTC, Dirk Heinrichs
Details | Diff
Patch for /etc/conf.d/cryptfs (cryptfs.patch,407 bytes, patch)
2005-01-14 05:47 UTC, Dirk Heinrichs
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dirk Heinrichs 2005-01-14 05:33:48 UTC
Attached is an ebuild for the LUKS (Linux Unified Key Setup) variant of
cryptsetup, together with patches for the changes needed to make this work.

See URL for details.

Note that it blocks cryptsetup, since it provides the same command.

Reproducible: Always
Steps to Reproduce:
Comment 1 Dirk Heinrichs 2005-01-14 05:35:19 UTC
Created attachment 48450 [details]
The ebuild

cryptsetup-luks ebuild, derived from cryptsetup ebuild.
Comment 2 Dirk Heinrichs 2005-01-14 05:42:34 UTC
Created attachment 48452 [details, diff]
Patch for libgcrypt ebuild

For cryptsetup-luks, libgcrypt should be installed in /lib.
Comment 3 Dirk Heinrichs 2005-01-14 05:43:33 UTC
Created attachment 48453 [details, diff]
Patch for libgpg-error ebuild

For cryptsetup-luks, libgpg-error should be installed in /lib.
Comment 4 Dirk Heinrichs 2005-01-14 05:45:05 UTC
Created attachment 48454 [details, diff]
Patch for /etc/init.d/checkfs

Make checkfs aware of an additional type=luks entry in /etc/conf.d/cryptfs.
Comment 5 Dirk Heinrichs 2005-01-14 05:46:15 UTC
Created attachment 48455 [details, diff]
Patch for /etc/init.d/localmount

Make localmount aware of type=luks entry in etc/conf.d/cryptfs.
Comment 6 Dirk Heinrichs 2005-01-14 05:47:13 UTC
Created attachment 48456 [details, diff]
Patch for /etc/conf.d/cryptfs

Add comment about type=luks entry.
Comment 7 Dirk Heinrichs 2005-01-14 06:03:59 UTC
Forgot to mention: Since cryptsetup-luks is backwards compatible with
cryptsetup, it can be used a replacement. However, even if the LUKS features
are not used, the patches for the libgpg-error and libgcrypt ebuilds are
needed.
Comment 8 Daniel Black (RETIRED) gentoo-dev 2005-05-28 16:54:38 UTC
general thoughts are that while it is possible to place libs in /lib for  
crypto packages bug like #36453 really highlight how bloated the top level 
directories are in gentoo. Is it possible to static link those packages that 
require them in a top level directory rather than bloat the top level of 
everyone. 
Comment 9 Dirk Heinrichs 2005-05-30 23:01:02 UTC
Meanwhile, there are ebuilds on the LUKS homepage which build both a static 
and a dynamically linked version. There is also a special version of genkernel 
so creating LiveCDs with LUKS support should be fairly easy. 
 
See http://luks.endorphin.org/gentoo 
 
Comment 10 Benjamin Smee (strerror) (RETIRED) gentoo-dev 2005-06-01 16:59:01 UTC
cryptsetup-luks is in cvs. Check it out and let me know how if there are any
problems