<pre style='margin:0'>
Marcus Calhoun-Lopez (MarcusCalhoun-Lopez) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/53bb50c401c838b83ad48c44b4ff646027f2e2fc">https://github.com/macports/macports-ports/commit/53bb50c401c838b83ad48c44b4ff646027f2e2fc</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new 53bb50c401c prosody: update 0.11.2->0.12.3
</span>53bb50c401c is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 53bb50c401c838b83ad48c44b4ff646027f2e2fc
</span>Author: Marcus Calhoun-Lopez <mcalhoun@macports.org>
AuthorDate: Thu Mar 16 06:53:22 2023 -0700
<span style='display:block; white-space:pre;color:#404040;'> prosody: update 0.11.2->0.12.3
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> use openssl and lua PGs
</span>---
net/prosody/Portfile | 49 +++++++++++++++++++++----------------
net/prosody/files/patch-config.diff | 4 +--
2 files changed, 30 insertions(+), 23 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/net/prosody/Portfile b/net/prosody/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 41cf0393ab6..05bb9b6888f 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/net/prosody/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/net/prosody/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,35 +1,37 @@
</span> # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=portfile:et:sw=4:ts=4:sts=4
PortSystem 1.0
<span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup lua 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup openssl 1.0
</span>
name prosody
<span style='display:block; white-space:pre;background:#ffe0e0;'>-version 0.11.2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 0.12.3
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 0
</span> maintainers nomaintainer
categories net chat
description Prosody is a modern flexible communications server for \
Jabber/XMPP written in Lua.
<span style='display:block; white-space:pre;background:#ffe0e0;'>-long_description ${description} It aims to be easy to set up and configure, \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+long_description {*}${description} It aims to be easy to set up and configure, \
</span> and light on resources. For developers it aims to be easy \
to extend and give a flexible system on which to rapidly \
develop added functionality, or prototype new protocols.
<span style='display:block; white-space:pre;background:#ffe0e0;'>-platforms darwin
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> homepage https://prosody.im
license MIT
master_sites ${homepage}/downloads/source/
<span style='display:block; white-space:pre;background:#ffe0e0;'>-depends_lib port:lua-luasocket \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:lua-luasec \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:lua-luaexpat \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:lua-luafilesystem \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:libidn
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_lib port:libidn \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ path:lib/pkgconfig/icu-uc.pc:icu
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+lua.modules luasocket \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ luasec \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ luaexpat \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ luafilesystem
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums rmd160 a27ba1b4ddd4511842cba45aeef7193b42c7ff17 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 8911f6dc29b9e0c4edf9e61dc23fa22d77bc42c4caf28b809ab843b2f08e4831 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size 420689
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 fdcf162b73c5b57c49638b487f2896e36503c345 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 35da0d031ff46040a2d638e004d4255e249b6323fe6212db9ddd76b401db2101 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 615302
</span>
set logdir ${prefix}/var/log/${name}
set rundir ${prefix}/var/run/${name}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -37,21 +39,26 @@ set rundir ${prefix}/var/run/${name}
</span> patchfiles patch-config.diff
post-patch {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- reinplace "s|@@PREFIX@@|${prefix}|g" ${worksrcpath}/prosody.cfg.lua.dist
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|@@PREFIX@@|${prefix}|g" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${worksrcpath}/prosody.cfg.lua.dist
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|^#!/usr/bin/env lua\$|#!${lua.bin}|g" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${worksrcpath}/prosody \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${worksrcpath}/prosodyctl
</span> }
configure.cflags-append -fPIC
configure.ldflags-append -bundle -undefined dynamic_lookup
<span style='display:block; white-space:pre;background:#e0ffe0;'>+# using `--ostype=macosx` appends `-mmacosx-version-min=10.3` to CFLAGS
</span> configure.args-append \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- --ostype=macosx \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --with-lua=${prefix} \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --with-lua-include=${prefix}/include \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --with-lua-lib=${prefix}/lib \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --c-compiler=${configure.cc} \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --linker=${configure.cc} \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --cflags=\"${configure.cflags}\" \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --ldflags=\"${configure.ldflags}\"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --with-lua=${lua.dir} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --with-lua-include=${lua.dir}/include \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --with-lua-lib=${lua.dir}/lib \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --c-compiler=\"\$CC\" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --linker=\"\$CC\" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --cflags=\"\$CFLAGS\" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --ldflags=\"\$LDFLAGS\"
</span>
startupitem.create yes
startupitem.start "${prefix}/bin/${name}ctl start"
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/net/prosody/files/patch-config.diff b/net/prosody/files/patch-config.diff
</span><span style='display:block; white-space:pre;color:#808080;'>index a8aa30e28dd..72d42412138 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/net/prosody/files/patch-config.diff
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/net/prosody/files/patch-config.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -8,7 +8,7 @@
</span>
-- This is a (by default, empty) list of accounts that are admins
-- for the server. Note that you must create the accounts separately
<span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -153,8 +154,8 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -183,8 +184,8 @@
</span> -- Logging configuration
-- For advanced logging see https://prosody.im/doc/logging
log = {
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -17,5 +17,5 @@
</span> + info = "@@PREFIX@@/var/log/prosody/prosody.log"; -- Change 'info' to 'debug' for verbose logging
+ error = "@@PREFIX@@/var/log/prosody/prosody.err";
-- "*syslog"; -- Uncomment this for logging to syslog
<span style='display:block; white-space:pre;background:#ffe0e0;'>- -- "*console"; -- Log to the console, useful for debugging with daemonize=false
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -- "*console"; -- Log to the console, useful for debugging when running in the foreground
</span> }
</pre><pre style='margin:0'>
</pre>