<pre style='margin:0'>
Perry E. Metzger (pmetzger) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/75cea324a12e8c008ea80b01531f1f1f57f6d060">https://github.com/macports/macports-ports/commit/75cea324a12e8c008ea80b01531f1f1f57f6d060</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 75cea324a12e8c008ea80b01531f1f1f57f6d060
</span>Author: Andrew L. Moore <slewsys@gmail.com>
AuthorDate: Sun Sep 16 07:42:26 2018 -0400
<span style='display:block; white-space:pre;color:#404040;'> mosquitto: Bugfix of update to version 1.5.1.
</span>---
net/mosquitto/Portfile | 31 ++++++++++++++++++++++++++++++-
1 file changed, 30 insertions(+), 1 deletion(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/net/mosquitto/Portfile b/net/mosquitto/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index c878848..dc28230 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/net/mosquitto/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/net/mosquitto/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -33,11 +33,18 @@ depends_lib port:c-ares \
</span> path:lib/libssl.dylib:openssl
configure.args-append \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- -DWITH_WEBSOCKETS=ON -DUSE_LIBWRAP=ON
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DUSE_LIBWRAP=yes \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DWITH_EPOLL=no \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DWITH_SRV=yes \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DWITH_WEBSOCKETS=yes
</span>
test.run yes
test.target -C ${workpath}/build/test test
<span style='display:block; white-space:pre;background:#e0ffe0;'>+pre-build {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace -E "s|\\.so\\.\[^\[:space:\]\]+|.dylib |g" ${worksrcpath}/config.mk
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> pre-test {
if {![file exist ${workpath}/build/test]} {
foreach f [list config.mk test] {
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -46,8 +53,30 @@ pre-test {
</span> fs-traverse dir ${workpath}/build/test {
if {[file tail ${dir}] eq "Makefile"} {
reinplace -E "s|\\.so\\.\[^\[:space:\]\]+|.dylib|g" $dir
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace -E "s|\\.so\[\[:space:\]\]+|.dylib |g" $dir
</span> }
}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ # `auth_plugin.c' and `auth_plugin_acl.c' have missing dependencies
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|^all :.*|all : auth_plugin_pwd.dylib auth_plugin_v2.dylib auth_plugin_msg_params.dylib 08|" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${workpath}/build/test/broker/c/Makefile
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Test target 08 fails due to expired certificate.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Test target 09 fails due to I/O error when launching broker.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|^test :.*|test : test-compile 01 02 03 04 05 06 07 10 11|" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${workpath}/build/test/broker/Makefile
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # `09-util-utf8-validate.c' fails to compile due to invalid encoding.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|^09 :.*|09 : 09-util-topic-matching.test 09-util-topic-tokenise.test|" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${workpath}/build/test/lib/c/Makefile \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${workpath}/build/test/lib/cpp/Makefile
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Test target 08 fails due to expired certificate.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|^all :.*|all : 01 02 03 04 09|" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${workpath}/build/test/lib/cpp/Makefile
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Test targets ./08.* fail due to expired certificate.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|\\./08|#./08|" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${workpath}/build/test/lib/Makefile
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Test target 09-util-utf8-validate fails due to invalid encoding.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|\\./09-util-utf8|#./09-util-utf8|" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${workpath}/build/test/lib/Makefile
</span> }
}
</pre><pre style='margin:0'>
</pre>