Add cryptsetup: cryptsetup with luks support creates and manages encrypted containers...
authorMatthias Hentges <oe@hentges.net>
Tue, 20 Nov 2007 19:51:17 +0000 (19:51 +0000)
committerMatthias Hentges <oe@hentges.net>
Tue, 20 Nov 2007 19:51:17 +0000 (19:51 +0000)
packages/cryptsetup/.mtn2git_empty [new file with mode: 0644]
packages/cryptsetup/cryptsetup_1.0.5.bb [new file with mode: 0644]

diff --git a/packages/cryptsetup/.mtn2git_empty b/packages/cryptsetup/.mtn2git_empty
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/packages/cryptsetup/cryptsetup_1.0.5.bb b/packages/cryptsetup/cryptsetup_1.0.5.bb
new file mode 100644 (file)
index 0000000..38da5cb
--- /dev/null
@@ -0,0 +1,44 @@
+#! /bin/sh
+#
+# Copyright Matthias Hentges <devel@hentges.net> (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
+}