<pre style='margin:0'>
Marius Schamschula (Schamschula) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/969e3f91008ce8782c27824e51a20b7e4e5128bb">https://github.com/macports/macports-ports/commit/969e3f91008ce8782c27824e51a20b7e4e5128bb</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 969e3f9 stunnel 5.43: install fake certificate
</span>969e3f9 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 969e3f91008ce8782c27824e51a20b7e4e5128bb
</span>Author: Marius Schamschula <mps@macports.org>
AuthorDate: Wed Nov 15 10:37:02 2017 -0600
<span style='display:block; white-space:pre;color:#404040;'> stunnel 5.43: install fake certificate
</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/55326
</span>---
security/stunnel/Portfile | 5 +++++
security/stunnel/files/patch-tools-Makefile.in.diff | 13 +++++++++++++
2 files changed, 18 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/security/stunnel/Portfile b/security/stunnel/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index baff5b0..9ac676d 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/security/stunnel/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/security/stunnel/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -4,6 +4,7 @@ PortSystem 1.0
</span>
name stunnel
version 5.43
<span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 1
</span> set major [lindex [split ${version} .] 0]
categories security net
platforms darwin
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -31,14 +32,18 @@ checksums rmd160 31e474682402a4bd97c0869b1336436204f75a16 \
</span> depends_lib path:lib/libssl.dylib:openssl
patchfiles patch-configure \
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ patch-tools-Makefile.in.diff \
</span> patch-tools-openssl.cnf.diff
configure.args --disable-libwrap \
--with-ssl=${prefix}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+build.target-append cert
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> destroot.keepdirs ${destroot}${prefix}/var/lib/stunnel
post-destroot {
xinstall -d -m 770 -o nobody ${destroot}${prefix}/var/lib/stunnel/
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -b -m 600 ${worksrcpath}/tools/stunnel.pem ${destroot}${prefix}/etc/stunnel/
</span> }
# libwrap has been reported to introduce some problems with stunnel 4.18.
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/security/stunnel/files/patch-tools-Makefile.in.diff b/security/stunnel/files/patch-tools-Makefile.in.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..1050b23
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/security/stunnel/files/patch-tools-Makefile.in.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,13 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- tools/Makefile.in.orig 2017-08-23 00:04:30.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ tools/Makefile.in 2017-11-15 10:30:03.000000000 -0600
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -544,8 +544,8 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ cert:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ $(srcdir)/makecert.sh $(srcdir) $(SSLDIR) $(RANDOM_FILE)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- ${INSTALL} -b -m 600 stunnel.pem $(DESTDIR)$(confdir)/stunnel.pem
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- rm -f stunnel.pem
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++# ${INSTALL} -b -m 600 stunnel.pem $(DESTDIR)$(confdir)/stunnel.pem
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++# rm -f stunnel.pem
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ stunnel.conf-sample stunnel.init stunnel.service: Makefile
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ $(edit) '$(srcdir)/$@.in' >$@
</span></pre><pre style='margin:0'>
</pre>