<pre style='margin:0'>
Joshua Root (jmroot) pushed a commit to branch master
in repository macports-ports.

</pre>
<p><a href="https://github.com/macports/macports-ports/commit/c6ba3c0f6a9ba48d5370921933edb69fd10852d5">https://github.com/macports/macports-ports/commit/c6ba3c0f6a9ba48d5370921933edb69fd10852d5</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 c6ba3c0f6a9 sshuttle: don't rely on env(USER) existing
</span>c6ba3c0f6a9 is described below

<span style='display:block; white-space:pre;color:#808000;'>commit c6ba3c0f6a9ba48d5370921933edb69fd10852d5
</span>Author: Joshua Root <jmr@macports.org>
AuthorDate: Tue Jun 6 14:04:17 2023 +1000

<span style='display:block; white-space:pre;color:#404040;'>    sshuttle: don't rely on env(USER) existing
</span><span style='display:block; white-space:pre;color:#404040;'>    
</span><span style='display:block; white-space:pre;color:#404040;'>    Fixes: https://trac.macports.org/ticket/66542
</span>---
 net/sshuttle/Portfile | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/net/sshuttle/Portfile b/net/sshuttle/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 1c16aa724d4..cc18ca52a26 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/net/sshuttle/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/net/sshuttle/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -43,5 +43,8 @@ depends_test-append port:py${python.version}-flake8 \
</span>                     port:py${python.version}-pytest-runner
 
 pre-destroot {
<span style='display:block; white-space:pre;background:#ffe0e0;'>-    system -W ${worksrcpath} "chown -R $env(USER) ."
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    # https://trac.macports.org/ticket/65331
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    if {[geteuid] == 0} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        system -W ${worksrcpath} "chown -nR `id -u` ."
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    }
</span> }
</pre><pre style='margin:0'>

</pre>