From 9592e15e6009a672e754b32bf743c35b0e894e8c Mon Sep 17 00:00:00 2001 From: Philipp Gesang Date: Sat, 6 Jul 2013 22:40:16 +0200 Subject: add luasec-prosody --- luasec-prosody-git/luasec-prosody.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 luasec-prosody-git/luasec-prosody.patch (limited to 'luasec-prosody-git/luasec-prosody.patch') diff --git a/luasec-prosody-git/luasec-prosody.patch b/luasec-prosody-git/luasec-prosody.patch new file mode 100644 index 0000000..41d007f --- /dev/null +++ b/luasec-prosody-git/luasec-prosody.patch @@ -0,0 +1,13 @@ +diff --git a/Makefile b/Makefile +index c8aa90f..31e27c8 100644 +--- a/Makefile ++++ b/Makefile +@@ -1,6 +1,6 @@ + # Inform the location to intall the modules +-LUAPATH ?= /usr/share/lua/5.1 +-LUACPATH ?= /usr/lib/lua/5.1 ++LUAPATH ?= /usr/share/lua/5.2 ++LUACPATH ?= /usr/lib/lua/5.2 + + # Compile with build-in LuaSocket's help files. + # Comment this lines if you will link with non-internal LuaSocket's help files -- cgit v1.2.3 From f385d6d42405b12a753f33fa81c16c8f05f76de0 Mon Sep 17 00:00:00 2001 From: Philipp Gesang Date: Wed, 4 Sep 2013 14:01:35 +0200 Subject: update luasec --- luasec-prosody-git/luasec-prosody.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'luasec-prosody-git/luasec-prosody.patch') diff --git a/luasec-prosody-git/luasec-prosody.patch b/luasec-prosody-git/luasec-prosody.patch index 41d007f..2d2672b 100644 --- a/luasec-prosody-git/luasec-prosody.patch +++ b/luasec-prosody-git/luasec-prosody.patch @@ -11,3 +11,16 @@ index c8aa90f..31e27c8 100644 # Compile with build-in LuaSocket's help files. # Comment this lines if you will link with non-internal LuaSocket's help files +diff --git a/src/ssl.lua b/src/ssl.lua +index 1b062f6..1b63e70 100644 +--- a/src/ssl.lua ++++ b/src/ssl.lua +@@ -4,6 +4,8 @@ + -- + ------------------------------------------------------------------------------ + ++local unpack = unpack or table.unpack ++ + local core = require("ssl.core") + local context = require("ssl.context") + local x509 = require("ssl.x509") -- cgit v1.2.3