Skip to contentSkip to conversation

Add cryptsetup package

PATCH New Martin Hicks 1 participant 3 messages Aug 8, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Add cryptsetup package

Used for managing/creating/unlocking dm-crypt and LUKS encrypted block devices.

---
 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
package/Config.in +1 -0
index 7069d77..94d10d9 100644
@@ -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"
package/cryptsetup/Config.in new file +11 -0
new file mode 100644
index 0000000..9cd9ba4
@@ -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/
package/cryptsetup/cryptsetup.mk new file +11 -0
new file mode 100644
index 0000000..9e839dd
@@ -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))
Signature · 1 line
1.7.2.5
#1 lore raw

PATCH 1/1 Add cryptsetup package

Actually, ignore this for now. I forgot to check for upstream updates before submitting this package.
Sorry for the noise,
mh

Quoted 61 lines · Martin Hicks

Used for managing/creating/unlocking dm-crypt and LUKS encrypted block devices.

---
 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
package/Config.in +1 -0
index 7069d77..94d10d9 100644
@@ -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"
package/cryptsetup/Config.in new file +11 -0
new file mode 100644
index 0000000..9cd9ba4
@@ -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/
package/cryptsetup/cryptsetup.mk new file +11 -1
new file mode 100644
index 0000000..9e839dd
@@ -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))
--

1.7.2.5

Signature · 2 lines
Martin Hicks P.Eng.      |         mort at bork.org
Bork Consulting Inc.     |   +1 (613) 266-2296
#2 lore raw

PATCH 1/1 Add cryptsetup package

In reply to Martin Hicks

Here's the updated patch. Includes cryptsetup 1.6.2 and an updated link to the Cryptsetup website.

Signature · 19 lines
Martin Hicks P.Eng.    |      mort at bork.org
Bork Consulting Inc.   |  +1 (613) 266-2296


From: Martin Hicks <[email protected]>
Date: Thu, 8 Aug 2013 13:12:56 -0400
Subject: [PATCH] Add cryptsetup package

Used for managing/creating/unlocking dm-crypt and LUKS encrypted
block devices.

Signed-off-by: Martin Hicks <[email protected]>
---
 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
package/Config.in +1 -0
index 7069d77..94d10d9 100644
@@ -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"
package/cryptsetup/Config.in new file +11 -0
new file mode 100644
index 0000000..c8788bb
@@ -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/
package/cryptsetup/cryptsetup.mk new file +11 -0
new file mode 100644
index 0000000..72ea389
@@ -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))
Signature · 1 line
1.7.2.5