summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Hentges <oe@hentges.net>2007-11-20 19:51:17 +0000
committerMatthias Hentges <oe@hentges.net>2007-11-20 19:51:17 +0000
commita329540b6e9177b206851f6ab3e7a131d4ddaf91 (patch)
tree76afd9f5b1d1cc478fefb79b462dc533ee67368c
parent859ad6c3c019b5c74dcc5fded8f2a787ce90184e (diff)
Add cryptsetup: cryptsetup with luks support creates and manages encrypted containers and partitions
-rw-r--r--packages/cryptsetup/.mtn2git_empty0
-rw-r--r--packages/cryptsetup/cryptsetup_1.0.5.bb44
2 files changed, 44 insertions, 0 deletions
diff --git a/packages/cryptsetup/.mtn2git_empty b/packages/cryptsetup/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/cryptsetup/.mtn2git_empty
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 <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
+}