open-vm-tools: update to 11.2.0.

This commit is contained in:
Piraty 2020-10-20 13:13:34 +02:00
parent 132663c955
commit e0c93b0f79
2 changed files with 21 additions and 20 deletions

View file

@ -3,22 +3,23 @@
--- open-vm-tools/lib/include/guest_os.h
+++ open-vm-tools/lib/include/guest_os.h
@@ -241,6 +241,7 @@ Bool Gos_InSetArray(uint32 gos, const uint32 *set);
#define STR_OS_AMAZON_LINUX "amazonlinux"
#define STR_OS_ANNVIX "Annvix"
#define STR_OS_ARCH "Arch"
+#define STR_OS_VOID "Void Linux"
#define STR_OS_ARKLINUX "Arklinux"
#define STR_OS_ASIANUX_3 "asianux3"
#define STR_OS_ASIANUX_4 "asianux4"
@@ -309,6 +309,7 @@ Bool Gos_InSetArray(uint32 gos, const uint32 *set);
#define STR_OS_ULTRAPENGUIN "UltraPenguin"
#define STR_OS_UNITEDLINUX "UnitedLinux"
#define STR_OS_VALINUX "VALinux"
+#define STR_OS_VOID "Void Linux"
#define STR_OS_YELLOW_DOG "Yellow Dog"
#define STR_OS_ECOMSTATION "eComStation"
diff --git a/open-vm-tools/lib/misc/hostinfoPosix.c b/open-vm-tools/lib/misc/hostinfoPosix.c
index 6ac15412..ea898e24 100644
--- open-vm-tools/lib/misc/hostinfoPosix.c
+++ open-vm-tools/lib/misc/hostinfoPosix.c
@@ -902,6 +902,8 @@ HostinfoGetOSShortName(const char *distro, // IN: full distro name
Str_Sprintf(distroShort, distroShortSize, "%s%d", STR_OS_AMAZON_LINUX,
version);
+ } else if (strstr(distroLower, "void")) {
+ Str_Strcpy(distroShort, STR_OS_VOID, distroShortSize);
} else if (strstr(distroLower, "annvix")) {
Str_Strcpy(distroShort, STR_OS_ANNVIX, distroShortSize);
} else if (strstr(distroLower, "arch")) {
@@ -1259,6 +1259,7 @@ static const ShortNameSet shortNameArray[] = {
{"united linux", STR_OS_UNITEDLINUX, HostinfoGenericSetShortName},
{"va linux", STR_OS_VALINUX, HostinfoGenericSetShortName},
{"vmware photon", STR_OS_PHOTON, HostinfoGenericSetShortName},
+{"void", STR_OS_VOID, HostinfoGenericSetShortName},
{"yellow dog", STR_OS_YELLOW_DOG, HostinfoGenericSetShortName},
{NULL, NULL, NULL} // MUST BE LAST
};

View file

@ -1,8 +1,8 @@
# Template file for 'open-vm-tools'
pkgname=open-vm-tools
version=11.1.5
version=11.2.0
revision=1
archs="x86_64* i686*"
archs="x86_64* i686* aarch64*"
wrksrc="open-vm-tools-stable-${version}"
build_wrksrc="open-vm-tools"
build_style=gnu-configure
@ -19,7 +19,7 @@ license="GPL-2.0-only, LGPL-2.1-only"
homepage="https://github.com/vmware/open-vm-tools"
changelog="https://github.com/vmware/open-vm-tools/blob/master/open-vm-tools/ChangeLog"
distfiles="https://github.com/vmware/open-vm-tools/archive/stable-${version}.tar.gz"
checksum=0bbc20d725cb2e15db5bd5e6a9cbab7fc98c2e3208f19a233a2308468cb2dc04
checksum=280970a15dd8210b89e68df5fce64fa8bfb3ff7ca3737ce5ebf8634d8c1a2494
build_options="pam x11"
build_options_default="pam x11"