@@ -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"
new file mode 100644
@@ -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/
new file mode 100644
@@ -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))