[oe-commits] org.oe.dev Add cryptsetup: cryptsetup with luks support creates and manages encrypted containers and partitions

coredump2 commit openembedded-commits at lists.openembedded.org
Tue Nov 20 20:04:43 UTC 2007


Add cryptsetup: cryptsetup with luks support creates and manages encrypted containers and partitions

Author: coredump2 at openembedded.org
Branch: org.openembedded.dev
Revision: ab14a7f33b13f2205a64293e2f2e29b20e943bf3
ViewMTN: http://monotone.openembedded.org/revision/info/ab14a7f33b13f2205a64293e2f2e29b20e943bf3
Files:
1
packages/cryptsetup
packages/cryptsetup/cryptsetup_1.0.5.bb
Diffs:

#
# mt diff -r5c78b2077c12b748ddbcb3eac965642d2d89c95c -rab14a7f33b13f2205a64293e2f2e29b20e943bf3
#
# 
# 
# add_dir "packages/cryptsetup"
# 
# add_file "packages/cryptsetup/cryptsetup_1.0.5.bb"
#  content [2fc012114b380aa1a4c3f28a6b4d45b0124a0677]
# 
============================================================
--- packages/cryptsetup/cryptsetup_1.0.5.bb	2fc012114b380aa1a4c3f28a6b4d45b0124a0677
+++ packages/cryptsetup/cryptsetup_1.0.5.bb	2fc012114b380aa1a4c3f28a6b4d45b0124a0677
@@ -0,0 +1,44 @@
+#! /bin/sh
+#
+# Copyright Matthias Hentges <devel at 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
+}






More information about the Openembedded-commits mailing list