include $(TOPDIR)/rules.mk
PKG_NAME:=open-vm-tools
-PKG_VERSION:=12.2.0
+PKG_VERSION:=12.5.0
PKG_RELEASE:=1
-PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-21223074.tar.gz
+PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-24276846.tar.gz
PKG_SOURCE_URL:=https://github.com/vmware/open-vm-tools/releases/download/stable-$(PKG_VERSION)
-PKG_HASH:=ddc797cb75c435ad03c197ee0753156add148d06aefb14587dd31bff7556479a
-PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)-21223074
+PKG_HASH:=7eefd632f10ed4afc48559bcae31a598501377e72dec4b9965cee53e8c4f47ce
+PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)-24276846
PKG_LICENSE:=LGPL-2.1-or-later
PKG_LICENSE_FILES:=LICENSE
--- a/configure.ac
+++ b/configure.ac
-@@ -1179,6 +1179,7 @@ AC_CHECK_FUNCS(
+@@ -1121,6 +1121,7 @@ AC_CHECK_FUNCS(
AC_CHECK_FUNCS([ecvt])
AC_CHECK_FUNCS([fcvt])
AC_CHECK_FUNC([mkdtemp], [have_mkdtemp=yes])
-@@ -1388,10 +1389,13 @@ fi
+@@ -1330,10 +1331,13 @@ fi
###
AC_CHECK_HEADERS([crypt.h])
#include "unicodeOperations.h"
--- a/lib/include/asyncsocket.h
+++ b/lib/include/asyncsocket.h
-@@ -175,7 +175,7 @@ typedef struct AsyncSocket AsyncSocket;
+@@ -177,7 +177,7 @@ typedef struct AsyncSocket AsyncSocket;
* Or the client can specify its favorite poll class and locking behavior.
* Use of IVmdbPoll is only supported for regular sockets and for Attach.
*/
--- a/vmhgfs-fuse/file.c
+++ b/vmhgfs-fuse/file.c
-@@ -547,7 +547,7 @@ static int
+@@ -548,7 +548,7 @@ static int
HgfsDoRead(HgfsHandle handle, // IN: Handle for this file
char *buf, // OUT: Buffer to copy data into
size_t count, // IN: Number of bytes to read
{
HgfsReq *req;
HgfsOp opUsed;
-@@ -708,11 +708,11 @@ ssize_t
+@@ -709,11 +709,11 @@ ssize_t
HgfsRead(struct fuse_file_info *fi, // IN: File info struct
char *buf, // OUT: User buffer to copy data into
size_t count, // IN: Number of bytes to read
size_t nextCount, remainingCount = count;
uint32 maxIOSize = HgfsMaxIOSize();
-@@ -769,7 +769,7 @@ static int
+@@ -770,7 +770,7 @@ static int
HgfsDoWrite(HgfsHandle handle, // IN: Handle for the file
const char *buf, // IN: Buffer containing data
size_t count, // IN: Number of bytes to write
{
HgfsReq *req;
int result = 0;
-@@ -893,11 +893,11 @@ ssize_t
+@@ -894,11 +894,11 @@ ssize_t
HgfsWrite(struct fuse_file_info *fi, // IN: File info structure
const char *buf, // OUT: User buffer to copy data into
size_t count, // IN: Number of bytes to read