<pre style='margin:0'>
Zhenfu Shi (i0ntempest) pushed a commit to branch master
in repository macports-ports.

</pre>
<p><a href="https://github.com/macports/macports-ports/commit/17595b88210d8ce0afd298ac291b85d3f6ff37ab">https://github.com/macports/macports-ports/commit/17595b88210d8ce0afd298ac291b85d3f6ff37ab</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 17595b88210 mihomo: add logging variant
</span>17595b88210 is described below

<span style='display:block; white-space:pre;color:#808000;'>commit 17595b88210d8ce0afd298ac291b85d3f6ff37ab
</span>Author: i0ntempest <i0ntempest@i0ntempest.com>
AuthorDate: Sat Dec 14 17:52:16 2024 +0800

<span style='display:block; white-space:pre;color:#404040;'>    mihomo: add logging variant
</span><span style='display:block; white-space:pre;color:#404040;'>    
</span><span style='display:block; white-space:pre;color:#404040;'>    Closes 27074
</span>---
 net/mihomo/Portfile | 4 ++++
 1 file changed, 4 insertions(+)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/net/mihomo/Portfile b/net/mihomo/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 6a6f03d67bd..6b555dfeb10 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/net/mihomo/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/net/mihomo/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -675,6 +675,10 @@ post-activate {
</span> startupitem.create          yes
 startupitem.executable      ${prefix}/bin/${name} -d ${prefix}/etc/${name}
 
<span style='display:block; white-space:pre;background:#e0ffe0;'>+variant logging description {Enable logging to file for the startup item} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    startupitem.logfile     ${prefix}/var/log/${name}.log
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> notes "
     The default config file is copied to ${prefix}/etc/${name}/config.yaml and its content\
     will be preserved across upgrades and reinstalls. The startup item will use this config\
</pre><pre style='margin:0'>

</pre>