Package new upstream version open-vm-tools-12.0.5-19716617.
Maintenance release addressing some potential FTBFS issues. Remove asyncsocket.patch as no longer needed.
This commit is contained in:
parent
f34b8afb76
commit
f17a328f4f
1
.gitignore
vendored
1
.gitignore
vendored
@ -23,3 +23,4 @@
|
||||
/open-vm-tools-11.3.0-18090558.tar.gz
|
||||
/open-vm-tools-11.3.5-18557794.tar.gz
|
||||
/open-vm-tools-12.0.0-19345655.tar.gz
|
||||
/open-vm-tools-12.0.5-19716617.tar.gz
|
||||
|
@ -1,101 +0,0 @@
|
||||
diff --git a/open-vm-tools/lib/asyncsocket/asyncSocketVTable.h b/open-vm-tools/lib/asyncsocket/asyncSocketVTable.h
|
||||
index a69b6567..01d5be9d 100644
|
||||
--- a/lib/asyncsocket/asyncSocketVTable.h
|
||||
+++ b/lib/asyncsocket/asyncSocketVTable.h
|
||||
@@ -131,8 +131,8 @@ typedef struct AsyncSocketVTable {
|
||||
int timeoutMS);
|
||||
int (*doOneMsg)(AsyncSocket *s, Bool read, int timeoutMS);
|
||||
int (*waitForConnection)(AsyncSocket *s, int timeoutMS);
|
||||
- int (*waitForReadMultiple)(AsyncSocket **asock, int numSock, int timeoutMS,
|
||||
- int *outIdx);
|
||||
+ int (*waitForReadMultiple)(AsyncSocket **asock, size_t numSock,
|
||||
+ int timeoutMS, int *outIdx);
|
||||
int (*peek)(AsyncSocket *asock, void *buf, int len, void *cb, void *cbData);
|
||||
|
||||
/*
|
||||
diff --git a/open-vm-tools/lib/asyncsocket/asyncsocket.c b/open-vm-tools/lib/asyncsocket/asyncsocket.c
|
||||
index 05147d2e..b827f66b 100644
|
||||
--- a/lib/asyncsocket/asyncsocket.c
|
||||
+++ b/lib/asyncsocket/asyncsocket.c
|
||||
@@ -370,7 +370,7 @@ static int AsyncTCPSocketRecvPartialBlocking(AsyncSocket *s, void *buf, int len,
|
||||
static int AsyncTCPSocketSendBlocking(AsyncSocket *s, void *buf, int len,
|
||||
int *sent, int timeoutMS);
|
||||
static int AsyncTCPSocketDoOneMsg(AsyncSocket *s, Bool read, int timeoutMS);
|
||||
-static int AsyncTCPSocketWaitForReadMultiple(AsyncSocket **asock, int numSock,
|
||||
+static int AsyncTCPSocketWaitForReadMultiple(AsyncSocket **asock, size_t numSock,
|
||||
int timeoutMS, int *outIdx);
|
||||
static int AsyncTCPSocketSetOption(AsyncSocket *asyncSocket,
|
||||
AsyncSocketOpts_Layer layer,
|
||||
@@ -2810,7 +2810,7 @@ AsyncTCPSocketPeek(AsyncSocket *base, // IN:
|
||||
|
||||
static int
|
||||
AsyncTCPSocketPollWork(AsyncTCPSocket **asock, // IN:
|
||||
- int numSock, // IN:
|
||||
+ size_t numSock, // IN:
|
||||
void *p, // IN:
|
||||
Bool read, // IN:
|
||||
int timeoutMS, // IN:
|
||||
@@ -2830,11 +2830,11 @@ AsyncTCPSocketPollWork(AsyncTCPSocket **asock, // IN:
|
||||
struct fd_set rwfds;
|
||||
struct fd_set exceptfds;
|
||||
#endif
|
||||
- int i;
|
||||
+ size_t i;
|
||||
int retval;
|
||||
|
||||
ASSERT(outAsock != NULL && *outAsock == NULL && asock != NULL &&
|
||||
- numSock > 0);
|
||||
+ numSock != 0);
|
||||
|
||||
for (i = 0; i < numSock; i++) {
|
||||
if (read && SSL_Pending(asock[i]->sslSock)) {
|
||||
@@ -2855,7 +2855,7 @@ AsyncTCPSocketPollWork(AsyncTCPSocket **asock, // IN:
|
||||
retval = poll(pfd, numSock, timeoutMS);
|
||||
AsyncTCPSocketLock(parentSock);
|
||||
} else {
|
||||
- for (i = numSock - 1; i >= 0; i--) {
|
||||
+ for (i = numSock; i-- > 0; ) {
|
||||
AsyncTCPSocketUnlock(asock[i]);
|
||||
}
|
||||
retval = poll(pfd, numSock, timeoutMS);
|
||||
@@ -2881,7 +2881,7 @@ AsyncTCPSocketPollWork(AsyncTCPSocket **asock, // IN:
|
||||
&exceptfds, timeoutMS >= 0 ? &tv : NULL);
|
||||
AsyncTCPSocketLock(parentSock);
|
||||
} else {
|
||||
- for (i = numSock - 1; i >= 0; i--) {
|
||||
+ for (i = numSock; i-- > 0; ) {
|
||||
AsyncTCPSocketUnlock(asock[i]);
|
||||
}
|
||||
retval = select(1, read ? &rwfds : NULL, read ? NULL : &rwfds,
|
||||
@@ -3035,7 +3035,7 @@ AsyncTCPSocketPoll(AsyncTCPSocket *s, // IN:
|
||||
#else
|
||||
void *p = NULL;
|
||||
#endif
|
||||
- int numSock = 0;
|
||||
+ size_t numSock = 0;
|
||||
|
||||
if (read && s->fd == -1) {
|
||||
if (!s->listenAsock4 && !s->listenAsock6) {
|
||||
@@ -3081,11 +3081,11 @@ AsyncTCPSocketPoll(AsyncTCPSocket *s, // IN:
|
||||
|
||||
static int
|
||||
AsyncTCPSocketWaitForReadMultiple(AsyncSocket **asock, // IN:
|
||||
- int numSock, // IN:
|
||||
+ size_t numSock, // IN:
|
||||
int timeoutMS, // IN:
|
||||
int *outIdx) // OUT:
|
||||
{
|
||||
- int i;
|
||||
+ size_t i;
|
||||
int err;
|
||||
AsyncTCPSocket *outAsock = NULL;
|
||||
#ifndef _WIN32
|
||||
@@ -3099,7 +3099,7 @@ AsyncTCPSocketWaitForReadMultiple(AsyncSocket **asock, // IN:
|
||||
}
|
||||
err = AsyncTCPSocketPollWork((AsyncTCPSocket **)asock, numSock, p, TRUE,
|
||||
timeoutMS, NULL, &outAsock);
|
||||
- for (i = numSock - 1; i >= 0; i--) {
|
||||
+ for (i = numSock; i-- > 0; ) {
|
||||
AsyncTCPSocket *tcpAsock = TCPSocket(asock[i]);
|
||||
if (outAsock == tcpAsock) {
|
||||
*outIdx = i;
|
@ -20,8 +20,8 @@
|
||||
|
||||
%global _hardened_build 1
|
||||
%global majorversion 12.0
|
||||
%global minorversion 0
|
||||
%global toolsbuild 19345655
|
||||
%global minorversion 5
|
||||
%global toolsbuild 19716617
|
||||
%global toolsversion %{majorversion}.%{minorversion}
|
||||
%global toolsdaemon vmtoolsd
|
||||
%global vgauthdaemon vgauthd
|
||||
@ -52,8 +52,7 @@ ExclusiveArch: %{ix86} x86_64 aarch64
|
||||
%endif
|
||||
|
||||
# Patches
|
||||
Patch1: asyncsocket.patch
|
||||
#Patch2: <patch-name2>.patch
|
||||
#Patch1: <patch-name1>.patch
|
||||
|
||||
BuildRequires: autoconf
|
||||
BuildRequires: automake
|
||||
@ -421,6 +420,11 @@ fi
|
||||
%{_bindir}/vmware-vgauth-smoketest
|
||||
|
||||
%changelog
|
||||
* Mon May 30 2022 John Wolfe <jwolfe@vmware.com> - 12.0.5-1
|
||||
- Package new upstream version open-vm-tools-12.0.5-19716617.
|
||||
- Maintenance release addressing some potential FTBFS issues.
|
||||
- Remove asyncsocket.patch as no longer needed.
|
||||
|
||||
* Mon May 9 2022 John Wolfe <jwolfe@vmware.com> - 12.0.0-1
|
||||
- Package new upstream version open-vm-tools-12.0.0-19345655.
|
||||
- Enable build of the new salt-minion plugin package.
|
||||
|
2
sources
2
sources
@ -1 +1 @@
|
||||
SHA512 (open-vm-tools-12.0.0-19345655.tar.gz) = 5c41ed81eb0e2755ca4a4adf8691f60daf016577d4b98ede36916fb95412f5dfdc086a3a42ef87fcb669ce7026ea1383a2dccc49fe30d192b187b8592a25e935
|
||||
SHA512 (open-vm-tools-12.0.5-19716617.tar.gz) = d0e842a33e423cb07f86c2c7c9b3d2e7bca85c49c922d14529a72db322931b3baedad386bffc1bb500bb4fe8b572529f3c63fc823732405849edb6344b405714
|
||||
|
Loading…
Reference in New Issue
Block a user