luksmeta: new package
authorPeter Korsgaard <peter@korsgaard.com>
Thu, 12 Oct 2017 19:34:29 +0000 (21:34 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Fri, 13 Oct 2017 05:59:31 +0000 (07:59 +0200)
[Peter: add DEVELOPERS entry]
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
DEVELOPERS
package/Config.in
package/luksmeta/Config.in [new file with mode: 0644]
package/luksmeta/luksmeta.hash [new file with mode: 0644]
package/luksmeta/luksmeta.mk [new file with mode: 0644]

index 52a2c6ac37f7d310edc7c37dbab985f13136da84..942abcf836af111b1581c03877e4f3e1bc5f3942 100644 (file)
@@ -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/
index 40f496ae6a99803e6007ad74f2ca4d697d7176ca..d4cf62708a86fc0bdc245ac874f3e8a64b843696 100644 (file)
@@ -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 (file)
index 0000000..62e1f3e
--- /dev/null
@@ -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 (file)
index 0000000..f5d7564
--- /dev/null
@@ -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 (file)
index 0000000..33671e4
--- /dev/null
@@ -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))