<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/760489fb6193a8965423b957c5f9eedb0b19ab7a">https://github.com/macports/macports-ports/commit/760489fb6193a8965423b957c5f9eedb0b19ab7a</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 760489fb6193a8965423b957c5f9eedb0b19ab7a
</span>Author: Marcus Calhoun-Lopez <mcalhoun@macports.org>
AuthorDate: Thu Oct 12 08:21:41 2017 -0700
<span style='display:block; white-space:pre;color:#404040;'> avahi: change install location of plist files
</span>---
net/avahi/Portfile | 12 ++++++------
1 file changed, 6 insertions(+), 6 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 6d88949..b254ac9 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 3
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 4
</span> categories net devel
maintainers nomaintainer
license LGPL-2.1+
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -95,10 +95,10 @@ configure.cppflags-append -L${prefix}/lib -D__APPLE_USE_RFC_2292
</span> set launch_daemons {org.freedesktop.avahi-daemon.plist org.freedesktop.avahi-dnsconfd.plist}
post-destroot {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- xinstall -d -m 0755 ${destroot}${prefix}/etc/LaunchDaemons
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -d -m 0755 ${destroot}${prefix}/Library/LaunchDaemons
</span> foreach fl ${launch_daemons} {
file attributes ${destroot}/Library/LaunchDaemons/${fl} -permissions 0644
<span style='display:block; white-space:pre;background:#ffe0e0;'>- move ${destroot}/Library/LaunchDaemons/${fl} ${destroot}${prefix}/etc/LaunchDaemons
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ move ${destroot}/Library/LaunchDaemons/${fl} ${destroot}${prefix}/Library/LaunchDaemons
</span> }
# previous command should move all LaunchDaemons
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -110,7 +110,7 @@ post-destroot {
</span>
if {${startupitem.install}} {
foreach fl ${launch_daemons} {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- ln -s ${prefix}/etc/LaunchDaemons/${fl} ${destroot}/Library/LaunchDaemons/${fl}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ln -s ${prefix}/Library/LaunchDaemons/${fl} ${destroot}/Library/LaunchDaemons/${fl}
</span> }
}
}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -118,7 +118,7 @@ post-destroot {
</span> post-activate {
if {${startupitem.install}} {
foreach fl ${launch_daemons} {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- file attributes ${prefix}/etc/LaunchDaemons/${fl} -owner root -group wheel
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ file attributes ${prefix}/Library/LaunchDaemons/${fl} -owner root -group wheel
</span> }
}
}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -215,7 +215,7 @@ if {${startupitem.install}} {
</span> # To load ${name} manually, run
#"
foreach fl ${launch_daemons} {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- notes-append "# sudo launchctl load -w ${prefix}/etc/LaunchDaemons/${fl}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ notes-append "# sudo launchctl load -w ${prefix}/Library/LaunchDaemons/${fl}"
</span> }
notes-append "############################################################################"
}
</pre><pre style='margin:0'>
</pre>