<pre style='margin:0'>
Jeremy L (nerdling) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/e9d6a27ff06b2fed91b09d01e2112cd6d8bd61f2">https://github.com/macports/macports-ports/commit/e9d6a27ff06b2fed91b09d01e2112cd6d8bd61f2</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 e9d6a27 ddclient: ensure cache dir exists
</span>e9d6a27 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit e9d6a27ff06b2fed91b09d01e2112cd6d8bd61f2
</span>Author: Jeremy Lavergne <snc@macports.org>
AuthorDate: Sun Jan 26 16:02:26 2020 -0500
<span style='display:block; white-space:pre;color:#404040;'> ddclient: ensure cache dir exists
</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/53956
</span>---
net/ddclient/Portfile | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/net/ddclient/Portfile b/net/ddclient/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index f19f1d2..acb5706 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/net/ddclient/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/net/ddclient/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -5,7 +5,7 @@ PortGroup perl5 1.0
</span>
name ddclient
version 3.9.0
<span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 2
</span> platforms darwin
categories net
license GPL
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -35,10 +35,8 @@ post-patch {
</span> use_configure no
build {}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-destroot.keepdirs ${destroot}${prefix}/var/cache/${name}
</span> destroot {
file mkdir ${destroot}${prefix}/etc/${name}
<span style='display:block; white-space:pre;background:#ffe0e0;'>- xinstall -m 755 -d ${destroot}${prefix}/var/cache/${name}
</span> xinstall -m 555 ${worksrcpath}/sample-etc_ddclient.conf \
${destroot}${prefix}/etc/${name}/ddclient.conf.sample
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -58,6 +56,10 @@ destroot {
</span> destroot.keepdirs ${destroot}${prefix}/var/run
}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+post-activate {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ file mkdir ${prefix}/var/cache/${name}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> startupitem.create yes
startupitem.start ${prefix}/sbin/${name}
startupitem.stop "/bin/kill \$(cat ${prefix}/var/run/${name}.pid)"
</pre><pre style='margin:0'>
</pre>