<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/6a3dfcb58bea59e4031fcb5faca75c5797aa3fc4">https://github.com/macports/macports-ports/commit/6a3dfcb58bea59e4031fcb5faca75c5797aa3fc4</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 6a3dfcb58be putty: update to 0.80
</span>6a3dfcb58be is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 6a3dfcb58bea59e4031fcb5faca75c5797aa3fc4
</span>Author: contextnerror <contextnerror@outlook.com>
AuthorDate: Sat Jan 6 12:28:42 2024 -0800
<span style='display:block; white-space:pre;color:#404040;'> putty: update to 0.80
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Remove patch that was fixed upstream
</span>---
security/putty/Portfile | 10 ++++------
security/putty/files/sftpserver.c.patch | 16 ----------------
2 files changed, 4 insertions(+), 22 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 7d9ed156394..1b8b0df3827 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,7 +5,7 @@ PortGroup active_variants 1.1
</span> PortGroup cmake 1.1
name putty
<span style='display:block; white-space:pre;background:#ffe0e0;'>-version 0.77
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 0.80
</span> categories security net
maintainers nomaintainer
license MIT
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -19,15 +19,13 @@ homepage https://www.chiark.greenend.org.uk/~sgtatham/putty/
</span> 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 d4e27e59e3a7235089ccae854db2507a650da02f \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 419a76f45238fd45f2c76b42438993056e74fa78374f136052aaa843085beae5 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size 2619481
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 2399fd6bb070bf7c1d7e2500d4d58b9e2ccc87d9 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 2013c83a721b1753529e9090f7c3830e8fe4c80a070ccce764539badb3f67081 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 2831433
</span>
depends_build-append port:pkgconfig
configure.args-append -DPUTTY_GTK_VERSION=0
<span style='display:block; white-space:pre;background:#ffe0e0;'>-patchfiles sftpserver.c.patch
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> pre-configure {
configure.cflags-delete -DNDEBUG
}
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/security/putty/files/sftpserver.c.patch b/security/putty/files/sftpserver.c.patch
</span>deleted file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 6b69ebe10d0..00000000000
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/security/putty/files/sftpserver.c.patch
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,16 +0,0 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-HAVE_FSTATAT and HAVE_DIRFD are defined using #cmakedefine01, which
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-means they will always be defined, with a value of 1 if the feature is
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-available or 0 if it is not. So simply checking if they are defined is
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-incorrect and leads to the functions being used when unavailable.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- unix/sftpserver.c.orig 2022-05-25 02:56:28.000000000 +1000
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ unix/sftpserver.c 2022-06-13 00:27:02.000000000 +1000
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -602,7 +602,7 @@ static void uss_readdir(SftpServer *srv,
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- char *longnamebuf = NULL;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- struct fxp_attrs attrs = no_attrs;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--#if defined HAVE_FSTATAT && defined HAVE_DIRFD
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+#if HAVE_FSTATAT && HAVE_DIRFD
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- struct stat st;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if (!fstatat(dirfd(udh->dp), de->d_name, &st, AT_SYMLINK_NOFOLLOW)) {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- char perms[11], *uidbuf = NULL, *gidbuf = NULL;
</span></pre><pre style='margin:0'>
</pre>