summaryrefslogtreecommitdiffstats
path: root/package/luaossl
diff options
context:
space:
mode:
Diffstat (limited to 'package/luaossl')
-rw-r--r--package/luaossl/Config.in18
-rw-r--r--package/luaossl/luaossl.hash2
-rw-r--r--package/luaossl/luaossl.mk14
3 files changed, 34 insertions, 0 deletions
diff --git a/package/luaossl/Config.in b/package/luaossl/Config.in
new file mode 100644
index 0000000000..d8763e76a3
--- /dev/null
+++ b/package/luaossl/Config.in
@@ -0,0 +1,18 @@
+config BR2_PACKAGE_LUAOSSL
+ bool "luaossl"
+ depends on BR2_TOOLCHAIN_HAS_THREADS
+ select BR2_PACKAGE_OPENSSL
+ help
+ luaossl is a comprehensive binding to OpenSSL for Lua 5.1,
+ 5.2, and later.
+
+ It includes support for certificate and key management,
+ key generation, signature verification, and deep bindings
+ to the distinguished name, alternative name, and X.509v3
+ extension interfaces. It also binds OpenSSL's bignum, message
+ digest, HMAC, cipher, and CSPRNG interfaces.
+
+ http://25thandclement.com/~william/projects/luaossl.html
+
+comment "luaossl needs a toolchain w/ threads"
+ depends on !BR2_TOOLCHAIN_HAS_THREADS
diff --git a/package/luaossl/luaossl.hash b/package/luaossl/luaossl.hash
new file mode 100644
index 0000000000..ea9f5e3335
--- /dev/null
+++ b/package/luaossl/luaossl.hash
@@ -0,0 +1,2 @@
+# Locally calculated
+sha256 51641d8971c19b2c65d3954ded12c306d4ecf6315ff8f1ec584e9a23ca998576 luaossl-20161214-0.src.rock
diff --git a/package/luaossl/luaossl.mk b/package/luaossl/luaossl.mk
new file mode 100644
index 0000000000..5bb3e82605
--- /dev/null
+++ b/package/luaossl/luaossl.mk
@@ -0,0 +1,14 @@
+################################################################################
+#
+# luaossl
+#
+################################################################################
+
+LUAOSSL_VERSION_UPSTREAM = 20161214
+LUAOSSL_VERSION = $(LUAOSSL_VERSION_UPSTREAM)-0
+LUAOSSL_SUBDIR = luaossl-rel-$(LUAOSSL_VERSION_UPSTREAM)
+LUAOSSL_LICENSE = MIT
+LUAOSSL_LICENSE_FILES = $(LUAOSSL_SUBDIR)/LICENSE
+LUAOSSL_DEPENDENCIES = openssl
+
+$(eval $(luarocks-package))
OpenPOWER on IntegriCloud