From 6c89719951c8f80252e8cd162236ecfcf065f630 Mon Sep 17 00:00:00 2001 From: Koen Kooi Date: Wed, 21 Nov 2007 13:52:30 +0000 Subject: cryptsetup: run through oe-stylize and remove postinst hack --- packages/cryptsetup/cryptsetup_1.0.5.bb | 42 +++++++-------------------------- 1 file changed, 9 insertions(+), 33 deletions(-) (limited to 'packages/cryptsetup') 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 (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 -} -- cgit v1.2.3