pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/sysutils/open-vm-tools Initial import of open-vm-tools...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1fa81ce5a258
branches:  trunk
changeset: 534363:1fa81ce5a258
user:      agc <agc%pkgsrc.org@localhost>
date:      Wed Oct 17 21:35:53 2007 +0000

description:
Initial import of open-vm-tools (version 2007.09.04-56574) into the
Packages Collection.

        The Open Virtual Machine Tools (open-vm-tools) are the open source
        implementation of VMware Tools.  They are a set of guest operating
        system virtualization components that enhance performance and user
        experience of virtual machines.  As virtualization technology rapidly
        becomes mainstream, each virtualization solution provider implements
        their own set of tools and utilities to supplement the guest virtual
        machine.  However, most of the implementations are proprietary and are
        tied to a specific virtualization platform.

        The tools are currently composed of kernel modules for Linux and
        user-space programs for all VMware supported Unix-like guest operating
        systems.  They provide several useful functions like:

            * File transfer between a host and guest
            * Improved memory management and network performance under
              virtualization
            * General mechanisms and protocols for communication between host
              and guests and from guest to guest

diffstat:

 sysutils/open-vm-tools/DESCR            |   18 +++++
 sysutils/open-vm-tools/Makefile         |   27 +++++++
 sysutils/open-vm-tools/PLIST            |    3 +
 sysutils/open-vm-tools/distinfo         |   34 +++++++++
 sysutils/open-vm-tools/patches/patch-aa |   14 ++++
 sysutils/open-vm-tools/patches/patch-ab |   13 +++
 sysutils/open-vm-tools/patches/patch-ac |   23 ++++++
 sysutils/open-vm-tools/patches/patch-ad |   13 +++
 sysutils/open-vm-tools/patches/patch-ae |   22 ++++++
 sysutils/open-vm-tools/patches/patch-af |   13 +++
 sysutils/open-vm-tools/patches/patch-ag |   58 ++++++++++++++++
 sysutils/open-vm-tools/patches/patch-ah |   22 ++++++
 sysutils/open-vm-tools/patches/patch-ai |   22 ++++++
 sysutils/open-vm-tools/patches/patch-aj |  111 +++++++++++++++++++++++++++++++
 sysutils/open-vm-tools/patches/patch-ak |   14 ++++
 sysutils/open-vm-tools/patches/patch-al |   21 ++++++
 sysutils/open-vm-tools/patches/patch-am |   62 +++++++++++++++++
 sysutils/open-vm-tools/patches/patch-an |   31 ++++++++
 sysutils/open-vm-tools/patches/patch-ao |   31 ++++++++
 sysutils/open-vm-tools/patches/patch-ap |   15 ++++
 sysutils/open-vm-tools/patches/patch-aq |   22 ++++++
 sysutils/open-vm-tools/patches/patch-ar |   38 ++++++++++
 sysutils/open-vm-tools/patches/patch-as |   72 ++++++++++++++++++++
 sysutils/open-vm-tools/patches/patch-at |   57 ++++++++++++++++
 sysutils/open-vm-tools/patches/patch-au |   13 +++
 sysutils/open-vm-tools/patches/patch-av |   13 +++
 sysutils/open-vm-tools/patches/patch-aw |   13 +++
 sysutils/open-vm-tools/patches/patch-ax |  112 ++++++++++++++++++++++++++++++++
 sysutils/open-vm-tools/patches/patch-ay |   49 ++++++++++++++
 sysutils/open-vm-tools/patches/patch-az |   38 ++++++++++
 sysutils/open-vm-tools/patches/patch-ba |   13 +++
 sysutils/open-vm-tools/patches/patch-bb |   13 +++
 sysutils/open-vm-tools/patches/patch-bc |   22 ++++++
 33 files changed, 1042 insertions(+), 0 deletions(-)

diffs (truncated from 1174 to 300 lines):

diff -r 41a185f13e54 -r 1fa81ce5a258 sysutils/open-vm-tools/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/open-vm-tools/DESCR      Wed Oct 17 21:35:53 2007 +0000
@@ -0,0 +1,18 @@
+The Open Virtual Machine Tools (open-vm-tools) are the open source
+implementation of VMware Tools.  They are a set of guest operating
+system virtualization components that enhance performance and user
+experience of virtual machines.  As virtualization technology rapidly
+becomes mainstream, each virtualization solution provider implements
+their own set of tools and utilities to supplement the guest virtual
+machine.  However, most of the implementations are proprietary and are
+tied to a specific virtualization platform.
+
+The tools are currently composed of kernel modules for Linux and
+user-space programs for all VMware supported Unix-like guest operating
+systems.  They provide several useful functions like:
+
+    * File transfer between a host and guest
+    * Improved memory management and network performance under
+      virtualization
+    * General mechanisms and protocols for communication between host
+      and guests and from guest to guest
diff -r 41a185f13e54 -r 1fa81ce5a258 sysutils/open-vm-tools/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/open-vm-tools/Makefile   Wed Oct 17 21:35:53 2007 +0000
@@ -0,0 +1,27 @@
+# $NetBSD: Makefile,v 1.1.1.1 2007/10/17 21:35:53 agc Exp $
+
+DISTNAME=      open-vm-tools-2007.09.04-56574
+PKGNAME=       open-vm-tools-2007.09.04.56574
+CATEGORIES=    sysutils
+MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=open-vm-tools/}
+
+MAINTAINER=    agc%NetBSD.org@localhost
+HOMEPAGE=      http://open-vm-tools.sourceforge.net/
+COMMENT=       Open source VMware tools
+
+GNU_CONFIGURE= yes
+USE_LANGUAGES+=        c c++
+USE_LIBTOOL=   yes
+USE_TOOLS+=    pkg-config
+
+post-install:
+       ${INSTALL_PROGRAM} ${WRKSRC}/guestd/guestd ${PREFIX}/sbin/vmware-guestd
+
+.include "../../security/openssl/buildlink3.mk"
+.include "../../x11/gtk2/buildlink3.mk"
+.include "../../x11/libXinerama/buildlink3.mk"
+.include "../../x11/libXrandr/buildlink3.mk"
+.include "../../x11/libXrender/buildlink3.mk"
+.include "../../x11/libXtst/buildlink3.mk"
+
+.include "../../mk/bsd.pkg.mk"
diff -r 41a185f13e54 -r 1fa81ce5a258 sysutils/open-vm-tools/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/open-vm-tools/PLIST      Wed Oct 17 21:35:53 2007 +0000
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2007/10/17 21:35:53 agc Exp $
+lib/libguestlib.la
+sbin/vmware-guestd
diff -r 41a185f13e54 -r 1fa81ce5a258 sysutils/open-vm-tools/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/open-vm-tools/distinfo   Wed Oct 17 21:35:53 2007 +0000
@@ -0,0 +1,34 @@
+$NetBSD: distinfo,v 1.1.1.1 2007/10/17 21:35:53 agc Exp $
+
+SHA1 (open-vm-tools-2007.09.04-56574.tar.gz) = d3ffcd974e67b5f83b760582f8c2606721d94403
+RMD160 (open-vm-tools-2007.09.04-56574.tar.gz) = 8bb9952471ff5635e70741afd357170b6c0a8307
+Size (open-vm-tools-2007.09.04-56574.tar.gz) = 1987725 bytes
+SHA1 (patch-aa) = 18b8fdb983268f3f8d584cb87df22f704bd871ea
+SHA1 (patch-ab) = 06e20655385abe4882ee5b1f0743194c9d4ad89e
+SHA1 (patch-ac) = 9b41a45492069a955487ebec74aeab8fe81f2389
+SHA1 (patch-ad) = 88343d37ef042d3b7755d3c61246aa499fd33d75
+SHA1 (patch-ae) = 5935f63467af70ef0f139ff0a640a67976cca3b1
+SHA1 (patch-af) = b8255d69d143f2a0274162ac8d9c869e5c3ecfb9
+SHA1 (patch-ag) = 4f589d6ca71c7222f841cc02d01398d2ca7f796c
+SHA1 (patch-ah) = 311d8e44fc98f61653c39e7595b3c588441b6414
+SHA1 (patch-ai) = 0441e29f7b286142f0a98ede57e2a0b9bee6a4fd
+SHA1 (patch-aj) = 441a6774359864afa85e73b4375198d67c5f81f3
+SHA1 (patch-ak) = df29cec4aa4bbe0aef485a544865dc9c033d99fd
+SHA1 (patch-al) = 89d9f42aa123f5bb3f6c9b2b5cdf080a06b06d3b
+SHA1 (patch-am) = f62d4a9b0acb6e527a4912ee86ed47ee948d06ea
+SHA1 (patch-an) = 60b92ad15dfcf251dbe9e6859693efdef3b668c2
+SHA1 (patch-ao) = 0447c1de5251c8e946025604d7ce0b577bda3962
+SHA1 (patch-ap) = 4a76ce695183be059442cc731f2b04bf122ac59c
+SHA1 (patch-aq) = a95a41e051f9b3fe5ef0b32df3660b914da37f6d
+SHA1 (patch-ar) = 45a84a45e137d02fa16e100f8dd82d8d4f249e02
+SHA1 (patch-as) = 23818461de9c6a9803e674a0ccf8544c8ac2cfb7
+SHA1 (patch-at) = 03dcfb95ec6159e3445405a3a2fb467898d94b3b
+SHA1 (patch-au) = 776c001223ecd043fa4a8fc61d5c8bd1c5b4ef4d
+SHA1 (patch-av) = 02f5d5d9e91d6aacf79168bc751396b217789125
+SHA1 (patch-aw) = 8f84b0cf9728ccd3bbb1c547d61956d8c9664a88
+SHA1 (patch-ax) = 7d7eebdf405ea4b5aac10986133f66f9f89d3893
+SHA1 (patch-ay) = 5bdfd3b2ba1681a6e11b43e0f19965e3eef7ed01
+SHA1 (patch-az) = 430c96756a27712d0731a9561266ba45da56937e
+SHA1 (patch-ba) = 01c5aa4b52a80c1a5159c49fcf40d4081f3a1ede
+SHA1 (patch-bb) = cb40fa71de36265afc872be009fdd0c189404c23
+SHA1 (patch-bc) = f4876b2eeb10362b7d0fa2062cf899d398db28ab
diff -r 41a185f13e54 -r 1fa81ce5a258 sysutils/open-vm-tools/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/open-vm-tools/patches/patch-aa   Wed Oct 17 21:35:53 2007 +0000
@@ -0,0 +1,14 @@
+$NetBSD: patch-aa,v 1.1.1.1 2007/10/17 21:35:53 agc Exp $
+
+--- configure  2007/09/28 13:16:03     1.1
++++ configure  2007/09/28 13:17:22
+@@ -2171,6 +2171,9 @@
+    freebsd*)
+       os="freebsd"
+       ;;
++   netbsd*)
++      os="netbsd"
++      ;;
+    solaris*)
+       os="solaris"
+       case "$host_os" in
diff -r 41a185f13e54 -r 1fa81ce5a258 sysutils/open-vm-tools/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/open-vm-tools/patches/patch-ab   Wed Oct 17 21:35:53 2007 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1.1.1 2007/10/17 21:35:53 agc Exp $
+
+--- lib/include/vm_product.h   2007/09/28 18:47:13     1.1
++++ lib/include/vm_product.h   2007/09/28 18:47:55
+@@ -416,6 +416,8 @@
+ #  define PRODUCT_NAME_PLATFORM         PRODUCT_NAME " for Windows"
+ #elif defined(__FreeBSD__)
+ #  define PRODUCT_NAME_PLATFORM         PRODUCT_NAME " for FreeBSD"
++#elif defined(__NetBSD__)
++#  define PRODUCT_NAME_PLATFORM         PRODUCT_NAME " for NetBSD"
+ #elif defined(sun)
+ #  define PRODUCT_NAME_PLATFORM         PRODUCT_NAME " for Solaris"
+ #else
diff -r 41a185f13e54 -r 1fa81ce5a258 sysutils/open-vm-tools/patches/patch-ac
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/open-vm-tools/patches/patch-ac   Wed Oct 17 21:35:53 2007 +0000
@@ -0,0 +1,23 @@
+$NetBSD: patch-ac,v 1.1.1.1 2007/10/17 21:35:53 agc Exp $
+
+--- lib/include/vm_basic_types.h       2007/09/28 18:49:45     1.1
++++ lib/include/vm_basic_types.h       2007/09/28 18:51:32
+@@ -140,7 +140,7 @@
+  * This applies to Solaris as well.
+  */
+ 
+-#if defined(__FreeBSD__) || defined(sun)
++#if defined(__FreeBSD__) || defined(sun) || defined(__NetBSD__)
+ #   ifdef KLD_MODULE
+ #      include <sys/types.h>
+ #   else
+@@ -631,7 +631,8 @@
+  * On FreeBSD (for the tools build), size_t is typedef'd if _BSD_SIZE_T_
+  * is defined. Use the same logic here so we don't define it twice. [greg]
+  */
+-#ifdef __FreeBSD__
++#if defined(__FreeBSD__) || defined(__NetBSD__)
++#   include <sys/types.h>
+ #   ifdef _BSD_SIZE_T_
+ #      undef _BSD_SIZE_T_
+ #      ifdef VM_I386
diff -r 41a185f13e54 -r 1fa81ce5a258 sysutils/open-vm-tools/patches/patch-ad
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/open-vm-tools/patches/patch-ad   Wed Oct 17 21:35:53 2007 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-ad,v 1.1.1.1 2007/10/17 21:35:53 agc Exp $
+
+--- lib/include/su.h   2007/09/28 19:00:23     1.1
++++ lib/include/su.h   2007/09/28 19:00:48
+@@ -49,7 +49,7 @@
+ Bool Id_AuthSet(void const *buf, size_t size);
+ Bool Id_AuthCheck(char const *right);
+ 
+-#elif (defined(__linux__) || defined(sun) || defined(__FreeBSD__)) && !defined(N_PLAT_NLM)
++#elif (defined(__linux__) || defined(sun) || defined(__FreeBSD__) || defined(__NetBSD__)) && !defined(N_PLAT_NLM)
+ 
+ #include <sys/types.h>
+ #include <unistd.h>
diff -r 41a185f13e54 -r 1fa81ce5a258 sysutils/open-vm-tools/patches/patch-ae
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/open-vm-tools/patches/patch-ae   Wed Oct 17 21:35:53 2007 +0000
@@ -0,0 +1,22 @@
+$NetBSD: patch-ae,v 1.1.1.1 2007/10/17 21:35:53 agc Exp $
+
+--- lib/user/utilPosix.c       2007/09/28 19:02:18     1.1
++++ lib/user/utilPosix.c       2007/09/28 19:03:46
+@@ -80,7 +80,7 @@
+ 
+ 
+ 
+-#if !__FreeBSD__ && !sun
++#if !__FreeBSD__ && !sun && !__NetBSD__
+ 
+ /*
+  *-----------------------------------------------------------------------------
+@@ -542,7 +542,7 @@
+ #endif // __linux__
+ 
+ 
+-#if defined(__linux__) || defined(__FreeBSD__) || defined(sun)
++#if defined(__linux__) || defined(__FreeBSD__) || defined(sun) || defined(__NetBSD__)
+ /*
+  *----------------------------------------------------------------------------
+  *
diff -r 41a185f13e54 -r 1fa81ce5a258 sysutils/open-vm-tools/patches/patch-af
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/open-vm-tools/patches/patch-af   Wed Oct 17 21:35:53 2007 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-af,v 1.1.1.1 2007/10/17 21:35:53 agc Exp $
+
+--- lib/user/util.c    2007/09/28 19:02:18     1.1
++++ lib/user/util.c    2007/09/28 19:04:12
+@@ -575,7 +575,7 @@
+    tid = getpid();
+    ASSERT(tid != (pid_t)-1);
+    return tid;
+-#elif __FreeBSD__ || sun
++#elif __FreeBSD__ || sun || __NetBSD__
+    pid_t tid;
+ 
+    tid = getpid();
diff -r 41a185f13e54 -r 1fa81ce5a258 sysutils/open-vm-tools/patches/patch-ag
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/open-vm-tools/patches/patch-ag   Wed Oct 17 21:35:53 2007 +0000
@@ -0,0 +1,58 @@
+$NetBSD: patch-ag,v 1.1.1.1 2007/10/17 21:35:53 agc Exp $
+
+--- lib/file/filePosix.c       2007/09/28 19:06:00     1.1
++++ lib/file/filePosix.c       2007/09/28 19:07:57
+@@ -24,7 +24,7 @@
+ 
+ #include <sys/types.h> /* Needed before sys/vfs.h with glibc 2.0 --hpreg */
+ 
+-#if !__FreeBSD__
++#if !__FreeBSD__ && !__NetBSD__
+ # if !__APPLE__
+ #  include <sys/vfs.h>
+ # endif
+@@ -64,7 +64,7 @@
+ #include "dynbuf.h"
+ #include "localconfig.h"
+ 
+-#if !defined(__FreeBSD__) && !defined(sun)
++#if !defined(__FreeBSD__) && !defined(sun) && !defined(__NetBSD__)
+ static char *FilePosixLookupFSDeviceName(const char *filename);
+ 
+ # ifdef VMX86_SERVER
+@@ -382,7 +382,7 @@
+  *----------------------------------------------------------------------
+  */
+ 
+-#if !defined(__FreeBSD__) && !defined(sun)
++#if !defined(__FreeBSD__) && !defined(sun) && !defined(__NetBSD__)
+ Bool
+ File_IsRemote(const char *fileName) // IN: File name
+ {
+@@ -412,7 +412,7 @@
+ #endif
+ #endif
+ }
+-#endif /* !FreeBSD && !sun */
++#endif /* !FreeBSD && !sun && !__NetBSD__ */
+ 
+ 
+ /*
+@@ -698,7 +698,7 @@
+ }
+ 
+ 
+-#if !defined(__FreeBSD__) && !defined(sun)
++#if !defined(__FreeBSD__) && !defined(sun) && !defined(__NetBSD__)
+ /*
+  *----------------------------------------------------------------------
+  *
+@@ -1368,7 +1368,7 @@
+ }
+ 
+ 
+-#endif /* !FreeBSD && !sun */
++#endif /* !FreeBSD && !sun && !defined(__NetBSD__) */
+ 
+ 
+ /*
diff -r 41a185f13e54 -r 1fa81ce5a258 sysutils/open-vm-tools/patches/patch-ah
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/open-vm-tools/patches/patch-ah   Wed Oct 17 21:35:53 2007 +0000
@@ -0,0 +1,22 @@
+$NetBSD: patch-ah,v 1.1.1.1 2007/10/17 21:35:53 agc Exp $
+
+--- lib/file/fileIOPosix.c     2007/09/28 19:09:01     1.1
++++ lib/file/fileIOPosix.c     2007/09/28 19:10:57
+@@ -659,7 +659,7 @@
+    ASSERT(file->lockToken == NULL);
+    ASSERT(FILEIO_ERROR_LAST < 16); /* See comment in fileIO.h */
+ 
+-#if !defined(__FreeBSD__) && !defined(sun) && !defined(N_PLAT_NLM)
++#if !defined(__FreeBSD__) && !defined(sun) && !defined(N_PLAT_NLM) && !defined(__NetBSD__)
+    /*
+     * If FILEIO_OPEN_EXCLUSIVE_LOCK or FILEIO_OPEN_MULTIWRITER_LOCK or
+     * (FILEIO_OPEN_ACCESS_READ | FILEIO_OPEN_LOCKED) are passed, and we are
+@@ -1101,7 +1101,7 @@



Home | Main Index | Thread Index | Old Index