From: Matthias Hentges Date: Tue, 20 Nov 2007 19:51:17 +0000 (+0000) Subject: Add cryptsetup: cryptsetup with luks support creates and manages encrypted containers... X-Git-Tag: Release-2010-05/1~8326^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a329540b6e9177b206851f6ab3e7a131d4ddaf91;p=openembedded.git Add cryptsetup: cryptsetup with luks support creates and manages encrypted containers and partitions --- diff --git a/packages/cryptsetup/.mtn2git_empty b/packages/cryptsetup/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 diff --git a/packages/cryptsetup/cryptsetup_1.0.5.bb b/packages/cryptsetup/cryptsetup_1.0.5.bb new file mode 100644 index 0000000000..38da5cb155 --- /dev/null +++ b/packages/cryptsetup/cryptsetup_1.0.5.bb @@ -0,0 +1,44 @@ +#! /bin/sh +# +# Copyright Matthias Hentges (c) 2007 +# License: MIT (see http://www.opensource.org/licenses/mit-license.php +# for a copy of the license) +# +# Filename: cryptsetup_1.0.5.bb +# Date: 20071120 (YMD) + +DESCRIPTION = "cryptsetup with luks support creates and manages encrypted containers and partitions" +SECTION = "console" +LICENSE = "GPL" +HOMEPAGE = "http://luks.endorphin.org/" +DEPENDS = "e2fsprogs-libs device-mapper" + +RRECOMMENDS = "kernel-module-aes \ + kernel-module-dm-crypt \ + kernel-module-md5 \ + kernel-module-cbc \ + " + +###################################################################################### + +PR = "r0" + +###################################################################################### + +inherit autotools + +###################################################################################### + +SRC_URI = "http://luks.endorphin.org/source/cryptsetup-${PV}.tar.bz2" + +###################################################################################### + +pkg_postinst() { + if test "x$D" = "x" + then + # Work around a problem in module ipk's, where depmod is not always + # run after installing a kernel-module. + test -x /sbin/depmod && /sbin/depmod -a + /bin/true + fi +}