From patchwork Thu Aug 8 17:38:07 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Hicks X-Patchwork-Id: 265792 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from silver.osuosl.org (silver.osuosl.org [140.211.166.136]) by ozlabs.org (Postfix) with ESMTP id A846E2C00AF for ; Fri, 9 Aug 2013 03:45:27 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id C7557328A7; Thu, 8 Aug 2013 17:45:22 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id R8iL8gmC29ZU; Thu, 8 Aug 2013 17:45:21 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 66365261CF; Thu, 8 Aug 2013 17:45:21 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id A417A1BF956 for ; Thu, 8 Aug 2013 17:45:44 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 262418D4FC for ; Thu, 8 Aug 2013 17:45:24 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id FkDJYx-N5-ha for ; Thu, 8 Aug 2013 17:45:23 +0000 (UTC) X-Greylist: delayed 00:06:38 by SQLgrey-1.7.6 Received: from marine.eng-services.ca (cmr-208-97-87-171.cr.net.cable.rogers.com [208.97.87.171]) by whitealder.osuosl.org (Postfix) with ESMTP id 7FFF18CA7F for ; Thu, 8 Aug 2013 17:45:23 +0000 (UTC) Received: from chinook.eng-services.ca (chinook.eng-services.ca [192.168.168.109]) by marine.eng-services.ca (Postfix) with ESMTP id CEECDE3217; Thu, 8 Aug 2013 13:38:43 -0400 (EDT) Received: by chinook.eng-services.ca (Postfix, from userid 1000) id AF04D2623F; Thu, 8 Aug 2013 13:38:43 -0400 (EDT) From: Martin Hicks To: buildroot Date: Thu, 8 Aug 2013 13:38:07 -0400 Message-Id: <1375983487-5516-1-git-send-email-mort@bork.org> X-Mailer: git-send-email 1.7.2.5 Subject: [Buildroot] [PATCH] Add cryptsetup package X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: buildroot-bounces@busybox.net Used for managing/creating/unlocking dm-crypt and LUKS encrypted block devices. Signed-off-by: Martin Hicks --- package/Config.in | 1 + package/cryptsetup/Config.in | 11 +++++++++++ package/cryptsetup/cryptsetup.mk | 11 +++++++++++ 3 files changed, 23 insertions(+), 0 deletions(-) create mode 100644 package/cryptsetup/Config.in create mode 100644 package/cryptsetup/cryptsetup.mk diff --git a/package/Config.in b/package/Config.in index 7069d77..94d10d9 100644 --- a/package/Config.in +++ b/package/Config.in @@ -233,6 +233,7 @@ source "package/freescale-imx/Config.in" source "package/a10disp/Config.in" source "package/acpid/Config.in" source "package/cdrkit/Config.in" +source "package/cryptsetup/Config.in" source "package/dbus/Config.in" source "package/dbus-glib/Config.in" source "package/dbus-python/Config.in" diff --git a/package/cryptsetup/Config.in b/package/cryptsetup/Config.in new file mode 100644 index 0000000..9cd9ba4 --- /dev/null +++ b/package/cryptsetup/Config.in @@ -0,0 +1,11 @@ +config BR2_PACKAGE_CRYPTSETUP + bool "cryptsetup" + select BR2_PACKAGE_LIBGCRYPT + select BR2_PACKAGE_POPT + select BR2_PACKAGE_LVM2 + select BR2_PACKAGE_E2FSPROGS + help + This tool helps manipulate dm-crypt and luks partitions for on-disk + encryption. + + http://www.saout.de/misc/dm-crypt/ diff --git a/package/cryptsetup/cryptsetup.mk b/package/cryptsetup/cryptsetup.mk new file mode 100644 index 0000000..9e839dd --- /dev/null +++ b/package/cryptsetup/cryptsetup.mk @@ -0,0 +1,11 @@ +# +# cryptsetup +# +CRYPTSETUP_VERSION = 1.6.1 +CRYPTSETUP_SOURCE = cryptsetup-$(CRYPTSETUP_VERSION).tar.bz2 +CRYPTSETUP_SITE = http://cryptsetup.googlecode.com/files +CRYPTSETUP_CONF_ENV += LIBGCRYPT_CONFIG=$(STAGING_DIR)/usr/bin/libgcrypt-config +CRYPTSETUP_DEPENDENCIES = lvm2 popt e2fsprogs libgcrypt pkg-config + + +$(eval $(autotools-package))