--- open-vm-tools-2011.03.28-387002.orig/debian/open-vm-tools.init +++ open-vm-tools-2011.03.28-387002/debian/open-vm-tools.init @@ -0,0 +1,69 @@ +#!/bin/sh + +### BEGIN INIT INFO +# Provides: open-vm-tools +# Required-Start: $local_fs +# Required-Stop: $local_fs +# X-Start-Before: $network +# X-Stop-After: $network +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +# Description: Runs the open-vm-tools services +# Short-Description: Runs the open-vm-tools services +### END INIT INFO + +. /lib/lsb/init-functions + +exit_if_not_in_vm () { + if [ ! -x /usr/bin/vmware-checkvm ] || ! /usr/bin/vmware-checkvm > /dev/null 2>&1 + then + echo "Not starting as we're not running in a vm." + exit 0 + fi +} + +case "${1}" in + start) + # Check if we're running inside VMWare + exit_if_not_in_vm + + log_daemon_msg "Loading open-vm-tools modules" + log_progress_msg "vmhgfs"; modprobe vmhgfs + log_progress_msg "vmsync"; modprobe vmsync + log_progress_msg "vmblock"; modprobe vmblock + log_end_msg 0 + + log_daemon_msg "Starting open-vm daemon" "vmtoolsd" + /usr/bin/vmtoolsd --background /var/run/vmtoolsd.pid + log_end_msg 0 + ;; + + stop) + # Check if we're running inside VMWare + exit_if_not_in_vm + + log_daemon_msg "Stopping open-vm guest daemon" "vmtoolsd" + + if [ -f /var/run/vmtoolsd.pid ] + then + kill $(cat /var/run/vmtoolsd.pid) + fi + + log_end_msg 0 + + log_daemon_msg "Removing open-vm-tools modules" + log_progress_msg "vmhgfs"; modprobe -r vmhgfs + log_progress_msg "vmsync"; modprobe -r vmsync + log_progress_msg "vmblock"; modprobe -r vmblock + log_end_msg 0 + ;; + + force-reload|restart) + ${0} stop; ${0} start + ;; + + *) + log_success_msg "Usage: ${0} {start|stop|restart|force-reload}" + exit 1 + ;; +esac --- open-vm-tools-2011.03.28-387002.orig/debian/open-vm-tools.triggers +++ open-vm-tools-2011.03.28-387002/debian/open-vm-tools.triggers @@ -0,0 +1 @@ +activate update-initramfs --- open-vm-tools-2011.03.28-387002.orig/debian/copyright +++ open-vm-tools-2011.03.28-387002/debian/copyright @@ -0,0 +1,156 @@ +Upstream-Contact: Open VM Tools project +Upstream-Homepage: http://open-vm-tools.sourceforge.net/ +Maintainer-Contact: Debian VMware Maintainers +Maintainer-Homepage: http://vmware.debian-maintainers.org/ + +Files: * +Copyright: (C) VMware, Inc. +License: GPL-2.1 + This library 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 of the License. + . + This library 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 GNU Lesser General Public License for more details. + . + You should have received a copy of the GNU Lesser General Public License along + with this library; if not, write to the Free Software Foundation, Inc., 51 + Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + +On Debian systems, the complete text of the GNU Lesser General Public License +can be found in /usr/share/common-licenses/LGPL-2.1 file. + +Files: */Makefile*, modules/* +Copyright: (C) VMware, Inc. +License: GPL-2 + This program is free software; you can redistribute it and/or modify it under + the terms of the GNU General Public License as published by the Free Software + Foundation; version 2 of the License. + . + 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 GNU General Public License for more details. + . + You should have received a copy of the GNU 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 + +On Debian systems, the complete text of the GNU General Public License +can be found in /usr/share/common-licenses/GPL-2 file. + +Files: lib/include/bsd*, lib/string/bsd* +Copyright: (C) 1990, 1993 The Regents of the University of California. +License: BSD-3 + This code is derived from software contributed to Berkeley by Chris Torek. + . + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are met: + . + 1. Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + . + 2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + . + 4. Neither the name of the University nor the names of its contributors may be + used to endorse or promote products derived from this software without + specific prior written permission. + . + THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND ANY + EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE + DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES + (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; + LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON + ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +Files: lib/misc/base64.c +Copyright: (C) 1996, 1998 Internet Software Consortium +License: MIT + Permission to use, copy, modify, and distribute this software for any purpose + with or without fee is hereby granted, provided that the above copyright notice + and this permission notice appear in all copies. + . + THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM DISCLAIMS ALL + WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL INTERNET SOFTWARE CONSORTIUM BE + LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY + DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN + CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + . + Portions Copyright (C) 1995 International Business Machines, Inc. + . + International Business Machines, Inc. (hereinafter called IBM) grants + permission under its copyrights to use, copy, modify, and distribute this + Software with or without fee, provided that the above copyright notice and all + paragraphs of this notice appear in all copies, and that the name of IBM not be + used in connection with the marketing of any product incorporating the Software + or modifications thereof, without specific, written prior permission. + . + To the extent it has a right to do so, IBM grants an immunity from suit under + its patents, if any, for the use, sale or manufacture of products to the extent + that such products are used for performing Domain Name System dynamic updates + in TCP/IP networks by means of the Software. No immunity is granted for any + product per se or for any other function of any product. + . + THE SOFTWARE IS PROVIDED "AS IS", AND IBM DISCLAIMS ALL WARRANTIES, INCLUDING + ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + IN NO EVENT SHALL IBM BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR + CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER ARISING OUT OF OR IN CONNECTION + WITH THE USE OR PERFORMANCE OF THIS SOFTWARE, EVEN IF IBM IS APPRISED OF THE + POSSIBILITY OF SUCH DAMAGES. + +Files: + vmware-user/libvmwarectrl.h + vmware-user/vmwarectrlproto.h + vmware-user/vmwarectrl.h,libvmwarectrl.c + vmware-user/libvmwarectrl.c +Copyright: (C) 2006 VMware, Inc. +License: MIT + Permission is hereby granted, free of charge, to any person obtaining a copy of + this software and associated documentation files (the "Software"), to deal in + the Software without restriction, including without limitation the rights to + use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies + of the Software, and to permit persons to whom the Software is furnished to do + so, subject to the following conditions: + . + The above copyright notice and this permission notice shall be included in all + copies or substantial portions of the Software. + . + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + COPYRIGHT HOLDER(S) OR AUTHOR(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + SOFTWARE. + . + Except as contained in this notice, the name of the copyright holder(s) and + author(s) shall not be used in advertising or otherwise to promote the sale, + use or other dealings in this Software without prior written authorization from + the copyright holder(s) and author(s). + +Files: debian/* +Copyright: (C) 2007-2010 Daniel Baumann +License: GPL-2+ + This program is free software; you can redistribute it and/or modify it under + the terms of the GNU General Public License as published by the Free Software + Foundation; either version 2 of the License, or (at your option) any 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 GNU General Public License for more details. + . + You should have received a copy of the GNU 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 + +On Debian systems, the complete text of the GNU General Public License +can be found in /usr/share/common-licenses/GPL-2 file. --- open-vm-tools-2011.03.28-387002.orig/debian/open-vm-tools.manpages +++ open-vm-tools-2011.03.28-387002/debian/open-vm-tools.manpages @@ -0,0 +1,7 @@ +debian/manpages/vmware-checkvm.1 +debian/manpages/vmware-hgfsclient.1 +debian/manpages/vmware-toolbox-cmd.1 +debian/manpages/vmware-xferlogs.1 +debian/manpages/vmware-hgfsmounter.8 +debian/manpages/*.3 +debian/manpages/*.9 --- open-vm-tools-2011.03.28-387002.orig/debian/open-vm-dkms.prerm +++ open-vm-tools-2011.03.28-387002/debian/open-vm-dkms.prerm @@ -0,0 +1,29 @@ +#!/bin/sh + +NAME="open-vm-tools" +PACKAGE_NAME="open-vm-dkms" +CVERSION="$(dpkg-query -W -f='${Version}' ${PACKAGE_NAME} | awk -F "-" '{ print $1 }' | cut -d\: -f2)" + +set -e + +case "${1}" in + remove|upgrade|deconfigure) + if [ "$(dkms status -m ${NAME})" ] + then + dkms remove -m ${NAME} -v ${CVERSION} --all + fi + ;; + + failed-upgrade) + + ;; + + *) + echo "prerm called with unknown argument \`${1}'" >&2 + exit 1 + ;; +esac + +#DEBHELPER# + +exit 0 --- open-vm-tools-2011.03.28-387002.orig/debian/open-vm-tools.postinst +++ open-vm-tools-2011.03.28-387002/debian/open-vm-tools.postinst @@ -0,0 +1,25 @@ +#!/bin/sh + +set -e + +case "${1}" in + configure) + if [ -x /usr/sbin/update-initramfs ] + then + update-initramfs -u + fi + ;; + + abort-upgrade|abort-remove|abort-deconfigure) + + ;; + + *) + echo "postinst called with unknown argument \`${1}'" >&2 + exit 1 + ;; +esac + +#DEBHELPER# + +exit 0 --- open-vm-tools-2011.03.28-387002.orig/debian/open-vm-source.README.Debian +++ open-vm-tools-2011.03.28-387002/debian/open-vm-source.README.Debian @@ -0,0 +1,18 @@ +open-vm for Debian +------------------ + +open-vm-source provides the kernel module for open-vm. You also need the +open-vm-tools package to get the necessary user-space support programs. + +The Debian open-vm-source package can be used in several ways: + + * Using module-assistant(8) commands provided by the module-assistant Debian + package: + + # module-assistant prepare open-vm + # module-assistant auto-install open-vm + + * Using the make-kpkg(1) command provided by the kernel-package Debian + package. See the "modules_image" section of the make-kpkg(1) man page. + + -- Daniel Baumann Sun, 9 Sep 2007 16:53:00 +0200 --- open-vm-tools-2011.03.28-387002.orig/debian/changelog +++ open-vm-tools-2011.03.28-387002/debian/changelog @@ -0,0 +1,563 @@ +open-vm-tools (2011.03.28-387002-0ubuntu1) natty; urgency=low + + * Merge latest upstream git tag. This has the unlocked_ioctl change + needed to fix dkms build failures (LP: #727342) + * Changes in debian/rules: + - work around a bug in toolbox/Makefile, where install-exec-hook is + not happening. This needs to get fixed the right way. + - don't install 'vmware-user' which seems to no longer exist + - move /etc/xdg into open-vm-toolbox (which should be done using .install) + * debian/open-vm-tools.init: add 'modprobe [-r] vmblock'. (LP: #332323) + * debian/rules and debian/open-vm-toolbox.lintian-overrides: + - Make vmware-user-suid-wrapper suid-root (LP: #332323) + + -- Serge Hallyn Thu, 31 Mar 2011 14:20:05 -0500 + +open-vm-tools (2010.06.16-268169-3ubuntu1) maverick; urgency=low + + * Merge from Debian testing (LP: #632101), remaining changes: + - Recommend open-vm-toolbox in open-vm-tools. + - Rediffing vsock.patch. + + -- Nate Muench Mon, 06 Sep 2010 21:06:01 -0500 + +open-vm-tools (2010.06.16-268169-3) unstable; urgency=low + + * Updating local Makefile to inject symvers files to fix vmhgfs and + vsock modules, thanks to Joe Gooch (Closes: + #579721). + * Updating standards version to 3.9.1. + + -- Daniel Baumann Sat, 14 Aug 2010 12:59:39 +0200 + +open-vm-tools (2010.06.16-268169-2) unstable; urgency=low + + * Removing vmmemctl fom initscript (Closes: #588356). + + -- Daniel Baumann Fri, 09 Jul 2010 13:19:42 +0200 + +open-vm-tools (2010.06.16-268169-1) unstable; urgency=low + + * Merging upstream version 2010.06.16-268169. + * Updating standards version to 3.9.0. + * Updating README.source. + * Rediffing kvers.patch. + * Dropping procps.patch, not required anymore. + * Updating packaging for upstreams vmmemctl module removal. + + -- Daniel Baumann Sat, 03 Jul 2010 21:34:25 +0200 + +open-vm-tools (2010.04.25-253928-2+ubuntu2) maverick; urgency=low + + * Add 03-vmxnet.patch and 04-vsock.patch. + Fixes building on Maverick kernels (LP: #598542) + + -- Nate Muench Mon, 19 Jul 2010 18:01:17 -0500 + +open-vm-tools (2010.04.25-253928-2+ubuntu1) maverick; urgency=low + + * Merge from debian testing, remaining changes: + - Recommend open-vm-toolbox in open-vm-tools. + + -- Evan Broder Sat, 29 May 2010 13:21:56 -0400 + +open-vm-tools (2010.04.25-253928-2) unstable; urgency=low + + * Dropping la files. + * Updating rules for pvscsi removal (Closes: #581160). + + -- Daniel Baumann Tue, 11 May 2010 20:10:45 +0200 + +open-vm-tools (2010.04.25-253928-1) unstable; urgency=low + + * Merging upstream version 2010.04.25-253928. + * Updating packaging for upstreams pvscsi module removal. + * Removing remote_fs from initscript again (Closes: #577163). + * Updating lintian overrides for open-vm-tools. + + -- Daniel Baumann Thu, 29 Apr 2010 22:01:51 +0200 + +open-vm-tools (2010.03.20-243334-4) unstable; urgency=low + + * Updating date and version in manpage headers. + * Adding manpage for vmxnet3. + * Adding manpage for vmci. + * Fixing spelling typo in vmsync manpage. + * Adding manpage for vmsock. + * Update formating of newly added manpages. + * Adding vmware-toolbox-cmd manpage. + * Adding guestlib manpage. + * Adding libvmtools manpage. + * Renaming guestlib manpage to libguestlib. + * Including vmware-toolbox-cmd manpage in open-vm-tools package. + * Updating initscript start/stop declarations (Closes: #576843, + #577163). + + -- Daniel Baumann Wed, 14 Apr 2010 18:59:32 +0200 + +open-vm-tools (2010.03.20-243334-3) unstable; urgency=low + + * Adding misc depends. + * Running open-vm-dkms postinst script with set -e. + * Adding remote_fs to init depends. + * Avoid including license files in open-vm-dkms. + * Marking makefiles in open-vm-dkms executable to please lintian. + * Adding make to open-vm-dkms depends. + * Also stopping in runlevel 1. + + -- Daniel Baumann Tue, 06 Apr 2010 22:42:58 +0200 + +open-vm-tools (2010.03.20-243334-2) unstable; urgency=low + + * Addding dkms support based on the work of Evan Broder + on the ubuntu package (Closes: #516251). + + -- Daniel Baumann Sat, 27 Mar 2010 17:09:36 +0100 + +open-vm-tools (2010.03.20-243334-1) unstable; urgency=low + + * Simplyfing initramfs triggers (Closes: #516355). + * Merging upstream version 2010.03.20-243334. + * Moving local Makefile to subdirectory. + * Adding build-depends to libfuse-dev. + + -- Daniel Baumann Sat, 27 Mar 2010 11:01:55 +0100 + +open-vm-tools (2010.02.23-236320-1+ubuntu1) lucid; urgency=low + + * Merge from Debian testing (LP: #543888), remaining changes: + - Recommend open-vm-toolbox in open-vm-tools. + - Add support for dkms. + * Fixes building on Lucid kernels (LP: #498677). + + -- Evan Broder Mon, 22 Mar 2010 11:41:49 -0400 + +open-vm-tools (2010.02.23-236320-1) unstable; urgency=low + + * Updating to standards 3.8.4. + * Merging upstream version 2010.02.23-236320. + + -- Daniel Baumann Sat, 27 Feb 2010 16:34:11 +0100 + +open-vm-tools (2010.01.19-226760-1) unstable; urgency=low + + * Updating year in copyright file. + * Merging upstream version 2010.01.19-226760. + * Correcting plugins handling (Closes: #564069). + * Updating packaging for upstreams vmxnet3 module removal. + * Updating packaging for upstreams test plugin removal. + + -- Daniel Baumann Sun, 24 Jan 2010 09:55:47 +0100 + +open-vm-tools (2009.12.16-217847-1) unstable; urgency=low + + * Adding explicit debian source version 1.0 until switch to 3.0. + * Merging upstream version 2009.12.16-217847. + * Rediffing kvers.patch. + * Rediffing procps.patch. + + -- Daniel Baumann Sun, 20 Dec 2009 13:36:35 +0100 + +open-vm-tools (2009.11.16-210370-1+ubuntu2) lucid; urgency=low + + * Remove the ARCH-translation code; it's been incorporated into the dkms + common postinst. + + -- Evan Broder Wed, 13 Jan 2010 16:06:11 -0500 + +open-vm-tools (2009.11.16-210370-1+ubuntu1) lucid; urgency=low + + * Recommend open-vm-toolbox in open-vm-tools. (LP: #391224) + * Add support for dkms - based on patch from Greek Ordono. (LP: #277556) + + -- Evan Broder Fri, 18 Dec 2009 20:18:42 -0500 + +open-vm-tools (2009.11.16-210370-1) unstable; urgency=low + + * Merging upstream version 2009.11.16-210370. + * Moving vmusr plugins from open-vm-tools to open-vm-toolbox (Closes: + #539282, #557215). + * Correcting plugin location (Closes: #545222, #549044). + * Dropping la files (Closes: #551626). + * Adding open-vm-toolbox lintian overrides. + * Removing test plugin. + * Removing unused plugin symlinks. + + -- Daniel Baumann Sun, 06 Dec 2009 07:45:05 +0100 + +open-vm-tools (2009.10.15-201664-1) unstable; urgency=low + + * Merging upstream version 2009.10.15-201664. + + -- Daniel Baumann Sun, 18 Oct 2009 12:28:19 +0200 + +open-vm-tools (2009.09.18-193784-1) unstable; urgency=low + + * Adding maintainer homepage field in control. + * Adding README.source. + * Updating, sorting and wrapping depends. + * Merging upstream version 2009.09.18-193784. + * Moving maintainer homepage from control to copyright. + * Updating README.source. + + -- Daniel Baumann Sun, 04 Oct 2009 08:18:40 +0200 + +open-vm-tools (2009.08.24-187411-1) unstable; urgency=low + + * Merging upstream version 2009.08.24-187411. + * Updating maintainer field. + * Updating vcs fields. + * Updating package to standards version 3.8.3. + + -- Daniel Baumann Tue, 25 Aug 2009 10:35:29 +0200 + +open-vm-tools (2009.07.22-179896-2) unstable; urgency=low + + * Temporarily building without dumbnet, the recently uploaded + new dumbnet upstream version broke down (Closes: #539006). + * Using more common name to store local debian additions. + + -- Daniel Baumann Thu, 30 Jul 2009 12:56:49 +0200 + +open-vm-tools (2009.07.22-179896-1) unstable; urgency=low + + * Merging upstream version 2009.07.22-179896. + + -- Daniel Baumann Mon, 27 Jul 2009 11:46:49 +0200 + +open-vm-tools (2009.06.18-172495-3) unstable; urgency=medium + + * Adding libnotify-dev to build-depends. + * Adding symlinks for plugins. + * Updating vmtoolsd call in init script. + * Adding missing files to module source, thanks to Brian Kroth + (Closes: #525816, #531936, #532293). + * Building binary modules with neither module-assistant nor kernel- + package is not supported by upstream (Closes: #518014). + * Cleaning up module source by removing unecessary files. + + -- Daniel Baumann Sun, 19 Jul 2009 11:40:57 +0200 + +open-vm-tools (2009.06.18-172495-2) unstable; urgency=low + + * Correcting typo in rules for setting configure flags on amd64 + (Closes: #531414). + + -- Daniel Baumann Thu, 16 Jul 2009 23:10:27 +0200 + +open-vm-tools (2009.06.18-172495-1) unstable; urgency=low + + * Merging upstream version 2009.06.18-172495. + * Updating to standards 3.8.2. + * Updating year in copyright file. + * Correcting vcs fields in modules control file. + + -- Daniel Baumann Wed, 01 Jul 2009 11:52:35 -0300 + +open-vm-tools (2009.05.22-167859-3) unstable; urgency=low + + * Building without procps on amd64 as a temporary workaround (Closes: + #531429). + + -- Daniel Baumann Mon, 01 Jun 2009 17:13:07 +0200 + +open-vm-tools (2009.05.22-167859-2) unstable; urgency=low + + * Adding procps to build-depends (Closes: #531414). + * Adding patch for configure to not hardcode procps version. + + -- Daniel Baumann Mon, 01 Jun 2009 12:53:51 +0200 + +open-vm-tools (2009.05.22-167859-1) unstable; urgency=low + + * Merging upstream version 2009.05.22-167859. + + -- Daniel Baumann Sat, 30 May 2009 09:48:43 +0200 + +open-vm-tools (2009.04.23-162451-1) unstable; urgency=low + + * Merging upstream version 2009.04.23-162451. + * Removing vmware-guestd manpage, dropped by upstream and not included + anymore. + * Using correct rfc-2822 date formats in changelog. + + -- Daniel Baumann Tue, 19 May 2009 19:21:31 +0200 + +open-vm-tools (2009.03.18-154848-2) unstable; urgency=low + + * Correcting patch system depends (Closes: #520493). + + -- Daniel Baumann Fri, 20 Mar 2009 10:19:00 +0100 + +open-vm-tools (2009.03.18-154848-1) unstable; urgency=low + + * Updating section of debug packages. + * Merging upstream version 2009.03.18-154848. + * Updating debian files to match vmware-guestd to vmtoolsd migration. + * Using quilt rather than dpatch. + * Renaming debian manpages subdirectory for consistency reasons. + * Updating standards to 3.8.1. + * Manually handling modprobe file rename from lenny to squeeze + (Closes: #519935). + + -- Daniel Baumann Thu, 19 Mar 2009 09:35:00 +0100 + +open-vm-tools (2009.02.18-148847-3) unstable; urgency=medium + + * Updating kvers.dpatch. + + -- Daniel Baumann Wed, 18 Mar 2009 23:16:06 +0100 + +open-vm-tools (2009.02.18-148847-2) unstable; urgency=low + + * Using debhelper to install vmxnet modprobe file. + + -- Daniel Baumann Sun, 08 Mar 2009 16:03:00 +0100 + +open-vm-tools (2009.02.18-148847-1) unstable; urgency=low + + * Merging upstream version 2009.02.18-148847. + * Enabling unity support, uriparser 0.7 is finally available. + * Adding libgtkmm-2.4-dev to build-depends. + + -- Daniel Baumann Fri, 20 Feb 2009 09:03:00 +0100 + +open-vm-tools (2009.01.21-142982-2) unstable; urgency=medium + + * Always prefering vmxnet over pcnet32 through modprobe and initramfs + configuration (Closes: #502365). + + -- Daniel Baumann Wed, 04 Feb 2009 11:28:00 +0100 + +open-vm-tools (2009.01.21-142982-1) unstable; urgency=low + + * Merging upstream version 2009.01.21-142982. + + -- Daniel Baumann Sat, 24 Jan 2009 04:45:00 +0100 + +open-vm-tools (2008.12.23-137496-1) unstable; urgency=low + + * Merging upstream version 2008.12.23-137496. + * Also unload vmxnet module in initscript when starting as a workaround of + having vmxnet already loaded at initramfs stage. Thanks to Russ Allbery + (Closes: #510935). + + -- Daniel Baumann Fri, 09 Jan 2009 12:13:00 -0500 + +open-vm-tools (2008.11.18-130226-1) unstable; urgency=low + + * Replacing obsolete dh_clean -k with dh_prep. + * Merging upstream version 2008.11.18-130226. + * Updating debian directory for addition of pvscsi and vmxnet3 modules. + + -- Daniel Baumann Thu, 20 Nov 2008 21:56:00 +0100 + +open-vm-tools (2008.10.10-123053-2) unstable; urgency=medium + + * Correcting typo in dh_installinit call. + * Downgrading depends on module-assistant to recommends. + + -- Daniel Baumann Thu, 23 Oct 2008 15:32:00 +0200 + +open-vm-tools (2008.10.10-123053-1) unstable; urgency=low + + * Using patch-stamp rather than patch in rules file. + * Merging upstream version 2008.10.10-123053. + * Updating kvers.dpatch. + + -- Daniel Baumann Thu, 16 Oct 2008 19:05:00 +0200 + +open-vm-tools (2008.09.03-114782-2) unstable; urgency=low + + * Updating kvers.dpatch (Closes: #498620). + * Updating initscript to correctly handle vmxnet (Closes: #479090, #488810). + + -- Daniel Baumann Sun, 14 Sep 2008 14:30:00 +0200 + +open-vm-tools (2008.09.03-114782-1) unstable; urgency=low + + * Merging upstream version 2008.09.03-114782. + * Updating rules to new location of the config.guess and config.sub files. + * Updating vcs fields in control file. + + -- Daniel Baumann Tue, 09 Sep 2008 22:06:00 +0200 + +open-vm-tools (2008.08.08-109361-1) unstable; urgency=low + + * Removing destdir.dpatch, not needed anymore. + * Adjusting rules to upstream changes with respect to the pixmap files. + * Disabling unity, uiparser is too old (see #493073). + * Adding build-depends to liburiparser-dev for new unity feature. + * Adding build-depends to libxss-dev for new unity feature. + * Updating to add new vmci and vsock modules. + * Merging upstream version 2008.08.08-109361. + + -- Daniel Baumann Mon, 11 Aug 2008 15:56:00 +0200 + +open-vm-tools (2008.07.01-102166-3) unstable; urgency=medium + + * Replacing /lib64 with /lib in /etc/pam.d/vmware-guestd-x64. + * Fixing FTBFS on amd64 by renaming /etc/pam.d/vmware-guestd-x64 to + /etc/pam.d/vmware-guestd. + + -- Daniel Baumann Thu, 10 Jul 2008 23:24:00 +0200 + +open-vm-tools (2008.07.01-102166-2) unstable; urgency=medium + + * Adding manpages. + * Stop removing setuid from /sbin/mount.vmhgfs. + * Extending vmxnet_needed() in initscript to also check for availability of + vmxnet.ko for the running kernel, otherwise don't attempt to load vmxnet + (Closes: #488810). + * Adding suggests to xdg-utils in open-vm-toolbox. + * Using modprobe -r rather than rmmod in initscript. + * Starting initscript at position 20, which is before networking comes up + (Closes: #479090). + * Adding vmware-user symlink to xdg autostart. + * Adding symlink from mount.vmhgfs to old vmware-hgfsmounter name. + * Removing executable bit for /etc/pam.d/vmware-guestd file. + + -- Daniel Baumann Fri, 04 Jul 2008 09:59:00 +0200 + +open-vm-tools (2008.07.01-102166-1) unstable; urgency=low + + * Merging upstream version 2008.07.01-102166. + + -- Daniel Baumann Thu, 03 Jul 2008 13:01:00 +0200 + +open-vm-tools (2008.06.20-100027-1) unstable; urgency=low + + * Dropping autobuild patch in favour for upstreams new --without- + kernel-modules configure switch. + * Merging upstream version 2008.06.20-100027. + + -- Daniel Baumann Tue, 01 Jul 2008 22:22:00 +0200 + +open-vm-tools (2008.06.03-96374-2) unstable; urgency=medium + + * Adding debug package. + * Splitting open-vm-tools into open-vm-tools (CLI tools) and open-vm- + toolbox (GUI tools) (Closes: #467042). + + -- Daniel Baumann Fri, 20 Jun 2008 14:51:00 +0200 + +open-vm-tools (2008.06.03-96374-1) unstable; urgency=medium + + * Updating rules file for upstream version 2008.06.03-96374. + * Adding patch to make build-system respect again. + * Adding xauth to recommends of open-vm-tools (Closes: #487088). + * Adding patch to avoid building kernel modules in this new upstream version. + * Merging upstream version 2008.06.03-96374 (Closes: #484242). + * Updating to standards 3.8.0. + + -- Daniel Baumann Fri, 20 Jun 2008 14:12:00 +0200 + +open-vm-tools (2008.05.15-93241-2) unstable; urgency=medium + + * Updating location of vmware-checkvm in init script (Closes: #483056). + * Correcting typo in mount.vmhgfs symlink (Closes: #474694). + + -- Daniel Baumann Tue, 27 May 2008 07:29:00 +0200 + +open-vm-tools (2008.05.15-93241-1) unstable; urgency=medium + + * Moving mount.vmhgfs from /usr/sbin to /sbin, thanks to Lea Wiemann + (Closes: #474694). + * Also loading and unloading vmsync module in init script, thanks to + Lea Wiemann (Closes: #481001). + * Moving vmware-checkvm from /usr/sbin to /usr/bin, thanks to Lea + Wiemann (Closes: #481004). + * Using lintian debhelper to install lintian overrides. + * Correcting manpage section of module-assistant in README.Debian. + * Removing debian todo file. + * Merging upstream version 2008.05.15-93241. + + -- Daniel Baumann Wed, 21 May 2008 09:15:00 +0200 + +open-vm-tools (2008.05.02-90473-1) unstable; urgency=low + + * Adding libicu-dev to build-depends. + * Merging upstream version 2008.05.02-90473. + + -- Daniel Baumann Sat, 03 May 2008 09:44:00 +0200 + +open-vm-tools (2008.04.14-87182-1) unstable; urgency=medium + + * Correcting wrong email address in changelog file. + * Including vmware support scripts (Closes: #469160). + * Correcting symlink for vmware-hgfsmounter (Closes: #474694). + * Updating rules to cover new component xferlogs. + * Adding libdumbnet-dev to build-depends. + * Adding libproc-dev to build-depends. + * Merging upstream version 2008.04.14-87182. + * Adding open-vm-source to open-vm-tools recommends (Closes: #471784). + * Adding zerofree to open-vm-tools suggests, thanks to Thibaut Paumard + (Closes: #472799). + * Updating vcs fields in control. + * Updating package to debhelper 7. + + -- Daniel Baumann Sat, 26 Apr 2008 13:40:00 +0200 + +open-vm-tools (2008.02.13-77928-2) unstable; urgency=medium + + * Rewriting copyright in machine-interpretable format. + * Cleaned up copyright. + * Fixing pathes and binary names in init script (Closes: #469146). + + -- Daniel Baumann Sat, 08 Mar 2008 08:48:00 +0100 + +open-vm-tools (2008.02.13-77928-1) unstable; urgency=low + + * Adding upstream version 2008.02.13-77928. + + -- Daniel Baumann Sun, 24 Feb 2008 20:41:00 +0100 + +open-vm-tools (2008.01.23-74039-2) unstable; urgency=low + + * Adding vcs fields in control. + * Removing watch file. + * Correcting wrong manpage section of module-assistant in + README.Debian. + * Correcting wrong filename of module-source tarball in README.Debian. + * Updating formating of README.Debian. + * Removing config.guess and config.sub from the debian diff. + * Reverting config.guess and config.sub to upstream. + * Adding vmware-guestd init script (Closes: #465276). + + -- Daniel Baumann Sun, 24 Feb 2008 20:20:00 +0100 + +open-vm-tools (2008.01.23-74039-1) unstable; urgency=low + + * New upstream release. + * Fixing manpage section in README.Debian. + * Bumping package to debhelper 6. + * Bumping package to policy 3.7.3. + * Also removing user/ in clean target of rules. + + -- Daniel Baumann Wed, 30 Jan 2008 15:24:00 +0100 + +open-vm-tools (2007.11.21-64693-2) unstable; urgency=low + + * Adding open-vm-source package for module source. + * Upload to unstable. + + -- Daniel Baumann Mon, 26 Nov 2007 11:08:00 +0100 + +open-vm-tools (2007.11.21-64693-1) experimental; urgency=low + + * New upstream release. + + -- Daniel Baumann Mon, 26 Nov 2007 11:07:00 +0100 + +open-vm-tools (2007.09.04-56574-2) experimental; urgency=low + + * Moving package to contrib (Closes: #445439). + * Limiting architectures to amd64 and i386 (Closes: #445374). + + -- Daniel Baumann Tue, 09 Oct 2007 10:05:00 +0200 + +open-vm-tools (2007.09.04-56574-1) experimental; urgency=low + + * Initial release (Closes: #441905). + + -- Daniel Baumann Sun, 09 Sep 2007 16:53:00 +0200 --- open-vm-tools-2011.03.28-387002.orig/debian/README.source +++ open-vm-tools-2011.03.28-387002/debian/README.source @@ -0,0 +1,37 @@ +Package Repositories +-------------------- + +Backports for the current stable debian distribution as well as snapshots of +unreleased versions may be available in repositories listed on the maintainers +homepage. The current URL of the maintainer homepage can be seen in +debian/copyright. + + +Source Access +------------- + +You can obtain the sources of this package with: + + $ apt-get source ${PACKAGE} + +whereas '${PACKAGE}' has to be replaced with the actual name of the package. + +This package is maintained with the Git version control system. The current git +source tree can be obtained with: + + $ git clone ${GIT_URI} + +whereas '${GIT_URI}' has to be replaced with the actual URI for the Git +repository. The current Git URI can be seen in debian/control in the extracted +package sources. + +More information about Git can be found in the git-core package. + +This package may use the Quilt patch system to manage all modifications to the +upstream source. Changes, if any, are stored in the source package as diffs in +debian/diff and are applied during the build. Current modifications can be +applied to the source tree with: + + $ QUILT_PATCHES=debian/patches quilt push -a + +More information about Quilt can be found in the quilt package. --- open-vm-tools-2011.03.28-387002.orig/debian/open-vm-toolbox.lintian-overrides +++ open-vm-tools-2011.03.28-387002/debian/open-vm-toolbox.lintian-overrides @@ -0,0 +1,2 @@ +open-vm-toolbox: desktop-command-not-in-package /usr/share/applications/vmware-user.desktop vmware-user-suid-wrapper +open-vm-toolbox: setuid-binary usr/sbin/vmware-user-suid-wrapper 4755 root/root --- open-vm-tools-2011.03.28-387002.orig/debian/open-vm-tools.lintian-overrides +++ open-vm-tools-2011.03.28-387002/debian/open-vm-tools.lintian-overrides @@ -0,0 +1,5 @@ +open-vm-tools: desktop-entry-missing-required-key +open-vm-tools: init.d-script-missing-dependency-on-remote_fs +open-vm-tools: non-dev-pkg-with-shlib-symlink +open-vm-tools: package-name-doesnt-match-sonames +open-vm-tools: setuid-binary sbin/mount.vmhgfs 4755 root/root --- open-vm-tools-2011.03.28-387002.orig/debian/control +++ open-vm-tools-2011.03.28-387002/debian/control @@ -0,0 +1,80 @@ +Source: open-vm-tools +Section: contrib/admin +Priority: extra +Maintainer: Ubuntu Developers +XSBC-Original-Maintainer: Debian VMware Maintainers +Uploaders: Daniel Baumann +Build-Depends: + debhelper (>= 7), autotools-dev, quilt, libdumbnet-dev, libfuse-dev, + libgtk2.0-dev, libgtkmm-2.4-dev, libicu-dev, libnotify-dev, libpam0g-dev, + libproc-dev [i386], liburiparser-dev (>= 0.7), libx11-dev, libxinerama-dev, + libxss-dev, libxtst-dev, quilt +Standards-Version: 3.9.1 +Homepage: http://open-vm-tools.sourceforge.net/ +Vcs-Browser: http://git.debian-maintainers.org/?p=vmware/open-vm-tools.git +Vcs-Git: git://git.debian-maintainers.org/git/vmware/open-vm-tools.git + +Package: open-vm-tools +Architecture: amd64 i386 +Depends: ${misc:Depends}, ${shlibs:Depends} +Recommends: open-vm-source, open-vm-toolbox, ethtool, zerofree +Description: tools and components for VMware guest systems (CLI tools) + 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. + +Package: open-vm-toolbox +Architecture: amd64 i386 +Depends: ${misc:Depends}, ${shlibs:Depends}, open-vm-tools (= ${binary:Version}) +Recommends: + open-vm-source, xauth, xserver-xorg-input-vmmouse, xserver-xorg-video-vmware +Suggests: xdg-utils +Description: tools and components for VMware guest systems (GUI tools) + 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. + +Package: open-vm-tools-dbg +Section: contrib/debug +Priority: extra +Architecture: amd64 i386 +Depends: ${misc:Depends}, open-vm-tools (= ${binary:Version}), open-vm-toolbox (= ${binary:Version}) +Description: tools and components for VMware guest systems (debug) + 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. + . + This package contains the debugging symbols. + +Package: open-vm-source +Architecture: all +Depends: ${misc:Depends}, debhelper (>= 7), quilt, make, bzip2 +Recommends: module-assistant, open-vm-tools +Suggests: open-vm-toolbox +Description: Source for VMware guest systems driver + This package provides the source code for the open-vm kernel modules. + The open-vm-tools package is also required in order to make use of these + modules. Kernel source or headers are required to compile these modules. + +Package: open-vm-dkms +Architecture: all +Depends: ${misc:Depends}, dkms, make +Recommends: open-vm-tools +Suggests: open-vm-toolbox +Description: Source for VMware guest systems driver (DKMS) + This package provides the source code for the open-vm kernel modules. + The open-vm-tools package is also required in order to make use of these + modules. Kernel source or headers are required to compile these modules. --- open-vm-tools-2011.03.28-387002.orig/debian/rules +++ open-vm-tools-2011.03.28-387002/debian/rules @@ -0,0 +1,236 @@ +#!/usr/bin/make -f + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +include /usr/share/quilt/quilt.make + +# These are used for cross-compiling and for saving the configure script +# from having to guess our platform (since we know it already) +DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) +DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) + +DEB_BUILD_ARCH ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH) + +ifeq ($(DEB_BUILD_ARCH),amd64) + CONFIGURE_FLAGS = --without-procps +endif + +#CFLAGS = -Wall -g + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif + +# some default definitions, important! +# +# Name of the source package +psource:=open-vm-source + +# The short upstream name, used for the module source directory +sname:=open-vm + +### KERNEL SETUP +### Setup the stuff needed for making kernel module packages +### taken from /usr/share/kernel-package/sample.module.rules + +# prefix of the target package name +PACKAGE=open-vm-modules +# modifieable for experiments or debugging m-a +MA_DIR ?= /usr/share/modass +# load generic variable handling +-include $(MA_DIR)/include/generic.make +# load default rules, including kdist, kdist_image, ... +-include $(MA_DIR)/include/common-rules.make + +# module assistant calculates all needed things for us and sets +# following variables: +# KSRC (kernel source directory), KVERS (kernel version string), KDREV +# (revision of the Debian kernel-image package), CC (the correct +# compiler), VERSION (the final package version string), PKGNAME (full +# package name with KVERS included), DEB_DESTDIR (path to store DEBs) + +# The kdist_configure target is called by make-kpkg modules_config and +# by kdist* rules by dependency. It should configure the module so it is +# ready for compilation (mostly useful for calling configure). +# prep-deb-files from module-assistant creates the neccessary debian/ files +kdist_configure: prep-deb-files + +# the kdist_clean target is called by make-kpkg modules_clean and from +# kdist* rules. It is responsible for cleaning up any changes that have +# been made by the other kdist_commands (except for the .deb files created) +kdist_clean: clean + $(MAKE) $(MFLAGS) KERNELDIR=$(KSRC) clean +# +### end KERNEL SETUP + +# the binary-modules rule is invoked by module-assistant while processing the +# kdist* targets. It is called by module-assistant or make-kpkg and *not* +# during a normal build +binary-modules: prep-deb-files + dh_testroot + dh_prep + + # Building the modules + $(MAKE) + + # Installing the modules + set -e; for MODULE in vmblock vmci vmhgfs vmsync vmxnet vsock; \ + do \ + install -D -m 0644 modules/linux/$$MODULE.o debian/$(PACKAGE)-$(KVERS)/lib/modules/$(KVERS)/misc/$$MODULE.ko; \ + done + + dh_installdocs + dh_installchangelogs + dh_compress + dh_fixperms + dh_installmodules + dh_installdeb + dh_gencontrol -- -v$(VERSION) + dh_md5sums + dh_builddeb --destdir=$(DEB_DESTDIR) + dh_prep + +config.status: configure patch + dh_testdir + +ifneq "$(wildcard /usr/share/misc/config.sub)" "" + cp -f /usr/share/misc/config.sub config/config.sub +endif +ifneq "$(wildcard /usr/share/misc/config.guess)" "" + cp -f /usr/share/misc/config.guess config/config.guess +endif + + # Configuring package + CFLAGS="$(CFLAGS)" ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --sysconfdir=/etc --mandir=\$${prefix}/share/man --without-kernel-modules --without-dnet $(CONFIGURE_FLAGS) + +build: build-stamp +build-stamp: config.status + dh_testdir + + # Building package + $(MAKE) + + touch build-stamp + +clean: unpatch + dh_testdir + dh_testroot + rm -f build-stamp + rm -f config/config.guess config/config.sub + + # Cleaning package + [ ! -f Makefile ] || $(MAKE) distclean + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_prep + dh_installdirs + + # Installing dkms version + mkdir -p debian/open-vm-dkms/usr/src + sh modules/linux/dkms.sh . debian/open-vm-dkms/usr/src + find debian/open-vm-dkms/usr/src -name COPYING | xargs rm -f + find debian/open-vm-dkms/usr/src -name "Makefile*" | xargs chmod 0755 + + # Installing package + $(MAKE) DESTDIR=$(CURDIR)/debian/open-vm-tools install + + # Removing useless files + rm -f debian/open-vm-tools/usr/lib/*.la + rm -f debian/open-vm-tools/usr/lib/open-vm-tools/plugins/*/*.la + + install -D -m 4755 vmware-user-suid-wrapper/vmware-user-suid-wrapper debian/open-vm-toolbox/usr/sbin/vmware-user-suid-wrapper + + install -D -m 0644 toolbox/smallIcon.xpm debian/open-vm-toolbox/usr/share/pixmaps/vmware-toolbox.xpm + + set -e; if [ -e debian/open-vm-tools/etc/pam.d/vmtoolsd-x64 ]; \ + then \ + sed -i -e "s|lib64|lib|g" debian/open-vm-tools/etc/pam.d/vmtoolsd-x64; \ + mv debian/open-vm-tools/etc/pam.d/vmtoolsd-x64 debian/open-vm-tools/etc/pam.d/vmtoolsd; \ + fi + + chmod 0644 debian/open-vm-tools/etc/pam.d/vmtoolsd + + install -D -m 0755 debian/local/vmxnet.hook debian/open-vm-tools/usr/share/initramfs-tools/hooks/vmxnet + + # Moving open-vm-tools files + mkdir -p debian/open-vm-tools/sbin + mv debian/open-vm-tools/usr/sbin/mount.vmhgfs debian/open-vm-tools/sbin/mount.vmhgfs + + # Moving open-vm-toolbox files + mkdir -p debian/open-vm-toolbox/usr/bin + # vmware-user no longer seems to exist + #mv debian/open-vm-tools/usr/bin/vmware-user debian/open-vm-toolbox/usr/bin + mv debian/open-vm-tools/usr/bin/vmware-toolbox debian/open-vm-toolbox/usr/bin + # this should be done with open-vm-toolbox.install ? + mkdir -p debian/open-vm-toolbox/etc + mv debian/open-vm-tools/etc/xdg debian/open-vm-toolbox/etc/ + + mkdir -p debian/open-vm-toolbox/usr/lib/open-vm-tools/plugins + mv debian/open-vm-tools/usr/lib/open-vm-tools/plugins/vmusr debian/open-vm-toolbox/usr/lib/open-vm-tools/plugins + + # XXX This is wrong: install-exec-hook in toolbox/Makefile is not being called. + #mkdir -p debian/open-vm-toolbox/usr/share + #mv debian/open-vm-tools/usr/share/applications debian/open-vm-toolbox/usr/share + # when the instal-exec-hook is working, remove the rest of this stanza + mkdir -p debian/open-vm-toolbox/usr/share/applications + install -m 644 scripts/common/vmware-toolbox.desktop debian/open-vm-toolbox/usr/share/applications + sed -i s/Exec=.*/Exec=vmware-toolbox/ debian/open-vm-toolbox/usr/share/applications/vmware-toolbox.desktop + install -d debian/open-vm-toolbox/usr/share/pixmaps/vmware + install -m 644 toolbox/bigIcon.xpm debian/open-vm-toolbox/usr/share/pixmaps/vmware/vmware-toolbox.xpm + install -m 755 scripts/common/vmware-xdg-detect-de debian/open-vm-toolbox/usr/bin + + # Installing configuration files + install -D -m 0644 debian/local/xautostart.conf debian/open-vm-toolbox/etc/vmware-tools/xautostart.conf + install -D -m 0644 debian/local/tools.conf debian/open-vm-tools/etc/vmware-tools/tools.conf + + # Create the directories to install the source into + dh_installdirs -p$(psource) usr/src/modules/$(sname)/debian + + # Copy only the driver source to the proper location + cp -a modules debian/$(psource)/usr/src/modules/$(sname) + mkdir -p debian/$(psource)/usr/src/modules/$(sname)/lib + cp -a lib/backdoor lib/hgfs lib/hgfsBd lib/include lib/message lib/misc lib/rpcOut debian/$(psource)/usr/src/modules/$(sname)/lib + cd debian/$(psource)/usr/src/modules/$(sname); \ + find . -name ".dep*" -or -name ".lib*" -or -name "*.o" -or -name "*.la" -or -name "*.lo" | xargs rm -rf + cp debian/local/Makefile debian/$(psource)/usr/src/modules/$(sname)/Makefile + # Copy the needed debian/ pieces to the proper location + cp debian/*modules.in* \ + debian/$(psource)/usr/src/modules/$(sname)/debian + cp debian/control debian/rules debian/changelog debian/copyright \ + debian/compat debian/$(psource)/usr/src/modules/$(sname)/debian/ + cd debian/$(psource)/usr/src && tar c modules | bzip2 -9 > $(sname).tar.bz2 && rm -rf modules + + dh_install + +binary-indep: build install + +binary-arch: build install + dh_testdir + dh_testroot + dh_installchangelogs + dh_installdocs + dh_install + dh_installman + dh_installinit --update-rcd-params='start 38 2 3 4 5 . stop 38 0 1 6 .' + dh_installmodules + dh_lintian + dh_link + dh_strip --dbg-package=open-vm-tools-dbg + dh_compress + dh_fixperms -Xsbin/mount.vmhgfs -Xusr/sbin/vmware-user-suid-wrapper + dh_makeshlibs + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install binary-modules kdist kdist_configure kdist_image kdist_clean --- open-vm-tools-2011.03.28-387002.orig/debian/open-vm-dkms.postinst +++ open-vm-tools-2011.03.28-387002/debian/open-vm-dkms.postinst @@ -0,0 +1,42 @@ +#!/bin/sh + +set -e + +NAME="open-vm-tools" +PACKAGE_NAME="open-vm-dkms" +CVERSION="$(dpkg-query -W -f='${Version}' ${PACKAGE_NAME} | awk -F "-" '{ print $1 }' | cut -d\: -f2)" +ARCH=$(dpkg --print-architecture) + +case "${1}" in + configure) + for POSTINST in /usr/lib/dkms/common.postinst /usr/share/${PACKAGE_NAME}/postinst + do + if [ -f ${POSTINST} ] + then + ${POSTINST} ${NAME} ${CVERSION} /usr/share/${PACKAGE_NAME} ${ARCH} ${2} + exit ${?} + fi + + echo "WARNING: ${POSTINST} does not exist." + done + + echo "ERROR: DKMS version is too old and ${PACKAGE_NAME} was not" + echo "built with legacy DKMS support." + echo "You must either rebuild ${PACKAGE_NAME} with legacy postinst" + echo "support or upgrade DKMS to a more current version." + exit 1 + ;; + + abort-upgrade|abort-remove|abort-deconfigure) + + ;; + + *) + echo "postinst called with unknown argument \`${1}'" >&2 + exit 1 + ;; +esac + +#DEBHELPER# + +exit 0 --- open-vm-tools-2011.03.28-387002.orig/debian/open-vm-source.links +++ open-vm-tools-2011.03.28-387002/debian/open-vm-source.links @@ -0,0 +1 @@ +/usr/share/modass/packages/default.sh /usr/share/modass/overrides/open-vm-source --- open-vm-tools-2011.03.28-387002.orig/debian/control.modules.in +++ open-vm-tools-2011.03.28-387002/debian/control.modules.in @@ -0,0 +1,26 @@ +Source: open-vm-tools +Section: contrib/admin +Priority: extra +Maintainer: Debian VMware Maintainers +Uploaders: Daniel Baumann +Build-Depends: debhelper (>= 7) +Standards-Version: 3.8.3 +Homepage: http://open-vm-tools.sourceforge.net/ +Vcs-Browser: http://git.debian-maintainers.org/?p=vmware/open-vm-tools.git +Vcs-Git: git://git.debian-maintainers.org/git/vmware/open-vm-tools.git +XSBC-Maintainer-Homepage: http://vmware.debian-maintainers.org/ + +Package: open-vm-modules-_KVERS_ +Architecture: any +Provides: open-vm-modules +Depends: ${misc:Depends}, linux-modules-_KVERS_ | linux-image-_KVERS_ +Description: open-vm modules for Linux (kernel _KVERS_). + This package contains the set of loadable kernel modules for the + VMware guest systems driver. + . + This package contains the compiled kernel modules for _KVERS_ + . + If you have compiled your own kernel, you will most likely need to build + your own open-vm-modules. The open-vm-source package has been + provided for use with the Debian's module-assistant or kernel-package + utilities to produce a version of open-vm-modules for your kernel. --- open-vm-tools-2011.03.28-387002.orig/debian/open-vm-toolbox.links +++ open-vm-tools-2011.03.28-387002/debian/open-vm-toolbox.links @@ -0,0 +1 @@ +/usr/share/applications/vmware-user.desktop /etc/xdg/autostart/vmware-user.desktop --- open-vm-tools-2011.03.28-387002.orig/debian/open-vm-tools.modprobe +++ open-vm-tools-2011.03.28-387002/debian/open-vm-tools.modprobe @@ -0,0 +1 @@ +install pcnet32 /sbin/modprobe -q --ignore-install vmxnet; /sbin/modprobe -q --ignore-install pcnet32 $CMDLINE_OPTS; /bin/true; --- open-vm-tools-2011.03.28-387002.orig/debian/open-vm-tools.links +++ open-vm-tools-2011.03.28-387002/debian/open-vm-tools.links @@ -0,0 +1,2 @@ +/sbin/mount.vmhgfs /sbin/vmware-hgfsmounter +/usr/share/man/man8/vmware-hgfsmounter.8 /usr/share/man/man8/mount.vmhgfs.8 --- open-vm-tools-2011.03.28-387002.orig/debian/open-vm-toolbox.manpages +++ open-vm-tools-2011.03.28-387002/debian/open-vm-toolbox.manpages @@ -0,0 +1,3 @@ +debian/manpages/vmware-toolbox.1 +debian/manpages/vmware-user.1 +debian/manpages/vmware-user-suid-wrapper.8 --- open-vm-tools-2011.03.28-387002.orig/debian/compat +++ open-vm-tools-2011.03.28-387002/debian/compat @@ -0,0 +1 @@ +7 --- open-vm-tools-2011.03.28-387002.orig/debian/manpages/vmware-hgfsclient.1 +++ open-vm-tools-2011.03.28-387002/debian/manpages/vmware-hgfsclient.1 @@ -0,0 +1,58 @@ +.TH VMWARE\-HGFSCLIENT 1 "2010\-04\-08" "2010.03.20\-243334" "Open VM Tools" + +.SH NAME +vmware\-hgfsclient \- hgfs client access + +.SH SYNOPSIS +\fBvmware\-hgfsclient\fR + +.SH DESCRIPTION +This is a simple console application and can be run as any user. vmware\-hgfsclient is a userspace HGFS client implementation. It will probably one day become a full featured HGFS filesystem driver. + +.SH OPTIONS +vmware\-hgfsclient has no options. + +.SH SEE ALSO +\fIvmware\-checkvm\fR(1) +.br +\fIvmware\-toolbox\fR(1) +.br +\fIvmware\-toolbox\-cmd\fR(1) +.br +\fIvmware\-user\fR(1) +.br +\fIvmware\-xferlogs\fR(1) +.br +\fIlibguestlib\fR(3) +.br +\fIlibvmtools\fR(3) +.br +\fIvmware\-guestd\fR(8) +.br +\fIvmware\-hgfsmounter\fR(8) +.br +\fIvmware\-user\-suid\-wrapper\fR(8) +.br +\fIvmblock\fR(9) +.br +\fIvmci\fR(9) +.br +\fIvmhgfs\fR(9) +.br +\fIvmmemctl\fR(9) +.br +\fIvmsock\fR(9) +.br +\fIvmsync\fR(9) +.br +\fIvmxnet\fR(9) +.br +\fIvmxnet3\fR(9) + +.SH HOMEPAGE +More information about vmware\-hgfsclient and the Open VM Tools can be found at <\fIhttp://open\-vm\-tools.sourceforge.net/\fR>. + +.SH AUTHOR +Open VM Tools were written by VMware, Inc. <\fIhttp://www.vmware.com/\fR>. +.PP +This manual page was put together from homepage materials by Daniel Baumann <\fIdaniel@debian.org\fR>, for the Debian project (but may be used by others). --- open-vm-tools-2011.03.28-387002.orig/debian/manpages/vmware-hgfsmounter.8 +++ open-vm-tools-2011.03.28-387002/debian/manpages/vmware-hgfsmounter.8 @@ -0,0 +1,110 @@ +.TH VMWARE\-HGFSMOUNTER 8 "2010\-04\-08" "2010.03.20\-243334" "Open VM Tools" + +.SH NAME +vmware\-hgfsmounter \- program for mounting HGFS shares + +.SH SYNOPSIS +\fBmount.vmhgfs\fR \fISHARE\fR \fIDIRECTORY\fR [ \-o \fIOPTIONS\fR ] +.br +\fBvmware\-hgfsmounter\fR \fISHARE\fR \fIDIRECTORY\fR [ \-o \fIOPTIONS\fR ] + +.SH DESCRIPTION +This is a console\-based mount helper application. It mounts the HGFS share, specified by name, to a local directory. Share names must be in host:dir format. + +.SH OPTIONS +.IP "uid=\fIARGUMENT\fR" 4 +mount owner (by uid or username) +.IP "gid=\fIARGUMENT\fR" 4 +mount group (by gid or groupname) +.IP "fmask=\fIARGUMENT\fR" 4 +file umask (in octal) +.IP "dmask=\fIARGUMENT\fR" 4 +directory umask (in octal) +.IP "ro" 4 +mount read\-only +.IP "rw" 4 +mount read\-write (default) +.IP "nosuid" 4 +ignore suid/sgid bits +.IP "suid" 4 +allow suid/sgid bits (default) +.IP "nodev" 4 +prevent device node access +.IP "dev" 4 +allow device node access (default) +.IP "noexec" 4 +prevent program execution +.IP "exec" 4 +allow program execution (default) +.IP "sync" 4 +file writes are synchronous +.IP "async" 4 +file writes are asynchronous (default) +.IP "mand" 4 +allow mandatory locks +.IP "nomand" 4 +prevent mandatory locks (default) +.IP "noatime" 4 +do not update access times +.IP "atime" 4 +update access times (default) +.IP "nodiratime" 4 +do not update directory access times +.IP "adirtime" 4 +update directory access times (default) +.IP "ttl=\fIARGUMENT\fR" 4 +time before file attributes must be revalidated (in seconds). Improves performance but decreases coherency. Defaults to 1 if not set. + +.SH EXAMPLES +This command is intended to be run from within /bin/mount by passing the option '\-t vmhgfs'. For example: +.PP + mount \-t vmhgfs .host:/ /mnt/hgfs/ +.br + mount \-t vmhgfs .host:/foo /mnt/foo +.br + mount \-t vmhgfs .host:/foo/bar /var/lib/bar + +.SH SEE ALSO +\fIvmware\-checkvm\fR(1) +.br +\fIvmware\-hgfsclient\fR(1) +.br +\fIvmware\-toolbox\fR(1) +.br +\fIvmware\-toolbox\-cmd\fR(1) +.br +\fIvmware\-user\fR(1) +.br +\fIvmware\-xferlogs\fR(1) +.br +\fIlibguestlib\fR(3) +.br +\fIlibvmtools\fR(3) +.br +\fIvmware\-guestd\fR(8) +.br +\fIvmware\-user\-suid\-wrapper\fR(8) +.br +\fIvmblock\fR(9) +.br +\fIvmci\fR(9) +.br +\fIvmhgfs\fR(9) +.br +\fIvmmemctl\fR(9) +.br +\fIvmsock\fR(9) +.br +\fIvmsync\fR(9) +.br +\fIvmxnet\fR(9) +.br +\fIvmxnet3\fR(9) + +.SH HOMEPAGE +More information about vmware\-hgfsmounter and the Open VM Tools can be found at <\fIhttp://open\-vm\-tools.sourceforge.net/\fR>. + +.SH AUTHOR +Open VM Tools were written by VMware, Inc. <\fIhttp://www.vmware.com/\fR>. +.PP +This manual page was put together from homepage materials by Daniel Baumann <\fIdaniel@debian.org\fR>, for the Debian project (but may be used by others). --- open-vm-tools-2011.03.28-387002.orig/debian/manpages/vmxnet.9 +++ open-vm-tools-2011.03.28-387002/debian/manpages/vmxnet.9 @@ -0,0 +1,65 @@ +.TH VMXNET 9 "2010\-04\-08" "2010.03.20\-243334" "Open VM Tools" + +.SH NAME +vmxnet \- vmware kernel module + +.SH SYNOPSIS +modprobe vmxnet + +.SH DESCRIPTION +This is a Linux kernel device driver module that drives VMware's fast networking device. As it is backed by real (virtual) hardware, it should be automatically loaded by hotplug or udev as needed. For best performance, it is recommended to enable TSO on all interfaces driven by vmxnet using ethtool. +.PP +The shell code to do this might look like this: +.PP +if which ethtool >/dev/null 2>&1; then + for ethif in `ifconfig \-a | grep ^eth | cut \-d' ' \-f1`; do + ethtool \-K $ethif tso on >/dev/null 2>&1 + done +fi +.PP +The VMware backend may present the fast networking device as an AMD vlance device instead of the actual vmxnet device. + +.SH SEE ALSO +\fIvmware\-checkvm\fR(1) +.br +\fIvmware\-hgfsclient\fR(1) +.br +\fIvmware\-toolbox\fR(1) +.br +\fIvmware\-toolbox\-cmd\fR(1) +.br +\fIvmware\-user\fR(1) +.br +\fIvmware\-xferlogs\fR(1) +.br +\fIlibguestlib\fR(3) +.br +\fIlibvmtools\fR(3) +.br +\fIvmware\-guestd\fR(8) +.br +\fIvmware\-hgfsmounter\fR(8) +.br +\fIvmware\-user\-suid\-wrapper\fR(8) +.br +\fIvmblock\fR(9) +.br +\fIvmci\fR(9) +.br +\fIvmhgfs\fR(9) +.br +\fIvmmemctl\fR(9) +.br +\fIvmsock\fR(9) +.br +\fIvmsync\fR(9) +.br +\fIvmxnet3\fR(9) + +.SH HOMEPAGE +More information about vmxnet and the Open VM Tools can be found at <\fIhttp://open\-vm\-tools.sourceforge.net/\fR>. + +.SH AUTHOR +Open VM Tools were written by VMware, Inc. <\fIhttp://www.vmware.com/\fR>. +.PP +This manual page was put together from homepage materials by Daniel Baumann <\fIdaniel@debian.org\fR>, for the Debian project (but may be used by others). --- open-vm-tools-2011.03.28-387002.orig/debian/manpages/vmware-toolbox.1 +++ open-vm-tools-2011.03.28-387002/debian/manpages/vmware-toolbox.1 @@ -0,0 +1,58 @@ +.TH VMWARE\-TOOLBOX 1 "2010\-04\-08" "2010.03.20\-243334" "Open VM Tools" + +.SH NAME +vmware\-toolbox \- GUI toolbox + +.SH SYNOPSIS +\fBvmware\-toolbox\fR + +.SH DESCRIPTION +This is a per\-user process that, like \fIvmware\-user\fR(1), must be run in an X11 session, and isn't needed otherwise. Also like \fIvmware\-user\fR(1), it does not support multiple concurrent users, and depends on certain Gtk shared objects at runtime. + +.SH OPTIONS +vmware\-toolbox has no options. + +.SH SEE ALSO +\fIvmware\-checkvm\fR(1) +.br +\fIvmware\-hgfsclient\fR(1) +.br +\fIvmware\-user\fR(1) +.br +\fIvmware\-xferlogs\fR(1) +.br +\fIlibguestlib\fR(3) +.br +\fIlibvmtools\fR(3) +.br +\fIvmware\-guestd\fR(8) +.br +\fIvmware\-hgfsmounter\fR(8) +.br +\fIvmware\-toolbox\-cmd\fR(1) +.br +\fIvmware\-user\-suid\-wrapper\fR(8) +.br +\fIvmblock\fR(9) +.br +\fIvmci\fR(9) +.br +\fIvmhgfs\fR(9) +.br +\fIvmmemctl\fR(9) +.br +\fIvmsock\fR(9) +.br +\fIvmsync\fR(9) +.br +\fIvmxnet\fR(9) +.br +\fIvmxnet3\fR(9) + +.SH HOMEPAGE +More information about vmware\-toolbox and the Open VM Tools can be found at <\fIhttp://open\-vm\-tools.sourceforge.net/\fR>. + +.SH AUTHOR +Open VM Tools were written by VMware, Inc. <\fIhttp://www.vmware.com/\fR>. +.PP +This manual page was put together from homepage materials by Daniel Baumann <\fIdaniel@debian.org\fR>, for the Debian project (but may be used by others). --- open-vm-tools-2011.03.28-387002.orig/debian/manpages/vmxnet3.9 +++ open-vm-tools-2011.03.28-387002/debian/manpages/vmxnet3.9 @@ -0,0 +1,55 @@ +.TH VMXNET3 9 "2010\-04\-08" "2010.03.20\-243334" "Open VM Tools" + +.SH NAME +vmxnet3 \- vmware kernel module + +.SH SYNOPSIS +modprobe vmxnet3 + +.SH DESCRIPTION +This is a Linux kernel device driver module that drives VMware's second fast networking device. As it is backed by real (virtual) hardware, it should be automatically loaded by hotplug or udev as needed. Unlike the older 'vmxnet' hardware, the 'vmxnet3' hardware does not morph and as such the modprobe\-related logic isn't necessary. + +.SH SEE ALSO +\fIvmware\-checkvm\fR(1) +.br +\fIvmware\-hgfsclient\fR(1) +.br +\fIvmware\-toolbox\fR(1) +.br +\fIvmware\-toolbox\-cmd\fR(1) +.br +\fIvmware\-user\fR(1) +.br +\fIvmware\-xferlogs\fR(1) +.br +\fIlibguestlib\fR(3) +.br +\fIlibvmtools\fR(3) +.br +\fIvmware\-guestd\fR(8) +.br +\fIvmware\-hgfsmounter\fR(8) +.br +\fIvmware\-user\-suid\-wrapper\fR(8) +.br +\fIvmblock\fR(9) +.br +\fIvmci\fR(9) +.br +\fIvmhgfs\fR(9) +.br +\fIvmmemctl\fR(9) +.br +\fIvmsock\fR(9) +.br +\fIvmsync\fR(9) +.br +\fIvmxnet\fR(9) + +.SH HOMEPAGE +More information about vmxnet3 and the Open VM Tools can be found at <\fIhttp://open\-vm\-tools.sourceforge.net/\fR>. + +.SH AUTHOR +Open VM Tools were written by VMware, Inc. <\fIhttp://www.vmware.com/\fR>. +.PP +This manual page was put together from homepage materials by Daniel Baumann <\fIdaniel@debian.org\fR>, for the Debian project (but may be used by others). --- open-vm-tools-2011.03.28-387002.orig/debian/manpages/libguestlib.3 +++ open-vm-tools-2011.03.28-387002/debian/manpages/libguestlib.3 @@ -0,0 +1,50 @@ +.TH LIBGUESTLIB 3 "2010\-04\-08" "2010.03.20\-243334" "Open VM Tools" + +.SH NAME +libguestlib \- vmware shared library + +.SH DESCRIPTION +This is a shared object intended for use in other applications. It provides access to some configuration and performance data available in the host. + +.SH SEE ALSO +\fIvmware\-checkvm\fR(1) +.br +\fIvmware\-hgfsclient\fR(1) +.br +\fIvmware\-toolbox\fR(1) +.br +\fIvmware\-toolbox\-cmd\fR(1) +.br +\fIvmware\-user\fR(1) +.br +\fIvmware\-xferlogs\fR(1) +.br +\fIlibvmtools\fR(3) +.br +\fIvmware\-guestd\fR(8) +.br +\fIvmware\-hgfsmounter\fR(8) +.br +\fIvmware\-user\-suid\-wrapper\fR(8) +.br +\fIvmci\fR(9) +.br +\fIvmhgfs\fR(9) +.br +\fIvmmemctl\fR(9) +.br +\fIvmsock\fR(9) +.br +\fIvmsync\fR(9) +.br +\fIvmxnet\fR(9) +.br +\fIvmxnet3\fR(9) + +.SH HOMEPAGE +More information about libguestlib and the Open VM Tools can be found at <\fIhttp://open\-vm\-tools.sourceforge.net/\fR>. + +.SH AUTHOR +Open VM Tools were written by VMware, Inc. <\fIhttp://www.vmware.com/\fR>. +.PP +This manual page was put together from homepage materials by Daniel Baumann <\fIdaniel@debian.org\fR>, for the Debian project (but may be used by others). --- open-vm-tools-2011.03.28-387002.orig/debian/manpages/vmware-toolbox-cmd.1 +++ open-vm-tools-2011.03.28-387002/debian/manpages/vmware-toolbox-cmd.1 @@ -0,0 +1,58 @@ +.TH VMWARE\-TOOLBOX\-CMD 1 "2010\-04\-08" "2010.03.20\-243334" "Open VM Tools" + +.SH NAME +vmware\-toolbox\-cmd \- GUI toolbox (commandline version) + +.SH SYNOPSIS +\fBvmware\-toolbox\-cmd\fR + +.SH DESCRIPTION +This is a console version of vmware\-toolbox, and depends on libvmtools and libguestlib. + +.SH OPTIONS +vmware\-toolbox\-cmd has no options. + +.SH SEE ALSO +\fIvmware\-checkvm\fR(1) +.br +\fIvmware\-hgfsclient\fR(1) +.br +\fIvmware\-user\fR(1) +.br +\fIvmware\-xferlogs\fR(1) +.br +\fIlibguestlib\fR(3) +.br +\fIlibvmtools\fR(3) +.br +\fIvmware\-guestd\fR(8) +.br +\fIvmware\-hgfsmounter\fR(8) +.br +\fIvmware\-toolbox\fR(8) +.br +\fIvmware\-user\-suid\-wrapper\fR(8) +.br +\fIvmblock\fR(9) +.br +\fIvmci\fR(9) +.br +\fIvmhgfs\fR(9) +.br +\fIvmmemctl\fR(9) +.br +\fIvmsock\fR(9) +.br +\fIvmsync\fR(9) +.br +\fIvmxnet\fR(9) +.br +\fIvmxnet3\fR(9) + +.SH HOMEPAGE +More information about vmware\-toolbox\-cmd and the Open VM Tools can be found at <\fIhttp://open\-vm\-tools.sourceforge.net/\fR>. + +.SH AUTHOR +Open VM Tools were written by VMware, Inc. <\fIhttp://www.vmware.com/\fR>. +.PP +This manual page was put together from homepage materials by Daniel Baumann <\fIdaniel@debian.org\fR>, for the Debian project (but may be used by others). --- open-vm-tools-2011.03.28-387002.orig/debian/manpages/vmsync.9 +++ open-vm-tools-2011.03.28-387002/debian/manpages/vmsync.9 @@ -0,0 +1,58 @@ +.TH VMSYNC 9 "2010\-04\-08" "2010.03.20\-243334" "Open VM Tools" + +.SH NAME +vmsync \- vmware kernel module + +.SH SYNOPSIS +modprobe vmsync + +.SH DESCRIPTION +This is a Linux kernel module. It isn't backed by a virtual hardware device, so it must be loaded manually. It is depended on by \fIvmware\-guestd\fR(8), so ideally it should be loaded prior to starting \fIvmware\-guestd\fR(8) (though \fIvmware\-guestd\fR(8) can function without it). This module is used for freezing and thawing the filesystem. + +.SH OPTIONS +vmsync has no options. + +.SH SEE ALSO +\fIvmware\-checkvm\fR(1) +.br +\fIvmware\-hgfsclient\fR(1) +.br +\fIvmware\-toolbox\fR(1) +.br +\fIvmware\-toolbox\-cmd\fR(1) +.br +\fIvmware\-user\fR(1) +.br +\fIvmware\-xferlogs\fR(1) +.br +\fIlibguestlib\fR(3) +.br +\fIlibvmtools\fR(3) +.br +\fIvmware\-guestd\fR(8) +.br +\fIvmware\-hgfsmounter\fR(8) +.br +\fIvmware\-user\-suid\-wrapper\fR(8) +.br +\fIvmblock\fR(9) +.br +\fIvmci\fR(9) +.br +\fIvmhgfs\fR(9) +.br +\fIvmmemctl\fR(9) +.br +\fIvmsock\fR(9) +.br +\fIvmxnet\fR(9) +.br +\fIvmxnet3\fR(9) + +.SH HOMEPAGE +More information about vmsync and the Open VM Tools can be found at <\fIhttp://open\-vm\-tools.sourceforge.net/\fR>. + +.SH AUTHOR +Open VM Tools were written by VMware, Inc. <\fIhttp://www.vmware.com/\fR>. +.PP +This manual page was put together from homepage materials by Daniel Baumann <\fIdaniel@debian.org\fR>, for the Debian project (but may be used by others). --- open-vm-tools-2011.03.28-387002.orig/debian/manpages/vmware-xferlogs.1 +++ open-vm-tools-2011.03.28-387002/debian/manpages/vmware-xferlogs.1 @@ -0,0 +1,70 @@ +.TH VMWARE\-XFERLOGS 1 "2010\-04\-08" "2010.03.20\-243334" "Open VM Tools" + +.SH NAME +vmware\-xferlogs \- dump vm\-support output to vmx logfile + +.SH SYNOPSIS +\fBvmware\-xferlogs\fR \fIOPTIONS\fR \fIFILE\fR + +.SH DESCRIPTION +vmware\-xferlogs is a simple console application and can be run as any user. It is based on rpctool to dump the vm\-support output to the vmx log file base64 encoded. It can dump any file supplied on the commandline to the vmx log. It also does the decoding part of it. It can read the vmware.log file decode and write the encoded files in the directory it was invoked. +.PP +Example of a transfer found in the vmx log file: +.PP + Aug 24 18:48:09: vcpu-0| Guest: >Logfile Begins : /root/install.log: ver - 1 + Aug 24 18:48:09: vcpu-0| Guest: >SW5zdGFsbGluZyA0NDEgcGFja2FnZXMKCkluc3RhbGxpbmcgZ2xpYmMtY29tbW9uLTIuMi41LTM0 + Aug 24 18:48:09: vcpu-0| Guest: >LgpJbnN0YWxsaW5nIGh3ZGF0YS0wLjE0LTEuCkluc3RhbGxpbmcgaW5kZXhodG1sLTcuMy0zLgpJ + Aug 24 18:48:09: vcpu-0| Guest: >bnN0YWxsaW5nIG1haWxjYXAtMi4xLjktMi4KSW5zdGFsbGluZyBtYW4tcGFnZXMtMS40OC0yLgpJ + .... + .... + Aug 24 18:48:10: vcpu-0| Guest: >Mi4K + Aug 24 18:48:10: vcpu-0| Guest: >Logfile Ends + +.SH OPTIONS +.IP "enc" 4 +.IP "dec" 4 + +.SH SEE ALSO +\fIvmware\-checkvm\fR(1) +.br +\fIvmware\-hgfsclient\fR(1) +.br +\fIvmware\-toolbox\fR(1) +.br +\fIvmware\-toolbox\-cmd\fR(1) +.br +\fIvmware\-user\fR(1) +.br +\fIlibguestlib\fR(3) +.br +\fIlibvmtools\fR(3) +.br +\fIvmware\-guestd\fR(8) +.br +\fIvmware\-hgfsmounter\fR(8) +.br +\fIvmware\-user\-suid\-wrapper\fR(8) +.br +\fIvmblock\fR(9) +.br +\fIvmci\fR(9) +.br +\fIvmhgfs\fR(9) +.br +\fIvmmemctl\fR(9) +.br +\fIvmsock\fR(9) +.br +\fIvmsync\fR(9) +.br +\fIvmxnet\fR(9) +.br +\fIvmxnet3\fR(9) + +.SH HOMEPAGE +More information about vmware\-xferlogs and the Open VM Tools can be found at <\fIhttp://open\-vm\-tools.sourceforge.net/\fR>. + +.SH AUTHOR +Open VM Tools were written by VMware, Inc. <\fIhttp://www.vmware.com/\fR>. +.PP +This manual page was put together from homepage materials by Daniel Baumann <\fIdaniel@debian.org\fR>, for the Debian project (but may be used by others). --- open-vm-tools-2011.03.28-387002.orig/debian/manpages/libvmtools.3 +++ open-vm-tools-2011.03.28-387002/debian/manpages/libvmtools.3 @@ -0,0 +1,50 @@ +.TH LIBVMTOOLS 3 "2010\-04\-08" "2010.03.20\-243334" "Open VM Tools" + +.SH NAME +libvmtools \- vmware shared library + +.SH DESCRIPTION +This is a shared library used by several Open VM Tools components, such as vmware-toolbox-cmd and vmtoolsd (and its plugins). + +.SH SEE ALSO +\fIvmware\-checkvm\fR(1) +.br +\fIvmware\-hgfsclient\fR(1) +.br +\fIvmware\-toolbox\fR(1) +.br +\fIvmware\-toolbox\-cmd\fR(1) +.br +\fIvmware\-user\fR(1) +.br +\fIvmware\-xferlogs\fR(1) +.br +\fIlibguestlib\fR(3) +.br +\fIvmware\-guestd\fR(8) +.br +\fIvmware\-hgfsmounter\fR(8) +.br +\fIvmware\-user\-suid\-wrapper\fR(8) +.br +\fIvmci\fR(9) +.br +\fIvmhgfs\fR(9) +.br +\fIvmmemctl\fR(9) +.br +\fIvmsock\fR(9) +.br +\fIvmsync\fR(9) +.br +\fIvmxnet\fR(9) +.br +\fIvmxnet3\fR(9) + +.SH HOMEPAGE +More information about libvmtools and the Open VM Tools can be found at <\fIhttp://open\-vm\-tools.sourceforge.net/\fR>. + +.SH AUTHOR +Open VM Tools were written by VMware, Inc. <\fIhttp://www.vmware.com/\fR>. +.PP +This manual page was put together from homepage materials by Daniel Baumann <\fIdaniel@debian.org\fR>, for the Debian project (but may be used by others). --- open-vm-tools-2011.03.28-387002.orig/debian/manpages/vmblock.9 +++ open-vm-tools-2011.03.28-387002/debian/manpages/vmblock.9 @@ -0,0 +1,64 @@ +.TH VMBLOCK 9 "2010\-04\-08" "2010.03.20\-243334" "Open VM Tools" + +.SH NAME +vmblock \- vmware kernel module + +.SH SYNOPSIS +modprobe vmblock + +.SH DESCRIPTION +This is a kernel filesystem module. Ideally, it should be loaded before any of the Tools userlevel components are allowed to start, though vmblock itself has no dependencies. When loaded, vmblock will establish itself in /proc/fs/vmblock and create two nodes therein, dev and mountPoint. Before mounting a vmblock filesystem, ensure that /tmp/VMwareDnD exists as a directory with permissions 1777, otherwise host to guest drag n' drop operations won't work. +.PP +To mount, issue: +.PP + mount \-t vmblock none /proc/fs/vmblock/mountPoint +.PP +Once mounted, \fIvmware\-user\fR(1) can begin to make use of vmblock to assist with DnD operations. Note that while \fIvmware\-user\fR(1) is running, it'll keep an open file descriptor on /proc/fs/vmblock/dev, and thus all \fIvmware\-user\fR(1) instances must be killed to unmount and unload vmblock. + +.SH OPTIONS +vmblock has no options. + +.SH SEE ALSO +\fIvmware\-checkvm\fR(1) +.br +\fIvmware\-hgfsclient\fR(1) +.br +\fIvmware\-toolbox\fR(1) +.br +\fIvmware\-toolbox\-cmd\fR(1) +.br +\fIvmware\-user\fR(1) +.br +\fIvmware\-xferlogs\fR(1) +.br +\fIlibguestlib\fR(3) +.br +\fIlibvmtools\fR(3) +.br +\fIvmware\-guestd\fR(8) +.br +\fIvmware\-hgfsmounter\fR(8) +.br +\fIvmware\-user\-suid\-wrapper\fR(8) +.br +\fIvmci\fR(9) +.br +\fIvmhgfs\fR(9) +.br +\fIvmmemctl\fR(9) +.br +\fIvmsock\fR(9) +.br +\fIvmsync\fR(9) +.br +\fIvmxnet\fR(9) +.br +\fIvmxnet3\fR(9) + +.SH HOMEPAGE +More information about vmblock and the Open VM Tools can be found at <\fIhttp://open\-vm\-tools.sourceforge.net/\fR>. + +.SH AUTHOR +Open VM Tools were written by VMware, Inc. <\fIhttp://www.vmware.com/\fR>. +.PP +This manual page was put together from homepage materials by Daniel Baumann <\fIdaniel@debian.org\fR>, for the Debian project (but may be used by others). --- open-vm-tools-2011.03.28-387002.orig/debian/manpages/vmmemctl.9 +++ open-vm-tools-2011.03.28-387002/debian/manpages/vmmemctl.9 @@ -0,0 +1,58 @@ +.TH VMMEMCTL 9 "2010\-04\-08" "2010.03.20\-243334" "Open VM Tools" + +.SH NAME +vmmemctl \- vmware kernel module + +.SH SYNOPSIS +modprobe vmmemctl + +.SH DESCRIPTION +This is a kernel module. It isn't backed by a virtual hardware device, so it must be loaded manually. It has no dependencies, nor do any Tools components depend on it, so it can be loaded at any time during the boot process. Once loaded, no further action is needed. + +.SH OPTIONS +vmmemctl has no options. + +.SH SEE ALSO +\fIvmware\-checkvm\fR(1) +.br +\fIvmware\-hgfsclient\fR(1) +.br +\fIvmware\-toolbox\fR(1) +.br +\fIvmware\-toolbox\-cmd\fR(1) +.br +\fIvmware\-user\fR(1) +.br +\fIvmware\-xferlogs\fR(1) +.br +\fIlibguestlib\fR(3) +.br +\fIlibvmtools\fR(3) +.br +\fIvmware\-guestd\fR(8) +.br +\fIvmware\-hgfsmounter\fR(8) +.br +\fIvmware\-user\-suid\-wrapper\fR(8) +.br +\fIvmblock\fR(9) +.br +\fIvmci\fR(9) +.br +\fIvmhgfs\fR(9) +.br +\fIvmsock\fR(9) +.br +\fIvmsync\fR(9) +.br +\fIvmxnet\fR(9) +.br +\fIvmxnet3\fR(9) + +.SH HOMEPAGE +More information about vmmemctl and the Open VM Tools can be found at <\fIhttp://open\-vm\-tools.sourceforge.net/\fR>. + +.SH AUTHOR +Open VM Tools were written by VMware, Inc. <\fIhttp://www.vmware.com/\fR>. +.PP +This manual page was put together from homepage materials by Daniel Baumann <\fIdaniel@debian.org\fR>, for the Debian project (but may be used by others). --- open-vm-tools-2011.03.28-387002.orig/debian/manpages/vmware-checkvm.1 +++ open-vm-tools-2011.03.28-387002/debian/manpages/vmware-checkvm.1 @@ -0,0 +1,58 @@ +.TH VMWARE\-CHECKVM 1 "2010\-04\-08" "2010.03.20\-243334" "Open VM Tools" + +.SH NAME +vmware\-checkvm \- Check if running in a VM or not + +.SH SYNOPSIS +\fBvmware\-checkvm\fR + +.SH DESCRIPTION +This is a simple console application and can be run as any user. vmware\-checkvm check if is running in a VM (returns 0) or not (returns 1). + +.SH OPTIONS +vmware\-checkvm has no options. + +.SH SEE ALSO +\fIvmware\-hgfsclient\fR(1) +.br +\fIvmware\-toolbox\fR(1) +.br +\fIvmware\-toolbox\-cmd\fR(1) +.br +\fIvmware\-user\fR(1) +.br +\fIlibguestlib\fR(3) +.br +\fIlibvmtools\fR(3) +.br +\fIvmware\-xferlogs\fR(1) +.br +\fIvmware\-guestd\fR(8) +.br +\fIvmware\-hgfsmounter\fR(8) +.br +\fIvmware\-user\-suid\-wrapper\fR(8) +.br +\fIvmblock\fR(9) +.br +\fIvmci\fR(9) +.br +\fIvmhgfs\fR(9) +.br +\fIvmmemctl\fR(9) +.br +\fIvmsock\fR(9) +.br +\fIvmsync\fR(9) +.br +\fIvmxnet\fR(9) +.br +\fIvmxnet3\fR(9) + +.SH HOMEPAGE +More information about vmware\-checkvm and the Open VM Tools can be found at <\fIhttp://open\-vm\-tools.sourceforge.net/\fR>. + +.SH AUTHOR +Open VM Tools were written by VMware, Inc. <\fIhttp://www.vmware.com/\fR>. +.PP +This manual page was put together from homepage materials by Daniel Baumann <\fIdaniel@debian.org\fR>, for the Debian project (but may be used by others). --- open-vm-tools-2011.03.28-387002.orig/debian/manpages/vmware-user-suid-wrapper.8 +++ open-vm-tools-2011.03.28-387002/debian/manpages/vmware-user-suid-wrapper.8 @@ -0,0 +1,60 @@ +.TH VMWARE\-USER\-SUID\-WRAPPER 8 "2010\-04\-08" "2010.03.20\-243334" "Open VM Tools" + +.SH NAME +vmware\-user\-suid\-wrapper \- wrapper programm for \fIvmware\-user\fR(1) + +.SH SYNOPSIS +\fBvmware\-user\-suid\-wrapper\fR + +.SH DESCRIPTION +Operations on the \fIvmblock\fR(9) filesystem are considered privileged, and as such may only be issued on a file descriptor acquired by root. This is accomplished by vmware\-user\-suid\-wrapper, a small setuid wrapper whose only purpose is to acquire a filesystem file descriptor, drop superuser privileges, and then execute \fIvmware\-user\fR(1). +. +In particular, prepare the system for vmware-user means that it unmounts the vmblock file system, unloads the vmblock module, then reloads the module, mounts the file system, and opens a file descriptor that vmware-user can use to add and remove blocks. + +.SH OPTIONS +vmware\-user\-suid\-wrapper has no options. + +.SH SEE ALSO +\fIvmware\-checkvm\fR(1) +.br +\fIvmware\-hgfsclient\fR(1) +.br +\fIvmware\-toolbox\fR(1) +.br +\fIvmware\-toolbox\-cmd\fR(1) +.br +\fIvmware\-user\fR(1) +.br +\fIvmware\-xferlogs\fR(1) +.br +\fIlibguestlib\fR(3) +.br +\fIlibvmtools\fR(3) +.br +\fIvmware\-guestd\fR(8) +.br +\fIvmware\-hgfsmounter\fR(8) +.br +\fIvmblock\fR(9) +.br +\fIvmci\fR(9) +.br +\fIvmhgfs\fR(9) +.br +\fIvmmemctl\fR(9) +.br +\fIvmsock\fR(9) +.br +\fIvmsync\fR(9) +.br +\fIvmxnet\fR(9) +.br +\fIvmxnet3\fR(9) + +.SH HOMEPAGE +More information about vmware\-user\-suid\-wrapper and the Open VM Tools can be found at <\fIhttp://open\-vm\-tools.sourceforge.net/\fR>. + +.SH AUTHOR +Open VM Tools were written by VMware, Inc. <\fIhttp://www.vmware.com/\fR>. +.PP +This manual page was put together from homepage materials by Daniel Baumann <\fIdaniel@debian.org\fR>, for the Debian project (but may be used by others). --- open-vm-tools-2011.03.28-387002.orig/debian/manpages/vmci.9 +++ open-vm-tools-2011.03.28-387002/debian/manpages/vmci.9 @@ -0,0 +1,58 @@ +.TH VMCI 9 "2010\-04\-08" "2010.03.20\-243334" "Open VM Tools" + +.SH NAME +vmci \- vmware kernel module + +.SH SYNOPSIS +modprobe vmci + +.SH DESCRIPTION +This is a Linux kernel device driver module that drives VMware's inter\-VM communication device. The device itself is backed by a PCI\-based virtual hardware implementation, so hotplug or udev should load it at guest boot time in any VMs using hardware version 7. + +.SH OPTIONS +vmci has no options. + +.SH SEE ALSO +\fIvmware\-checkvm\fR(1) +.br +\fIvmware\-hgfsclient\fR(1) +.br +\fIvmware\-toolbox\fR(1) +.br +\fIvmware\-toolbox\-cmd\fR(1) +.br +\fIvmware\-user\fR(1) +.br +\fIvmware\-xferlogs\fR(1) +.br +\fIlibguestlib\fR(3) +.br +\fIlibvmtools\fR(3) +.br +\fIvmware\-guestd\fR(8) +.br +\fIvmware\-hgfsmounter\fR(8) +.br +\fIvmware\-user\-suid\-wrapper\fR(8) +.br +\fIvmblock\fR(9) +.br +\fIvmhgfs\fR(9) +.br +\fIvmmemctl\fR(9) +.br +\fIvmsock\fR(9) +.br +\fIvmsync\fR(9) +.br +\fIvmxnet\fR(9) +.br +\fIvmxnet3\fR(9) + +.SH HOMEPAGE +More information about vmci and the Open VM Tools can be found at <\fIhttp://open\-vm\-tools.sourceforge.net/\fR>. + +.SH AUTHOR +Open VM Tools were written by VMware, Inc. <\fIhttp://www.vmware.com/\fR>. +.PP +This manual page was put together from homepage materials by Daniel Baumann <\fIdaniel@debian.org\fR>, for the Debian project (but may be used by others). --- open-vm-tools-2011.03.28-387002.orig/debian/manpages/vmhgfs.9 +++ open-vm-tools-2011.03.28-387002/debian/manpages/vmhgfs.9 @@ -0,0 +1,70 @@ +.TH VMHGFS 9 "2010\-04\-08" "2010.03.20\-243334" "Open VM Tools" + +.SH NAME +vmhgfs \- vmware kernel module + +.SH SYNOPSIS +modprobe vmhgfs + +.SH DESCRIPTION +This is kernel filesystem module. None of the Tools components depend on vmhgfs, nor does it have any dependencies of its own, so it can be loaded at any time in the boot process. +.PP +When mounting, one must use an NFS\-like ":" syntax. The field must be ".host", while the field can be "/", a path to a specific Shared Folder, or a path to a subdirectory within that Shared Folder. Note that mounting may fail if Shared Folders are disabled in the host; don't be alarmed. The vmhgfs filesystem supports a plethora of mount options, run \fIvmware\-hgfsmounter\fR(8) \-h to see them. We typically exclude vmhgfs from the locate database as crawling the Shared Folders is time consuming. To do this, add "vmhgfs" to PRUNEFS within updatedb's configuration file, typically found in /etc/updatedb.conf. +.PP +We also typically mount vmhgfs via: +.PP + mount \-t vmhgfs .host:/ /mnt/hgfs +.PP +Or by adding this line to /etc/fstab: +.PP + host:/ /mnt/hgfs vmhgfs defaults 0 0 +.PP +The net effect is that all Shared Folders appear and disappear at /mnt/hgfs as they're added or removed. + +.SH OPTIONS +vmhgfs has no options. + +.SH SEE ALSO +\fIvmware\-checkvm\fR(1) +.br +\fIvmware\-hgfsclient\fR(1) +.br +\fIvmware\-toolbox\fR(1) +.br +\fIvmware\-toolbox\-cmd\fR(1) +.br +\fIvmware\-user\fR(1) +.br +\fIvmware\-xferlogs\fR(1) +.br +\fIlibguestlib\fR(3) +.br +\fIlibvmtools\fR(3) +.br +\fIvmware\-guestd\fR(8) +.br +\fIvmware\-hgfsmounter\fR(8) +.br +\fIvmware\-user\-suid\-wrapper\fR(8) +.br +\fIvmblock\fR(9) +.br +\fIvmci\fR(9) +.br +\fIvmmemctl\fR(9) +.br +\fIvmsock\fR(9) +.br +\fIvmsync\fR(9) +.br +\fIvmxnet\fR(9) +.br +\fIvmxnet3\fR(9) + +.SH HOMEPAGE +More information about vmhgfs and the Open VM Tools can be found at <\fIhttp://open\-vm\-tools.sourceforge.net/\fR>. + +.SH AUTHOR +Open VM Tools were written by VMware, Inc. <\fIhttp://www.vmware.com/\fR>. +.PP +This manual page was put together from homepage materials by Daniel Baumann <\fIdaniel@debian.org\fR>, for the Debian project (but may be used by others). --- open-vm-tools-2011.03.28-387002.orig/debian/manpages/vmsock.9 +++ open-vm-tools-2011.03.28-387002/debian/manpages/vmsock.9 @@ -0,0 +1,66 @@ +.TH VMSOCK 9 "2010\-04\-08" "2010.03.20\-243334" "Open VM Tools" + +.SH NAME +vmsock \- vmware kernel module + +.SH SYNOPSIS +modprobe vmsock + +.SH DESCRIPTION +This is a Linux kernel device driver module that provides datagram and stream socket interfaces to the underlying VMCI device. The module implements a Linux socket family and one of the files in the module, vmci_sockets.h, provides the various constants and functions necessary to create and, in the case of streams, connect sockets. +.PP +When the module is loaded, /dev/vsock will be created with restricted permissions. Access to /dev/vsock is required to use VMCI sockets, so it's recommended that permissions be relaxed via a udev policy file. For reference, the VMware Tools init script changes the permissions of /dev/vsock to 666. +.PP +Normally, issuing a socket(2) system call will automatically load the kernel module providing that socket family, but as the vsock module is out\-of\-tree, there is no in\-tree socket family reservation for VMCI sockets. Before sockets are created, userspace applications must call VMCISock_GetAFValue (defined in vmci_sockets.h) which will instruct the vsock module to dynamically acquire a socket family reservation from the kernel. This function is implemented via ioctl(2) into the vsock module, so the vsock module must be manually loaded by the user (perhaps using /etc/modules). +.PP +The vmci_sockets.h header should be installed in a system\-wide location. We recommend /usr/include/vmci. +.PP +The vsock module depends on symbols from the vmci module, and so the vmci module must be loaded first. + +.SH OPTIONS +vmsock has no options. + +.SH SEE ALSO +\fIvmware\-checkvm\fR(1) +.br +\fIvmware\-hgfsclient\fR(1) +.br +\fIvmware\-toolbox\fR(1) +.br +\fIvmware\-toolbox\-cmd\fR(1) +.br +\fIvmware\-user\fR(1) +.br +\fIvmware\-xferlogs\fR(1) +.br +\fIlibguestlib\fR(3) +.br +\fIlibvmtools\fR(3) +.br +\fIvmware\-guestd\fR(8) +.br +\fIvmware\-hgfsmounter\fR(8) +.br +\fIvmware\-user\-suid\-wrapper\fR(8) +.br +\fIvmblock\fR(9) +.br +\fIvmci\fR(9) +.br +\fIvmhgfs\fR(9) +.br +\fIvmmemctl\fR(9) +.br +\fIvmsock\fR(9) +.br +\fIvmxnet\fR(9) +.br +\fIvmxnet3\fR(9) + +.SH HOMEPAGE +More information about vmsock and the Open VM Tools can be found at <\fIhttp://open\-vm\-tools.sourceforge.net/\fR>. + +.SH AUTHOR +Open VM Tools were written by VMware, Inc. <\fIhttp://www.vmware.com/\fR>. +.PP +This manual page was put together from homepage materials by Daniel Baumann <\fIdaniel@debian.org\fR>, for the Debian project (but may be used by others). --- open-vm-tools-2011.03.28-387002.orig/debian/manpages/vmware-user.1 +++ open-vm-tools-2011.03.28-387002/debian/manpages/vmware-user.1 @@ -0,0 +1,75 @@ +.TH VMWARE\-USER 1 "2010\-04\-08" "2010.03.20\-243334" "Open VM Tools" + +.SH NAME +vmware\-user \- GUI tool + +.SH SYNOPSIS +\fBvmware\-user\fR + +.SH DESCRIPTION +vmware\-user is a relatively small Gtk application that should run for the duration of an interactive X11 session. It has no dependencies on X11 service daemons (e.g., messaging buses), and so it may be launched at any time during or after session startup. +.PP +It's a hidden window application and handles tools features which we want active all the time, but don't want to impose a visable window on the user. +.PP +Without a running vmware\-user process, interactive X11 sessions will lack GUI features such as drag\-and\-drop (DnD), file and text copy/paste, dynamic display resizing, and Unity. +.PP +vmware\-user depends on a mounted \fIvmblock\fR(9) filesystem for proper host to guest DnD operations. +.PP +Drag\-and\-drop operations depend on a setuid wrapper, \fIvmware\-user\-suid\-wrapper\fR(8). +.PP +A recent change to the Open VM Tools adjusted the nature of the relationship between the VMware Tools service (\fIvmware\-guestd\fR(8)) and the VMware user process (vmware\-user). The two programs have been completely decoupled, and as such \fIvmware\-guestd\fR(8) no longer attempts to automatically start and stop vmware\-user processes on users' behalf. +.PP +Modern display managers implementing the XDG autostart spec support launching applications at session startup via placing a `vmware\-user.desktop' file in a well\-known location (/etc/xdg/autostart). + +.SH OPTIONS +vmware\-user has no options. + +.SH FILES +\fI/etc/vmware\-tools/xautostart.conf\fR +.br +\fI/etc/xdg/autostart/vmware\-user.desktop\fR + +.SH SEE ALSO +\fIvmware\-checkvm\fR(1) +.br +\fIvmware\-hgfsclient\fR(1) +.br +\fIvmware\-toolbox\fR(1) +.br +\fIvmware\-toolbox\-cmd\fR(1) +.br +\fIvmware\-xferlogs\fR(1) +.br +\fIlibguestlib\fR(3) +.br +\fIlibvmtools\fR(3) +.br +\fIvmware\-guestd\fR(8) +.br +\fIvmware\-hgfsmounter\fR(8) +.br +\fIvmware\-user\-suid\-wrapper\fR(8) +.br +\fIvmblock\fR(9) +.br +\fIvmci\fR(9) +.br +\fIvmhgfs\fR(9) +.br +\fIvmmemctl\fR(9) +.br +\fIvmsock\fR(9) +.br +\fIvmsync\fR(9) +.br +\fIvmxnet\fR(9) +.br +\fIvmxnet3\fR(9) + +.SH HOMEPAGE +More information about vmware\-user and the Open VM Tools can be found at <\fIhttp://open\-vm\-tools.sourceforge.net/\fR>. + +.SH AUTHOR +Open VM Tools were written by VMware, Inc. <\fIhttp://www.vmware.com/\fR>. +.PP +This manual page was put together from homepage materials by Daniel Baumann <\fIdaniel@debian.org\fR>, for the Debian project (but may be used by others). --- open-vm-tools-2011.03.28-387002.orig/debian/local/Makefile +++ open-vm-tools-2011.03.28-387002/debian/local/Makefile @@ -0,0 +1,25 @@ +OVT_SOURCE_DIR=/usr/src/modules/open-vm + +all: build + +build: + $(MAKE) OVT_SOURCE_DIR=$(OVT_SOURCE_DIR) -C modules/linux/vmblock + $(MAKE) OVT_SOURCE_DIR=$(OVT_SOURCE_DIR) -C modules/linux/vmci + cp -f modules/linux/vmci/Module.symvers modules/linux/vmhgfs + $(MAKE) OVT_SOURCE_DIR=$(OVT_SOURCE_DIR) -C modules/linux/vmhgfs + $(MAKE) OVT_SOURCE_DIR=$(OVT_SOURCE_DIR) -C modules/linux/vmsync + $(MAKE) OVT_SOURCE_DIR=$(OVT_SOURCE_DIR) -C modules/linux/vmxnet + cp -f modules/linux/vmci/Module.symvers modules/linux/vsock + $(MAKE) OVT_SOURCE_DIR=$(OVT_SOURCE_DIR) -C modules/linux/vsock + +clean: + $(MAKE) OVT_SOURCE_DIR=$(OVT_SOURCE_DIR) -C modules/linux/vmblock clean + $(MAKE) OVT_SOURCE_DIR=$(OVT_SOURCE_DIR) -C modules/linux/vmci clean + rm -f modules/linux/vmhgfs/Module.symvers + $(MAKE) OVT_SOURCE_DIR=$(OVT_SOURCE_DIR) -C modules/linux/vmhgfs clean + $(MAKE) OVT_SOURCE_DIR=$(OVT_SOURCE_DIR) -C modules/linux/vmsync clean + $(MAKE) OVT_SOURCE_DIR=$(OVT_SOURCE_DIR) -C modules/linux/vmxnet clean + rm -f modules/linux/vsock/Module.symvers + $(MAKE) OVT_SOURCE_DIR=$(OVT_SOURCE_DIR) -C modules/linux/vsock clean + +distclean: clean --- open-vm-tools-2011.03.28-387002.orig/debian/local/xautostart.conf +++ open-vm-tools-2011.03.28-387002/debian/local/xautostart.conf @@ -0,0 +1,7 @@ +gnome-panel +gnome-session +ksmserver +startkde +kwrapper +panel +xfce4-panel --- open-vm-tools-2011.03.28-387002.orig/debian/local/vmxnet.hook +++ open-vm-tools-2011.03.28-387002/debian/local/vmxnet.hook @@ -0,0 +1,34 @@ +#!/bin/sh + +# initramfs hook for vmxnet (open-vm-tools) + +set -e + +# initramfs-tools header + +PREREQ="" + +prereqs() +{ + echo "${PREREQ}" +} + +case "${1}" in + prereqs) + prereqs + exit 0 + ;; +esac + +. /usr/share/initramfs-tools/hook-functions + +# vmxnet hook + +# If pcnet32 is installed in the initrd, also install vmxnet. Together with the +# modprobe configuration, we can ensure that vmxnet is always preferred over +# pcnet32. + +if [ -e "${DESTDIR}"/lib/modules/*/kernel/drivers/net/pcnet32.ko ] +then + manual_add_modules vmxnet +fi --- open-vm-tools-2011.03.28-387002.orig/debian/local/tools.conf +++ open-vm-tools-2011.03.28-387002/debian/local/tools.conf @@ -0,0 +1 @@ +bindir = "/usr/bin" --- open-vm-tools-2011.03.28-387002.orig/debian/patches/series +++ open-vm-tools-2011.03.28-387002/debian/patches/series @@ -0,0 +1 @@ +01-kvers.patch --- open-vm-tools-2011.03.28-387002.orig/debian/patches/01-kvers.patch +++ open-vm-tools-2011.03.28-387002/debian/patches/01-kvers.patch @@ -0,0 +1,81 @@ +Author: Cyril Brulebois +Description: Replacing uname call with KVERS, overwriting seemed not to work. + +Index: open-vm-tools-2010.06.16-268169/modules/linux/vmblock/Makefile +=================================================================== +--- open-vm-tools-2010.06.16-268169.orig/modules/linux/vmblock/Makefile 2011-03-08 17:11:48.701605582 -0600 ++++ open-vm-tools-2010.06.16-268169/modules/linux/vmblock/Makefile 2011-03-08 17:11:50.821605582 -0600 +@@ -43,7 +43,7 @@ + endif + + +-VM_UNAME = $(shell uname -r) ++VM_UNAME = $(KVERS) + + # Header directory for the running kernel + ifdef LINUXINCLUDE +Index: open-vm-tools-2010.06.16-268169/modules/linux/vmci/Makefile +=================================================================== +--- open-vm-tools-2010.06.16-268169.orig/modules/linux/vmci/Makefile 2011-03-08 17:11:48.721605582 -0600 ++++ open-vm-tools-2010.06.16-268169/modules/linux/vmci/Makefile 2011-03-08 17:11:50.841605582 -0600 +@@ -43,7 +43,7 @@ + endif + + +-VM_UNAME = $(shell uname -r) ++VM_UNAME = $(KVERS) + + # Header directory for the running kernel + ifdef LINUXINCLUDE +Index: open-vm-tools-2010.06.16-268169/modules/linux/vmhgfs/Makefile +=================================================================== +--- open-vm-tools-2010.06.16-268169.orig/modules/linux/vmhgfs/Makefile 2011-03-08 17:11:48.741605582 -0600 ++++ open-vm-tools-2010.06.16-268169/modules/linux/vmhgfs/Makefile 2011-03-08 17:11:50.861605582 -0600 +@@ -43,7 +43,7 @@ + endif + + +-VM_UNAME = $(shell uname -r) ++VM_UNAME = $(KVERS) + + # Header directory for the running kernel + ifdef LINUXINCLUDE +Index: open-vm-tools-2010.06.16-268169/modules/linux/vmsync/Makefile +=================================================================== +--- open-vm-tools-2010.06.16-268169.orig/modules/linux/vmsync/Makefile 2011-03-08 17:11:48.761605582 -0600 ++++ open-vm-tools-2010.06.16-268169/modules/linux/vmsync/Makefile 2011-03-08 17:11:50.891605582 -0600 +@@ -43,7 +43,7 @@ + endif + + +-VM_UNAME = $(shell uname -r) ++VM_UNAME = $(KVERS) + + # Header directory for the running kernel + ifdef LINUXINCLUDE +Index: open-vm-tools-2010.06.16-268169/modules/linux/vmxnet/Makefile +=================================================================== +--- open-vm-tools-2010.06.16-268169.orig/modules/linux/vmxnet/Makefile 2011-03-08 17:11:48.781605582 -0600 ++++ open-vm-tools-2010.06.16-268169/modules/linux/vmxnet/Makefile 2011-03-08 17:11:50.931605582 -0600 +@@ -43,7 +43,7 @@ + endif + + +-VM_UNAME = $(shell uname -r) ++VM_UNAME = $(KVERS) + + # Header directory for the running kernel + ifdef LINUXINCLUDE +Index: open-vm-tools-2010.06.16-268169/modules/linux/vsock/Makefile +=================================================================== +--- open-vm-tools-2010.06.16-268169.orig/modules/linux/vsock/Makefile 2011-03-08 17:11:48.811605582 -0600 ++++ open-vm-tools-2010.06.16-268169/modules/linux/vsock/Makefile 2011-03-08 17:11:50.961605582 -0600 +@@ -43,7 +43,7 @@ + endif + + +-VM_UNAME = $(shell uname -r) ++VM_UNAME = $(KVERS) + + # Header directory for the running kernel + ifdef LINUXINCLUDE --- open-vm-tools-2011.03.28-387002.orig/debian/source/format +++ open-vm-tools-2011.03.28-387002/debian/source/format @@ -0,0 +1 @@ +1.0