Hi ports@, Here is an straightforward update for Prosody. Main points of release notes [1] are:
- mod_http (and dependent modules): Make CORS opt-in by default - mod_http: Reintroduce support for disabling or limiting CORS - net.unbound: Disable use of hosts file by default - MUC: Allow kicking users with the same affiliation as the kicker; fixing an issue and improves Jitsi Meet compatibility - mod_tombstones: Add caching to improve performance on busy servers; fixes mod_tombstone: inefficient I/O with internal storage Portwise, the patches for our and Fedora (or CentOS or some other RHEL derived OS) outdated LuaSocket were merged. [1]: https://blog.prosody.im/prosody-0.12.1-released/ -Lucas
diff e01766fbe7ff74bcbe4de527f406f9531b6ba760 /usr/ports blob - 6b6d6a28890ba8f098296822a878acb954133706 file + net/prosody/Makefile --- net/prosody/Makefile +++ net/prosody/Makefile @@ -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 <[email protected]> blob - 4c568d96106682731568f8292407e98b43194031 file + net/prosody/distinfo --- net/prosody/distinfo +++ net/prosody/distinfo @@ -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 blob - 38933741801a6cdcd4f61cf1e64d4def7423dac4 file + /dev/null --- net/prosody/patches/patch-plugins_mod_admin_socket_lua +++ /dev/null @@ -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; blob - c8ef1ce104e9b59c0111baffc5c2668b5f67758c file + /dev/null --- net/prosody/patches/patch-util_adminstream_lua +++ /dev/null @@ -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
