<pre style='margin:0'>
Herby Gillot (herbygillot) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/5abd62e8e8cd3f10e6481b86de0f14419b2fa8c1">https://github.com/macports/macports-ports/commit/5abd62e8e8cd3f10e6481b86de0f14419b2fa8c1</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 5abd62e8e8c putty: update to 0.81
</span>5abd62e8e8c is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 5abd62e8e8cd3f10e6481b86de0f14419b2fa8c1
</span>Author: barracuda156 <vital.had@gmail.com>
AuthorDate: Wed Apr 24 02:59:20 2024 +0800
<span style='display:block; white-space:pre;color:#404040;'> putty: update to 0.81
</span>---
security/putty/Portfile | 27 +++++++++++++++-------
security/putty/files/patch-STDC_FORMAT_MACROS.diff | 26 +++++++++++++++++++++
2 files changed, 45 insertions(+), 8 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/security/putty/Portfile b/security/putty/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 1b8b0df3827..80aca7d79f8 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/security/putty/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/security/putty/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -5,27 +5,38 @@ PortGroup active_variants 1.1
</span> PortGroup cmake 1.1
name putty
<span style='display:block; white-space:pre;background:#ffe0e0;'>-version 0.80
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 0.81
</span> categories security net
maintainers nomaintainer
license MIT
<span style='display:block; white-space:pre;background:#ffe0e0;'>-description a free implementation of Telnet and SSH, along with an \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- xterm terminal emulator
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+description A free implementation of Telnet and SSH, \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ along with an xterm terminal emulator
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-long_description PuTTY is ${description}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+long_description PuTTY is ${description}.
</span>
homepage https://www.chiark.greenend.org.uk/~sgtatham/putty/
master_sites ftp://ftp.chiark.greenend.org.uk/users/sgtatham/putty-${version}/ \
https://the.earth.li/~sgtatham/putty/${version}/
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums rmd160 2399fd6bb070bf7c1d7e2500d4d58b9e2ccc87d9 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 2013c83a721b1753529e9090f7c3830e8fe4c80a070ccce764539badb3f67081 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size 2831433
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 bc43172278395568f1ee936c12b7786d30a4ee72 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 cb8b00a94f453494e345a3df281d7a3ed26bb0dd7e36264f145206f8857639fe \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 2844616
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles-append patch-STDC_FORMAT_MACROS.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# ecc-ssh.c: error: unknown field ‘ecdh_vt’ specified in initializer
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+compiler.blacklist-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ *gcc-4.0 *gcc-4.2
</span>
depends_build-append port:pkgconfig
configure.args-append -DPUTTY_GTK_VERSION=0
<span style='display:block; white-space:pre;background:#e0ffe0;'>+if {${os.platform} eq "darwin" && ${os.major} < 16} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DHAVE_ALIGNED_ALLOC=0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> pre-configure {
configure.cflags-delete -DNDEBUG
}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -36,7 +47,7 @@ variant gui description {Build the GUI tools (including putty itself)} {
</span> configure.args-append -DPUTTY_GTK_VERSION=3
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-default_variants +gui
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+default_variants +gui
</span>
livecheck.type regex
livecheck.url ${homepage}download.html
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/security/putty/files/patch-STDC_FORMAT_MACROS.diff b/security/putty/files/patch-STDC_FORMAT_MACROS.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..79573bfe6db
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/security/putty/files/patch-STDC_FORMAT_MACROS.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,26 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- defs.h 2024-04-06 17:43:46.000000000 +0800
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ defs.h 2024-04-24 02:51:02.000000000 +0800
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -45,6 +45,9 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ /* Also, define a LEGACY_WINDOWS flag to enable other workarounds */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #define LEGACY_WINDOWS
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #else
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#ifndef __STDC_FORMAT_MACROS
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#define __STDC_FORMAT_MACROS
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <inttypes.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ /* Because we still support older MSVC libraries which don't recognise the
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ * standard C "z" modifier for size_t-sized integers, we must use an
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- test/sclog/sclog.c 2024-04-06 17:43:48.000000000 +0800
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ test/sclog/sclog.c 2024-04-24 02:46:43.000000000 +0800
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -6,6 +6,10 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ * the top of testsc.c.
</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;'>++#ifndef __STDC_FORMAT_MACROS
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#define __STDC_FORMAT_MACROS
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <inttypes.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <string.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span></pre><pre style='margin:0'>
</pre>