<pre style='margin:0'>
Ryan Schmidt (ryandesign) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/776068d92bfe1965fabf235b310b2b03a0c6482c">https://github.com/macports/macports-ports/commit/776068d92bfe1965fabf235b310b2b03a0c6482c</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 776068d92bfe1965fabf235b310b2b03a0c6482c
</span>Author: Ryan Schmidt <ryandesign@macports.org>
AuthorDate: Mon Dec 5 23:02:14 2016 -0600
<span style='display:block; white-space:pre;color:#404040;'> vtun: Update to 3.0.4
</span>---
net/vtun/Portfile | 9 +++++----
net/vtun/files/clear_nat_hack_flags.patch | 12 ++++++++++++
2 files changed, 17 insertions(+), 4 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/net/vtun/Portfile b/net/vtun/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 4e6e89c..48946f9 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/net/vtun/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/net/vtun/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -3,8 +3,7 @@
</span> PortSystem 1.0
name vtun
<span style='display:block; white-space:pre;background:#ffe0e0;'>-version 3.0.2
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 3
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 3.0.4
</span> categories net security
platforms darwin
maintainers nomaintainer
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -23,9 +22,11 @@ long_description vtun is for creating encrypted network links. It is \
</span> homepage http://vtun.sourceforge.net/
master_sites sourceforge:project/vtun/vtun/${version}/
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums md5 d3d8bc4d58886498a1c338670eab9315
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 004f2fa3a583b579706a1bc8728108ce9e4bca6e \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 abf8df6b15e3febeaaeae2ce24ead7105eb1537ad4ec0d830c83cbb684fd98b9
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-patchfiles patch-lfd_legacy_encrypt.c.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles clear_nat_hack_flags.patch \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patch-lfd_legacy_encrypt.c.diff
</span>
depends_lib port:zlib \
path:lib/libssl.dylib:openssl \
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/net/vtun/files/clear_nat_hack_flags.patch b/net/vtun/files/clear_nat_hack_flags.patch
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..cec4ede
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/net/vtun/files/clear_nat_hack_flags.patch
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,12 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+https://sourceforge.net/p/vtun/bugs/61/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- cfg_file.y.orig
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ cfg_file.y
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -624,7 +624,7 @@ int clear_nat_hack_client(void *d, void
</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;'>+ /* Clear the VTUN_NAT_HACK flag which are not relevant to the current operation mode */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-inline void clear_nat_hack_flags(int svr)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++extern inline void clear_nat_hack_flags(int svr)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if (svr)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ llist_trav(&host_list,clear_nat_hack_server,NULL);
</span></pre><pre style='margin:0'>
</pre>