summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2007-11-21 13:52:30 +0000
committerKoen Kooi <koen@openembedded.org>2007-11-21 13:52:30 +0000
commit6c89719951c8f80252e8cd162236ecfcf065f630 (patch)
tree0d678519a1ffea6ee1e17d45c462f991cd6350c1
parent854a757313675bc8b041259f3854c3e31e7fb853 (diff)
cryptsetup: run through oe-stylize and remove postinst hack
-rw-r--r--packages/cryptsetup/cryptsetup_1.0.5.bb42
1 files changed, 9 insertions, 33 deletions
diff --git a/packages/cryptsetup/cryptsetup_1.0.5.bb b/packages/cryptsetup/cryptsetup_1.0.5.bb
index baee71e88c..7c070dc651 100644
--- a/packages/cryptsetup/cryptsetup_1.0.5.bb
+++ b/packages/cryptsetup/cryptsetup_1.0.5.bb
@@ -1,45 +1,21 @@
-#! /bin/sh
-#
# Copyright Matthias Hentges <devel@hentges.net> (c) 2007
-# License: MIT (see http://www.opensource.org/licenses/mit-license.php
+# 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"
+HOMEPAGE = "http://luks.endorphin.org/"
SECTION = "console"
LICENSE = "GPL"
-HOMEPAGE = "http://luks.endorphin.org/"
DEPENDS = "e2fsprogs-libs device-mapper libgcrypt popt"
-
RRECOMMENDS = "kernel-module-aes \
- kernel-module-dm-crypt \
- kernel-module-md5 \
- kernel-module-cbc \
- kernel-module-sha256 \
- "
-
-######################################################################################
-
-PR = "r1"
-
-######################################################################################
-
-inherit autotools
-
-######################################################################################
+ kernel-module-dm-crypt \
+ kernel-module-md5 \
+ kernel-module-cbc \
+ kernel-module-sha256 \
+ "
+PR = "r2"
SRC_URI = "http://luks.endorphin.org/source/cryptsetup-${PV}.tar.bz2"
-######################################################################################
+inherit autotools
-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
-}