head 1.7; access; symbols pkgsrc-2026Q1:1.7.0.66 pkgsrc-2026Q1-base:1.7 pkgsrc-2025Q4:1.7.0.64 pkgsrc-2025Q4-base:1.7 pkgsrc-2025Q3:1.7.0.62 pkgsrc-2025Q3-base:1.7 pkgsrc-2025Q2:1.7.0.60 pkgsrc-2025Q2-base:1.7 pkgsrc-2025Q1:1.7.0.58 pkgsrc-2025Q1-base:1.7 pkgsrc-2024Q4:1.7.0.56 pkgsrc-2024Q4-base:1.7 pkgsrc-2024Q3:1.7.0.54 pkgsrc-2024Q3-base:1.7 pkgsrc-2024Q2:1.7.0.52 pkgsrc-2024Q2-base:1.7 pkgsrc-2024Q1:1.7.0.50 pkgsrc-2024Q1-base:1.7 pkgsrc-2023Q4:1.7.0.48 pkgsrc-2023Q4-base:1.7 pkgsrc-2023Q3:1.7.0.46 pkgsrc-2023Q3-base:1.7 pkgsrc-2023Q2:1.7.0.44 pkgsrc-2023Q2-base:1.7 pkgsrc-2023Q1:1.7.0.42 pkgsrc-2023Q1-base:1.7 pkgsrc-2022Q4:1.7.0.40 pkgsrc-2022Q4-base:1.7 pkgsrc-2022Q3:1.7.0.38 pkgsrc-2022Q3-base:1.7 pkgsrc-2022Q2:1.7.0.36 pkgsrc-2022Q2-base:1.7 pkgsrc-2022Q1:1.7.0.34 pkgsrc-2022Q1-base:1.7 pkgsrc-2021Q4:1.7.0.32 pkgsrc-2021Q4-base:1.7 pkgsrc-2021Q3:1.7.0.30 pkgsrc-2021Q3-base:1.7 pkgsrc-2021Q2:1.7.0.28 pkgsrc-2021Q2-base:1.7 pkgsrc-2021Q1:1.7.0.26 pkgsrc-2021Q1-base:1.7 pkgsrc-2020Q4:1.7.0.24 pkgsrc-2020Q4-base:1.7 pkgsrc-2020Q3:1.7.0.22 pkgsrc-2020Q3-base:1.7 pkgsrc-2020Q2:1.7.0.20 pkgsrc-2020Q2-base:1.7 pkgsrc-2020Q1:1.7.0.16 pkgsrc-2020Q1-base:1.7 pkgsrc-2019Q4:1.7.0.18 pkgsrc-2019Q4-base:1.7 pkgsrc-2019Q3:1.7.0.14 pkgsrc-2019Q3-base:1.7 pkgsrc-2019Q2:1.7.0.12 pkgsrc-2019Q2-base:1.7 pkgsrc-2019Q1:1.7.0.10 pkgsrc-2019Q1-base:1.7 pkgsrc-2018Q4:1.7.0.8 pkgsrc-2018Q4-base:1.7 pkgsrc-2018Q3:1.7.0.6 pkgsrc-2018Q3-base:1.7 pkgsrc-2018Q2:1.7.0.4 pkgsrc-2018Q2-base:1.7 pkgsrc-2018Q1:1.7.0.2 pkgsrc-2018Q1-base:1.7 pkgsrc-2017Q4:1.6.0.8 pkgsrc-2017Q4-base:1.6 pkgsrc-2017Q3:1.6.0.6 pkgsrc-2017Q3-base:1.6 pkgsrc-2017Q2:1.6.0.2 pkgsrc-2017Q2-base:1.6 pkgsrc-2017Q1:1.5.0.4 pkgsrc-2017Q1-base:1.5 pkgsrc-2016Q4:1.5.0.2 pkgsrc-2016Q4-base:1.5 pkgsrc-2016Q3:1.1.0.68 pkgsrc-2016Q3-base:1.1 pkgsrc-2016Q2:1.1.0.66 pkgsrc-2016Q2-base:1.1 pkgsrc-2016Q1:1.1.0.64 pkgsrc-2016Q1-base:1.1 pkgsrc-2015Q4:1.1.0.62 pkgsrc-2015Q4-base:1.1 pkgsrc-2015Q3:1.1.0.60 pkgsrc-2015Q3-base:1.1 pkgsrc-2015Q2:1.1.0.58 pkgsrc-2015Q2-base:1.1 pkgsrc-2015Q1:1.1.0.56 pkgsrc-2015Q1-base:1.1 pkgsrc-2014Q4:1.1.0.54 pkgsrc-2014Q4-base:1.1 pkgsrc-2014Q3:1.1.0.52 pkgsrc-2014Q3-base:1.1 pkgsrc-2014Q2:1.1.0.50 pkgsrc-2014Q2-base:1.1 pkgsrc-2014Q1:1.1.0.48 pkgsrc-2014Q1-base:1.1 pkgsrc-2013Q4:1.1.0.46 pkgsrc-2013Q4-base:1.1 pkgsrc-2013Q3:1.1.0.44 pkgsrc-2013Q3-base:1.1 pkgsrc-2013Q2:1.1.0.42 pkgsrc-2013Q2-base:1.1 pkgsrc-2013Q1:1.1.0.40 pkgsrc-2013Q1-base:1.1 pkgsrc-2012Q4:1.1.0.38 pkgsrc-2012Q4-base:1.1 pkgsrc-2012Q3:1.1.0.36 pkgsrc-2012Q3-base:1.1 pkgsrc-2012Q2:1.1.0.34 pkgsrc-2012Q2-base:1.1 pkgsrc-2012Q1:1.1.0.32 pkgsrc-2012Q1-base:1.1 pkgsrc-2011Q4:1.1.0.30 pkgsrc-2011Q4-base:1.1 pkgsrc-2011Q3:1.1.0.28 pkgsrc-2011Q3-base:1.1 pkgsrc-2011Q2:1.1.0.26 pkgsrc-2011Q2-base:1.1 pkgsrc-2011Q1:1.1.0.24 pkgsrc-2011Q1-base:1.1 pkgsrc-2010Q4:1.1.0.22 pkgsrc-2010Q4-base:1.1 pkgsrc-2010Q3:1.1.0.20 pkgsrc-2010Q3-base:1.1 pkgsrc-2010Q2:1.1.0.18 pkgsrc-2010Q2-base:1.1 pkgsrc-2010Q1:1.1.0.16 pkgsrc-2010Q1-base:1.1 pkgsrc-2009Q4:1.1.0.14 pkgsrc-2009Q4-base:1.1 pkgsrc-2009Q3:1.1.0.12 pkgsrc-2009Q3-base:1.1 pkgsrc-2009Q2:1.1.0.10 pkgsrc-2009Q2-base:1.1 pkgsrc-2009Q1:1.1.0.8 pkgsrc-2009Q1-base:1.1 pkgsrc-2008Q4:1.1.0.6 pkgsrc-2008Q4-base:1.1 pkgsrc-2008Q3:1.1.0.4 pkgsrc-2008Q3-base:1.1 cube-native-xorg:1.1.0.2 cube-native-xorg-base:1.1; locks; strict; comment @# @; 1.7 date 2018.01.01.06.56.01; author ryoon; state Exp; branches; next 1.6; commitid Zak4l8EBbuxaL8lA; 1.6 date 2017.06.23.18.25.12; author kamil; state Exp; branches; next 1.5; commitid D9weyXgV2CUTJwWz; 1.5 date 2016.12.23.04.11.03; author ryoon; state Exp; branches; next 1.4; commitid W1fxqFJ9Y5WVR3zz; 1.4 date 2016.10.13.21.48.26; author ryoon; state Exp; branches; next 1.3; commitid ib9IE4Mm7OY602qz; 1.3 date 2016.10.12.13.57.13; author ryoon; state Exp; branches; next 1.2; commitid 1eweLcop05PtqRpz; 1.2 date 2016.10.09.03.41.56; author ryoon; state Exp; branches; next 1.1; commitid io4No6768Wxf7qpz; 1.1 date 2008.08.31.06.36.48; author scottr; state Exp; branches; next ; desc @@ 1.7 log @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 @ text @$NetBSD: patch-bf,v 1.6 2017/06/23 18:25:12 kamil Exp $ --- lib/procMgr/procMgrPosix.c.orig 2017-12-15 19:09:51.000000000 +0000 +++ lib/procMgr/procMgrPosix.c @@@@ -27,7 +27,7 @@@@ // pull in setresuid()/setresgid() if possible #define _GNU_SOURCE #include -#if !defined(__FreeBSD__) && !defined(sun) && !defined(__APPLE__) +#if !defined(__FreeBSD__) && !defined(sun) && !defined(__APPLE__) && !defined(__NetBSD__) #include #endif #if !defined(sun) && !defined(__APPLE__) @@@@ -53,7 +53,7 @@@@ // Pull in PAGE_SIZE/PAGE_SHIFT defines ahead of vm_basic_defs.h # include #endif -#if defined (__FreeBSD__) +#if defined (__FreeBSD__) || defined(__NetBSD__) #include #include #include @@@@ -136,7 +136,7 @@@@ Bool ProcMgr_PromoteEffectiveToReal(void #ifdef sun #define BASH_PATH "/usr/bin/bash" #else -#define BASH_PATH "/bin/bash" +#define BASH_PATH "@@PREFIX@@/bin/bash" #endif @@@@ -614,7 +614,7 @@@@ abort: *---------------------------------------------------------------------- */ -#if defined(__FreeBSD__) +#if defined(__FreeBSD__) || defined(__NetBSD__) ProcMgrProcInfoArray * ProcMgr_ListProcesses(void) { @@@@ -622,7 +622,11 @@@@ ProcMgr_ListProcesses(void) ProcMgrProcInfo procInfo; Bool failed = TRUE; static kvm_t *kd; +#if defined(__NetBSD__) + struct kinfo_proc2 *kp; +#else struct kinfo_proc *kp; +#endif char errbuf[_POSIX2_LINE_MAX]; int i; int nentries=-1; @@@@ -645,7 +649,12 @@@@ ProcMgr_ListProcesses(void) /* * Get the list of process info structs */ +#if defined(__NetBSD__) + int elemsize = sizeof(struct kinfo_proc2); + kp = kvm_getproc2(kd, KERN_PROC_ALL, flag, elemsize, &nentries); +#else kp = kvm_getprocs(kd, KERN_PROC_PROC, flag, &nentries); +#endif if (kp == NULL || nentries <= 0) { Warning("%s: failed to get proc infos with error: %s\n", __FUNCTION__, kvm_geterr(kd)); @@@@ -673,14 +682,26 @@@@ ProcMgr_ListProcesses(void) /* * Store the pid of the process. */ +#if defined(__NetBSD__) + procInfo.procId = kp->p_pid; +#else procInfo.procId = kp->ki_pid; +#endif /* * Store the owner of the process. */ +#if defined(__NetBSD__) + pwd = getpwuid(kp->p_uid); +#else pwd = getpwuid(kp->ki_uid); +#endif procInfo.procOwner = (NULL == pwd) +#if defined(__NetBSD__) + ? Str_SafeAsprintf(NULL, "%d", (int) kp->p_uid) +#else ? Str_SafeAsprintf(NULL, "%d", (int) kp->ki_uid) +#endif : Unicode_Alloc(pwd->pw_name, STRING_ENCODING_DEFAULT); /* @@@@ -688,15 +709,24 @@@@ ProcMgr_ListProcesses(void) * maximum allowed size, then we can save it right now. Else we shall * need to try and parse it from the entire command line. */ +#if defined(__NetBSD__) + if (strlen(kp->p_comm) + 1 < sizeof kp->p_comm) { + procInfo.procCmdName = Unicode_Alloc(kp->p_comm, STRING_ENCODING_DEFAULT); +#else if (strlen(kp->ki_comm) + 1 < sizeof kp->ki_comm) { procInfo.procCmdName = Unicode_Alloc(kp->ki_comm, STRING_ENCODING_DEFAULT); +#endif cmdNameLookup = FALSE; } /* * Store the command line string of the process. */ +#if defined(__NetBSD__) + cmdLineTemp = kvm_getargv2(kd, kp, 0); +#else cmdLineTemp = kvm_getargv(kd, kp, 0); +#endif if (cmdLineTemp != NULL) { /* * Flatten the argument list to get cmd & all params. @@@@ -752,9 +782,15 @@@@ ProcMgr_ListProcesses(void) procInfo.procCmdLine = DynBuf_Detach(&dbuf); DynBuf_Destroy(&dbuf); } else { +#if defined(__NetBSD__) + procInfo.procCmdLine = Unicode_Alloc(kp->p_comm, STRING_ENCODING_DEFAULT); + if (cmdNameLookup) { + procInfo.procCmdName = Unicode_Alloc(kp->p_comm, STRING_ENCODING_DEFAULT); +#else procInfo.procCmdLine = Unicode_Alloc(kp->ki_comm, STRING_ENCODING_DEFAULT); if (cmdNameLookup) { procInfo.procCmdName = Unicode_Alloc(kp->ki_comm, STRING_ENCODING_DEFAULT); +#endif cmdNameLookup = FALSE; } } @@@@ -762,7 +798,11 @@@@ ProcMgr_ListProcesses(void) /* * Store the start time of the process */ +#if defined(__NetBSD__) + procInfo.procStartTime = kp->p_rtime_sec; +#else procInfo.procStartTime = kp->ki_start.tv_sec; +#endif /* * Store the process info pointer into a list buffer. @@@@ -792,7 +832,7 @@@@ abort: return procList; } -#endif // defined(__FreeBSD__) +#endif // defined(__NetBSD__) #if defined(__APPLE__) @@@@ -2152,7 +2192,7 @@@@ ProcMgr_Free(ProcMgr_AsyncProc *asyncPro free(asyncProc); } -#if defined(__linux__) || defined(__FreeBSD__) || defined(__APPLE__) +#if defined(__linux__) || defined(__FreeBSD__) || defined(__APPLE__) || defined(__NetBSD__) /* *---------------------------------------------------------------------- @@@@ -2234,7 +2274,7 @@@@ ProcMgr_ImpersonateUserStart(const char // first change group #if defined(USERWORLD) ret = Id_SetREGid(ppw->pw_gid, ppw->pw_gid); -#elif defined(__APPLE__) +#elif defined(__APPLE__) || defined(__NetBSD__) ret = setegid(ppw->pw_gid); #else ret = setresgid(ppw->pw_gid, ppw->pw_gid, root_gid); @@@@ -2253,7 +2293,7 @@@@ ProcMgr_ImpersonateUserStart(const char // now user #if defined(USERWORLD) ret = Id_SetREUid(ppw->pw_uid, ppw->pw_uid); -#elif defined(__APPLE__) +#elif defined(__APPLE__) || defined(__NetBSD__) ret = seteuid(ppw->pw_uid); #else ret = setresuid(ppw->pw_uid, ppw->pw_uid, 0); @@@@ -2315,7 +2355,7 @@@@ ProcMgr_ImpersonateUserStop(void) // first change back user #if defined(USERWORLD) ret = Id_SetREUid(ppw->pw_uid, ppw->pw_uid); -#elif defined(__APPLE__) +#elif defined(__APPLE__) || defined(__NetBSD__) ret = seteuid(ppw->pw_uid); #else ret = setresuid(ppw->pw_uid, ppw->pw_uid, 0); @@@@ -2328,7 +2368,7 @@@@ ProcMgr_ImpersonateUserStop(void) // now group #if defined(USERWORLD) ret = Id_SetREGid(ppw->pw_gid, ppw->pw_gid); -#elif defined(__APPLE__) +#elif defined(__APPLE__) || defined(__NetBSD__) ret = setegid(ppw->pw_gid); #else ret = setresgid(ppw->pw_gid, ppw->pw_gid, ppw->pw_gid); @ 1.6 log @Correct few build failues in open-vm-tools Include PAM blk3. Address removal fallout on NetBSD 8.99.1. @ text @d1 1 a1 1 $NetBSD: patch-bf,v 1.5 2016/12/23 04:11:03 ryoon Exp $ d3 1 a3 1 --- lib/procMgr/procMgrPosix.c.orig 2017-02-11 10:06:31.000000000 +0000 d14 1 a14 8 @@@@ -47,13 +47,15 @@@@ #include #include #include -#if defined(linux) || defined(__FreeBSD__) || defined(HAVE_SYS_USER_H) +#if defined(linux) || defined(__FreeBSD__) || defined(HAVE_SYS_USER_H) || defined(__NetBSD__) // sys/param.h is required on FreeBSD before sys/user.h # include a15 1 +#if defined(__FreeBSD__) || defined(__DragonFly__) a18 1 +#endif d23 1 a23 1 @@@@ -136,7 +138,7 @@@@ Bool ProcMgr_PromoteEffectiveToReal(void d32 1 a32 1 @@@@ -607,7 +609,7 @@@@ abort: d41 1 a41 1 @@@@ -615,7 +617,11 @@@@ ProcMgr_ListProcesses(void) d53 1 a53 1 @@@@ -638,7 +644,12 @@@@ ProcMgr_ListProcesses(void) d66 1 a66 1 @@@@ -666,14 +677,26 @@@@ ProcMgr_ListProcesses(void) d93 1 a93 1 @@@@ -681,15 +704,24 @@@@ ProcMgr_ListProcesses(void) d118 1 a118 1 @@@@ -745,9 +777,15 @@@@ ProcMgr_ListProcesses(void) d134 1 a134 1 @@@@ -755,7 +793,11 @@@@ ProcMgr_ListProcesses(void) d146 1 a146 1 @@@@ -785,7 +827,7 @@@@ abort: d155 1 a155 1 @@@@ -2022,7 +2064,7 @@@@ ProcMgr_Free(ProcMgr_AsyncProc *asyncPro d159 2 a160 2 -#if defined(linux) || defined(__FreeBSD__) || defined(__APPLE__) +#if defined(linux) || defined(__FreeBSD__) || defined(__APPLE__) || defined(__NetBSD__) d164 1 a164 1 @@@@ -2104,7 +2146,7 @@@@ ProcMgr_ImpersonateUserStart(const char d173 1 a173 1 @@@@ -2123,7 +2165,7 @@@@ ProcMgr_ImpersonateUserStart(const char d182 1 a182 1 @@@@ -2185,7 +2227,7 @@@@ ProcMgr_ImpersonateUserStop(void) d191 1 a191 1 @@@@ -2198,7 +2240,7 @@@@ ProcMgr_ImpersonateUserStop(void) @ 1.5 log @Update to 10.1.0 Changelog: What's New VMware Tools is a suite of utilities that enhances the performance of the virtual machine's guest operating system and improves management of the virtual machine. Read about the new and enhanced features in this release below: vmware-namespace-cmd: Added vmware-namespace-cmd command line utility that exposes set/get commands for the namespace database in the VMX. gtk3 support: open-vm-tools has been updated to use gtk3 libraries. Common Agent Framework (CAF): CAF provides the basic services necessary to simplify secure and efficient management of agents inside virtual machines. xmlsec1: Changed guest authentication to xmlsec1. FreeBSD: Changes to support open-vm-tools on FreeBSD. Automatic Linux Kernel Modules: Automatic rebuilding of kernel modules is enabled by default. New sub-command: Added a new sub-command to push updated network information to the host on demand. udev-rules: Added udev rules for configuring SCSI timeout in the guest. Ubuntu 16.10: Fixes for running on Ubuntu 16.10. Quiesced Snapshot: Fix for quiesced snapshot failure leaving guest file system quiesced. Internationalization open-vm-tools 10.1.0 supports the following languages: English French German Spanish Italian Japanese Korean Simplified Chinese Traditional Chinese Compatibility open-vm-tools 10.1.0 is compatible with all supported versions of VMware vSphere, VMware Workstation 12.5 and VMware Fusion 8.5. @ text @d1 1 a1 1 $NetBSD: patch-bf,v 1.4 2016/10/13 21:48:26 ryoon Exp $ d3 1 a3 1 --- lib/procMgr/procMgrPosix.c.orig 2016-09-29 10:07:22.000000000 +0000 d14 1 a14 1 @@@@ -47,13 +47,13 @@@@ d23 1 d27 1 d32 1 a32 1 @@@@ -136,7 +136,7 @@@@ Bool ProcMgr_PromoteEffectiveToReal(void d41 1 a41 1 @@@@ -607,7 +607,7 @@@@ abort: d50 1 a50 1 @@@@ -615,7 +615,11 @@@@ ProcMgr_ListProcesses(void) d62 1 a62 1 @@@@ -638,7 +642,12 @@@@ ProcMgr_ListProcesses(void) d75 1 a75 1 @@@@ -666,14 +675,26 @@@@ ProcMgr_ListProcesses(void) d102 1 a102 1 @@@@ -681,15 +702,24 @@@@ ProcMgr_ListProcesses(void) d127 1 a127 1 @@@@ -745,9 +775,15 @@@@ ProcMgr_ListProcesses(void) d143 1 a143 1 @@@@ -755,7 +791,11 @@@@ ProcMgr_ListProcesses(void) d155 1 a155 1 @@@@ -785,7 +825,7 @@@@ abort: d164 1 a164 1 @@@@ -2022,7 +2062,7 @@@@ ProcMgr_Free(ProcMgr_AsyncProc *asyncPro d173 1 a173 1 @@@@ -2104,7 +2144,7 @@@@ ProcMgr_ImpersonateUserStart(const char d182 1 a182 1 @@@@ -2123,7 +2163,7 @@@@ ProcMgr_ImpersonateUserStart(const char d191 1 a191 1 @@@@ -2185,7 +2225,7 @@@@ ProcMgr_ImpersonateUserStop(void) d200 1 a200 1 @@@@ -2198,7 +2238,7 @@@@ ProcMgr_ImpersonateUserStop(void) @ 1.4 log @Bump PKGREVISION. Fix kvm_getproc2 argument init. It was my misunderstanding. @ text @d1 1 a1 1 $NetBSD: patch-bf,v 1.3 2016/10/12 13:57:13 ryoon Exp $ d3 1 a3 1 --- lib/procMgr/procMgrPosix.c.orig 2016-02-16 20:06:46.000000000 +0000 d30 10 a39 1 @@@@ -633,7 +633,7 @@@@ abort: d48 1 a48 1 @@@@ -641,7 +641,11 @@@@ ProcMgr_ListProcesses(void) d60 1 a60 1 @@@@ -664,7 +668,12 @@@@ ProcMgr_ListProcesses(void) d73 1 a73 1 @@@@ -692,14 +701,26 @@@@ ProcMgr_ListProcesses(void) d100 1 a100 1 @@@@ -707,15 +728,24 @@@@ ProcMgr_ListProcesses(void) d125 1 a125 1 @@@@ -771,9 +801,15 @@@@ ProcMgr_ListProcesses(void) d141 1 a141 1 @@@@ -781,7 +817,11 @@@@ ProcMgr_ListProcesses(void) d153 1 a153 1 @@@@ -811,7 +851,7 @@@@ abort: d162 1 a162 1 @@@@ -2033,7 +2073,7 @@@@ ProcMgr_Free(ProcMgr_AsyncProc *asyncPro d171 1 a171 1 @@@@ -2106,7 +2146,7 @@@@ ProcMgr_ImpersonateUserStart(const char d177 1 a177 1 ret = setregid(ppw->pw_gid, ppw->pw_gid); d180 1 a180 1 @@@@ -2125,7 +2165,7 @@@@ ProcMgr_ImpersonateUserStart(const char d186 1 a186 1 ret = setreuid(ppw->pw_uid, ppw->pw_uid); d189 1 a189 1 @@@@ -2187,7 +2227,7 @@@@ ProcMgr_ImpersonateUserStop(void) d195 1 a195 1 ret = setreuid(ppw->pw_uid, ppw->pw_uid); d198 1 a198 1 @@@@ -2200,7 +2240,7 @@@@ ProcMgr_ImpersonateUserStop(void) d204 1 a204 1 ret = setregid(ppw->pw_gid, ppw->pw_gid); @ 1.3 log @Fix a wrong preprocessor condition and pass initialize variable to kvm_getproc2 From OBATA Akio, thank you. Bump PKGREVISION. @ text @d1 1 a1 1 $NetBSD: patch-bf,v 1.2 2016/10/09 03:41:56 ryoon Exp $ d56 1 a56 1 + int elemsize = INT_MAX; @ 1.2 log @Update to 10.0.7 The only following features are tested on NetBSD/amd64 7.99.39 without vmt(4) on VMware Workstation 12 Player 12.0.5 for Windows or ESXi 6.0u2. * Hostname and IP address report * Shutdown and reboot operations from host * Copy and paste of text string between host and guest * Guest clock sync The other features are not tested. For example, * Drag and drop between host and guest * VM HA, heartbeat * HGFS, shared folder Changelog: What's New VMware Tools is a suite of utilities that enhances the performance of the virtual machine's guest operating system and improves management of the virtual machine. Read about the new and enhanced features in this release below: Common versioning: Infrastructure changes to enable reporting of the true version of open-vm-tools. This feature is dependent on host support. Quiesced snapshots enhancements for Linux guests running IO workload: Robustness related enhancements in quiesced snapshot operation. The vmtoolsd service supports caching of log messages when guest IO has been quiesced. Enhancements in the vmbackup plugin use a separate thread to quiesce the guest OS to avoid timeout issues due to heavy I/O in the guest. Shared Folders: For Linux distributions with kernel version 4.0.0 and higher, there is a new FUSE based Shared Folders client which is used as a replacement for the kernel mode client. ESXi Serviceability: Default vmtoolsd logging is directed to a file instead of syslog. vmware-toolbox-cmd is enhanced for setting vmtoolsd logging levels. GuestInfo Enhancements: Plugin enhancements to report more than 64 IP addresses from the guest. These enhancements will be available only after upgrading the host because the guest IP addresses limit also exists on the host side. Internationalization open-vm-tools 10.0.0 supports the following languages: English French German Spanish Italian Japanese Korean Simplified Chinese Traditional Chinese Compatibility open-vm-tools 10.0.0 is compatible with all supported versions of VMware vSphere, VMware Workstation 12.0 and VMware Fusion 8.0. @ text @d1 1 a1 1 $NetBSD: patch-bf,v 1.1 2008/08/31 06:36:48 scottr Exp $ d56 2 a57 2 + int temp; + kp = kvm_getproc2(kd, KERN_PROC_ALL, flag, temp, &nentries); @ 1.1 log @Update to version 2008.08.08-109361. This release provides the following enhancements: - Simple command-line tools to interface with VMware host - Guest OS scripts that can be triggered by the VMware host - Startup script When compiled with X11 support (the default), this release also provides: - GTK+-based GUI to configure time sync, device connections, and scripts - Helper application to interface with the xf86-video-vmware driver, enabling dynamic screen resize @ text @d1 1 a1 1 $NetBSD$ d3 1 a3 1 --- lib/procMgr/procMgrPosix.c.orig 2008-08-08 02:01:53.000000000 -0500 d5 1 a5 1 @@@@ -31,7 +31,7 @@@@ d12 25 a36 3 #include #include @@@@ -158,7 +158,7 @@@@ ProcMgr_ProcList * d39 106 a144 12 ProcMgr_ProcList *procList = NULL; -#if !defined(__FreeBSD__) && !defined(sun) && !defined(__APPLE__) +#if !defined(__FreeBSD__) && !defined(sun) && !defined(__APPLE__) && !defined(__NetBSD__) Bool failed = FALSE; DynBuf dbProcId; DynBuf dbProcCmd; @@@@ -453,7 +453,7 @@@@ abort: ProcMgr_FreeProcList(procList); procList = NULL; } -#endif // !defined(__FreeBSD__) && !defined(sun) && !defined(__APPLE__) +#endif // !defined(__FreeBSD__) && !defined(sun) && !defined(__APPLE__) && !defined(__NetBSD__) d148 50 @