summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Korsgaard <peter@korsgaard.com>2017-10-12 19:34:29 (GMT)
committerPeter Korsgaard <peter@korsgaard.com>2017-10-13 05:59:31 (GMT)
commit9f3bcb4f5a97faa615692e904f26143e9fc31a38 (patch)
tree2ddd320f340495ed8ab09824ebcbbacf7e812719
parent0584635a4e66976280c9b0644f632377df261039 (diff)
downloadbuildroot-9f3bcb4f5a97faa615692e904f26143e9fc31a38.tar.gz
buildroot-9f3bcb4f5a97faa615692e904f26143e9fc31a38.tar.bz2
luksmeta: new package
[Peter: add DEVELOPERS entry] Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
-rw-r--r--DEVELOPERS1
-rw-r--r--package/Config.in1
-rw-r--r--package/luksmeta/Config.in17
-rw-r--r--package/luksmeta/luksmeta.hash3
-rw-r--r--package/luksmeta/luksmeta.mk15
5 files changed, 37 insertions, 0 deletions
diff --git a/DEVELOPERS b/DEVELOPERS
index 52a2c6a..942abcf 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -1344,6 +1344,7 @@ F: package/fscryptctl/
F: package/jo/
F: package/jose/
F: package/libfastjson/
+F: package/luksmeta/
F: package/lzop/
F: package/memtool/
F: package/mosquitto/
diff --git a/package/Config.in b/package/Config.in
index 40f496a..d4cf627 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -442,6 +442,7 @@ endmenu
source "package/lshw/Config.in"
source "package/lsscsi/Config.in"
source "package/lsuio/Config.in"
+ source "package/luksmeta/Config.in"
source "package/lvm2/Config.in"
source "package/mali-t76x/Config.in"
source "package/mdadm/Config.in"
diff --git a/package/luksmeta/Config.in b/package/luksmeta/Config.in
new file mode 100644
index 0000000..62e1f3e
--- /dev/null
+++ b/package/luksmeta/Config.in
@@ -0,0 +1,17 @@
+config BR2_PACKAGE_LUKSMETA
+ bool "luksmeta"
+ depends on BR2_TOOLCHAIN_HAS_THREADS # cryptsetup -> lvm2
+ depends on BR2_USE_MMU # cryptsetup -> lvm2
+ depends on !BR2_STATIC_LIBS # cryptsetup -> lvm2
+ depends on !BR2_TOOLCHAIN_USES_MUSL # cryptsetup -> lvm2
+ select BR2_PACKAGE_CRYPTSETUP
+ help
+ LUKSMeta is a simple library and utility for storing
+ metadata in the LUKSv1 header.
+
+ https://github.com/latchset/luksmeta
+
+comment "luksmeta needs a glibc or uClibc toolchain w/ threads, dynamic library"
+ depends on BR2_USE_MMU
+ depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS \
+ || BR2_TOOLCHAIN_USES_MUSL
diff --git a/package/luksmeta/luksmeta.hash b/package/luksmeta/luksmeta.hash
new file mode 100644
index 0000000..f5d7564
--- /dev/null
+++ b/package/luksmeta/luksmeta.hash
@@ -0,0 +1,3 @@
+# Locally calculated
+sha256 0154af98e7302a172060d83d24b6d87557a822c39ba3e911461bb1a6d3a22d51 luksmeta-8.tar.bz2
+sha256 4b72eb6b5a336cd3ec837cc2d6347c23bf7574168db6b4802267700b93021abf COPYING
diff --git a/package/luksmeta/luksmeta.mk b/package/luksmeta/luksmeta.mk
new file mode 100644
index 0000000..33671e4
--- /dev/null
+++ b/package/luksmeta/luksmeta.mk
@@ -0,0 +1,15 @@
+################################################################################
+#
+# luksmeta
+#
+################################################################################
+
+LUKSMETA_VERSION = 8
+LUKSMETA_SOURCE = luksmeta-$(LUKSMETA_VERSION).tar.bz2
+LUKSMETA_SITE = https://github.com/latchset/luksmeta/releases/download/v$(LUKSMETA_VERSION)
+LUKSMETA_LICENSE = LGPL-2.1+
+LUKSMETA_LICENSE_FILES = COPYING
+LUKSMETA_DEPENDENCIES = host-pkgconf cryptsetup
+LUKSMETA_INSTALL_STAGING = YES
+
+$(eval $(autotools-package))