From e0c93b0f79bac359636f77469899bc52b0d6276d Mon Sep 17 00:00:00 2001 From: Piraty Date: Tue, 20 Oct 2020 13:13:34 +0200 Subject: [PATCH] open-vm-tools: update to 11.2.0. --- .../patches/0001-recognize-Void.patch | 35 ++++++++++--------- srcpkgs/open-vm-tools/template | 6 ++-- 2 files changed, 21 insertions(+), 20 deletions(-) diff --git a/srcpkgs/open-vm-tools/patches/0001-recognize-Void.patch b/srcpkgs/open-vm-tools/patches/0001-recognize-Void.patch index 1614116792..4880f22c0e 100644 --- a/srcpkgs/open-vm-tools/patches/0001-recognize-Void.patch +++ b/srcpkgs/open-vm-tools/patches/0001-recognize-Void.patch @@ -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 + }; diff --git a/srcpkgs/open-vm-tools/template b/srcpkgs/open-vm-tools/template index 98267b94d8..35e77a4507 100644 --- a/srcpkgs/open-vm-tools/template +++ b/srcpkgs/open-vm-tools/template @@ -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"