<pre style='margin:0'>
Clemens Lang (neverpanic) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/da98273dddb81993f94ca2ce0f459d555d347dc8">https://github.com/macports/macports-ports/commit/da98273dddb81993f94ca2ce0f459d555d347dc8</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 da98273 MacPorts: Keep sip-workaround dir in installers
</span>da98273 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit da98273dddb81993f94ca2ce0f459d555d347dc8
</span>Author: Clemens Lang <cal@macports.org>
AuthorDate: Sun Jan 29 18:46:25 2017 +0100
<span style='display:block; white-space:pre;color:#404040;'> MacPorts: Keep sip-workaround dir in installers
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> MacPorts by default deletes empty directories from destroot, unless they
</span><span style='display:block; white-space:pre;color:#404040;'> are in destroot.keepdirs (which creates a .turd_MacPorts file in the
</span><span style='display:block; white-space:pre;color:#404040;'> directory).
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Because MacPorts 2.4.0 introduced a $prefix/var/macports/sip-workaround
</span><span style='display:block; white-space:pre;color:#404040;'> directory but did not add it to the MacPorts port, the installers that
</span><span style='display:block; white-space:pre;color:#404040;'> were built for 2.4.0 with this port lack the sip-workaround directory.
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> The code for trace mode will create the directory as needed, but it will
</span><span style='display:block; white-space:pre;color:#404040;'> not have the correct permissions of drwxrwxrwt, which leads to problems
</span><span style='display:block; white-space:pre;color:#404040;'> in trace mode, such as
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> | sip_copy_proc: mkdir(/opt/local/var/macports/sip-workaround/503): Permission denied
</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/53435
</span>---
sysutils/MacPorts/Portfile | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/sysutils/MacPorts/Portfile b/sysutils/MacPorts/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 433b337..434ffcc 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/sysutils/MacPorts/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/sysutils/MacPorts/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -285,7 +285,8 @@ destroot.keepdirs ${destroot}${prefix}/include \
</span> ${destroot}${prefix}/var/spool \
${destroot}${prefix}/var/macports/build \
${destroot}${prefix}/var/macports/distfiles \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- ${destroot}${prefix}/var/macports/registry
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${destroot}${prefix}/var/macports/registry \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${destroot}${prefix}/var/macports/sip-workaround
</span>
pre-activate {
ui_error ""
</pre><pre style='margin:0'>
</pre>