summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkhorben <khorben@pkgsrc.org>2022-07-27 01:53:40 +0000
committerkhorben <khorben@pkgsrc.org>2022-07-27 01:53:40 +0000
commitde6183154d0287db9e6a72b7c2b6b244865de14e (patch)
treebbf2dab0a3a33c6abf908dc75e79b3f25d45c5a3
parent8fd24f8932013f086d7ddd22774523c81c19a4ec (diff)
downloadpkgsrc-de6183154d0287db9e6a72b7c2b6b244865de14e.tar.gz
prosody: update to 0.12.1
Summary of changes in this release: Fixes and improvements * mod_http (and dependent modules): Make CORS opt-in by default (#1731) * mod_http: Reintroduce support for disabling or limiting CORS (#1730) * net.unbound: Disable use of hosts file by default (fixes #1737) * MUC: Allow kicking users with the same affiliation as the kicker (fixes #1724 and improves Jitsi Meet compatibility) * mod_tombstones: Add caching to improve performance on busy servers (fixes #1728: mod_tombstone: inefficient I/O with internal storage) Minor changes * prosodyctl check config: Report paths of loaded configuration files (#1729) * prosodyctl about: Report version of lua-readline * prosodyctl: check config: Skip bare JID components in orphan check * prosodyctl: check turn: Fail with error if our own address is supplied for the ping test * prosodyctl: check turn: warn about external port mismatches behind NAT * mod_turn_external: Update status and friendlier handling of missing secret option (#1727) * prosodyctl: Pass server when listing (outdated) plugins (fix #1738: prosodyctl list --outdated does not handle multiple versions of a module) * util.prosodyctl: check turn: ensure a result is always returned from a check (thanks eTaurus) * util.prosodyctl: check turn: Report lack of TURN services as a problem #1749 * util.random: Ensure that native random number generator works before using it, falling back to /dev/urandom (#1734) * mod_storage_xep0227: Fix mapping of nodes without explicit configuration * mod_admin_shell: Fix error in ‘module:info()’ when statistics is not enabled (#1754) * mod_admin_socket: Compat for luasocket prior to unix datagram support * mod_admin_socket: Improve error reporting when socket can’t be created (#1719) * mod_cron: Record last time a task runs to ensure correct intervals (#1751) * core.moduleapi, core.modulemanager: Fix internal flag affecting logging in in some global modules, like mod_http (#1736, #1748) * core.certmanager: Expand debug messages about cert lookups in index * configmanager: Clearer errors when providing unexpected values after VirtualHost (#1735) * mod_storage_xep0227: Support basic listing of PEP nodes in absence of pubsub#admin data * mod_storage_xep0227: Handle missing {pubsub#owner}pubsub element (fixes #1740: mod_storage_xep0227 tracebacks reading non-existent PEP store) * mod_storage_xep0227: Fix conversion of SCRAM into internal format (#1741) * mod_external_services: Move error message to correct place (fix #1725: mod_external_services: Misplaced textual error message) * mod_smacks: Fix handling of unhandled stanzas on disconnect (#1759) * mod_smacks: Fix counting of handled stanzas * mod_smacks: Fix bounce of stanzas directed to full JID on unclean disconnect * mod_pubsub: Don’t attempt to use server actor as publisher (#1723) * mod_s2s: Improve robustness of outgoing s2s certificate verification * mod_invites_adhoc: Fall back to generic allow_user_invites for role-less users * mod_invites_register: Push invitee contact entry to inviter * util.startup: Show error for unrecognized command-line arguments passed to ‘prosody’ (#1722) * util.jsonpointer: Add tests, compat improvements and minor fixes * util.jsonschema: Lua version compat improvements
-rw-r--r--chat/prosody/Makefile5
-rw-r--r--chat/prosody/distinfo8
-rw-r--r--chat/prosody/files/prosody.sh4
3 files changed, 8 insertions, 9 deletions
diff --git a/chat/prosody/Makefile b/chat/prosody/Makefile
index f6565f8d98a..0f88f4be88f 100644
--- a/chat/prosody/Makefile
+++ b/chat/prosody/Makefile
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.40 2022/07/25 04:47:06 khorben Exp $
+# $NetBSD: Makefile,v 1.41 2022/07/27 01:53:40 khorben Exp $
-DISTNAME= prosody-0.12.0
-PKGREVISION= 2
+DISTNAME= prosody-0.12.1
CATEGORIES= chat
MASTER_SITES= https://prosody.im/downloads/source/
diff --git a/chat/prosody/distinfo b/chat/prosody/distinfo
index 5c07475c687..207b9db73a3 100644
--- a/chat/prosody/distinfo
+++ b/chat/prosody/distinfo
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.23 2022/05/08 21:24:12 khorben Exp $
+$NetBSD: distinfo,v 1.24 2022/07/27 01:53:40 khorben Exp $
-BLAKE2s (prosody-0.12.0.tar.gz) = 5060b27c828174f3b9a1cca350b584a5767b93d48f8373d61cf1d63e37b7000c
-SHA512 (prosody-0.12.0.tar.gz) = b7144a413a5bc72b1e677504d5ced6583c7399c8334b39b4c9157da60f951300832b34a1d47703a0b217caa4f1d3a0f52ab59cef08b27c6b43e876e1dffca3ce
-Size (prosody-0.12.0.tar.gz) = 610330 bytes
+BLAKE2s (prosody-0.12.1.tar.gz) = e7dae67c0a7c9e6b28358495af6b593c20851b1747f3c39391bd65b1020ab24f
+SHA512 (prosody-0.12.1.tar.gz) = 705d2bcd38ffb19e90dab19992711aebf3d81f7bca7f9791ae5149510d465ec837ddf26a8c547eff2f2d131e5a694ddc3d0aac0b8921df65808192ae00527a85
+Size (prosody-0.12.1.tar.gz) = 611898 bytes
SHA1 (patch-makefile) = 8971d0a898ca7bf38f0d79322e2d0c381334c37c
SHA1 (patch-prosody.cfg.lua.dist) = a1e4636abe4f2caa82d13ed8564b5b785dc8595a
SHA1 (patch-util-src_pposix.c) = 519fd2da1931c1b35a0b028ea9303b3c0f5b6a6a
diff --git a/chat/prosody/files/prosody.sh b/chat/prosody/files/prosody.sh
index 80bc248e513..b3cc0206ac6 100644
--- a/chat/prosody/files/prosody.sh
+++ b/chat/prosody/files/prosody.sh
@@ -1,6 +1,6 @@
#!@RCD_SCRIPTS_SHELL@
#
-# $NetBSD: prosody.sh,v 1.5 2022/07/25 04:47:06 khorben Exp $
+# $NetBSD: prosody.sh,v 1.6 2022/07/27 01:53:40 khorben Exp $
#
# PROVIDE: prosody
# REQUIRE: DAEMON
@@ -19,7 +19,7 @@ extra_commands="reload status"
prosody_precmd()
{
- if [ ! -d @PROSODY_RUN@ ]; then
+ if ! @TEST@ -d @PROSODY_RUN@; then
@MKDIR@ -m 0755 @PROSODY_RUN@
fi
@CHOWN@ @PROSODY_USER@:@PROSODY_GROUP@ @PROSODY_RUN@