update net/prosody to 0.12.1; from Lucas, thanks!
This commit is contained in:
parent
1c038f2517
commit
0f602671e7
|
@ -1,8 +1,7 @@
|
|||
COMMENT = communications server for Jabber/XMPP written in Lua
|
||||
DISTNAME = prosody-0.12.0
|
||||
DISTNAME = prosody-0.12.1
|
||||
CATEGORIES = net
|
||||
HOMEPAGE = https://prosody.im/
|
||||
REVISION = 0
|
||||
|
||||
MAINTAINER = Lucas <lucas@sexy.is>
|
||||
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
SHA256 (prosody-0.12.0.tar.gz) = dS/zIBXaxWX8NBfCGWryaJccNY7gZuUfXZEkE1gNiJo=
|
||||
SIZE (prosody-0.12.0.tar.gz) = 610330
|
||||
SHA256 (prosody-0.12.1.tar.gz) = p+y75B8BpCUYBVk6xtFdvGy3XZx6h2x2tFbPdP9LkOU=
|
||||
SIZE (prosody-0.12.1.tar.gz) = 611898
|
||||
|
|
|
@ -1,16 +0,0 @@
|
|||
Upstream fix for older LuaSocket
|
||||
ref: https://hg.prosody.im/timber/rev/55590a970de7
|
||||
|
||||
Index: plugins/mod_admin_socket.lua
|
||||
--- plugins/mod_admin_socket.lua.orig
|
||||
+++ plugins/mod_admin_socket.lua
|
||||
@@ -2,6 +2,9 @@ module:set_global();
|
||||
|
||||
local have_unix, unix = pcall(require, "socket.unix");
|
||||
|
||||
+if have_unix and type(unix) == "function" then
|
||||
+ unix = { stream = unix };
|
||||
+end
|
||||
if not have_unix or type(unix) ~= "table" then
|
||||
module:log_status("error", "LuaSocket unix socket support not available or incompatible, ensure it is up to date");
|
||||
return;
|
|
@ -1,16 +0,0 @@
|
|||
Upstream fix for older LuaSocket
|
||||
ref: https://hg.prosody.im/timber/rev/55590a970de7
|
||||
|
||||
Index: util/adminstream.lua
|
||||
--- util/adminstream.lua.orig
|
||||
+++ util/adminstream.lua
|
||||
@@ -139,6 +139,9 @@ end
|
||||
|
||||
local function new_connection(socket_path, listeners)
|
||||
local have_unix, unix = pcall(require, "socket.unix");
|
||||
+ if have_unix and type(unix) == "function" then
|
||||
+ unix = { stream = unix };
|
||||
+ end
|
||||
if type(unix) ~= "table" then
|
||||
have_unix = false;
|
||||
end
|
Loading…
Reference in New Issue
Block a user