<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/cdf061d992989200faa51a4ae062e62f88890a2b">https://github.com/macports/macports-ports/commit/cdf061d992989200faa51a4ae062e62f88890a2b</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit cdf061d992989200faa51a4ae062e62f88890a2b
</span>Author: Marcus Calhoun-Lopez <mcalhoun@macports.org>
AuthorDate: Thu Oct 12 05:58:03 2017 -0700

<span style='display:block; white-space:pre;color:#404040;'>    avahi: fix attributes of plist files
</span>---
 net/avahi/Portfile | 13 ++++++++++---
 1 file changed, 10 insertions(+), 3 deletions(-)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/net/avahi/Portfile b/net/avahi/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index e8471b1..79046e4 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/net/avahi/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/net/avahi/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -6,7 +6,7 @@ PortGroup           github 1.0
</span> PortGroup           gobject_introspection 1.0
 
 github.setup        lathiat avahi 0.6.32 v
<span style='display:block; white-space:pre;background:#ffe0e0;'>-revision            1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision            2
</span> categories          net devel
 maintainers         nomaintainer
 license             LGPL-2.1+
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -91,8 +91,10 @@ set launch_daemons {org.freedesktop.avahi-daemon.plist org.freedesktop.avahi-dns
</span> 
 post-destroot {
     xinstall -d -m 0755 ${destroot}${prefix}/etc/LaunchDaemons
<span style='display:block; white-space:pre;background:#ffe0e0;'>-    move {*}[glob ${destroot}/Library/LaunchDaemons/*] \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-        ${destroot}${prefix}/etc/LaunchDaemons/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    foreach fl ${launch_daemons} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        file attributes ${destroot}/Library/LaunchDaemons/${fl} -permissions 0644
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        move ${destroot}/Library/LaunchDaemons/${fl} ${destroot}${prefix}/etc/LaunchDaemons
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    }
</span>     if {${startupitem.install}} {
         foreach fl ${launch_daemons} {
             ln -s ${prefix}/etc/LaunchDaemons/${fl} ${destroot}/Library/LaunchDaemons/${fl}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -101,6 +103,11 @@ post-destroot {
</span> }
 
 post-activate {
<span style='display:block; white-space:pre;background:#e0ffe0;'>+    if {${startupitem.install}} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        foreach fl ${launch_daemons} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+            file attributes ${prefix}/etc/LaunchDaemons/${fl} -owner root -group wheel
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    }
</span> }
 
 variant mono description {Enable Mono support} {
</pre><pre style='margin:0'>

</pre>