From patchwork Thu Aug 8 17:50:27 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Hicks X-Patchwork-Id: 265796 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ozlabs.org (Postfix) with ESMTP id 6BB722C00B3 for ; Fri, 9 Aug 2013 03:59:20 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 420418D37B; Thu, 8 Aug 2013 17:59:19 +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 0XCHeQb7fHtw; Thu, 8 Aug 2013 17:59:18 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 647278BAC5; Thu, 8 Aug 2013 17:59:18 +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 6444D1BF956 for ; Thu, 8 Aug 2013 17:59:37 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id D47158BAB3 for ; Thu, 8 Aug 2013 17:59:16 +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 2XSRtVvG0Elh for ; Thu, 8 Aug 2013 17:59:13 +0000 (UTC) X-Greylist: delayed 00:08:45 by SQLgrey-1.7.6 Received: from darwin.bork.org (darwin.bork.org [65.49.60.145]) by whitealder.osuosl.org (Postfix) with ESMTPS id 1C4798B2B2 for ; Thu, 8 Aug 2013 17:59:13 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by darwin.bork.org (Postfix) with ESMTP id 2E41A19584 for ; Thu, 8 Aug 2013 13:50:28 -0400 (EDT) Received: from darwin.bork.org ([127.0.0.1]) by localhost (darwin.bork.org [127.0.0.1]) (amavisd-new, port 10024) with LMTP id D3TWOhkWaYwu for ; Thu, 8 Aug 2013 13:50:27 -0400 (EDT) Received: by darwin.bork.org (Postfix, from userid 1000) id E1E291A069; Thu, 8 Aug 2013 13:50:27 -0400 (EDT) Date: Thu, 8 Aug 2013 13:50:27 -0400 From: Martin Hicks To: buildroot Message-ID: <20130808175027.GA19089@darwin.bork.org> References: <1375983487-5516-1-git-send-email-mort@bork.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1375983487-5516-1-git-send-email-mort@bork.org> User-Agent: Mutt/1.5.21 (2010-09-15) Subject: Re: [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: , Errors-To: buildroot-bounces@busybox.net Sender: buildroot-bounces@busybox.net Here's the updated patch. Includes cryptsetup 1.6.2 and an updated link to the Cryptsetup website. 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..c8788bb --- /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. + + https://code.google.com/p/cryptsetup/ diff --git a/package/cryptsetup/cryptsetup.mk b/package/cryptsetup/cryptsetup.mk new file mode 100644 index 0000000..72ea389 --- /dev/null +++ b/package/cryptsetup/cryptsetup.mk @@ -0,0 +1,11 @@ +# +# cryptsetup +# +CRYPTSETUP_VERSION = 1.6.2 +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))