ports/emulators/open-vm-tools/files/patch-lib_guestApp_guestApp.c
Renato Botelho f310ea8b50 emulators/open-vm-tools: Update to 11.2.5 and other changes
- Update to 11.2.5 [1]
- Make fuse dependency optional adding new FUSE option, enabled by default [2]
- Remove CONFLICTS with packages that were removed years ago
- Remove DOCS items from pkg-plist and use PORTDOCS instead
- Install default tools.conf [1]
- Do not mkdir directories not covered by pkg-plist
- Rework patch-lib_guestApp_guestApp.c to respect ${PREFIX}
- vmware-kmod.in:
	- Simplify logic
	- Use kldstat -q instead of redirect stdout/stderr [2]
- Partially restore @preunexec removed in r473438.  Set tools.set.version as 0
  is important to let hypervisor to be notified package is removed.  Otherwise
  vCenter console shows tools status as "installed" but "not-running". [3]

PR:		252699 [1]
		226204 [2]
		246440 [3]
Submitted by:	John Wolfe <jwolfe@vmware.com> [1] [3]
		ohauer [2]
Sponsored by:	Rubicon Communications, LLC ("Netgate")
2021-03-25 12:10:00 +00:00

11 lines
381 B
C

--- lib/guestApp/guestApp.c.orig 2018-07-13 18:54:23 UTC
+++ lib/guestApp/guestApp.c
@@ -63,7 +63,7 @@
#elif defined __APPLE__
# define GUESTAPP_TOOLS_INSTALL_PATH "/Library/Application Support/VMware Tools"
#else
-# define GUESTAPP_TOOLS_INSTALL_PATH "/etc/vmware-tools"
+# define GUESTAPP_TOOLS_INSTALL_PATH "%%PREFIX%%/share/vmware-tools"
#endif
#if defined _WIN32