<pre style='margin:0'>
Rainer Müller (raimue) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/5268f4c2e5b67103bf4ff88189c3f281805f3de5">https://github.com/macports/macports-ports/commit/5268f4c2e5b67103bf4ff88189c3f281805f3de5</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 5268f4c salt: rm /etc/salt symlink to /opt/local/etc/salt
</span>5268f4c is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 5268f4c2e5b67103bf4ff88189c3f281805f3de5
</span>Author: Jeremy McMillan <jeremy.mcmillan@gmail.com>
AuthorDate: Mon Jun 12 11:56:54 2017 -0500
<span style='display:block; white-space:pre;color:#404040;'> salt: rm /etc/salt symlink to /opt/local/etc/salt
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> and startupitem dependency
</span><span style='display:block; white-space:pre;color:#404040;'> and preactivate/postactivate steps
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Closes: https://trac.macports.org/ticket/48398
</span>---
sysutils/salt/Portfile | 28 ++--------------------------
1 file changed, 2 insertions(+), 26 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/sysutils/salt/Portfile b/sysutils/salt/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 35de556..938c53d 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/sysutils/salt/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/sysutils/salt/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -4,6 +4,7 @@ PortSystem 1.0
</span>
name salt
version 2017.5
<span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 1
</span> categories sysutils
platforms darwin
maintainers gmail.com:jeremy.mcmillan
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -38,31 +39,6 @@ if {$subport eq $name} {
</span> port:py${python.version}-zmq \
port:swig-python
<span style='display:block; white-space:pre;background:#ffe0e0;'>- post-activate {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- file mkdir ${prefix}/etc/salt
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if ![file exists /etc/salt] {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ln -s ${prefix}/etc/salt /etc/salt
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if ![file exists ${prefix}/etc/salt/minion] {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- copy ${worksrcpath}/conf/minion ${prefix}/etc/salt
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if ![file exists ${prefix}/etc/salt/master] {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- copy ${worksrcpath}/conf/master ${prefix}/etc/salt
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- pre-deactivate {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if { [file type /etc/salt] == "link" } {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- file delete /etc/salt
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> notes "salt startupitems are now installed by subports salt-minion, salt-master, salt-syndic, salt-api"
}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -73,7 +49,7 @@ foreach daemon [list minion master syndic api] {
</span> startupitem.netchange yes
startupitem.logevents yes
startupitem.logfile ${prefix}/var/log/salt/${daemon}
<span style='display:block; white-space:pre;background:#ffe0e0;'>- startupitem.executable ${prefix}/bin/salt-${daemon}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ startupitem.executable ${prefix}/bin/salt-${daemon} --config-dir=${prefix}/etc/salt --pid-file=${prefix}/var/run/salt-${daemon}.pid
</span> depends_run port:salt
description install startupitem for salt-${daemon}
distfiles
</pre><pre style='margin:0'>
</pre>