Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 44347 - app-crypt/dm-crypt-0.1 ebuild request
Summary: app-crypt/dm-crypt-0.1 ebuild request
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High enhancement (vote)
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-11 05:38 UTC by Daniel Webert
Modified: 2004-08-16 04:26 UTC (History)
2 users (show)

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


Attachments
dm-crypt-0.1.ebuild (dm-crypt-0.1.ebuild,666 bytes, text/plain)
2004-06-24 10:59 UTC, Boris
Details
dm-crypt-0.1.ebuild (dm-crypt-0.1.ebuild,676 bytes, text/plain)
2004-06-24 23:14 UTC, Boris
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Webert 2004-03-11 05:38:02 UTC
app-crypt/dm-crypt-0.1 ebuild request

dm-crypt: a device-mapper crypto target
http://www.saout.de/misc/dm-crypt/

---
andrew morton switched from cryptoapi to dm-crypt in kernel 2.6.3+
http://lkml.org/lkml/2004/2/18/19 (english)
http://www.heise.de/security/news/meldung/45085 (german)
Comment 1 Jason Cox (RETIRED) gentoo-dev 2004-04-28 13:40:50 UTC
Could you possibly write an ebuild that works and post it here?
Comment 2 Martin Holzer (RETIRED) gentoo-dev 2004-05-21 00:12:27 UTC
Please look at http://www.gentoo.org/doc/en/gentoo-howto.xml for instructions how to create ebuild files.
Comment 3 Boris 2004-06-24 10:59:01 UTC
Created attachment 34066 [details]
dm-crypt-0.1.ebuild

I made a first ebuild-approach for this. I compiles cleanly, but when I tried
my luck and get a test run I just get.

$ echo 0 `blockdev --getsize /dev/loop0` crypt aes-plain
01234567889abcdef0123456789abcdef 0 /dev/loop0 0 | dmsetup create volume1
device-mapper ioctl cmd 9 failed: Invalid argument
Command failed

Do not know how to fix this. Perhaps anyone knows.


I just wanted to share this little ebuild, so that others can try their
luck/knockledge ;-)

Please note that this ebuild depends on libdevmapper (see Bug #55057 for it).
Comment 4 Boris 2004-06-24 23:14:32 UTC
Created attachment 34109 [details]
dm-crypt-0.1.ebuild

I changed DEPEND, because libdevmapper was already in portage as
sys-libs/device-mapper.
Comment 5 Martijn Koster 2004-07-26 03:09:58 UTC
This ebuild worked for me, thanks!


Portage 2.0.50-r9 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3.20040420-r0, 2.6.7-gentoo-r11)
=================================================================
System uname: 2.6.7-gentoo-r11 i686 Pentium III (Coppermine)
Gentoo Base System version 1.4.16
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -mcpu=i686 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -mcpu=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://www.mirror.ac.uk/sites/www.ibiblio.org/gentoo/ http://ftp.easynet.nl/mirror/gentoo/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X alsa apm arts avi berkdb bonobo crypt cups encode esd foomaticdb gdbm gif gnome gpm gtk gtk2 gtkhtml guile imlib java jpeg kde ldap libg++ libwww mad mikmod motif mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sdl slang spell ssl svga tcpd truetype x86 xml2 xmms xv zlib"
Comment 6 rob holland (RETIRED) gentoo-dev 2004-08-16 04:26:06 UTC
This isn't an ebuild for dm-crypt, it is an ebuild for cryptsetup. There is an ebuild in portage now. Closing this ticket.