pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/sysutils/open-vm-tools



Module Name:    pkgsrc
Committed By:   ryoon
Date:           Fri Dec 23 04:11:04 UTC 2016

Modified Files:
        pkgsrc/sysutils/open-vm-tools: Makefile distinfo
        pkgsrc/sysutils/open-vm-tools/patches: patch-bf
            patch-libDeployPkg_processPosix.c patch-lib_guestApp_guestApp.c
            patch-scripts_netbsd_network
            patch-services_plugins_timeSync_Makefile.am
Added Files:
        pkgsrc/sysutils/open-vm-tools/patches:
            patch-lib_rpcChannel_rpcChannel.c patch-network
Removed Files:
        pkgsrc/sysutils/open-vm-tools/patches: patch-lib_hgfs_hgfsUtil.c
            patch-services_plugins_dndcp_copyPasteUIX11.cpp
            patch-services_plugins_dndcp_dndUIX11.cpp

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.64 -r1.65 pkgsrc/sysutils/open-vm-tools/Makefile
cvs rdiff -u -r1.18 -r1.19 pkgsrc/sysutils/open-vm-tools/distinfo
cvs rdiff -u -r1.4 -r1.5 pkgsrc/sysutils/open-vm-tools/patches/patch-bf
cvs rdiff -u -r1.1 -r1.2 \
    pkgsrc/sysutils/open-vm-tools/patches/patch-libDeployPkg_processPosix.c \
    pkgsrc/sysutils/open-vm-tools/patches/patch-lib_guestApp_guestApp.c \
    pkgsrc/sysutils/open-vm-tools/patches/patch-scripts_netbsd_network \
    pkgsrc/sysutils/open-vm-tools/patches/patch-services_plugins_timeSync_Makefile.am
cvs rdiff -u -r1.1 -r0 \
    pkgsrc/sysutils/open-vm-tools/patches/patch-lib_hgfs_hgfsUtil.c \
    pkgsrc/sysutils/open-vm-tools/patches/patch-services_plugins_dndcp_copyPasteUIX11.cpp \
    pkgsrc/sysutils/open-vm-tools/patches/patch-services_plugins_dndcp_dndUIX11.cpp
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/sysutils/open-vm-tools/patches/patch-lib_rpcChannel_rpcChannel.c \
    pkgsrc/sysutils/open-vm-tools/patches/patch-network

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/sysutils/open-vm-tools/Makefile
diff -u pkgsrc/sysutils/open-vm-tools/Makefile:1.64 pkgsrc/sysutils/open-vm-tools/Makefile:1.65
--- pkgsrc/sysutils/open-vm-tools/Makefile:1.64 Sun Dec  4 05:17:41 2016
+++ pkgsrc/sysutils/open-vm-tools/Makefile      Fri Dec 23 04:11:03 2016
@@ -1,10 +1,9 @@
-# $NetBSD: Makefile,v 1.64 2016/12/04 05:17:41 ryoon Exp $
+# $NetBSD: Makefile,v 1.65 2016/12/23 04:11:03 ryoon Exp $
 
-DISTNAME=      open-vm-tools-10.0.7-3227872
-PKGNAME=       open-vm-tools-10.0.7
-PKGREVISION=   5
+DISTNAME=      open-vm-tools-10.1.0-4449150
+PKGNAME=       open-vm-tools-10.1.0
 CATEGORIES=    sysutils
-MASTER_SITES=  https://github.com/vmware/open-vm-tools/files/133266/
+MASTER_SITES=  https://github.com/vmware/open-vm-tools/files/590760/
 
 MAINTAINER=    agc%NetBSD.org@localhost
 HOMEPAGE=      https://github.com/vmware/open-vm-tools
@@ -13,6 +12,8 @@ LICENSE=      gnu-lgpl-v2.1
 
 ONLY_FOR_PLATFORM=     NetBSD-*-i386 NetBSD-*-x86_64
 
+WRKSRC=                ${WRKDIR}/${DISTNAME}/open-vm-tools
+
 GCC_REQD+=     4.8
 CXXFLAGS+=     -std=gnu++11
 BUILDLINK_TRANSFORM.NetBSD+=   rm:-Werror
@@ -42,8 +43,9 @@ RCD_SCRIPTS=                  vmtools
 
 SUBST_CLASSES+=                        fix-etc-path
 SUBST_STAGE.fix-etc-path=      pre-configure
-SUBST_MESSAGE.fix-etc-path=    Fixing /etc to ${PREFIX}/etc
+SUBST_MESSAGE.fix-etc-path=    Fixing PREFIX
 SUBST_FILES.fix-etc-path+=     lib/guestApp/guestApp.c
+SUBST_FILES.fix-etc-path+=     lib/procMgr/procMgrPosix.c
 SUBST_VARS.fix-etc-path+=      PREFIX
 
 pre-configure:

Index: pkgsrc/sysutils/open-vm-tools/distinfo
diff -u pkgsrc/sysutils/open-vm-tools/distinfo:1.18 pkgsrc/sysutils/open-vm-tools/distinfo:1.19
--- pkgsrc/sysutils/open-vm-tools/distinfo:1.18 Fri Dec 16 00:04:03 2016
+++ pkgsrc/sysutils/open-vm-tools/distinfo      Fri Dec 23 04:11:03 2016
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.18 2016/12/16 00:04:03 joerg Exp $
+$NetBSD: distinfo,v 1.19 2016/12/23 04:11:03 ryoon Exp $
 
-SHA1 (open-vm-tools-10.0.7-3227872.tar.gz) = cd22a3d79d68de46647e8add78bcaf829bb0598d
-RMD160 (open-vm-tools-10.0.7-3227872.tar.gz) = df8cfa62ffd0fbba0432cb0deac0f202b2278625
-SHA512 (open-vm-tools-10.0.7-3227872.tar.gz) = 5838c971a41540cb54ddf83400d2b728bae3245765b6e7d80e7f4be4035308f045ea4a735abafb2a7accbd90c6fe4c381dabd102a98be08a7ee08feab03bfa8b
-Size (open-vm-tools-10.0.7-3227872.tar.gz) = 4009790 bytes
+SHA1 (open-vm-tools-10.1.0-4449150.tar.gz) = ed888568783eb8720d862314fee05c16b2381481
+RMD160 (open-vm-tools-10.1.0-4449150.tar.gz) = f18840f835ec030f72c55713fd7140396253aae5
+SHA512 (open-vm-tools-10.1.0-4449150.tar.gz) = 455e570fc13334e85a946e7eb496baebc459c138760c0c4c206b2182ebbb2e8b00b1025bafc284c163ffa1ffab7ab8566073ccd13b34bf5e8ef32addad9a4639
+Size (open-vm-tools-10.1.0-4449150.tar.gz) = 5025787 bytes
 SHA1 (patch-ag) = 67ce2bcba5cfcbd48f4d2345d5529329424952b3
 SHA1 (patch-ah) = bdee6d92cdfe64f1ab513876ccd9d01f6fda6882
 SHA1 (patch-ai) = 3e8c67a33f6072319f1741bda960377fc2663b06
@@ -22,20 +22,19 @@ SHA1 (patch-bb) = e22d082689016d81add208
 SHA1 (patch-bc) = c2f316cd9035648676fd9d0d7e40fc7f6bf5c8d4
 SHA1 (patch-bd) = eacc267fad7021a96ee435e8fc41c82fb49d9c5f
 SHA1 (patch-be) = 4e4f88df81daf40769b38d1ddd49fbf5e8d8d1eb
-SHA1 (patch-bf) = e902ad24ed7e9616aa57d07cd3485ba3870ba51b
+SHA1 (patch-bf) = 705b0eb11296e5563af9167dc2bc3ba13dec645a
 SHA1 (patch-bh) = 813a390478247b12c0ec0dd9e84302f1700b99ad
 SHA1 (patch-bm) = 219f196fc07e3746e9e6eb340be5e647544a255a
 SHA1 (patch-bt) = 34c85d8d994c33fb4e18f76bb8b6baa41098f23e
 SHA1 (patch-bu) = 33da24db6d7e3dd75ee6f4f1249772de506ab64d
 SHA1 (patch-configure.ac) = 1a8422cdca984b32c0d9e4fa926a92fa3b9178ba
 SHA1 (patch-libDeployPkg_linuxDeployment.c) = f50c7ff2fa07ab15716128654cc814a81cb924af
-SHA1 (patch-libDeployPkg_processPosix.c) = 9f62110eb903eec85e51d8e579abc3d36e54fe7e
+SHA1 (patch-libDeployPkg_processPosix.c) = 4b7688d44f1ca8dcd40076391dc0fb9a627bfebe
 SHA1 (patch-lib_dynxdr_xdrutil.c) = 2a644aeb47bcef7f4db953250b116ec700940531
 SHA1 (patch-lib_file_file.c) = e9ee13e3f5dcdabdf3013095e2af31a65d5afaab
-SHA1 (patch-lib_guestApp_guestApp.c) = 2348c1b4b8c103fa29ac5962deaa0a3dcfe199a2
+SHA1 (patch-lib_guestApp_guestApp.c) = ed916ad0726b8d992319828f8f3a4115d7aba753
 SHA1 (patch-lib_hgfsHelper_hgfsHelperPosix.c) = 9299f0a781d11689b04223a1dfd1c4725912f863
 SHA1 (patch-lib_hgfsUri_hgfsUriPosix.c) = f98eab5cb5885a9c2e258bf072b24d8806b20fd4
-SHA1 (patch-lib_hgfs_hgfsUtil.c) = 473bc65ceccad16d3d2ce726dd5544d581cb30a8
 SHA1 (patch-lib_include_sigPosixRegs.h) = 634e12414f004671c1b2855764970e5d16ef4ef8
 SHA1 (patch-lib_include_vmblock__user.h) = 05ed8a0cdd481b759643ea47e27ef6e223a835d8
 SHA1 (patch-lib_include_vmci__sockets.h) = fba82038daf87a08f04ddd541281122f0047e968
@@ -43,13 +42,13 @@ SHA1 (patch-lib_lock_ulSema.c) = 6908d4b
 SHA1 (patch-lib_misc_hostinfoPosix.c) = 4daea6167cee2be57cc3acc0caa710ca940d1eb7
 SHA1 (patch-lib_nicInfo_nicInfoInt.h) = 81d5e8625496218a679c0a87f30a08cc2e3af7a7
 SHA1 (patch-lib_nicInfo_nicInfoPosix.c) = 0f44134e1e256a46b5ce35fff91d0568649c1bad
+SHA1 (patch-lib_rpcChannel_rpcChannel.c) = 34602bb8a34a930e487ae594137eacda804c3fe0
 SHA1 (patch-lib_user_utilBacktrace.c) = 741cc72d64f962fa0aa48e90b1f912f422c5dd8b
+SHA1 (patch-network) = 21a9196b4ce6101450bfd9ea6fcb283a9ba4f56e
 SHA1 (patch-scripts_Makefile.am) = 5238c5cabf1125f9cd334349e5f67f1b7a568428
-SHA1 (patch-scripts_netbsd_network) = cf4c47e337b0d1f8bba3d4e87678924f85dd635e
-SHA1 (patch-services_plugins_dndcp_copyPasteUIX11.cpp) = 2027b2eb49a1c83ed7bedd1e195f9f3b4a323cbc
-SHA1 (patch-services_plugins_dndcp_dndUIX11.cpp) = 43107436e7bed9aa32786af42ba5fd0abd7c3337
+SHA1 (patch-scripts_netbsd_network) = 0bb7e6f71fa811e1c789a4d0825b4bd0181fb2cf
 SHA1 (patch-services_plugins_dndcp_dnd_dndLinux.c) = 61acce40961ac82b48e055c159efd0c3b7a8899c
-SHA1 (patch-services_plugins_timeSync_Makefile.am) = 45a9c9044f1e4274c173d822a74dfc63bde0f5e9
+SHA1 (patch-services_plugins_timeSync_Makefile.am) = c92d64573e7c5718e955d32991c8951ea2408d43
 SHA1 (patch-services_vmtoolsd_Makefile.am) = 8a34599f5bd9722333de1ecf741a27a0636104c5
 SHA1 (patch-vgauth_common_VGAuthLog.c) = 9beacc4665fb6133059279be2594892ebb6ba5d9
 SHA1 (patch-vgauth_lib_common.c) = 0d949bc3c4a00a92f89177e4f20ef2f848f78532

Index: pkgsrc/sysutils/open-vm-tools/patches/patch-bf
diff -u pkgsrc/sysutils/open-vm-tools/patches/patch-bf:1.4 pkgsrc/sysutils/open-vm-tools/patches/patch-bf:1.5
--- pkgsrc/sysutils/open-vm-tools/patches/patch-bf:1.4  Thu Oct 13 21:48:26 2016
+++ pkgsrc/sysutils/open-vm-tools/patches/patch-bf      Fri Dec 23 04:11:03 2016
@@ -1,6 +1,6 @@
-$NetBSD: patch-bf,v 1.4 2016/10/13 21:48:26 ryoon Exp $
+$NetBSD: patch-bf,v 1.5 2016/12/23 04:11:03 ryoon Exp $
 
---- lib/procMgr/procMgrPosix.c.orig    2016-02-16 20:06:46.000000000 +0000
+--- lib/procMgr/procMgrPosix.c.orig    2016-09-29 10:07:22.000000000 +0000
 +++ lib/procMgr/procMgrPosix.c
 @@ -27,7 +27,7 @@
  // pull in setresuid()/setresgid() if possible
@@ -27,7 +27,16 @@ $NetBSD: patch-bf,v 1.4 2016/10/13 21:48
  #include <kvm.h>
  #include <limits.h>
  #include <paths.h>
-@@ -633,7 +633,7 @@ abort:
+@@ -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
+ 
+ 
+@@ -607,7 +607,7 @@ abort:
   *----------------------------------------------------------------------
   */
  
@@ -36,7 +45,7 @@ $NetBSD: patch-bf,v 1.4 2016/10/13 21:48
  ProcMgrProcInfoArray *
  ProcMgr_ListProcesses(void)
  {
-@@ -641,7 +641,11 @@ ProcMgr_ListProcesses(void)
+@@ -615,7 +615,11 @@ ProcMgr_ListProcesses(void)
     ProcMgrProcInfo procInfo;
     Bool failed = TRUE;
     static kvm_t *kd;
@@ -48,7 +57,7 @@ $NetBSD: patch-bf,v 1.4 2016/10/13 21:48
     char errbuf[_POSIX2_LINE_MAX];
     int i;
     int nentries=-1;
-@@ -664,7 +668,12 @@ ProcMgr_ListProcesses(void)
+@@ -638,7 +642,12 @@ ProcMgr_ListProcesses(void)
     /*
      * Get the list of process info structs
      */
@@ -61,7 +70,7 @@ $NetBSD: patch-bf,v 1.4 2016/10/13 21:48
     if (kp == NULL || nentries <= 0) {
        Warning("%s: failed to get proc infos with error: %s\n",
                __FUNCTION__, kvm_geterr(kd));
-@@ -692,14 +701,26 @@ ProcMgr_ListProcesses(void)
+@@ -666,14 +675,26 @@ ProcMgr_ListProcesses(void)
        /*
         * Store the pid of the process.
         */
@@ -88,7 +97,7 @@ $NetBSD: patch-bf,v 1.4 2016/10/13 21:48
                             : Unicode_Alloc(pwd->pw_name, STRING_ENCODING_DEFAULT);
  
        /*
-@@ -707,15 +728,24 @@ ProcMgr_ListProcesses(void)
+@@ -681,15 +702,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.
         */
@@ -113,7 +122,7 @@ $NetBSD: patch-bf,v 1.4 2016/10/13 21:48
        if (cmdLineTemp != NULL) {
           /*
            * Flatten the argument list to get cmd & all params.
-@@ -771,9 +801,15 @@ ProcMgr_ListProcesses(void)
+@@ -745,9 +775,15 @@ ProcMgr_ListProcesses(void)
           procInfo.procCmdLine = DynBuf_Detach(&dbuf);
           DynBuf_Destroy(&dbuf);
        } else {
@@ -129,7 +138,7 @@ $NetBSD: patch-bf,v 1.4 2016/10/13 21:48
              cmdNameLookup = FALSE;
           }
        }
-@@ -781,7 +817,11 @@ ProcMgr_ListProcesses(void)
+@@ -755,7 +791,11 @@ ProcMgr_ListProcesses(void)
        /*
         * Store the start time of the process
         */
@@ -141,7 +150,7 @@ $NetBSD: patch-bf,v 1.4 2016/10/13 21:48
  
        /*
         * Store the process info pointer into a list buffer.
-@@ -811,7 +851,7 @@ abort:
+@@ -785,7 +825,7 @@ abort:
  
     return procList;
  }
@@ -150,7 +159,7 @@ $NetBSD: patch-bf,v 1.4 2016/10/13 21:48
  
  
  #if defined(__APPLE__)
-@@ -2033,7 +2073,7 @@ ProcMgr_Free(ProcMgr_AsyncProc *asyncPro
+@@ -2022,7 +2062,7 @@ ProcMgr_Free(ProcMgr_AsyncProc *asyncPro
     free(asyncProc);
  }
  
@@ -159,39 +168,39 @@ $NetBSD: patch-bf,v 1.4 2016/10/13 21:48
  
  /*
   *----------------------------------------------------------------------
-@@ -2106,7 +2146,7 @@ ProcMgr_ImpersonateUserStart(const char 
+@@ -2104,7 +2144,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 = setregid(ppw->pw_gid, ppw->pw_gid);
+    ret = setegid(ppw->pw_gid);
  #else
     ret = setresgid(ppw->pw_gid, ppw->pw_gid, root_gid);
-@@ -2125,7 +2165,7 @@ ProcMgr_ImpersonateUserStart(const char 
+@@ -2123,7 +2163,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 = setreuid(ppw->pw_uid, ppw->pw_uid);
+    ret = seteuid(ppw->pw_uid);
  #else
     ret = setresuid(ppw->pw_uid, ppw->pw_uid, 0);
-@@ -2187,7 +2227,7 @@ ProcMgr_ImpersonateUserStop(void)
+@@ -2185,7 +2225,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 = setreuid(ppw->pw_uid, ppw->pw_uid);
+    ret = seteuid(ppw->pw_uid);
  #else
     ret = setresuid(ppw->pw_uid, ppw->pw_uid, 0);
-@@ -2200,7 +2240,7 @@ ProcMgr_ImpersonateUserStop(void)
+@@ -2198,7 +2238,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 = setregid(ppw->pw_gid, ppw->pw_gid);
+    ret = setegid(ppw->pw_gid);
  #else
     ret = setresgid(ppw->pw_gid, ppw->pw_gid, ppw->pw_gid);

Index: pkgsrc/sysutils/open-vm-tools/patches/patch-libDeployPkg_processPosix.c
diff -u pkgsrc/sysutils/open-vm-tools/patches/patch-libDeployPkg_processPosix.c:1.1 pkgsrc/sysutils/open-vm-tools/patches/patch-libDeployPkg_processPosix.c:1.2
--- pkgsrc/sysutils/open-vm-tools/patches/patch-libDeployPkg_processPosix.c:1.1 Sun Oct  9 03:41:56 2016
+++ pkgsrc/sysutils/open-vm-tools/patches/patch-libDeployPkg_processPosix.c     Fri Dec 23 04:11:03 2016
@@ -1,12 +1,12 @@
-$NetBSD: patch-libDeployPkg_processPosix.c,v 1.1 2016/10/09 03:41:56 ryoon Exp $
+$NetBSD: patch-libDeployPkg_processPosix.c,v 1.2 2016/12/23 04:11:03 ryoon Exp $
 
---- libDeployPkg/processPosix.c.orig   2016-02-16 20:06:47.000000000 +0000
+--- libDeployPkg/processPosix.c.orig   2016-09-29 10:05:27.000000000 +0000
 +++ libDeployPkg/processPosix.c
-@@ -22,6 +22,7 @@
+@@ -28,6 +28,7 @@
  #include <unistd.h>
  #include <fcntl.h>
  #include <sys/wait.h>
 +#include <signal.h>
  
- // vmware headers
  #include "util.h"
+ 
Index: pkgsrc/sysutils/open-vm-tools/patches/patch-lib_guestApp_guestApp.c
diff -u pkgsrc/sysutils/open-vm-tools/patches/patch-lib_guestApp_guestApp.c:1.1 pkgsrc/sysutils/open-vm-tools/patches/patch-lib_guestApp_guestApp.c:1.2
--- pkgsrc/sysutils/open-vm-tools/patches/patch-lib_guestApp_guestApp.c:1.1     Mon Oct 17 20:55:49 2016
+++ pkgsrc/sysutils/open-vm-tools/patches/patch-lib_guestApp_guestApp.c Fri Dec 23 04:11:03 2016
@@ -1,8 +1,8 @@
-$NetBSD: patch-lib_guestApp_guestApp.c,v 1.1 2016/10/17 20:55:49 ryoon Exp $
+$NetBSD: patch-lib_guestApp_guestApp.c,v 1.2 2016/12/23 04:11:03 ryoon Exp $
 
 * Fix pkgsrc powerops scripts location
 
---- lib/guestApp/guestApp.c.orig       2016-02-16 20:06:45.000000000 +0000
+--- lib/guestApp/guestApp.c.orig       2016-09-29 10:07:22.000000000 +0000
 +++ lib/guestApp/guestApp.c
 @@ -63,7 +63,7 @@
  #elif defined __APPLE__
Index: pkgsrc/sysutils/open-vm-tools/patches/patch-scripts_netbsd_network
diff -u pkgsrc/sysutils/open-vm-tools/patches/patch-scripts_netbsd_network:1.1 pkgsrc/sysutils/open-vm-tools/patches/patch-scripts_netbsd_network:1.2
--- pkgsrc/sysutils/open-vm-tools/patches/patch-scripts_netbsd_network:1.1      Sun Oct  9 03:41:56 2016
+++ pkgsrc/sysutils/open-vm-tools/patches/patch-scripts_netbsd_network  Fri Dec 23 04:11:03 2016
@@ -1,11 +1,11 @@
-$NetBSD: patch-scripts_netbsd_network,v 1.1 2016/10/09 03:41:56 ryoon Exp $
+$NetBSD: patch-scripts_netbsd_network,v 1.2 2016/12/23 04:11:03 ryoon Exp $
 
---- scripts/netbsd/network.orig        2016-10-04 11:37:34.038469430 +0000
+--- scripts/netbsd/network.orig        2016-12-17 20:49:31.242238289 +0000
 +++ scripts/netbsd/network
 @@ -0,0 +1,103 @@
 +#!/bin/sh
 +##########################################################
-+# Copyright (C) 2010-2015 VMware, Inc. All rights reserved.
++# Copyright (C) 2010-2016 VMware, Inc. All rights reserved.
 +#
 +# This program is free software; you can redistribute it and/or modify it
 +# under the terms of the GNU Lesser General Public License as published
Index: pkgsrc/sysutils/open-vm-tools/patches/patch-services_plugins_timeSync_Makefile.am
diff -u pkgsrc/sysutils/open-vm-tools/patches/patch-services_plugins_timeSync_Makefile.am:1.1 pkgsrc/sysutils/open-vm-tools/patches/patch-services_plugins_timeSync_Makefile.am:1.2
--- pkgsrc/sysutils/open-vm-tools/patches/patch-services_plugins_timeSync_Makefile.am:1.1       Sun Oct  9 03:41:56 2016
+++ pkgsrc/sysutils/open-vm-tools/patches/patch-services_plugins_timeSync_Makefile.am   Fri Dec 23 04:11:03 2016
@@ -1,15 +1,13 @@
-$NetBSD: patch-services_plugins_timeSync_Makefile.am,v 1.1 2016/10/09 03:41:56 ryoon Exp $
+$NetBSD: patch-services_plugins_timeSync_Makefile.am,v 1.2 2016/12/23 04:11:03 ryoon Exp $
 
---- services/plugins/timeSync/Makefile.am.orig 2016-02-16 20:06:48.000000000 +0000
+--- services/plugins/timeSync/Makefile.am.orig 2016-09-29 10:07:01.000000000 +0000
 +++ services/plugins/timeSync/Makefile.am
-@@ -39,6 +39,10 @@ if FREEBSD
- libtimeSync_la_SOURCES += slewAdjtime.c
- libtimeSync_la_SOURCES += pllNone.c
+@@ -43,4 +43,8 @@ if LINUX
+ libtimeSync_la_SOURCES += slewLinux.c
+ libtimeSync_la_SOURCES += pllLinux.c
  endif
 +if NETBSD
 +libtimeSync_la_SOURCES += slewAdjtime.c
 +libtimeSync_la_SOURCES += pllNone.c
 +endif
- if LINUX
- libtimeSync_la_SOURCES += slewLinux.c
- libtimeSync_la_SOURCES += pllLinux.c
+ 

Added files:

Index: pkgsrc/sysutils/open-vm-tools/patches/patch-lib_rpcChannel_rpcChannel.c
diff -u /dev/null pkgsrc/sysutils/open-vm-tools/patches/patch-lib_rpcChannel_rpcChannel.c:1.1
--- /dev/null   Fri Dec 23 04:11:04 2016
+++ pkgsrc/sysutils/open-vm-tools/patches/patch-lib_rpcChannel_rpcChannel.c     Fri Dec 23 04:11:03 2016
@@ -0,0 +1,28 @@
+$NetBSD: patch-lib_rpcChannel_rpcChannel.c,v 1.1 2016/12/23 04:11:03 ryoon Exp $
+
+--- lib/rpcChannel/rpcChannel.c.orig   2016-09-29 10:07:22.000000000 +0000
++++ lib/rpcChannel/rpcChannel.c
+@@ -272,7 +272,11 @@ RpcChannelXdrWrapper(RpcInData *data,
+          goto exit;
+       }
+ 
++#if defined(__NetBSD__)
++      if (!xdrProc(&xdrs, copy.result)) {
++#else
+       if (!xdrProc(&xdrs, copy.result, 0)) {
++#endif
+          ret = RPCIN_SETRETVALS(data, "XDR serialization failed.", FALSE);
+          DynXdr_Destroy(&xdrs, TRUE);
+          goto exit;
+@@ -330,7 +334,11 @@ RpcChannel_BuildXdrCommand(const char *c
+       goto exit;
+    }
+ 
++#if defined(__NetBSD__)
++   if (!proc(&xdrs, xdrData)) {
++#else
+    if (!proc(&xdrs, xdrData, 0)) {
++#endif
+       goto exit;
+    }
+ 
Index: pkgsrc/sysutils/open-vm-tools/patches/patch-network
diff -u /dev/null pkgsrc/sysutils/open-vm-tools/patches/patch-network:1.1
--- /dev/null   Fri Dec 23 04:11:04 2016
+++ pkgsrc/sysutils/open-vm-tools/patches/patch-network Fri Dec 23 04:11:03 2016
@@ -0,0 +1,108 @@
+$NetBSD: patch-network,v 1.1 2016/12/23 04:11:03 ryoon Exp $
+
+--- network.orig       2016-12-17 20:35:10.558398448 +0000
++++ network
+@@ -0,0 +1,103 @@
++#!/bin/sh
++##########################################################
++# Copyright (C) 2010-2015 VMware, Inc. All rights reserved.
++#
++# This program is free software; you can redistribute it and/or modify it
++# under the terms of the GNU Lesser General Public License as published
++# by the Free Software Foundation version 2.1 and no later version.
++#
++# This program is distributed in the hope that it will be useful, but
++# WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
++# or FITNESS FOR A PARTICULAR PURPOSE.  See the Lesser GNU General Public
++# License for more details.
++#
++# You should have received a copy of the GNU Lesser General Public License
++# along with this program; if not, write to the Free Software Foundation, Inc.,
++# 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA.
++#
++##########################################################
++
++##########################################################################
++# DO NOT modify this file directly as it will be overwritten the next
++# time the VMware Tools are installed.
++##########################################################################
++
++#
++# network (FreeBSD 6.3 and above)
++#
++# This script uses FreeBSD's rc(8) scripts to stop and restart networking
++# services in response to suspend and resume events, respectively.
++#
++
++
++echo `date` ": Executing '$0'"
++echo
++
++. `dirname "$0"`/../../statechange.subr
++
++
++#
++# ToggleNetwork --
++#
++#    Sources native configuration files in a subshell and executes native
++#    scripts to either start or stop networking services associated with
++#    a single interface.
++#
++# Results:
++#    See description above.
++#
++# Side effects:
++#    All side effects implied by FreeBSD's netif script.
++#
++
++ToggleNetwork() {
++   (
++      . /etc/rc.subr
++      . /etc/network.subr
++
++      load_rc_config network
++
++      for intf in `list_net_interfaces dhcp`; do
++         /etc/rc.d/netif $1 $intf
++         ec=$?
++
++         # Failure to stop an interface should not interfere with suspend.
++         if [ "$1" != "stop" ]; then
++            exitCode=`expr $exitCode \| $ec`
++         fi
++      done
++   )
++}
++
++
++#
++# main --
++#
++#    Main entry point.  Perform some sanity checking, then map state change
++#    events to relevant networking operations.
++#
++# Results:
++#    See comment at top of file.
++#
++
++main() {
++   exitCode=0
++
++   [ -r /etc/rc.subr ] || Panic "Cannot read /etc/rc.subr."
++   [ -r /etc/network.subr ] || Panic "Cannot read /etc/network.subr"
++   [ -x /etc/rc.d/netif ] || Panic "Cannot read /etc/rc.d/netif"
++
++   case "$1" in
++      suspend-vm)
++         ToggleNetwork stop
++         ;;
++      resume-vm)
++         ToggleNetwork start
++         ;;
++      *) ;;
++   esac
++
++   return $exitCode
++}
++
++main "$@"



Home | Main Index | Thread Index | Old Index