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"
--- /dev/null
+config BR2_PACKAGE_CRYPTSETUP
+ bool "cryptsetup"
+ select BR2_PACKAGE_LIBGCRYPT
+ select BR2_PACKAGE_POPT
+ select BR2_PACKAGE_LVM2
+ select BR2_PACKAGE_E2FSPROGS
+ depends on BR2_LARGEFILE # lvm2, util-linux
+ depends on BR2_USE_MMU # lvm2
+ depends on BR2_USE_WCHAR # util-linux
+ help
+ This tool helps manipulate dm-crypt and luks partitions for
+ on-disk encryption.
+
+ https://code.google.com/p/cryptsetup/
+
+comment "cryptsetup needs largefile and wchar support in toolchain"
+ depends on !BR2_LARGEFILE || !BR2_USE_WCHAR
--- /dev/null
+################################################################################
+#
+# 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 host-pkgconf
+CRYPTSETUP_LICENSE = GPLv2+ (programs), LGPLv2.1+ (library)
+CRYPTSETUP_LICENSE_FILES = COPYING COPYING.LGPL
+
+$(eval $(autotools-package))