head 1.3; access; symbols pkgsrc-2026Q1:1.3.0.4 pkgsrc-2026Q1-base:1.3 pkgsrc-2025Q4:1.3.0.2 pkgsrc-2025Q4-base:1.3 pkgsrc-2025Q3:1.2.0.28 pkgsrc-2025Q3-base:1.2 pkgsrc-2025Q2:1.2.0.26 pkgsrc-2025Q2-base:1.2 pkgsrc-2025Q1:1.2.0.24 pkgsrc-2025Q1-base:1.2 pkgsrc-2024Q4:1.2.0.22 pkgsrc-2024Q4-base:1.2 pkgsrc-2024Q3:1.2.0.20 pkgsrc-2024Q3-base:1.2 pkgsrc-2024Q2:1.2.0.18 pkgsrc-2024Q2-base:1.2 pkgsrc-2024Q1:1.2.0.16 pkgsrc-2024Q1-base:1.2 pkgsrc-2023Q4:1.2.0.14 pkgsrc-2023Q4-base:1.2 pkgsrc-2023Q3:1.2.0.12 pkgsrc-2023Q3-base:1.2 pkgsrc-2023Q2:1.2.0.10 pkgsrc-2023Q2-base:1.2 pkgsrc-2023Q1:1.2.0.8 pkgsrc-2023Q1-base:1.2 pkgsrc-2022Q4:1.2.0.6 pkgsrc-2022Q4-base:1.2 pkgsrc-2022Q3:1.2.0.4 pkgsrc-2022Q3-base:1.2 pkgsrc-2022Q2:1.2.0.2 pkgsrc-2022Q2-base:1.2 pkgsrc-2022Q1:1.1.0.18 pkgsrc-2022Q1-base:1.1 pkgsrc-2021Q4:1.1.0.16 pkgsrc-2021Q4-base:1.1 pkgsrc-2021Q3:1.1.0.14 pkgsrc-2021Q3-base:1.1 pkgsrc-2021Q2:1.1.0.12 pkgsrc-2021Q2-base:1.1 pkgsrc-2021Q1:1.1.0.10 pkgsrc-2021Q1-base:1.1 pkgsrc-2020Q4:1.1.0.8 pkgsrc-2020Q4-base:1.1 pkgsrc-2020Q3:1.1.0.6 pkgsrc-2020Q3-base:1.1 pkgsrc-2020Q2:1.1.0.4 pkgsrc-2020Q2-base:1.1 pkgsrc-2020Q1:1.1.0.2 pkgsrc-2020Q1-base:1.1; locks; strict; comment @# @; 1.3 date 2025.10.15.10.34.42; author sborrill; state Exp; branches; next 1.2; commitid I96SSXnD95nTuEeG; 1.2 date 2022.05.08.21.24.12; author khorben; state Exp; branches; next 1.1; commitid OjEGwFMG1YFgviDD; 1.1 date 2020.01.23.18.26.15; author gdt; state Exp; branches; next ; commitid Exbe7mDOuPRkpQTB; desc @@ 1.3 log @prosody: fix rc.d and add crypto prosodyctl should not be used to manage the service, so adjust rc.d script to run prosody -D. Set permissions on desired directories. Clean up socket to stop prosodyctl shell breaking at a restart. Set path to socket in configuration file. Build crypto.so (missing from makefile, but not GNUmakefile) Bump PKGREVISION @ text @$NetBSD: patch-prosody.cfg.lua.dist,v 1.2 2022/05/08 21:24:12 khorben Exp $ Set the logging paths Set up the pid files Set the location of the socket for prosodyctl --- prosody.cfg.lua.dist.orig 2022-03-08 12:34:39.594708341 +0000 +++ prosody.cfg.lua.dist @@@@ -183,8 +183,8 @@@@ archive_expires_after = "1w" -- Remove a -- Logging configuration -- For advanced logging see https://prosody.im/doc/logging log = { - info = "prosody.log"; -- Change 'info' to 'debug' for verbose logging - error = "prosody.err"; + info = "@@PROSODY_LOG@@/prosody.log"; -- Change 'info' to 'debug' for verbose logging + error = "@@PROSODY_LOG@@/prosody.err"; -- "*syslog"; -- Uncomment this for logging to syslog -- "*console"; -- Log to the console, useful for debugging when running in the foreground } @@@@ -205,6 +205,12 @@@@ log = { -- Location of directory to find certificates in (relative to main config file): certificates = "certs" +-- Enable PID file by default +pidfile = "@@PROSODY_RUN@@/prosody.pid"; + +-- Configure location of admin socket +admin_socket = "@@PROSODY_RUN@@/prosody.sock"; + ----------- Virtual hosts ----------- -- You need to add a VirtualHost entry for each domain you wish Prosody to serve. -- Settings under each VirtualHost entry apply *only* to that host. @ 1.2 log @prosody: update to 0.12.0 New in this release: Modules * mod_mimicking: Prevent address spoofing * mod_s2s_bidi: Bi-directional server-to-server connections (XEP-0288) * mod_external_services: Generic XEP-0215 support * mod_turn_external: Easy setup of XEP-0215 for STUN/TURN for audio/video calls * mod_http_file_share: File sharing via HTTP (XEP-0363) * mod_http_openmetrics: Expose metrics to Prometheus and compatible monitoring systems * mod_smacks: Stream management and resumption (XEP-0198) * mod_auth_ldap: LDAP authentication * mod_cron: One module to rule all the periodic tasks * mod_admin_shell: New home of the Console admin interface * mod_admin_socket: Enable secure connections to the Console * mod_tombstones: Prevent re-registration of deleted accounts * mod_invites: Create and manage invites * mod_invites_register: Allow registering accounts using invites * mod_invites_adhoc: Create invites via ad-hoc command * mod_bookmarks: Synchronise open rooms between clients Security and authentication * Unencrypted HTTP port (5280) restricted to loopback by default * require_encryption options default to true if unspecified * Authentication module defaults to internal_hashed if unspecified * SNI support (including automatic certificate selection) * ALPN support in mod_net_multiplex * DANE support in low-level network layer * Direct TLS support (c2s and s2s) * SCRAM-SHA-256 * Direct TLS (including https) certificates are now updated on reload * Pluggable authorization providers (mod_authz_*) * Easy use of Mozilla TLS recommendations presets HTTP * CORS handling now provided by mod_http * Built-in HTTP server now handles HEAD requests * Uploads can be handled incrementally API * Module statuses (API change) * util.error for encapsulating errors * Promise based API for sending queries * API for adding periodic tasks * More APIs supporting ES6 Promises * Async can be used during shutdown Other * Plugin installer * MUC presence broadcast controls * MUC: support for XEP-0421 occupant identifiers * prosodyctl check connectivity via observe.jabber.network * STUN/TURN server tests in prosodyctl check * libunbound for DNS queries * The POSIX poll() API used by server_epoll on *nix other than Linux Changed in this release * Improved rules for mobile optimizations in mod_csi_simple * Improved rules for what messages should be archived in mod_mam * mod_limits: Support for exempt JIDs * mod_server_contact_info now loaded on components if enabled * Statistics now based on OpenMetrics * Statistics scheduling can be done by plugin * Offline messages aren't sent to MAM clients * Archive quotas (maximum limit on items in an archive store) * Rewritten migrator with archive support * Improved automatic certificate locating and selecting * Logging to syslog no longer missing startup messages * Graceful shutdown sequence that closes ports first and waits for connections to close Removed in this release * daemonize option deprecated * SASL DIGEST-MD5 removed * mod_auth_cyrus (older LDAP support) * Network backend server_select deprecated (not actually removed yet) @ text @d1 1 a1 1 $NetBSD: patch-prosody.cfg.lua.dist,v 1.1 2020/01/23 18:26:15 gdt Exp $ d3 3 a5 2 set the logging paths set up the pid files d20 1 a20 1 @@@@ -205,6 +205,9 @@@@ log = { d27 3 @ 1.1 log @chat/prosody: Update to 0.11.4 Update prepared in wip by Tiago Seco. Changes in 0.11.4 ================= Fixes and improvements core.rostermanager: Improve performance by caching rosters of offline #1233 mod_pep: Handling subscriptions more efficiently #1372 Minor changes util.interpolation: Support unescaped variables with more modifiers #1452 MUC: Mark source of historic messages correctly #1416 mod_auth_internal_hashed: Pass on errors #1477 mod_mam, mod_muc_mam: Improve logging of failures #1478, #1480, #1481 mod_muc, mod_muc_mam: Reschedule message expiry in case of failure mod_mam: Add flag to session when it performs a MAM query prosodyctl check: Warn about conflict between mod_pep and mod_pep_simple prosodyctl check: Warn about conflict between mod_vcard and mod_vcard_legacy #1469 core.modulemanager: Disable mod_vcard if mod_vcard_legacy is enabled to prevent conflict #1469 MUC: Strip tags with MUC-related namespaces from private messages #1427 MUC: Don't advertise registration feature on host #1451 mod_vcard_legacy: Fix handling of empty photo elements #1432 mod_vcard_legacy: Advertise lack of avatar correctly #1431 prosodyctl: Handle if the setting proxy65_address has the wrong type prosodyctl: Print a blank line to improve spacing and readability MUC: Fix role loss in Nickname change #1466 util.pposix: Fix reporting of memory usage in 2-4GB range #1445 util.startup: Fix a regression concerning directory paths #1430 mod_websocket: Don't mask WebSocket pong answers #1484 net.resolvers: Apply IDNA conversion to ascii for DNS lookups (affects only HTTP queries) #1426 net.resolvers.basic: Fix resolution of IPv6 literals (in brackets) #1459 @ text @d1 1 a1 1 $NetBSD$ d6 1 a6 1 --- prosody.cfg.lua.dist.orig 2019-08-31 14:08:45.000000000 +0000 d8 1 a8 1 @@@@ -153,12 +153,13 @@@@ archive_expires_after = "1w" -- Remove a d17 1 a17 1 -- "*console"; -- Log to the console, useful for debugging with daemonize=false d19 3 a21 8 + -- Uncomment to enable statistics -- For more info see https://prosody.im/doc/statistics -- statistics = "internal" @@@@ -176,6 +177,9 @@@@ certificates = "certs" -- HTTPS currently only supports a single certificate, specify it here: --https_certificate = "certs/localhost.crt" @