pkgsrc/sysutils/open-vm-tools/patches/patch-bb
ryoon b62fef397b Update to 10.2.0
* Use x11/gtkmm3

Changelog:
Compatibility
  * open-vm-tools 10.2.0 is compatible with all supported versions
    of VMware vSphere ESXi 5.5 and later, VMware Workstation 14.0 and
    VMware Fusion 10.0. See VMware Compatibility Guide for more information.

  * Starting with VMware Tools version 10.2.0, Perl script based VMware
    Tools installation for FreeBSD has been discontinued. Going forward,
    FreeBSD systems are supported only through the open-vm-tools packages
    directly available from FreeBSD package repositories. FreeBSD packages
    for open-vm-tools 10.1.0 and later are available from FreeBSD package
    repositories.

Resolved Issues
  * Summary page of the VM does not list the IP address of the VMs in
    the right order

  * Guest authentication fails with a SystemError fault when the requested
    password is expired

  * The free space reported in vim.vm.GuestInfo.DiskInfo for a Linux guest
    does not match with df command in the guest

  * VMware user process might not restart after upgrades of open-vm-tools
2018-01-01 06:56:01 +00:00

49 lines
1.6 KiB
Text

$NetBSD: patch-bb,v 1.4 2018/01/01 06:56:01 ryoon Exp $
--- lib/misc/idLinux.c.orig 2017-12-15 19:09:51.000000000 +0000
+++ lib/misc/idLinux.c
@@ -119,7 +119,7 @@ static AuthorizationRef IdAuthCreateWith
int
Id_SetUid(uid_t euid) // IN: new euid
{
-#if defined(__FreeBSD__) || defined(sun)
+#if defined(__FreeBSD__) || defined(sun) || defined(__NetBSD__)
return setuid(euid);
#elif defined(__linux__) || defined __ANDROID__
if (uid32) {
@@ -162,7 +162,7 @@ Id_SetGid(gid_t egid) // IN: new egid
Warning("XXXMACOS: implement %s\n", __func__);
return -1;
-#elif defined(sun) || defined(__FreeBSD__)
+#elif defined(sun) || defined(__FreeBSD__) || defined(__NetBSD__)
return setgid(egid);
#else
if (uid32) {
@@ -365,7 +365,7 @@ Id_SetREUid(uid_t uid, // IN: new uid
#if defined(__APPLE__)
Warning("XXXMACOS: implement %s\n", __func__);
return -1;
-#elif defined(sun) || defined(__FreeBSD__)
+#elif defined(sun) || defined(__FreeBSD__) || defined(__NetBSD__)
return setreuid(uid, euid);
#else
if (uid32) {
@@ -406,7 +406,7 @@ int
Id_SetREGid(gid_t gid, // IN: new gid
gid_t egid) // IN: new effective gid
{
-#if defined(sun) || defined(__FreeBSD__)
+#if defined(sun) || defined(__FreeBSD__) || defined(__NetBSD__)
return setregid(gid, egid);
#else
if (uid32) {
@@ -1057,7 +1057,7 @@ IdIsSetUGid(void)
Bool
Id_IsSetUGid(void)
{
-#if defined(__APPLE__) || defined(__FreeBSD__) || defined(sun)
+#if defined(__APPLE__) || defined(__FreeBSD__) || defined(sun) || defined(__NetBSD__)
uid_t ruid = getuid();
uid_t euid = geteuid();
gid_t rgid = getgid();