summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Korsgaard <peter@korsgaard.com>2017-10-03 15:29:57 (GMT)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-10-07 21:32:41 (GMT)
commitaa06b72f3b24594056df60287dfb9669158d6b55 (patch)
tree2d8a464af2fa9f3d2fb1c3bae538e6d8f6185d35
parentb65e491b99591b6c55dcaa3c4003f03f4ad0d57e (diff)
downloadbuildroot-aa06b72f3b24594056df60287dfb9669158d6b55.tar.gz
buildroot-aa06b72f3b24594056df60287dfb9669158d6b55.tar.bz2
jose: new package
Signed-off-by: Peter Korsgaard <peter@korsgaard.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r--DEVELOPERS1
-rw-r--r--package/Config.in1
-rw-r--r--package/jose/Config.in14
-rw-r--r--package/jose/jose.hash3
-rw-r--r--package/jose/jose.mk15
5 files changed, 34 insertions, 0 deletions
diff --git a/DEVELOPERS b/DEVELOPERS
index daa63be..64acc7d 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -1337,6 +1337,7 @@ F: package/dump1090/
F: package/flickcurl/
F: package/fscryptctl/
F: package/jo/
+F: package/jose/
F: package/libfastjson/
F: package/lzop/
F: package/memtool/
diff --git a/package/Config.in b/package/Config.in
index 031413b..98f8fee 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -1232,6 +1232,7 @@ menu "JSON/XML"
source "package/expat/Config.in"
source "package/ezxml/Config.in"
source "package/jansson/Config.in"
+ source "package/jose/Config.in"
source "package/jsmn/Config.in"
source "package/json-c/Config.in"
source "package/json-glib/Config.in"
diff --git a/package/jose/Config.in b/package/jose/Config.in
new file mode 100644
index 0000000..4a9ed8d
--- /dev/null
+++ b/package/jose/Config.in
@@ -0,0 +1,14 @@
+config BR2_PACKAGE_JOSE
+ bool "jose"
+ depends on BR2_TOOLCHAIN_HAS_THREADS
+ select BR2_PACKAGE_ZLIB
+ select BR2_PACKAGE_JANSSON
+ select BR2_PACKAGE_OPENSSL
+ help
+ C-language implementation of Javascript Object Signing and
+ Encryption.
+
+ https://github.com/latchset/jose
+
+comment "jose needs a toolchain w/ threads"
+ depends on !BR2_TOOLCHAIN_HAS_THREADS
diff --git a/package/jose/jose.hash b/package/jose/jose.hash
new file mode 100644
index 0000000..376bc0b
--- /dev/null
+++ b/package/jose/jose.hash
@@ -0,0 +1,3 @@
+# Locally computed
+sha256 5c9cdcfb535c4d9f781393d7530521c72b1dd81caa9934cab6dd752cc7efcd72 jose-10.tar.bz2
+sha256 09e8a9bcec8067104652c168685ab0931e7868f9c8284b66f5ae6edae5f1130b COPYING
diff --git a/package/jose/jose.mk b/package/jose/jose.mk
new file mode 100644
index 0000000..1f5e3e4
--- /dev/null
+++ b/package/jose/jose.mk
@@ -0,0 +1,15 @@
+################################################################################
+#
+# jose
+#
+################################################################################
+
+JOSE_VERSION = 10
+JOSE_SOURCE = jose-$(JOSE_VERSION).tar.bz2
+JOSE_SITE = https://github.com/latchset/jose/releases/download/v$(JOSE_VERSION)
+JOSE_LICENSE = Apache-2.0
+JOSE_LICENSE_FILES = COPYING
+JOSE_INSTALL_STAGING = YES
+JOSE_DEPENDENCIES = host-pkgconf zlib jansson openssl
+
+$(eval $(autotools-package))