summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYi Zhao <yi.zhao@windriver.com>2022-10-10 22:11:41 +0800
committerKhem Raj <raj.khem@gmail.com>2022-10-10 10:19:33 -0700
commit7cd9307271c9c8aa336f4c43cf8739dbd2f437a8 (patch)
tree8293e8d6dd93800af96620ab10e2f33fafee9cb1
parent8ae057a2e6862e4312ed4fa2fc635ce92b22d7ca (diff)
downloadmeta-openembedded-7cd9307271c9c8aa336f4c43cf8739dbd2f437a8.tar.gz
open-vm-tools: upgrade 11.3.5 -> 12.1.0
* Drop 0001-Make-HgfsConvertFromNtTimeNsec-aware-of-64-bit-time_.patch and 0013-misc-Do-not-print-NULL-string-into-logs.patch which have been merged upstream. * Refresh patches. * Do not build containerinfo plugin as it requries containerd. Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--meta-networking/recipes-support/open-vm-tools/open-vm-tools/0001-Add-resolv_compat.h-for-musl-builds.patch10
-rw-r--r--meta-networking/recipes-support/open-vm-tools/open-vm-tools/0001-Make-HgfsConvertFromNtTimeNsec-aware-of-64-bit-time_.patch78
-rw-r--r--meta-networking/recipes-support/open-vm-tools/open-vm-tools/0001-configure.ac-don-t-use-dnet-config.patch11
-rw-r--r--meta-networking/recipes-support/open-vm-tools/open-vm-tools/0002-Use-configure-test-for-struct-timespec.patch (renamed from meta-networking/recipes-support/open-vm-tools/open-vm-tools/0003-Use-configure-test-for-struct-timespec.patch)11
-rw-r--r--meta-networking/recipes-support/open-vm-tools/open-vm-tools/0003-Fix-definition-of-ALLPERMS-and-ACCESSPERMS.patch (renamed from meta-networking/recipes-support/open-vm-tools/open-vm-tools/0004-Fix-definition-of-ALLPERMS-and-ACCESSPERMS.patch)13
-rw-r--r--meta-networking/recipes-support/open-vm-tools/open-vm-tools/0004-Use-configure-to-test-for-feature-instead-of-platfor.patch (renamed from meta-networking/recipes-support/open-vm-tools/open-vm-tools/0005-Use-configure-to-test-for-feature-instead-of-platfor.patch)14
-rw-r--r--meta-networking/recipes-support/open-vm-tools/open-vm-tools/0005-Use-configure-test-for-sys-stat.h-include.patch (renamed from meta-networking/recipes-support/open-vm-tools/open-vm-tools/0006-Use-configure-test-for-sys-stat.h-include.patch)7
-rw-r--r--meta-networking/recipes-support/open-vm-tools/open-vm-tools/0006-Fix-subdir-objects-configure-error.patch (renamed from meta-networking/recipes-support/open-vm-tools/open-vm-tools/0007-Fix-subdir-objects-configure-error.patch)8
-rw-r--r--meta-networking/recipes-support/open-vm-tools/open-vm-tools/0007-include-poll.h-instead-of-sys-poll.h.patch (renamed from meta-networking/recipes-support/open-vm-tools/open-vm-tools/0008-include-poll.h-instead-of-sys-poll.h.patch)9
-rw-r--r--meta-networking/recipes-support/open-vm-tools/open-vm-tools/0008-Rename-poll.h-to-vm_poll.h.patch (renamed from meta-networking/recipes-support/open-vm-tools/open-vm-tools/0009-Rename-poll.h-to-vm_poll.h.patch)16
-rw-r--r--meta-networking/recipes-support/open-vm-tools/open-vm-tools/0009-use-posix-strerror_r-unless-on-gnu-libc-system.patch (renamed from meta-networking/recipes-support/open-vm-tools/open-vm-tools/0010-use-posix-strerror_r-unless-on-gnu-libc-system.patch)7
-rw-r--r--meta-networking/recipes-support/open-vm-tools/open-vm-tools/0010-Use-uintmax_t-for-handling-rlim_t.patch (renamed from meta-networking/recipes-support/open-vm-tools/open-vm-tools/0011-Use-uintmax_t-for-handling-rlim_t.patch)10
-rw-r--r--meta-networking/recipes-support/open-vm-tools/open-vm-tools/0011-Use-off64_t-instead-of-__off64_t.patch (renamed from meta-networking/recipes-support/open-vm-tools/open-vm-tools/0012-Use-off64_t-instead-of-__off64_t.patch)10
-rw-r--r--meta-networking/recipes-support/open-vm-tools/open-vm-tools/0012-hgfsServerLinux-Consider-64bit-time_t-possibility.patch (renamed from meta-networking/recipes-support/open-vm-tools/open-vm-tools/0002-hgfsServerLinux-Consider-64bit-time_t-possibility.patch)8
-rw-r--r--meta-networking/recipes-support/open-vm-tools/open-vm-tools/0013-misc-Do-not-print-NULL-string-into-logs.patch27
-rw-r--r--meta-networking/recipes-support/open-vm-tools/open-vm-tools/0013-open-vm-tools-Correct-include-path-for-poll.h.patch (renamed from meta-networking/recipes-support/open-vm-tools/open-vm-tools/0001-open-vm-tools-Correct-include-path-for-poll.h.patch)4
-rw-r--r--meta-networking/recipes-support/open-vm-tools/open-vm-tools_12.1.0.bb (renamed from meta-networking/recipes-support/open-vm-tools/open-vm-tools_11.3.5.bb)30
17 files changed, 97 insertions, 176 deletions
diff --git a/meta-networking/recipes-support/open-vm-tools/open-vm-tools/0001-Add-resolv_compat.h-for-musl-builds.patch b/meta-networking/recipes-support/open-vm-tools/open-vm-tools/0001-Add-resolv_compat.h-for-musl-builds.patch
index c09bc12520..4a97c26185 100644
--- a/meta-networking/recipes-support/open-vm-tools/open-vm-tools/0001-Add-resolv_compat.h-for-musl-builds.patch
+++ b/meta-networking/recipes-support/open-vm-tools/open-vm-tools/0001-Add-resolv_compat.h-for-musl-builds.patch
@@ -1,4 +1,4 @@
1From f93b680ec1a816ffe90d5f1bce609f8bf68a456e Mon Sep 17 00:00:00 2001 1From c1ee0b0a0a05379d0e6475dfceaaf41876192640 Mon Sep 17 00:00:00 2001
2From: Trevor Gamblin <trevor.gamblin@windriver.com> 2From: Trevor Gamblin <trevor.gamblin@windriver.com>
3Date: Wed, 14 Apr 2021 10:24:52 -0400 3Date: Wed, 14 Apr 2021 10:24:52 -0400
4Subject: [PATCH] Add resolv_compat.h for musl builds 4Subject: [PATCH] Add resolv_compat.h for musl builds
@@ -10,7 +10,6 @@ https://gitweb.gentoo.org/proj/musl.git/tree/dev-qt/qtwebengine/files/qtwebengin
10Upstream-Status: Pending 10Upstream-Status: Pending
11 11
12Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com> 12Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
13
14--- 13---
15 open-vm-tools/lib/nicInfo/nicInfoPosix.c | 4 +++ 14 open-vm-tools/lib/nicInfo/nicInfoPosix.c | 4 +++
16 open-vm-tools/lib/nicInfo/resolv_compat.h | 30 +++++++++++++++++++++++ 15 open-vm-tools/lib/nicInfo/resolv_compat.h | 30 +++++++++++++++++++++++
@@ -18,7 +17,7 @@ Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
18 create mode 100644 open-vm-tools/lib/nicInfo/resolv_compat.h 17 create mode 100644 open-vm-tools/lib/nicInfo/resolv_compat.h
19 18
20diff --git a/open-vm-tools/lib/nicInfo/nicInfoPosix.c b/open-vm-tools/lib/nicInfo/nicInfoPosix.c 19diff --git a/open-vm-tools/lib/nicInfo/nicInfoPosix.c b/open-vm-tools/lib/nicInfo/nicInfoPosix.c
21index c56b73cf..8ae3b2f7 100644 20index c56b73cfe..8ae3b2f74 100644
22--- a/open-vm-tools/lib/nicInfo/nicInfoPosix.c 21--- a/open-vm-tools/lib/nicInfo/nicInfoPosix.c
23+++ b/open-vm-tools/lib/nicInfo/nicInfoPosix.c 22+++ b/open-vm-tools/lib/nicInfo/nicInfoPosix.c
24@@ -70,6 +70,10 @@ 23@@ -70,6 +70,10 @@
@@ -34,7 +33,7 @@ index c56b73cf..8ae3b2f7 100644
34 * 33 *
35diff --git a/open-vm-tools/lib/nicInfo/resolv_compat.h b/open-vm-tools/lib/nicInfo/resolv_compat.h 34diff --git a/open-vm-tools/lib/nicInfo/resolv_compat.h b/open-vm-tools/lib/nicInfo/resolv_compat.h
36new file mode 100644 35new file mode 100644
37index 00000000..d768464b 36index 000000000..d768464b9
38--- /dev/null 37--- /dev/null
39+++ b/open-vm-tools/lib/nicInfo/resolv_compat.h 38+++ b/open-vm-tools/lib/nicInfo/resolv_compat.h
40@@ -0,0 +1,30 @@ 39@@ -0,0 +1,30 @@
@@ -68,3 +67,6 @@ index 00000000..d768464b
68+} 67+}
69+#endif 68+#endif
70+ 69+
70--
712.25.1
72
diff --git a/meta-networking/recipes-support/open-vm-tools/open-vm-tools/0001-Make-HgfsConvertFromNtTimeNsec-aware-of-64-bit-time_.patch b/meta-networking/recipes-support/open-vm-tools/open-vm-tools/0001-Make-HgfsConvertFromNtTimeNsec-aware-of-64-bit-time_.patch
deleted file mode 100644
index 61a681f17f..0000000000
--- a/meta-networking/recipes-support/open-vm-tools/open-vm-tools/0001-Make-HgfsConvertFromNtTimeNsec-aware-of-64-bit-time_.patch
+++ /dev/null
@@ -1,78 +0,0 @@
1From caf80e220b055dbce259078be96e899dc78ec1d2 Mon Sep 17 00:00:00 2001
2From: Bartosz Brachaczek <b.brachaczek@gmail.com>
3Date: Tue, 12 Nov 2019 14:31:08 +0100
4Subject: [PATCH] Make HgfsConvertFromNtTimeNsec aware of 64-bit time_t on i386
5
6I verified that this function behaves as expected on x86_64, i386 with
732-bit time_t, and i386 with 64-bit time_t for the following values of
8ntTtime:
9
10UNIX_EPOCH-1, UNIX_EPOCH, UNIX_EPOCH+1, UNIX_S32_MAX-1, UNIX_S32_MAX,
11UNIX_S32_MAX+1, UNIX_S32_MAX*2+1
12
13I did not verify whether the use of Div643264 is optimal, performance
14wise.
15
16Upstream-Status: Submitted [https://github.com/vmware/open-vm-tools/pull/387]
17Signed-off-by: Khem Raj <raj.khem@gmail.com>
18---
19 open-vm-tools/lib/hgfs/hgfsUtil.c | 34 +++++++++++++++++--------------
20 1 file changed, 19 insertions(+), 15 deletions(-)
21
22diff --git a/open-vm-tools/lib/hgfs/hgfsUtil.c b/open-vm-tools/lib/hgfs/hgfsUtil.c
23index cc580ab8..49b10040 100644
24--- a/open-vm-tools/lib/hgfs/hgfsUtil.c
25+++ b/open-vm-tools/lib/hgfs/hgfsUtil.c
26@@ -110,23 +110,21 @@ HgfsConvertFromNtTimeNsec(struct timespec *unixTime, // OUT: Time in UNIX format
27 uint64 ntTime) // IN: Time in Windows NT format
28 {
29 #ifdef __i386__
30- uint32 sec;
31- uint32 nsec;
32+ uint64 sec64;
33+ uint32 sec32, nsec;
34+#endif
35
36 ASSERT(unixTime);
37- /* We assume that time_t is 32bit */
38- ASSERT_ON_COMPILE(sizeof (unixTime->tv_sec) == 4);
39
40- /* Cap NT time values that are outside of Unix time's range */
41+ if (sizeof (unixTime->tv_sec) == 4) {
42+ /* Cap NT time values that are outside of Unix time's range */
43
44- if (ntTime >= UNIX_S32_MAX) {
45- unixTime->tv_sec = 0x7FFFFFFF;
46- unixTime->tv_nsec = 0;
47- return 1;
48+ if (ntTime >= UNIX_S32_MAX) {
49+ unixTime->tv_sec = 0x7FFFFFFF;
50+ unixTime->tv_nsec = 0;
51+ return 1;
52+ }
53 }
54-#else
55- ASSERT(unixTime);
56-#endif
57
58 if (ntTime < UNIX_EPOCH) {
59 unixTime->tv_sec = 0;
60@@ -135,9 +133,15 @@ HgfsConvertFromNtTimeNsec(struct timespec *unixTime, // OUT: Time in UNIX format
61 }
62
63 #ifdef __i386__
64- Div643232(ntTime - UNIX_EPOCH, 10000000, &sec, &nsec);
65- unixTime->tv_sec = sec;
66- unixTime->tv_nsec = nsec * 100;
67+ if (sizeof (unixTime->tv_sec) == 4) {
68+ Div643232(ntTime - UNIX_EPOCH, 10000000, &sec32, &nsec);
69+ unixTime->tv_sec = sec32;
70+ unixTime->tv_nsec = nsec * 100;
71+ } else {
72+ Div643264(ntTime - UNIX_EPOCH, 10000000, &sec64, &nsec);
73+ unixTime->tv_sec = sec64;
74+ unixTime->tv_nsec = nsec * 100;
75+ }
76 #else
77 unixTime->tv_sec = (ntTime - UNIX_EPOCH) / 10000000;
78 unixTime->tv_nsec = ((ntTime - UNIX_EPOCH) % 10000000) * 100;
diff --git a/meta-networking/recipes-support/open-vm-tools/open-vm-tools/0001-configure.ac-don-t-use-dnet-config.patch b/meta-networking/recipes-support/open-vm-tools/open-vm-tools/0001-configure.ac-don-t-use-dnet-config.patch
index a711f5e5d2..3aa21e3ec3 100644
--- a/meta-networking/recipes-support/open-vm-tools/open-vm-tools/0001-configure.ac-don-t-use-dnet-config.patch
+++ b/meta-networking/recipes-support/open-vm-tools/open-vm-tools/0001-configure.ac-don-t-use-dnet-config.patch
@@ -1,4 +1,4 @@
1From fc9bf1ce9f1a21150b10736a1c968d4ca6d4eaa3 Mon Sep 17 00:00:00 2001 1From c953564b9f029b31381a2c630b47133ffe6a33e7 Mon Sep 17 00:00:00 2001
2From: Martin Kelly <mkelly@xevo.com> 2From: Martin Kelly <mkelly@xevo.com>
3Date: Fri, 7 Apr 2017 15:20:30 -0700 3Date: Fri, 7 Apr 2017 15:20:30 -0700
4Subject: [PATCH] configure.ac: don't use dnet-config 4Subject: [PATCH] configure.ac: don't use dnet-config
@@ -14,9 +14,11 @@ Signed-off-by: Martin Kelly <mkelly@xevo.com>
14 open-vm-tools/configure.ac | 4 ++-- 14 open-vm-tools/configure.ac | 4 ++--
15 1 file changed, 2 insertions(+), 2 deletions(-) 15 1 file changed, 2 insertions(+), 2 deletions(-)
16 16
17diff --git a/open-vm-tools/configure.ac b/open-vm-tools/configure.ac
18index 3c058135a..124781f99 100644
17--- a/open-vm-tools/configure.ac 19--- a/open-vm-tools/configure.ac
18+++ b/open-vm-tools/configure.ac 20+++ b/open-vm-tools/configure.ac
19@@ -937,7 +937,7 @@ if test "$with_dnet" = "yes"; then 21@@ -1227,7 +1227,7 @@ if test "$with_dnet" = "yes"; then
20 AC_VMW_CHECK_LIB([dnet], 22 AC_VMW_CHECK_LIB([dnet],
21 [DNET], 23 [DNET],
22 [], 24 [],
@@ -25,7 +27,7 @@ Signed-off-by: Martin Kelly <mkelly@xevo.com>
25 [], 27 [],
26 [dnet.h], 28 [dnet.h],
27 [intf_open], 29 [intf_open],
28@@ -947,7 +947,7 @@ if test "$with_dnet" = "yes"; then 30@@ -1237,7 +1237,7 @@ if test "$with_dnet" = "yes"; then
29 31
30 if test $have_dnet = "no"; then 32 if test $have_dnet = "no"; then
31 AC_MSG_ERROR( 33 AC_MSG_ERROR(
@@ -34,3 +36,6 @@ Signed-off-by: Martin Kelly <mkelly@xevo.com>
34 fi 36 fi
35 fi 37 fi
36 38
39--
402.25.1
41
diff --git a/meta-networking/recipes-support/open-vm-tools/open-vm-tools/0003-Use-configure-test-for-struct-timespec.patch b/meta-networking/recipes-support/open-vm-tools/open-vm-tools/0002-Use-configure-test-for-struct-timespec.patch
index 6d2e498141..aa5ffde418 100644
--- a/meta-networking/recipes-support/open-vm-tools/open-vm-tools/0003-Use-configure-test-for-struct-timespec.patch
+++ b/meta-networking/recipes-support/open-vm-tools/open-vm-tools/0002-Use-configure-test-for-struct-timespec.patch
@@ -1,4 +1,4 @@
1From bf9292ff9bd25467a014d6c2070805d163daa4c9 Mon Sep 17 00:00:00 2001 1From 6384b37cdef4ea868c3cee27bb627e4cfbab7b50 Mon Sep 17 00:00:00 2001
2From: Natanael Copa <ncopa@alpinelinux.org> 2From: Natanael Copa <ncopa@alpinelinux.org>
3Date: Wed, 18 Nov 2015 09:03:00 +0000 3Date: Wed, 18 Nov 2015 09:03:00 +0000
4Subject: [PATCH] Use configure test for struct timespec 4Subject: [PATCH] Use configure test for struct timespec
@@ -13,10 +13,10 @@ Signed-off-by: Natanael Copa <ncopa@alpinelinux.org>
13 2 files changed, 2 insertions(+), 7 deletions(-) 13 2 files changed, 2 insertions(+), 7 deletions(-)
14 14
15diff --git a/open-vm-tools/configure.ac b/open-vm-tools/configure.ac 15diff --git a/open-vm-tools/configure.ac b/open-vm-tools/configure.ac
16index 713ea683..48ff1ef3 100644 16index 124781f99..05f37f275 100644
17--- a/open-vm-tools/configure.ac 17--- a/open-vm-tools/configure.ac
18+++ b/open-vm-tools/configure.ac 18+++ b/open-vm-tools/configure.ac
19@@ -1208,6 +1208,7 @@ AC_TYPE_OFF_T 19@@ -1441,6 +1441,7 @@ AC_TYPE_OFF_T
20 AC_TYPE_PID_T 20 AC_TYPE_PID_T
21 AC_TYPE_SIZE_T 21 AC_TYPE_SIZE_T
22 AC_CHECK_MEMBERS([struct stat.st_rdev]) 22 AC_CHECK_MEMBERS([struct stat.st_rdev])
@@ -25,7 +25,7 @@ index 713ea683..48ff1ef3 100644
25 AC_STRUCT_TM 25 AC_STRUCT_TM
26 AC_C_VOLATILE 26 AC_C_VOLATILE
27diff --git a/open-vm-tools/lib/include/hgfsUtil.h b/open-vm-tools/lib/include/hgfsUtil.h 27diff --git a/open-vm-tools/lib/include/hgfsUtil.h b/open-vm-tools/lib/include/hgfsUtil.h
28index 609f4c00..a3a022d4 100644 28index 609f4c000..a3a022d42 100644
29--- a/open-vm-tools/lib/include/hgfsUtil.h 29--- a/open-vm-tools/lib/include/hgfsUtil.h
30+++ b/open-vm-tools/lib/include/hgfsUtil.h 30+++ b/open-vm-tools/lib/include/hgfsUtil.h
31@@ -53,13 +53,7 @@ 31@@ -53,13 +53,7 @@
@@ -43,3 +43,6 @@ index 609f4c00..a3a022d4 100644
43 struct timespec { 43 struct timespec {
44 time_t tv_sec; 44 time_t tv_sec;
45 long tv_nsec; 45 long tv_nsec;
46--
472.25.1
48
diff --git a/meta-networking/recipes-support/open-vm-tools/open-vm-tools/0004-Fix-definition-of-ALLPERMS-and-ACCESSPERMS.patch b/meta-networking/recipes-support/open-vm-tools/open-vm-tools/0003-Fix-definition-of-ALLPERMS-and-ACCESSPERMS.patch
index e107ecf235..24279e34a0 100644
--- a/meta-networking/recipes-support/open-vm-tools/open-vm-tools/0004-Fix-definition-of-ALLPERMS-and-ACCESSPERMS.patch
+++ b/meta-networking/recipes-support/open-vm-tools/open-vm-tools/0003-Fix-definition-of-ALLPERMS-and-ACCESSPERMS.patch
@@ -1,4 +1,4 @@
1From 5a795b234c617150915a607776c76377948870a6 Mon Sep 17 00:00:00 2001 1From 6be6cda5aea42b951212ec5f8a72778b1ef9c2da Mon Sep 17 00:00:00 2001
2From: Natanael Copa <ncopa@alpinelinux.org> 2From: Natanael Copa <ncopa@alpinelinux.org>
3Date: Wed, 18 Nov 2015 09:10:14 +0000 3Date: Wed, 18 Nov 2015 09:10:14 +0000
4Subject: [PATCH] Fix definition of ALLPERMS and ACCESSPERMS 4Subject: [PATCH] Fix definition of ALLPERMS and ACCESSPERMS
@@ -15,7 +15,7 @@ Signed-off-by: Natanael Copa <ncopa@alpinelinux.org>
15 2 files changed, 6 insertions(+), 5 deletions(-) 15 2 files changed, 6 insertions(+), 5 deletions(-)
16 16
17diff --git a/open-vm-tools/lib/hgfsServer/hgfsServerLinux.c b/open-vm-tools/lib/hgfsServer/hgfsServerLinux.c 17diff --git a/open-vm-tools/lib/hgfsServer/hgfsServerLinux.c b/open-vm-tools/lib/hgfsServer/hgfsServerLinux.c
18index f2b7ce67..0e6351a9 100644 18index 63c4e65f0..87d419a7b 100644
19--- a/open-vm-tools/lib/hgfsServer/hgfsServerLinux.c 19--- a/open-vm-tools/lib/hgfsServer/hgfsServerLinux.c
20+++ b/open-vm-tools/lib/hgfsServer/hgfsServerLinux.c 20+++ b/open-vm-tools/lib/hgfsServer/hgfsServerLinux.c
21@@ -105,11 +105,13 @@ typedef struct DirectoryEntry { 21@@ -105,11 +105,13 @@ typedef struct DirectoryEntry {
@@ -36,10 +36,10 @@ index f2b7ce67..0e6351a9 100644
36 #endif 36 #endif
37 37
38diff --git a/open-vm-tools/services/plugins/dndcp/dnd/dndLinux.c b/open-vm-tools/services/plugins/dndcp/dnd/dndLinux.c 38diff --git a/open-vm-tools/services/plugins/dndcp/dnd/dndLinux.c b/open-vm-tools/services/plugins/dndcp/dnd/dndLinux.c
39index 89133652..7e9c3a91 100644 39index 219065f74..b5b7e6203 100644
40--- a/open-vm-tools/services/plugins/dndcp/dnd/dndLinux.c 40--- a/open-vm-tools/services/plugins/dndcp/dnd/dndLinux.c
41+++ b/open-vm-tools/services/plugins/dndcp/dnd/dndLinux.c 41+++ b/open-vm-tools/services/plugins/dndcp/dnd/dndLinux.c
42@@ -52,7 +52,7 @@ 42@@ -53,7 +53,7 @@
43 43
44 #define DND_ROOTDIR_PERMS (S_IRWXU | S_IRWXG | S_IRWXO) 44 #define DND_ROOTDIR_PERMS (S_IRWXU | S_IRWXG | S_IRWXO)
45 #define DND_STAGINGDIR_PERMS (S_IRWXU | S_IRGRP | S_IXGRP | S_IROTH | S_IXOTH) 45 #define DND_STAGINGDIR_PERMS (S_IRWXU | S_IRGRP | S_IXGRP | S_IROTH | S_IXOTH)
@@ -48,7 +48,7 @@ index 89133652..7e9c3a91 100644
48 #define ACCESSPERMS (S_IRWXU | S_IRWXG | S_IRWXO) 48 #define ACCESSPERMS (S_IRWXU | S_IRWXG | S_IRWXO)
49 #endif 49 #endif
50 #ifdef __ANDROID__ 50 #ifdef __ANDROID__
51@@ -61,7 +61,6 @@ 51@@ -62,7 +62,6 @@
52 */ 52 */
53 #define NO_SETMNTENT 53 #define NO_SETMNTENT
54 #define NO_ENDMNTENT 54 #define NO_ENDMNTENT
@@ -56,3 +56,6 @@ index 89133652..7e9c3a91 100644
56 #endif 56 #endif
57 57
58 58
59--
602.25.1
61
diff --git a/meta-networking/recipes-support/open-vm-tools/open-vm-tools/0005-Use-configure-to-test-for-feature-instead-of-platfor.patch b/meta-networking/recipes-support/open-vm-tools/open-vm-tools/0004-Use-configure-to-test-for-feature-instead-of-platfor.patch
index 34d4ce4a90..613bba2126 100644
--- a/meta-networking/recipes-support/open-vm-tools/open-vm-tools/0005-Use-configure-to-test-for-feature-instead-of-platfor.patch
+++ b/meta-networking/recipes-support/open-vm-tools/open-vm-tools/0004-Use-configure-to-test-for-feature-instead-of-platfor.patch
@@ -1,4 +1,4 @@
1From b653a81da70c44af002dcbc7489ad9f4588ed11d Mon Sep 17 00:00:00 2001 1From 9d22fba096cd77101fc45420c918ec748d2cc31b Mon Sep 17 00:00:00 2001
2From: Natanael Copa <ncopa@alpinelinux.org> 2From: Natanael Copa <ncopa@alpinelinux.org>
3Date: Wed, 18 Nov 2015 10:05:07 +0000 3Date: Wed, 18 Nov 2015 10:05:07 +0000
4Subject: [PATCH] Use configure to test for feature instead of platform 4Subject: [PATCH] Use configure to test for feature instead of platform
@@ -29,10 +29,10 @@ Signed-off-by: Randy MacLeod <randy.macleod@windriver.com>
29 3 files changed, 23 insertions(+), 17 deletions(-) 29 3 files changed, 23 insertions(+), 17 deletions(-)
30 30
31diff --git a/open-vm-tools/configure.ac b/open-vm-tools/configure.ac 31diff --git a/open-vm-tools/configure.ac b/open-vm-tools/configure.ac
32index 27f3717f..6baab9e3 100644 32index 05f37f275..9a0c63cf6 100644
33--- a/open-vm-tools/configure.ac 33--- a/open-vm-tools/configure.ac
34+++ b/open-vm-tools/configure.ac 34+++ b/open-vm-tools/configure.ac
35@@ -923,6 +923,7 @@ AC_CHECK_FUNCS( 35@@ -1169,6 +1169,7 @@ AC_CHECK_FUNCS(
36 36
37 AC_CHECK_FUNCS([ecvt]) 37 AC_CHECK_FUNCS([ecvt])
38 AC_CHECK_FUNCS([fcvt]) 38 AC_CHECK_FUNCS([fcvt])
@@ -40,7 +40,7 @@ index 27f3717f..6baab9e3 100644
40 40
41 AC_CHECK_FUNC([mkdtemp], [have_mkdtemp=yes]) 41 AC_CHECK_FUNC([mkdtemp], [have_mkdtemp=yes])
42 42
43@@ -1132,10 +1133,13 @@ fi 43@@ -1378,10 +1379,13 @@ fi
44 ### 44 ###
45 45
46 AC_CHECK_HEADERS([crypt.h]) 46 AC_CHECK_HEADERS([crypt.h])
@@ -55,7 +55,7 @@ index 27f3717f..6baab9e3 100644
55 AC_CHECK_HEADERS([sys/io.h]) 55 AC_CHECK_HEADERS([sys/io.h])
56 AC_CHECK_HEADERS([sys/param.h]) # Required to make the sys/user.h check work correctly on FreeBSD 56 AC_CHECK_HEADERS([sys/param.h]) # Required to make the sys/user.h check work correctly on FreeBSD
57diff --git a/open-vm-tools/lib/misc/idLinux.c b/open-vm-tools/lib/misc/idLinux.c 57diff --git a/open-vm-tools/lib/misc/idLinux.c b/open-vm-tools/lib/misc/idLinux.c
58index 1bb86f48..41c670cf 100644 58index 1bb86f483..41c670cfc 100644
59--- a/open-vm-tools/lib/misc/idLinux.c 59--- a/open-vm-tools/lib/misc/idLinux.c
60+++ b/open-vm-tools/lib/misc/idLinux.c 60+++ b/open-vm-tools/lib/misc/idLinux.c
61@@ -27,12 +27,9 @@ 61@@ -27,12 +27,9 @@
@@ -118,7 +118,7 @@ index 1bb86f48..41c670cf 100644
118 } 118 }
119 #endif 119 #endif
120diff --git a/open-vm-tools/lib/nicInfo/nicInfoPosix.c b/open-vm-tools/lib/nicInfo/nicInfoPosix.c 120diff --git a/open-vm-tools/lib/nicInfo/nicInfoPosix.c b/open-vm-tools/lib/nicInfo/nicInfoPosix.c
121index cc5fa281..8710c542 100644 121index de57a4a90..c56b73cfe 100644
122--- a/open-vm-tools/lib/nicInfo/nicInfoPosix.c 122--- a/open-vm-tools/lib/nicInfo/nicInfoPosix.c
123+++ b/open-vm-tools/lib/nicInfo/nicInfoPosix.c 123+++ b/open-vm-tools/lib/nicInfo/nicInfoPosix.c
124@@ -35,9 +35,13 @@ 124@@ -35,9 +35,13 @@
@@ -137,5 +137,5 @@ index cc5fa281..8710c542 100644
137 #endif 137 #endif
138 #ifndef NO_DNET 138 #ifndef NO_DNET
139-- 139--
1402.27.0 1402.25.1
141 141
diff --git a/meta-networking/recipes-support/open-vm-tools/open-vm-tools/0006-Use-configure-test-for-sys-stat.h-include.patch b/meta-networking/recipes-support/open-vm-tools/open-vm-tools/0005-Use-configure-test-for-sys-stat.h-include.patch
index 9a227f9ec7..b52f242481 100644
--- a/meta-networking/recipes-support/open-vm-tools/open-vm-tools/0006-Use-configure-test-for-sys-stat.h-include.patch
+++ b/meta-networking/recipes-support/open-vm-tools/open-vm-tools/0005-Use-configure-test-for-sys-stat.h-include.patch
@@ -1,4 +1,4 @@
1From 11adcf43a1e7aa39ee4d82fa567f37e5b0c6ca81 Mon Sep 17 00:00:00 2001 1From 2bc09bc7d933bc3d91c687e1cc2befdaa38d2c86 Mon Sep 17 00:00:00 2001
2From: Natanael Copa <ncopa@alpinelinux.org> 2From: Natanael Copa <ncopa@alpinelinux.org>
3Date: Wed, 18 Nov 2015 10:41:01 +0000 3Date: Wed, 18 Nov 2015 10:41:01 +0000
4Subject: [PATCH] Use configure test for sys/stat.h include 4Subject: [PATCH] Use configure test for sys/stat.h include
@@ -11,7 +11,7 @@ Signed-off-by: Natanael Copa <ncopa@alpinelinux.org>
11 1 file changed, 1 insertion(+), 1 deletion(-) 11 1 file changed, 1 insertion(+), 1 deletion(-)
12 12
13diff --git a/open-vm-tools/services/plugins/vix/vixTools.c b/open-vm-tools/services/plugins/vix/vixTools.c 13diff --git a/open-vm-tools/services/plugins/vix/vixTools.c b/open-vm-tools/services/plugins/vix/vixTools.c
14index e5273786..cabc4137 100644 14index 34f3125d2..cebf4dd8d 100644
15--- a/open-vm-tools/services/plugins/vix/vixTools.c 15--- a/open-vm-tools/services/plugins/vix/vixTools.c
16+++ b/open-vm-tools/services/plugins/vix/vixTools.c 16+++ b/open-vm-tools/services/plugins/vix/vixTools.c
17@@ -66,7 +66,7 @@ 17@@ -66,7 +66,7 @@
@@ -23,3 +23,6 @@ index e5273786..cabc4137 100644
23 #include <sys/stat.h> 23 #include <sys/stat.h>
24 #endif 24 #endif
25 25
26--
272.25.1
28
diff --git a/meta-networking/recipes-support/open-vm-tools/open-vm-tools/0007-Fix-subdir-objects-configure-error.patch b/meta-networking/recipes-support/open-vm-tools/open-vm-tools/0006-Fix-subdir-objects-configure-error.patch
index fd7ebce050..cb30966afe 100644
--- a/meta-networking/recipes-support/open-vm-tools/open-vm-tools/0007-Fix-subdir-objects-configure-error.patch
+++ b/meta-networking/recipes-support/open-vm-tools/open-vm-tools/0006-Fix-subdir-objects-configure-error.patch
@@ -1,4 +1,4 @@
1From 294a3f14b74f2020a5cf3ccc2b6adabbcfce4151 Mon Sep 17 00:00:00 2001 1From dbe0943011c24d48de3df5a95f4e4606be0ef250 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Wed, 13 Jun 2018 23:48:04 -0700 3Date: Wed, 13 Jun 2018 23:48:04 -0700
4Subject: [PATCH] Fix subdir objects configure error 4Subject: [PATCH] Fix subdir objects configure error
@@ -6,13 +6,12 @@ Subject: [PATCH] Fix subdir objects configure error
6Fix build on musl while here 6Fix build on musl while here
7 7
8Signed-off-by: Khem Raj <raj.khem@gmail.com> 8Signed-off-by: Khem Raj <raj.khem@gmail.com>
9
10--- 9---
11 open-vm-tools/configure.ac | 3 +-- 10 open-vm-tools/configure.ac | 3 +--
12 1 file changed, 1 insertion(+), 2 deletions(-) 11 1 file changed, 1 insertion(+), 2 deletions(-)
13 12
14diff --git a/open-vm-tools/configure.ac b/open-vm-tools/configure.ac 13diff --git a/open-vm-tools/configure.ac b/open-vm-tools/configure.ac
15index 005814ef..edf1f21a 100644 14index 9a0c63cf6..5845490f6 100644
16--- a/open-vm-tools/configure.ac 15--- a/open-vm-tools/configure.ac
17+++ b/open-vm-tools/configure.ac 16+++ b/open-vm-tools/configure.ac
18@@ -326,7 +326,6 @@ AC_ARG_ENABLE( 17@@ -326,7 +326,6 @@ AC_ARG_ENABLE(
@@ -32,3 +31,6 @@ index 005814ef..edf1f21a 100644
32 31
33 ### 32 ###
34 ### Constants 33 ### Constants
34--
352.25.1
36
diff --git a/meta-networking/recipes-support/open-vm-tools/open-vm-tools/0008-include-poll.h-instead-of-sys-poll.h.patch b/meta-networking/recipes-support/open-vm-tools/open-vm-tools/0007-include-poll.h-instead-of-sys-poll.h.patch
index 814b9e3b25..ff5fee6d4e 100644
--- a/meta-networking/recipes-support/open-vm-tools/open-vm-tools/0008-include-poll.h-instead-of-sys-poll.h.patch
+++ b/meta-networking/recipes-support/open-vm-tools/open-vm-tools/0007-include-poll.h-instead-of-sys-poll.h.patch
@@ -1,4 +1,4 @@
1From e4f0b99d90e26b15106f634caad1c3dea9e09cb8 Mon Sep 17 00:00:00 2001 1From 8c7f5895ed1f98bfc4101f8cfb93af3d13fd6bce Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Wed, 13 Jun 2018 23:02:50 -0700 3Date: Wed, 13 Jun 2018 23:02:50 -0700
4Subject: [PATCH] include poll.h instead of sys/poll.h 4Subject: [PATCH] include poll.h instead of sys/poll.h
@@ -11,10 +11,10 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
11 1 file changed, 1 insertion(+), 1 deletion(-) 11 1 file changed, 1 insertion(+), 1 deletion(-)
12 12
13diff --git a/open-vm-tools/lib/asyncsocket/asyncsocket.c b/open-vm-tools/lib/asyncsocket/asyncsocket.c 13diff --git a/open-vm-tools/lib/asyncsocket/asyncsocket.c b/open-vm-tools/lib/asyncsocket/asyncsocket.c
14index 65b07109..b41aa29d 100644 14index 2bf97b549..b285c59c6 100644
15--- a/open-vm-tools/lib/asyncsocket/asyncsocket.c 15--- a/open-vm-tools/lib/asyncsocket/asyncsocket.c
16+++ b/open-vm-tools/lib/asyncsocket/asyncsocket.c 16+++ b/open-vm-tools/lib/asyncsocket/asyncsocket.c
17@@ -69,8 +69,8 @@ 17@@ -70,8 +70,8 @@
18 #else 18 #else
19 #include <stddef.h> 19 #include <stddef.h>
20 #include <ctype.h> 20 #include <ctype.h>
@@ -24,3 +24,6 @@ index 65b07109..b41aa29d 100644
24 #include <sys/socket.h> 24 #include <sys/socket.h>
25 #include <sys/un.h> 25 #include <sys/un.h>
26 #include <netdb.h> 26 #include <netdb.h>
27--
282.25.1
29
diff --git a/meta-networking/recipes-support/open-vm-tools/open-vm-tools/0009-Rename-poll.h-to-vm_poll.h.patch b/meta-networking/recipes-support/open-vm-tools/open-vm-tools/0008-Rename-poll.h-to-vm_poll.h.patch
index 214dac4717..b3906e827a 100644
--- a/meta-networking/recipes-support/open-vm-tools/open-vm-tools/0009-Rename-poll.h-to-vm_poll.h.patch
+++ b/meta-networking/recipes-support/open-vm-tools/open-vm-tools/0008-Rename-poll.h-to-vm_poll.h.patch
@@ -1,4 +1,4 @@
1From 7a5db1cf47e70e72d78a42468912c276e57f865e Mon Sep 17 00:00:00 2001 1From 0c695d910b3e136e116cdbe0bfc6231dfac255a1 Mon Sep 17 00:00:00 2001
2From: Randy MacLeod <Randy.MacLeod@windriver.com> 2From: Randy MacLeod <Randy.MacLeod@windriver.com>
3Date: Wed, 24 Mar 2021 16:21:35 -0400 3Date: Wed, 24 Mar 2021 16:21:35 -0400
4Subject: [PATCH] Rename poll.h to vm_poll.h 4Subject: [PATCH] Rename poll.h to vm_poll.h
@@ -27,7 +27,7 @@ Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
27 rename open-vm-tools/lib/include/{poll.h => vm_poll.h} (99%) 27 rename open-vm-tools/lib/include/{poll.h => vm_poll.h} (99%)
28 28
29diff --git a/open-vm-tools/lib/asyncsocket/asyncsocket.c b/open-vm-tools/lib/asyncsocket/asyncsocket.c 29diff --git a/open-vm-tools/lib/asyncsocket/asyncsocket.c b/open-vm-tools/lib/asyncsocket/asyncsocket.c
30index 9914ffc5..89679f7a 100644 30index b285c59c6..5c528820d 100644
31--- a/open-vm-tools/lib/asyncsocket/asyncsocket.c 31--- a/open-vm-tools/lib/asyncsocket/asyncsocket.c
32+++ b/open-vm-tools/lib/asyncsocket/asyncsocket.c 32+++ b/open-vm-tools/lib/asyncsocket/asyncsocket.c
33@@ -87,7 +87,7 @@ 33@@ -87,7 +87,7 @@
@@ -40,7 +40,7 @@ index 9914ffc5..89679f7a 100644
40 #include "err.h" 40 #include "err.h"
41 #include "hostinfo.h" 41 #include "hostinfo.h"
42diff --git a/open-vm-tools/lib/hgfsServer/hgfsServer.c b/open-vm-tools/lib/hgfsServer/hgfsServer.c 42diff --git a/open-vm-tools/lib/hgfsServer/hgfsServer.c b/open-vm-tools/lib/hgfsServer/hgfsServer.c
43index 3a18a7e1..acdda54d 100644 43index 98f5b3f06..b436f0c7e 100644
44--- a/open-vm-tools/lib/hgfsServer/hgfsServer.c 44--- a/open-vm-tools/lib/hgfsServer/hgfsServer.c
45+++ b/open-vm-tools/lib/hgfsServer/hgfsServer.c 45+++ b/open-vm-tools/lib/hgfsServer/hgfsServer.c
46@@ -51,7 +51,7 @@ 46@@ -51,7 +51,7 @@
@@ -53,7 +53,7 @@ index 3a18a7e1..acdda54d 100644
53 #include "vm_basic_asm.h" 53 #include "vm_basic_asm.h"
54 #include "unicodeOperations.h" 54 #include "unicodeOperations.h"
55diff --git a/open-vm-tools/lib/include/asyncsocket.h b/open-vm-tools/lib/include/asyncsocket.h 55diff --git a/open-vm-tools/lib/include/asyncsocket.h b/open-vm-tools/lib/include/asyncsocket.h
56index 746dd78b..82c22f46 100644 56index dad848093..b61a2561f 100644
57--- a/open-vm-tools/lib/include/asyncsocket.h 57--- a/open-vm-tools/lib/include/asyncsocket.h
58+++ b/open-vm-tools/lib/include/asyncsocket.h 58+++ b/open-vm-tools/lib/include/asyncsocket.h
59@@ -171,7 +171,7 @@ typedef struct AsyncSocket AsyncSocket; 59@@ -171,7 +171,7 @@ typedef struct AsyncSocket AsyncSocket;
@@ -66,7 +66,7 @@ index 746dd78b..82c22f46 100644
66 typedef struct AsyncSocketPollParams { 66 typedef struct AsyncSocketPollParams {
67 int flags; /* Default 0, only POLL_FLAG_NO_BULL is valid */ 67 int flags; /* Default 0, only POLL_FLAG_NO_BULL is valid */
68diff --git a/open-vm-tools/lib/include/pollImpl.h b/open-vm-tools/lib/include/pollImpl.h 68diff --git a/open-vm-tools/lib/include/pollImpl.h b/open-vm-tools/lib/include/pollImpl.h
69index 46442e55..8bc66997 100644 69index 46442e556..8bc669970 100644
70--- a/open-vm-tools/lib/include/pollImpl.h 70--- a/open-vm-tools/lib/include/pollImpl.h
71+++ b/open-vm-tools/lib/include/pollImpl.h 71+++ b/open-vm-tools/lib/include/pollImpl.h
72@@ -44,7 +44,7 @@ 72@@ -44,7 +44,7 @@
@@ -82,7 +82,7 @@ diff --git a/open-vm-tools/lib/include/poll.h b/open-vm-tools/lib/include/vm_pol
82similarity index 99% 82similarity index 99%
83rename from open-vm-tools/lib/include/poll.h 83rename from open-vm-tools/lib/include/poll.h
84rename to open-vm-tools/lib/include/vm_poll.h 84rename to open-vm-tools/lib/include/vm_poll.h
85index c90f5dcd..73a56204 100644 85index ade356b9f..8759fb960 100644
86--- a/open-vm-tools/lib/include/poll.h 86--- a/open-vm-tools/lib/include/poll.h
87+++ b/open-vm-tools/lib/include/vm_poll.h 87+++ b/open-vm-tools/lib/include/vm_poll.h
88@@ -60,7 +60,7 @@ extern "C" { 88@@ -60,7 +60,7 @@ extern "C" {
@@ -95,7 +95,7 @@ index c90f5dcd..73a56204 100644
95 #endif 95 #endif
96 #ifdef __ANDROID__ 96 #ifdef __ANDROID__
97diff --git a/open-vm-tools/lib/rpcIn/rpcin.c b/open-vm-tools/lib/rpcIn/rpcin.c 97diff --git a/open-vm-tools/lib/rpcIn/rpcin.c b/open-vm-tools/lib/rpcIn/rpcin.c
98index 8b1fe759..f22fcd40 100644 98index 8b1fe759d..f22fcd402 100644
99--- a/open-vm-tools/lib/rpcIn/rpcin.c 99--- a/open-vm-tools/lib/rpcIn/rpcin.c
100+++ b/open-vm-tools/lib/rpcIn/rpcin.c 100+++ b/open-vm-tools/lib/rpcIn/rpcin.c
101@@ -57,7 +57,7 @@ 101@@ -57,7 +57,7 @@
@@ -108,5 +108,5 @@ index 8b1fe759..f22fcd40 100644
108 # include "vmci_defs.h" 108 # include "vmci_defs.h"
109 #include "dataMap.h" 109 #include "dataMap.h"
110-- 110--
1112.27.0 1112.25.1
112 112
diff --git a/meta-networking/recipes-support/open-vm-tools/open-vm-tools/0010-use-posix-strerror_r-unless-on-gnu-libc-system.patch b/meta-networking/recipes-support/open-vm-tools/open-vm-tools/0009-use-posix-strerror_r-unless-on-gnu-libc-system.patch
index 784b4fc6c5..9ae1a8e6b8 100644
--- a/meta-networking/recipes-support/open-vm-tools/open-vm-tools/0010-use-posix-strerror_r-unless-on-gnu-libc-system.patch
+++ b/meta-networking/recipes-support/open-vm-tools/open-vm-tools/0009-use-posix-strerror_r-unless-on-gnu-libc-system.patch
@@ -1,4 +1,4 @@
1From e86a259e1ce19c70ecfdece69ab53a07c63a34e1 Mon Sep 17 00:00:00 2001 1From 921621a098f242953117747f5852d7e3136ae6c4 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Wed, 13 Jun 2018 23:16:53 -0700 3Date: Wed, 13 Jun 2018 23:16:53 -0700
4Subject: [PATCH] use posix strerror_r unless on gnu libc system 4Subject: [PATCH] use posix strerror_r unless on gnu libc system
@@ -9,7 +9,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
9 1 file changed, 6 insertions(+), 3 deletions(-) 9 1 file changed, 6 insertions(+), 3 deletions(-)
10 10
11diff --git a/open-vm-tools/lib/err/errPosix.c b/open-vm-tools/lib/err/errPosix.c 11diff --git a/open-vm-tools/lib/err/errPosix.c b/open-vm-tools/lib/err/errPosix.c
12index c81b4c13..7a403640 100644 12index c81b4c13f..7a4036402 100644
13--- a/open-vm-tools/lib/err/errPosix.c 13--- a/open-vm-tools/lib/err/errPosix.c
14+++ b/open-vm-tools/lib/err/errPosix.c 14+++ b/open-vm-tools/lib/err/errPosix.c
15@@ -31,6 +31,7 @@ 15@@ -31,6 +31,7 @@
@@ -37,3 +37,6 @@ index c81b4c13..7a403640 100644
37 ASSERT(p != NULL); 37 ASSERT(p != NULL);
38 return p; 38 return p;
39 } 39 }
40--
412.25.1
42
diff --git a/meta-networking/recipes-support/open-vm-tools/open-vm-tools/0011-Use-uintmax_t-for-handling-rlim_t.patch b/meta-networking/recipes-support/open-vm-tools/open-vm-tools/0010-Use-uintmax_t-for-handling-rlim_t.patch
index 144b5837cb..36d0c641ae 100644
--- a/meta-networking/recipes-support/open-vm-tools/open-vm-tools/0011-Use-uintmax_t-for-handling-rlim_t.patch
+++ b/meta-networking/recipes-support/open-vm-tools/open-vm-tools/0010-Use-uintmax_t-for-handling-rlim_t.patch
@@ -1,7 +1,7 @@
1From 4b69d8fd78bf6edbc8b4ace58e621d46071fd8dc Mon Sep 17 00:00:00 2001 1From b44d1d4e4ba77f1d9cf7de73a3bd210d02b5ff36 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Wed, 24 Mar 2021 17:26:53 -0400 3Date: Wed, 24 Mar 2021 17:26:53 -0400
4Subject: [PATCH 2/2] Use uintmax_t for handling rlim_t 4Subject: [PATCH] Use uintmax_t for handling rlim_t
5 5
6rlimit types are not representable with long or long long 6rlimit types are not representable with long or long long
7formats, therefore use uintmax_t to typecast rlim_t types 7formats, therefore use uintmax_t to typecast rlim_t types
@@ -17,10 +17,10 @@ Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
17 1 file changed, 2 insertions(+), 2 deletions(-) 17 1 file changed, 2 insertions(+), 2 deletions(-)
18 18
19diff --git a/open-vm-tools/lib/hgfsServer/hgfsServerLinux.c b/open-vm-tools/lib/hgfsServer/hgfsServerLinux.c 19diff --git a/open-vm-tools/lib/hgfsServer/hgfsServerLinux.c b/open-vm-tools/lib/hgfsServer/hgfsServerLinux.c
20index ba2e5624..889f730a 100644 20index 87d419a7b..f5cc80b76 100644
21--- a/open-vm-tools/lib/hgfsServer/hgfsServerLinux.c 21--- a/open-vm-tools/lib/hgfsServer/hgfsServerLinux.c
22+++ b/open-vm-tools/lib/hgfsServer/hgfsServerLinux.c 22+++ b/open-vm-tools/lib/hgfsServer/hgfsServerLinux.c
23@@ -5292,8 +5292,8 @@ HgfsWriteCheckIORange(off_t offset, // IN: 23@@ -5301,8 +5301,8 @@ HgfsWriteCheckIORange(off_t offset, // IN:
24 goto exit; 24 goto exit;
25 } 25 }
26 26
@@ -32,5 +32,5 @@ index ba2e5624..889f730a 100644
32 /* 32 /*
33 * Check the offset is within the file size range. 33 * Check the offset is within the file size range.
34-- 34--
352.30.2 352.25.1
36 36
diff --git a/meta-networking/recipes-support/open-vm-tools/open-vm-tools/0012-Use-off64_t-instead-of-__off64_t.patch b/meta-networking/recipes-support/open-vm-tools/open-vm-tools/0011-Use-off64_t-instead-of-__off64_t.patch
index 5e37d7617b..98eecebcfb 100644
--- a/meta-networking/recipes-support/open-vm-tools/open-vm-tools/0012-Use-off64_t-instead-of-__off64_t.patch
+++ b/meta-networking/recipes-support/open-vm-tools/open-vm-tools/0011-Use-off64_t-instead-of-__off64_t.patch
@@ -1,4 +1,4 @@
1From 80b1c4236549b0194d1f0d6e9be887e3a5850843 Mon Sep 17 00:00:00 2001 1From 39a59ab7efe98c880c783b2ccf43e5a137d2b222 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Mon, 27 Aug 2018 23:22:21 -0700 3Date: Mon, 27 Aug 2018 23:22:21 -0700
4Subject: [PATCH] Use off64_t instead of __off64_t 4Subject: [PATCH] Use off64_t instead of __off64_t
@@ -8,16 +8,15 @@ unknown type name '__off64_t'
8 8
9Upstream-Status: Pending 9Upstream-Status: Pending
10Signed-off-by: Khem Raj <raj.khem@gmail.com> 10Signed-off-by: Khem Raj <raj.khem@gmail.com>
11
12--- 11---
13 open-vm-tools/lib/file/fileIOPosix.c | 4 ++-- 12 open-vm-tools/lib/file/fileIOPosix.c | 4 ++--
14 1 file changed, 2 insertions(+), 2 deletions(-) 13 1 file changed, 2 insertions(+), 2 deletions(-)
15 14
16diff --git a/open-vm-tools/lib/file/fileIOPosix.c b/open-vm-tools/lib/file/fileIOPosix.c 15diff --git a/open-vm-tools/lib/file/fileIOPosix.c b/open-vm-tools/lib/file/fileIOPosix.c
17index 82c0aa18..e9154541 100644 16index 492a4bf4a..a80a884cd 100644
18--- a/open-vm-tools/lib/file/fileIOPosix.c 17--- a/open-vm-tools/lib/file/fileIOPosix.c
19+++ b/open-vm-tools/lib/file/fileIOPosix.c 18+++ b/open-vm-tools/lib/file/fileIOPosix.c
20@@ -206,10 +206,10 @@ static AlignedPool alignedPool; 19@@ -211,10 +211,10 @@ static AlignedPool alignedPool;
21 * the symbols (and anyone building XOPEN<700 gets nothing). 20 * the symbols (and anyone building XOPEN<700 gets nothing).
22 */ 21 */
23 extern ssize_t preadv64(int fd, const struct iovec *iov, int iovcnt, 22 extern ssize_t preadv64(int fd, const struct iovec *iov, int iovcnt,
@@ -30,3 +29,6 @@ index 82c0aa18..e9154541 100644
30 #else 29 #else
31 #error "Large file support is unavailable." 30 #error "Large file support is unavailable."
32 #endif 31 #endif
32--
332.25.1
34
diff --git a/meta-networking/recipes-support/open-vm-tools/open-vm-tools/0002-hgfsServerLinux-Consider-64bit-time_t-possibility.patch b/meta-networking/recipes-support/open-vm-tools/open-vm-tools/0012-hgfsServerLinux-Consider-64bit-time_t-possibility.patch
index 97a4136ca4..c7e62da7ee 100644
--- a/meta-networking/recipes-support/open-vm-tools/open-vm-tools/0002-hgfsServerLinux-Consider-64bit-time_t-possibility.patch
+++ b/meta-networking/recipes-support/open-vm-tools/open-vm-tools/0012-hgfsServerLinux-Consider-64bit-time_t-possibility.patch
@@ -1,4 +1,4 @@
1From c6836386549fb8f017761ce17a237fa42901434c Mon Sep 17 00:00:00 2001 1From 859c21b9a21c53d936301b05044d0c649d6cf32b Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Wed, 24 Mar 2021 17:36:26 -0400 3Date: Wed, 24 Mar 2021 17:36:26 -0400
4Subject: [PATCH] hgfsServerLinux: Consider 64bit time_t possibility 4Subject: [PATCH] hgfsServerLinux: Consider 64bit time_t possibility
@@ -10,13 +10,12 @@ Refit for open-vm-tools-11.2.5.
10Signed-off-by: Khem Raj <raj.khem@gmail.com> 10Signed-off-by: Khem Raj <raj.khem@gmail.com>
11Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com> 11Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
12Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com> 12Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
13
14--- 13---
15 open-vm-tools/lib/hgfsServer/hgfsServerLinux.c | 14 -------------- 14 open-vm-tools/lib/hgfsServer/hgfsServerLinux.c | 14 --------------
16 1 file changed, 14 deletions(-) 15 1 file changed, 14 deletions(-)
17 16
18diff --git a/open-vm-tools/lib/hgfsServer/hgfsServerLinux.c b/open-vm-tools/lib/hgfsServer/hgfsServerLinux.c 17diff --git a/open-vm-tools/lib/hgfsServer/hgfsServerLinux.c b/open-vm-tools/lib/hgfsServer/hgfsServerLinux.c
19index f5cc80b7..5a79d645 100644 18index f5cc80b76..5a79d6451 100644
20--- a/open-vm-tools/lib/hgfsServer/hgfsServerLinux.c 19--- a/open-vm-tools/lib/hgfsServer/hgfsServerLinux.c
21+++ b/open-vm-tools/lib/hgfsServer/hgfsServerLinux.c 20+++ b/open-vm-tools/lib/hgfsServer/hgfsServerLinux.c
22@@ -2566,20 +2566,6 @@ HgfsStatToFileAttr(struct stat *stats, // IN: stat information 21@@ -2566,20 +2566,6 @@ HgfsStatToFileAttr(struct stat *stats, // IN: stat information
@@ -40,3 +39,6 @@ index f5cc80b7..5a79d645 100644
40 39
41 attr->userId = stats->st_uid; 40 attr->userId = stats->st_uid;
42 attr->groupId = stats->st_gid; 41 attr->groupId = stats->st_gid;
42--
432.25.1
44
diff --git a/meta-networking/recipes-support/open-vm-tools/open-vm-tools/0013-misc-Do-not-print-NULL-string-into-logs.patch b/meta-networking/recipes-support/open-vm-tools/open-vm-tools/0013-misc-Do-not-print-NULL-string-into-logs.patch
deleted file mode 100644
index 3e4753b2a6..0000000000
--- a/meta-networking/recipes-support/open-vm-tools/open-vm-tools/0013-misc-Do-not-print-NULL-string-into-logs.patch
+++ /dev/null
@@ -1,27 +0,0 @@
1From cfc6839362bd96bf2f42954160f16a60bf1de377 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Sat, 22 Dec 2018 19:59:02 -0800
4Subject: [PATCH] misc: Do not print NULL string into logs
5
6string format %s is getting a NULL pointer for 'expand'
7parameter always since the check for chunks[i] == NULL will ensure that
8its always null when the Log() API is called
9
10Upstream-Status: Submitted [https://github.com/vmware/open-vm-tools/pull/312]
11
12Signed-off-by: Khem Raj <raj.khem@gmail.com>
13---
14 open-vm-tools/lib/misc/util_misc.c | 4 ++--
15 1 file changed, 2 insertions(+), 2 deletions(-)
16
17--- a/open-vm-tools/lib/misc/util_misc.c
18+++ b/open-vm-tools/lib/misc/util_misc.c
19@@ -719,7 +719,7 @@ Util_ExpandString(const char *fileName)
20 ASSERT(!freeChunk[i]);
21 chunks[i] = expand;
22 if (chunks[i] == NULL) {
23- Log("%s: Cannot allocate memory to expand $ in \"%s\".\n",
24+ Log("%s: Cannot allocate memory to expand in \"%s\".\n",
25 __FUNCTION__, fileName);
26 goto out;
27 }
diff --git a/meta-networking/recipes-support/open-vm-tools/open-vm-tools/0001-open-vm-tools-Correct-include-path-for-poll.h.patch b/meta-networking/recipes-support/open-vm-tools/open-vm-tools/0013-open-vm-tools-Correct-include-path-for-poll.h.patch
index d9823bdd5f..83687460bf 100644
--- a/meta-networking/recipes-support/open-vm-tools/open-vm-tools/0001-open-vm-tools-Correct-include-path-for-poll.h.patch
+++ b/meta-networking/recipes-support/open-vm-tools/open-vm-tools/0013-open-vm-tools-Correct-include-path-for-poll.h.patch
@@ -1,4 +1,4 @@
1From 2cefed441753b012c385e2d3ea5374b4d67e5696 Mon Sep 17 00:00:00 2001 1From 7f7e00ce582d72013cb54278548d3320e032b0dc Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Mon, 7 Feb 2022 13:32:32 -0800 3Date: Mon, 7 Feb 2022 13:32:32 -0800
4Subject: [PATCH] open-vm-tools: Correct include path for poll.h 4Subject: [PATCH] open-vm-tools: Correct include path for poll.h
@@ -32,5 +32,5 @@ index 2bba2937e..025339595 100644
32 #endif 32 #endif
33 33
34-- 34--
352.35.1 352.25.1
36 36
diff --git a/meta-networking/recipes-support/open-vm-tools/open-vm-tools_11.3.5.bb b/meta-networking/recipes-support/open-vm-tools/open-vm-tools_12.1.0.bb
index 1c3545f960..19e4ee11ed 100644
--- a/meta-networking/recipes-support/open-vm-tools/open-vm-tools_11.3.5.bb
+++ b/meta-networking/recipes-support/open-vm-tools/open-vm-tools_12.1.0.bb
@@ -30,20 +30,18 @@ SRC_URI = "git://github.com/vmware/open-vm-tools.git;protocol=https;branch=maste
30 file://vmtoolsd.service \ 30 file://vmtoolsd.service \
31 file://vmtoolsd.init \ 31 file://vmtoolsd.init \
32 file://0001-configure.ac-don-t-use-dnet-config.patch;patchdir=.. \ 32 file://0001-configure.ac-don-t-use-dnet-config.patch;patchdir=.. \
33 file://0003-Use-configure-test-for-struct-timespec.patch;patchdir=.. \ 33 file://0002-Use-configure-test-for-struct-timespec.patch;patchdir=.. \
34 file://0004-Fix-definition-of-ALLPERMS-and-ACCESSPERMS.patch;patchdir=.. \ 34 file://0003-Fix-definition-of-ALLPERMS-and-ACCESSPERMS.patch;patchdir=.. \
35 file://0005-Use-configure-to-test-for-feature-instead-of-platfor.patch;patchdir=.. \ 35 file://0004-Use-configure-to-test-for-feature-instead-of-platfor.patch;patchdir=.. \
36 file://0006-Use-configure-test-for-sys-stat.h-include.patch;patchdir=.. \ 36 file://0005-Use-configure-test-for-sys-stat.h-include.patch;patchdir=.. \
37 file://0007-Fix-subdir-objects-configure-error.patch;patchdir=.. \ 37 file://0006-Fix-subdir-objects-configure-error.patch;patchdir=.. \
38 file://0008-include-poll.h-instead-of-sys-poll.h.patch;patchdir=.. \ 38 file://0007-include-poll.h-instead-of-sys-poll.h.patch;patchdir=.. \
39 file://0009-Rename-poll.h-to-vm_poll.h.patch;patchdir=.. \ 39 file://0008-Rename-poll.h-to-vm_poll.h.patch;patchdir=.. \
40 file://0010-use-posix-strerror_r-unless-on-gnu-libc-system.patch;patchdir=.. \ 40 file://0009-use-posix-strerror_r-unless-on-gnu-libc-system.patch;patchdir=.. \
41 file://0011-Use-uintmax_t-for-handling-rlim_t.patch;patchdir=.. \ 41 file://0010-Use-uintmax_t-for-handling-rlim_t.patch;patchdir=.. \
42 file://0012-Use-off64_t-instead-of-__off64_t.patch;patchdir=.. \ 42 file://0011-Use-off64_t-instead-of-__off64_t.patch;patchdir=.. \
43 file://0013-misc-Do-not-print-NULL-string-into-logs.patch;patchdir=.. \ 43 file://0012-hgfsServerLinux-Consider-64bit-time_t-possibility.patch;patchdir=.. \
44 file://0001-Make-HgfsConvertFromNtTimeNsec-aware-of-64-bit-time_.patch;patchdir=.. \ 44 file://0013-open-vm-tools-Correct-include-path-for-poll.h.patch;patchdir=.. \
45 file://0002-hgfsServerLinux-Consider-64bit-time_t-possibility.patch;patchdir=.. \
46 file://0001-open-vm-tools-Correct-include-path-for-poll.h.patch;patchdir=.. \
47 " 45 "
48 46
49UPSTREAM_CHECK_GITTAGREGEX = "stable-(?P<pver>\d+(\.\d+)+)" 47UPSTREAM_CHECK_GITTAGREGEX = "stable-(?P<pver>\d+(\.\d+)+)"
@@ -51,7 +49,7 @@ UPSTREAM_CHECK_GITTAGREGEX = "stable-(?P<pver>\d+(\.\d+)+)"
51SRC_URI:append:libc-musl = " file://0001-Add-resolv_compat.h-for-musl-builds.patch;patchdir=.. \ 49SRC_URI:append:libc-musl = " file://0001-Add-resolv_compat.h-for-musl-builds.patch;patchdir=.. \
52" 50"
53 51
54SRCREV = "87abba1ce2356fc860eb9d0777d8e9de47427358" 52SRCREV = "6f5e4b13647b40a45c196dad76b1cb39cc6690b9"
55 53
56S = "${WORKDIR}/git/open-vm-tools" 54S = "${WORKDIR}/git/open-vm-tools"
57 55
@@ -66,7 +64,7 @@ SYSTEMD_SERVICE:${PN} = "vmtoolsd.service"
66 64
67EXTRA_OECONF = "--without-icu --disable-multimon --disable-docs \ 65EXTRA_OECONF = "--without-icu --disable-multimon --disable-docs \
68 --disable-tests --without-gtkmm --without-xerces --without-pam \ 66 --disable-tests --without-gtkmm --without-xerces --without-pam \
69 --disable-vgauth --disable-deploypkg \ 67 --disable-vgauth --disable-deploypkg --disable-containerinfo \
70 --without-root-privileges --without-kernel-modules --with-tirpc \ 68 --without-root-privileges --without-kernel-modules --with-tirpc \
71 --with-udev-rules-dir=${nonarch_base_libdir}/udev/rules.d" 69 --with-udev-rules-dir=${nonarch_base_libdir}/udev/rules.d"
72 70