<pre style='margin:0'>
Frank Schima (mf2k) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/29212ef419d05694bdde621c21141c7651dfdd30">https://github.com/macports/macports-ports/commit/29212ef419d05694bdde621c21141c7651dfdd30</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 29212ef cntlm: Do not overwrite configuration file - Add size to checksums
</span>29212ef is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 29212ef419d05694bdde621c21141c7651dfdd30
</span>Author: Frank Schima <mf2k@macports.org>
AuthorDate: Thu May 9 10:33:23 2019 -0600
<span style='display:block; white-space:pre;color:#404040;'> cntlm: Do not overwrite configuration file
</span><span style='display:block; white-space:pre;color:#404040;'> - Add size to checksums
</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/40215
</span>---
net/cntlm/Portfile | 18 ++++++++++++++++--
1 file changed, 16 insertions(+), 2 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/net/cntlm/Portfile b/net/cntlm/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index c1adf4e..2882deb 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/net/cntlm/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/net/cntlm/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -23,8 +23,9 @@ homepage http://cntlm.sourceforge.net/
</span> master_sites sourceforge:project/cntlm/cntlm/cntlm%20${version}
use_bzip2 yes
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums rmd160 6655738ca5f93d15f14681d3c14bbe8ec8e6a543 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 7b603d6200ab0b26034e9e200fab949cc0a8e5fdd4df2c80b8fc5b1c37e7b930
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 6655738ca5f93d15f14681d3c14bbe8ec8e6a543 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 7b603d6200ab0b26034e9e200fab949cc0a8e5fdd4df2c80b8fc5b1c37e7b930 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 78198
</span>
patchfiles patch-Makefile.diff
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -36,6 +37,19 @@ build.args SYSCONFDIR=${destroot}${prefix}/etc \
</span>
destroot.args ${build.args}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+post-destroot {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Move conf file to sample so it does not get overwritten
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ file rename ${destroot}${prefix}/etc/cntlm.conf ${destroot}${prefix}/etc/cntlm.conf.sample
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+post-activate {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Create initial conf file if needed
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {![file exists ${prefix}/etc/cntlm.conf]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ file copy ${prefix}/etc/cntlm.conf.sample \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${prefix}/etc/cntlm.conf
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</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.name cntlm
startupitem.executable ${prefix}/sbin/cntlm -f
</pre><pre style='margin:0'>
</pre>