summaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-support/open-vm-tools
diff options
context:
space:
mode:
Diffstat (limited to 'meta-networking/recipes-support/open-vm-tools')
-rw-r--r--meta-networking/recipes-support/open-vm-tools/open-vm-tools/0001-Fix-build-when-compiling-with-std-c23.patch26
-rw-r--r--meta-networking/recipes-support/open-vm-tools/open-vm-tools_12.5.0.bb (renamed from meta-networking/recipes-support/open-vm-tools/open-vm-tools_12.3.5.bb)17
2 files changed, 36 insertions, 7 deletions
diff --git a/meta-networking/recipes-support/open-vm-tools/open-vm-tools/0001-Fix-build-when-compiling-with-std-c23.patch b/meta-networking/recipes-support/open-vm-tools/open-vm-tools/0001-Fix-build-when-compiling-with-std-c23.patch
new file mode 100644
index 0000000000..aad1b10b52
--- /dev/null
+++ b/meta-networking/recipes-support/open-vm-tools/open-vm-tools/0001-Fix-build-when-compiling-with-std-c23.patch
@@ -0,0 +1,26 @@
1From 2a79621f58bf1c4bc0166ccc044fcf343fb66b44 Mon Sep 17 00:00:00 2001
2From: Rudi Heitbaum <rudi@heitbaum.com>
3Date: Wed, 20 Nov 2024 10:40:03 +1100
4Subject: [PATCH] Fix build when compiling with -std=c23
5
6Fixes the build when using gcc 15
7
8Upstream-Status: Submitted [https://github.com/vmware/open-vm-tools/pull/751]
9Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
10---
11 open-vm-tools/lib/lock/ul.c | 2 +-
12 1 file changed, 1 insertion(+), 1 deletion(-)
13
14diff --git a/open-vm-tools/lib/lock/ul.c b/open-vm-tools/lib/lock/ul.c
15index d376a98af..fc9fdb714 100644
16--- a/open-vm-tools/lib/lock/ul.c
17+++ b/open-vm-tools/lib/lock/ul.c
18@@ -29,7 +29,7 @@
19 static Bool mxInPanic = FALSE; // track when involved in a panic
20 static Bool mxUserCollectLockingTree = FALSE;
21
22-Bool (*MXUserTryAcquireForceFail)() = NULL;
23+Bool (*MXUserTryAcquireForceFail)(const char *) = NULL;
24
25 static MX_Rank (*MXUserMxCheckRank)(void) = NULL;
26 static void (*MXUserMxLockLister)(void) = NULL;
diff --git a/meta-networking/recipes-support/open-vm-tools/open-vm-tools_12.3.5.bb b/meta-networking/recipes-support/open-vm-tools/open-vm-tools_12.5.0.bb
index 6696e552c7..fa26a759dc 100644
--- a/meta-networking/recipes-support/open-vm-tools/open-vm-tools_12.3.5.bb
+++ b/meta-networking/recipes-support/open-vm-tools/open-vm-tools_12.5.0.bb
@@ -25,7 +25,7 @@ LICENSE:modules/freebsd/vmxnet = "GPL-2.0-only"
25LICENSE:modules/linux = "GPL-2.0-only" 25LICENSE:modules/linux = "GPL-2.0-only"
26LICENSE:modules/solaris = "CDDL-1.0" 26LICENSE:modules/solaris = "CDDL-1.0"
27 27
28SRC_URI = "git://github.com/vmware/open-vm-tools.git;protocol=https;branch=stable-12.3.x \ 28SRC_URI = "git://github.com/vmware/open-vm-tools.git;protocol=https;branch=stable-12.5.x \
29 file://tools.conf \ 29 file://tools.conf \
30 file://vmtoolsd.service \ 30 file://vmtoolsd.service \
31 file://vmtoolsd.init \ 31 file://vmtoolsd.init \
@@ -43,6 +43,7 @@ SRC_URI = "git://github.com/vmware/open-vm-tools.git;protocol=https;branch=stabl
43 file://0012-hgfsServerLinux-Consider-64bit-time_t-possibility.patch;patchdir=.. \ 43 file://0012-hgfsServerLinux-Consider-64bit-time_t-possibility.patch;patchdir=.. \
44 file://0013-open-vm-tools-Correct-include-path-for-poll.h.patch;patchdir=.. \ 44 file://0013-open-vm-tools-Correct-include-path-for-poll.h.patch;patchdir=.. \
45 file://0014-timeSync-Portable-way-to-print-64bit-time_t.patch;patchdir=.. \ 45 file://0014-timeSync-Portable-way-to-print-64bit-time_t.patch;patchdir=.. \
46 file://0001-Fix-build-when-compiling-with-std-c23.patch;patchdir=.. \
46 " 47 "
47 48
48UPSTREAM_CHECK_GITTAGREGEX = "stable-(?P<pver>\d+(\.\d+)+)" 49UPSTREAM_CHECK_GITTAGREGEX = "stable-(?P<pver>\d+(\.\d+)+)"
@@ -50,9 +51,9 @@ UPSTREAM_CHECK_GITTAGREGEX = "stable-(?P<pver>\d+(\.\d+)+)"
50SRC_URI:append:libc-musl = " file://0001-Add-resolv_compat.h-for-musl-builds.patch;patchdir=.. \ 51SRC_URI:append:libc-musl = " file://0001-Add-resolv_compat.h-for-musl-builds.patch;patchdir=.. \
51" 52"
52 53
53SRCREV = "1b362b9eb449fb5de3809aaea4a636ece30ee5b7" 54SRCREV = "f2ca37ef3510543172657b82493d1eceefa9a134"
54 55
55S = "${WORKDIR}/git/open-vm-tools" 56S = "${UNPACKDIR}/${BP}/open-vm-tools"
56 57
57DEPENDS = "glib-2.0 glib-2.0-native util-linux libdnet procps libtirpc" 58DEPENDS = "glib-2.0 glib-2.0-native util-linux libdnet procps libtirpc"
58 59
@@ -64,7 +65,7 @@ inherit autotools pkgconfig systemd update-rc.d
64SYSTEMD_SERVICE:${PN} = "vmtoolsd.service" 65SYSTEMD_SERVICE:${PN} = "vmtoolsd.service"
65 66
66EXTRA_OECONF = "--without-icu --disable-multimon --disable-docs \ 67EXTRA_OECONF = "--without-icu --disable-multimon --disable-docs \
67 --disable-tests --without-gtkmm --without-xerces --without-pam \ 68 --disable-tests --without-gtkmm --without-pam \
68 --disable-vgauth --disable-deploypkg --disable-containerinfo \ 69 --disable-vgauth --disable-deploypkg --disable-containerinfo \
69 --without-root-privileges --without-kernel-modules --with-tirpc \ 70 --without-root-privileges --without-kernel-modules --with-tirpc \
70 --with-udev-rules-dir=${nonarch_base_libdir}/udev/rules.d" 71 --with-udev-rules-dir=${nonarch_base_libdir}/udev/rules.d"
@@ -97,12 +98,12 @@ do_install:append() {
97 install -d ${D}${sysconfdir}/vmware-tools 98 install -d ${D}${sysconfdir}/vmware-tools
98 if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then 99 if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then
99 install -d ${D}${systemd_unitdir}/system 100 install -d ${D}${systemd_unitdir}/system
100 install -m 644 ${WORKDIR}/*.service ${D}${systemd_unitdir}/system 101 install -m 644 ${UNPACKDIR}/*.service ${D}${systemd_unitdir}/system
101 else 102 else
102 install -d ${D}${sysconfdir}/init.d 103 install -d ${D}${sysconfdir}/init.d
103 install -m 0755 ${WORKDIR}/vmtoolsd.init ${D}${sysconfdir}/init.d/vmtoolsd 104 install -m 0755 ${UNPACKDIR}/vmtoolsd.init ${D}${sysconfdir}/init.d/vmtoolsd
104 fi 105 fi
105 install -m 0644 ${WORKDIR}/tools.conf ${D}${sysconfdir}/vmware-tools/tools.conf 106 install -m 0644 ${UNPACKDIR}/tools.conf ${D}${sysconfdir}/vmware-tools/tools.conf
106} 107}
107 108
108do_configure:prepend() { 109do_configure:prepend() {
@@ -120,3 +121,5 @@ python() {
120} 121}
121 122
122CVE_PRODUCT = "open-vm-tools vmware:tools" 123CVE_PRODUCT = "open-vm-tools vmware:tools"
124CVE_STATUS[CVE-2014-4199] = "fixed-version: No action required. The current version (12.3.5) is not affected by the CVE which affects version 10.0.3"
125CVE_STATUS[CVE-2014-4200] = "fixed-version: No action required. The current version (12.3.5) is not affected by the CVE which affects version 10.0.3"