From 06a660570572c7c2ee3d4e14c7ebe78ad2d274895e34a3c70794ac08ff69e6e6 Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Mon, 10 Aug 2009 16:23:51 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/open-vm-tools?expand=0&rev=11 --- open-vm-tools-2009.05.22-167859.tar.bz2 | 3 - open-vm-tools-2009.05.22-rpmlintrc | 3 - open-vm-tools-2009.07.22-179896.tar.bz2 | 3 + open-vm-tools-rpath.patch | 28 -- open-vm-tools-wiperPosix.patch | 20 -- open-vm-tools.changes | 47 +++ open-vm-tools.spec | 407 +++--------------------- vmtoolsd | 10 +- 8 files changed, 96 insertions(+), 425 deletions(-) delete mode 100644 open-vm-tools-2009.05.22-167859.tar.bz2 delete mode 100644 open-vm-tools-2009.05.22-rpmlintrc create mode 100644 open-vm-tools-2009.07.22-179896.tar.bz2 delete mode 100644 open-vm-tools-rpath.patch delete mode 100644 open-vm-tools-wiperPosix.patch diff --git a/open-vm-tools-2009.05.22-167859.tar.bz2 b/open-vm-tools-2009.05.22-167859.tar.bz2 deleted file mode 100644 index b40c9f0..0000000 --- a/open-vm-tools-2009.05.22-167859.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:4c25e5c880a10f751b5d9f8c1c5ad9c5da4cac5db562645cceb35843b4dccd9c -size 2335379 diff --git a/open-vm-tools-2009.05.22-rpmlintrc b/open-vm-tools-2009.05.22-rpmlintrc deleted file mode 100644 index 64b5d9f..0000000 --- a/open-vm-tools-2009.05.22-rpmlintrc +++ /dev/null @@ -1,3 +0,0 @@ -addFilter(".*shlib-policy-name-error.*libguestlib0.*") -addFilter(".*permissions-unauthorized-file.*/etc/permissions.d/open-vm-tools.*") -addFilter(".*devel-file-in-non-devel-package.*/libguestlib.so.*") diff --git a/open-vm-tools-2009.07.22-179896.tar.bz2 b/open-vm-tools-2009.07.22-179896.tar.bz2 new file mode 100644 index 0000000..de70360 --- /dev/null +++ b/open-vm-tools-2009.07.22-179896.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:37bcc0ee089fddbbbb3cef5d0a889eff1ea7e3df759c3e7ca9b0152e61d92dc9 +size 2377499 diff --git a/open-vm-tools-rpath.patch b/open-vm-tools-rpath.patch deleted file mode 100644 index 4cbf10a..0000000 --- a/open-vm-tools-rpath.patch +++ /dev/null @@ -1,28 +0,0 @@ -diff -ur open-vm-tools-2009.05.22-167859/services/plugins/hgfsServer/Makefile.am open-vm-tools-2009.05.22-167859.patched//services/plugins/hgfsServer/Makefile.am ---- open-vm-tools-2009.05.22-167859/services/plugins/hgfsServer/Makefile.am 2009-05-22 09:00:44.000000000 +0200 -+++ open-vm-tools-2009.05.22-167859.patched//services/plugins/hgfsServer/Makefile.am 2009-05-23 13:18:18.000000000 +0200 -@@ -33,8 +33,8 @@ - libhgfsServer_la_SOURCES += hgfsPlugin.c - - if HAVE_X11 --install-exec-local: -+install-data-hook: - mkdir -p $(DESTDIR)$(VMUSR_PLUGIN_INSTALLDIR) -- cp -L $(builddir)/.libs/libhgfsServer.so $(DESTDIR)$(VMUSR_PLUGIN_INSTALLDIR) -+ cp $(DESTDIR)$(VMSVC_PLUGIN_INSTALLDIR)/libhgfsServer.so $(DESTDIR)$(VMUSR_PLUGIN_INSTALLDIR) - endif - -diff -ur open-vm-tools-2009.05.22-167859/services/plugins/vix/Makefile.am open-vm-tools-2009.05.22-167859.patched//services/plugins/vix/Makefile.am ---- open-vm-tools-2009.05.22-167859/services/plugins/vix/Makefile.am 2009-05-22 09:00:44.000000000 +0200 -+++ open-vm-tools-2009.05.22-167859.patched//services/plugins/vix/Makefile.am 2009-05-23 13:08:29.000000000 +0200 -@@ -38,8 +38,8 @@ - libvix_la_SOURCES += $(top_srcdir)/lib/vixTools/vixTools.c - - if HAVE_X11 --install-exec-local: -+install-data-hook: - mkdir -p $(DESTDIR)$(VMUSR_PLUGIN_INSTALLDIR) -- cp -L $(builddir)/.libs/libvix.so $(DESTDIR)$(VMUSR_PLUGIN_INSTALLDIR) -+ cp $(DESTDIR)$(VMSVC_PLUGIN_INSTALLDIR)/libvix.so $(DESTDIR)$(VMUSR_PLUGIN_INSTALLDIR) - endif - diff --git a/open-vm-tools-wiperPosix.patch b/open-vm-tools-wiperPosix.patch deleted file mode 100644 index 6d3f645..0000000 --- a/open-vm-tools-wiperPosix.patch +++ /dev/null @@ -1,20 +0,0 @@ -diff -ur open-vm-tools-2009.05.22-167859/lib/wiper/wiperPosix.c open-vm-tools-2009.05.22-167859.patched//lib/wiper/wiperPosix.c ---- open-vm-tools-2009.05.22-167859/lib/wiper/wiperPosix.c 2009-05-22 09:01:33.000000000 +0200 -+++ open-vm-tools-2009.05.22-167859.patched//lib/wiper/wiperPosix.c 2009-05-23 10:15:47.000000000 +0200 -@@ -1000,6 +1000,7 @@ - FILE *fp; - int deviceNum; - char deviceName[256]; -+ char *consumer; - - dmNumEntries = 0; - fp = Posix_Fopen("/proc/devices", "r"); -@@ -1013,7 +1014,7 @@ - } - } - } else { -- fgets(deviceName, sizeof deviceName, fp); -+ consumer = fgets(deviceName, sizeof deviceName, fp); - } - } - diff --git a/open-vm-tools.changes b/open-vm-tools.changes index bd89f9a..b5ec952 100644 --- a/open-vm-tools.changes +++ b/open-vm-tools.changes @@ -1,3 +1,50 @@ +------------------------------------------------------------------- +Sat Aug 8 13:31:49 CEST 2009 - dominique-obs@leuenberger.net + +- move libguestlib.so to the devel pakage, which we have since + version 2009.07.22 and remove the rpmlint check for it. +- Remove the autoreconf call. We do not patch any Makefiles anymore. +- Require libvmtools0 from the -devel package. +- Drop the rpmlintrc file. Permissions are correctyl set, devel + package split out. + +------------------------------------------------------------------- +Thu Aug 6 16:43:54 CEST 2009 - meissner@suse.de + +- Adjust specfile permission handling to match SUSE standard, snippet + moved to permissions package. bnc#474285 + +------------------------------------------------------------------- +Thu Jul 23 11:35:10 CEST 2009 - dominique-obs@leuenberger.net + +- Update to 2009.07.22 + * Better support for dkms by means of a script to help create a + dkms tree. + * "make install" now also installs header files for public + libraries, plus a few fixes to incorrect install behavior. + * Lots of improvements to the new DnD code. + * This will be the last release with support for Linux + kernels < 2.6.9. +- fix compatibiliy update script to redirect stderr to /dev/null + (in case the script is not found, do not scare the user) + +------------------------------------------------------------------- +Tue Jul 21 12:19:11 CEST 2009 - prusnak@suse.cz + +- added || : to modprobe -r and umount calls in vmtoolsd [bnc#523342] + +------------------------------------------------------------------- +Fri Jun 19 08:55:36 CEST 2009 - dominique-obs@leuenberger.net + +- Updated to 2009.06.18 + * Mostly a bug fix release. + * vmhgfs now is able to use vsock as a transport (although + backend support for HGFS over vsock is not yet released in + VMware products). +- Removed patch open-vm-tools-wiperPosix.patch. An alternative + solution was integrated upstream +- Dropped patch open-vm-tools-rpath.patch: merged upstream + ------------------------------------------------------------------- Sat May 23 09:38:07 CEST 2009 - dominique-obs@leuenberger.net diff --git a/open-vm-tools.spec b/open-vm-tools.spec index 5f9ab73..e7c148f 100644 --- a/open-vm-tools.spec +++ b/open-vm-tools.spec @@ -1,5 +1,5 @@ # -# spec file for package open-vm-tools (Version 2009.05.22) +# spec file for package open-vm-tools (Version 2009.07.22) # # Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. # @@ -22,11 +22,11 @@ Name: open-vm-tools Group: System/Emulators/PC Summary: Open Virtual Machine Tools -Version: 2009.05.22 +Version: 2009.07.22 Release: 1 -%define svn_rev 167859 +%define svn_rev 179896 Url: http://open-vm-tools.sourceforge.net/ -License: BSD 3-Clause; GPL v2 only; LGPL v2.1 only +License: BSD 3-clause (or similar) ; GPL v2 only ; LGPL v2.1 only Source: %{name}-%{version}-%{svn_rev}.tar.bz2 Source1: vmtoolsd Source2: vmware-user-autostart.desktop @@ -34,9 +34,6 @@ Source3: vmware-toolbox.desktop Source4: open-vm-tools.permissions Source5: vmware-user-autostart-wrapper Source98: preamble -Source99: %{name}-%{version}-rpmlintrc -Patch0: %{name}-wiperPosix.patch -Patch1: %{name}-rpath.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: gcc-c++ BuildRequires: kernel-source @@ -94,8 +91,8 @@ Authors: The VMware Guest Components Team %package -n vmware-guest-KMP -License: BSD 3-Clause; GPL v2 only; LGPL v2.1 only -Summary: Open Virtual Machine Tools +License: BSD 3-clause (or similar) ; GPL v2 only ; LGPL v2.1 only +Summary: Open Virtual Machine Tools - for VM GUESTS Group: System/Emulators/PC %description -n vmware-guest-KMP @@ -129,7 +126,7 @@ Authors: The VMware Guest Components Team %package gui -License: BSD 3-Clause; GPL v2 only; LGPL v2.1 only +License: BSD 3-clause (or similar) ; GPL v2 only ; LGPL v2.1 only Summary: Open Virtual Machine Tools - GUI Group: System/Emulators/PC Requires: open-vm-tools @@ -145,33 +142,13 @@ Authors: The VMware Guest Components Team %package -n libvmtools0 -License: BSD 3-Clause; GPL v2 only; LGPL v2.1 only -Summary: Open Virtual Machine Tools -Group: System/Emulators/PC +License: BSD 3-clause (or similar) ; GPL v2 only ; LGPL v2.1 only +Summary: Open Virtual Machine Tools - shared library +Group: System/Libraries %description -n libvmtools0 -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. - -With the Open Virtual Machine Tools project, we are hoping to solve -this and other related problems. 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 +This is a shared library used by several Open VM Tools components, +such as vmware-toolbox-cmd and vmtoolsd (and its plugins). @@ -179,16 +156,30 @@ Authors: -------- The VMware Guest Components Team + +%package -n libvmtools-devel +License: BSD 3-clause (or similar) ; GPL v2 only ; LGPL v2.1 only +Summary: Open Virtual Machine Tools - Development headers +Group: Development +Requires: libvmtools0 = %{version} + +%description -n libvmtools-devel +Those are the development headers for libvmtools. They are needed +if you intend to create own plugins for vmtoolsd. + +Authors: +-------- + The VMware Guest Components Team + + + %prep %setup -q -n %{name}-%{version}-%{svn_rev} -%patch0 -p1 -%patch1 -p1 chmod -x AUTHORS COPYING ChangeLog NEWS README # fix for an rpmlint warning regarding wrong line feeds sed -i -e "s/\r//" README %build -autoreconf # comments in a continued line seem not to work... shame # --disable-unity : liburiparser was not present before 11.0 %configure \ @@ -234,6 +225,7 @@ chmod u+x $RPM_BUILD_ROOT/lib/modules/*/updates/* %makeinstall # Clean up the *.la files make install put all around find $RPM_BUILD_ROOT -name *.la -exec rm {} \; +rm %{buildroot}%{_datadir}/applications/vmware-user.desktop # install the vmtoolsd init script and also it's rcvmtoolsd softlink install -D -m 0755 %{S:1} $RPM_BUILD_ROOT%{_sysconfdir}/init.d/vmtoolsd ln -sf ../../etc/init.d/vmtoolsd $RPM_BUILD_ROOT%{_sbindir}/rcvmtoolsd @@ -243,10 +235,7 @@ ln -sf ../../etc/init.d/vmtoolsd $RPM_BUILD_ROOT%{_sbindir}/rcvmtoolsd # which checks for /proc/fs/vmblock/dev to appear and then starts vmware-user-suid-wrapper install -D -m 0755 %{S:5} $RPM_BUILD_ROOT%{_bindir}/vmware-user-autostart-wrapper install -D -m 0644 %{S:2} $RPM_BUILD_ROOT%{_sysconfdir}/xdg/autostart/vmware-user-autostart.desktop -# /usr/bin/vmware-user-suid-wrapper requires u+s. This requires a permissions file -install -D -m 0644 %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/permissions.d/%{name} # handle the .destop files for translations -%suse_update_desktop_file vmware-user %suse_update_desktop_file vmware-user-autostart # fix a link pointing to the buildroot for mount.vmhgfs ( cd %{buildroot}/sbin; rm mount.vmhgfs; ln -s ..%{_sbindir}/mount.vmhgfs ) @@ -258,8 +247,8 @@ rm -rf %{buildroot}%{_datadir}/%{name} %run_permissions /sbin/ldconfig %{fillup_and_insserv -Y vmtoolsd} -%verifyscript -%verify_permissions -e /sbin/mount.vmhgfs +%verifyscript gui +%verify_permissions %post gui %run_permissions @@ -270,7 +259,7 @@ test -n "$FIRST_ARG" || FIRST_ARG=$1 if test "$FIRST_ARG" -ge 1 ; then test -f /etc/sysconfig/services && . /etc/sysconfig/services if test "$YAST_IS_RUNNING" != "instsys" ; then - /etc/init.d/vmware-guestd stop > /dev/null || : + /etc/init.d/vmware-guestd stop &> /dev/null || : fi fi %stop_on_removal vmtoolsd @@ -285,7 +274,7 @@ fi %postun -n libvmtools0 -p /sbin/ldconfig %clean -rm -rf $RPM_BUILD_ROOT +rm -rf %{buildroot} %files %defattr(-, root, root) @@ -313,17 +302,15 @@ rm -rf $RPM_BUILD_ROOT %config(noreplace) %{_sysconfdir}/pam.d/vmtoolsd %{_sysconfdir}/vmware-tools %{_sysconfdir}/init.d/vmtoolsd -%{_sysconfdir}/permissions.d/%{name} %{_sbindir}/rcvmtoolsd %exclude %{_libdir}/*.so %files gui %defattr(-, root, root) -%{_datadir}/applications/vmware-user.desktop %{_sysconfdir}/xdg/autostart/vmware-user-autostart.desktop %{_bindir}/vmware-toolbox %{_bindir}/vmware-user -%{_bindir}/vmware-user-suid-wrapper +%verify(not mode) %attr(0755,root,root) %{_bindir}/vmware-user-suid-wrapper %{_bindir}/vmware-user-autostart-wrapper %{_libdir}/%{name}/plugins/vmusr/libresolutionSet.so %{_libdir}/%{name}/plugins/vmusr/libvixUser.so @@ -333,322 +320,10 @@ rm -rf $RPM_BUILD_ROOT %{_libdir}/libvmtools.so.* %{_libdir}/libguestlib.so.* +%files -n libvmtools-devel +%defattr(-,root,root) +%{_includedir}/vmGuestLib +%{_libdir}/*.so +%{_libdir}/pkgconfig/vmguestlib.pc + %changelog -* Sat May 23 2009 dominique-obs@leuenberger.net -- Updated to 2009.05.22 - * Mostly a cleanup and bug fix release. - * Fix a build issue where a symlink attack could cause the - open-vm-tools build to overwrite data (by placing a symlink in - /tmp). - * Second (and last?) batch of changes to clean up duplicate files - in the source tree, including Solaris and FreeBSD kernel - modules andother module-specific shared files. - * Plugins now are properly built using plugins_LTLIBRARIES so - that "-rpath" doesn't need to be used (this would cause an - RPATH entry to be added to the final binary, which some tools - didn't like). - * open-vm-tools now properly detects PAM and enables PAM support - in the code. -- Removed -rpath.patch. Variation of it integrated upstream -- Added patch to consume (-wiperPosix.patch) the result of fgets -- BuildRequires pam-devel -- The pam miss-naming on x86_64 has been fixed upstream -- Add a new -rpath patch. Not everything is solved upstream. -- Delete arch dependent files from /usr/share (not yet needed) -* Sat Apr 25 2009 dominique.leuenberger@tmf-group.com -- Upgrade to snapshot 2009.04.23 - * Implemented copy & paste support for RTF data and file contents. - * guestd has been removed from open-vm-tools; vmtoolsd is now the only - option for the main tools service. - * Added vmblock and vmmemctl modules for Solaris (under the CDDL). - * vmware-user can now work with both vmblock-fuse and vmblock. - * Linux HGFS now has a stream-based (TCP, vsock) transport, still under - development. - * First batch of changes to cleanup duplicated files in the source tree. - Most duplicated files in the Linux kernel modules have been cleaned up. -- Extensive rewrite of the spec file: - * make use of the now upstream provided make install - * configure --no-root-privileges, to not install mount.vmhgfs as suid -- Add patch open-vm-tools-2009.04.23-rpath.diff: removes the rpath logic - which was introduced for the vmusr and vmsvc plugins. libtools is broken - in this respect. (patch submitted upstream for review) -- Extend preun section with service rename (vmware-guest -> vmtoolsd) - (patch provided by prusnak) -- forcibly activate vmtoolsd service also on update. -- fix up the KMP rename: for this to work we need to provide / obsolete - vmware-kmp and vmware-kmp-; otherwise, zypper starts pulling - in other kernels. -* Sat Mar 21 2009 dominique@leuenberger.net -- rename vmware-KMP to vmware-guest-KMP for easier identification - of the use and to avoid confusion (users installing the KMP on the - vmware hosts) (bnc#481137) -- create subpackage libvmtools0 -* Thu Mar 19 2009 dominique@leuenberger.net -- Upgrade to snapshot 2009.03.18 - * Mostly a bug fix release. - * The new DnD V3 protocol is now available in open-vm-tools. - * vmtoolsd is now preferred instead of vmware-guestd - - vmware-guestd will most probably be completely removed in the next release. - -> vmtoolsd is not yet standard enabled in openSUSE packages. -- Obsolete merged patches vmxnet and vmxnet3.patch. -* Mon Mar 09 2009 mmarek@suse.cz -- renamed modprobe config to /etc/modprobe.d/50-vmnics.conf - (required by new module-init-tools). -* Thu Feb 19 2009 dominique@leuenberger.net -- Upgrade to snapshot 2009.02.18 - * open-vm-tools now depend on glib 2.6.0 as a minimum requirement. - * Added vmxnet module for Solaris, and reworked the HGFS module so it - works without help from vmware-guestd. - * Added implementation of new DnD protocol, which adds a dependency on - a C++ compiler and the gtkmm library to vmware-user. - * The code from the "core services" has been added to open-vm-tools, - including a few tests. vmtoolsd + plugins are now capable of replacing - vmware-guestd (vmware-user still needs to have some features ported - over), but this code is still not to be considered as stable as the - legacy services, so vmware-guestd is still included. - * A few fixes for compatibility with non-GNU toolchains, newer Linux - kernels and old gcc compilers. -- Added patch open-vm-tools-2009.02.18-vmxnet.patch - Allows to compile kernelmodule vmxnet with kernels 2.6.29 - And open-vm-tools02009.02.18-vmxnet3.patch -* Mon Feb 16 2009 dominique@leuenberger.net -- Remove noDisplay=true from vmware-user.desktop, as KDE4 - does not autostart the app in this case. Fixes BNC #475627 -* Thu Feb 12 2009 dominique@leuenberger.net -- Added vmware-user-autostart-wrapper to solve bnc #474076 - Using simple autostart technique, it can happen that the device - at /proc/fs/vmblock/dev is not ready when vmware-user is started - the autostart-wrapper takes this into account and tries for - several times. -- Fix RPMLint warning with regarding wrong encoding of README file -* Wed Feb 11 2009 dominique@leuenberger.net -- Revert suid install of vmware-user-suid-wrapper, as rpmlint does - not like it - Instead we package /etc/permissions.d/open-vm-tools which sets - the permission usig SuSEconfig.permissions -- Adjust the vmware-user.desktop file to actually launch - vmware-user-suid-wrapper. Access to the vmblock requires su right. - the suid-wrapper get's the file handle, drops the suid rights - and launches vmware-user (with user privileges) -* Tue Feb 10 2009 prusnak@suse.cz -- install vmware-user-suid-wrapper with suid bit -* Mon Jan 26 2009 prusnak@suse.cz -- reviewed changes by Dominique -* Thu Jan 22 2009 dominique@leuenberger.net -- Update to version 2009.01.21 - * First open source release of the HGFS module for Solaris, - under the CDDL. Other modules are expected to be added in - the upcoming releases. - * Added an implementation of vmblock on top of FUSE; - vmware-user still doesn't use this module even if it is - available, though. - * Linux modules now add the "supported" tag used by Novell in - their SLES 10 SP2 release when loading modules. - * Fix compilation of modules in newer Linux kernels which - don't include $(LINUXINCLUDE) in the compiler flags anymore. -- Added Requires: kernel-%%1 to preamble, as rpmlint said it would - be policy to require kenrel-$favour from the kmp -- marked config files in /etc as %%config (rpmlint) -* Fri Jan 16 2009 prusnak@suse.cz -- reviewed changes by Dominique -* Thu Dec 25 2008 dominique@leuenberger.net -- Update to version 2008.12.23 - * Lots of makefile cleanup with the switch to using libtool archives. - * Automatically disable Unity if multimon support is disabled. - * Actually build the pvscsi modules. - * First bits of the "Core Service" project are starting to show up; the - base "vmtools" library was added to the package. It currently is mostly - a collection of the existing libraries already shipped with open-vm-tools, - plus some extra functionality build on top of glib. Currently no other - code in open-vm-tools uses it, so it's optional. - * The HGFS driver was fixed for the Linux 2.6.28 kernel. -* Wed Nov 19 2008 dominique@leuenberger.net -- Updated to version 2008.11.19 - * The pvscsi Linux kernel module has been added (for kernels >= 2.6.8). - It provides access to VMware's new paravirtualized SCSI device. - * The HGFS driver and user-level code has seen a lot of refactoring to - enable more consistent name escaping. The FreeBSD driver now supports - symlinks. - * The Linux module makefiles now support exporting symbol version files, - allowing modules with dependencies (such as vsock, which depends on vmci) - to correctly build and load on Linux >= 2.6.26 with CONFIG_MODVERSIONS. - * Rudimentary support for dkms. - * Assortment of bug fixes. -* Wed Oct 15 2008 dominique@leuenberger.net -- Updated to version 2008.10.10 - * The vmxnet3 Linux kernel module has been added. This module provides - better network performance for the guest. The corresponding virtual - hardware is available beginning with Workstation 6.5, though - performance benefits are unlikely to be realized until a later VMware - product release. The module should work for all kernels beginning with - 2.6. - * The open-vm-tools no longer depend on libproc-dev. Several people - reported this issue (Sourceforge bug 1960947). - * Added a command line argument to skip privileged operations during - make install (--without-root-privileges). - * Guestd now supports backwards time synchronization, though the - corresponding hypervisor-side changes are not yet part of any shipping - VMware products. - * Assortment of bug fixes. -* Wed Sep 17 2008 prusnak@suse.cz -- fixed license problem with region.c by applying patch from upstream -* Mon Sep 08 2008 dominique@leuenberger.net -- Removed patch kver.patch, refactored it's function in the - make call, overriding the HEADER_DIR variable inside the - Makefile (Tip sponsored by Adar from VMware Inc.) -* Thu Sep 04 2008 prusnak@suse.cz -- reviewed changes by Dominique -* Wed Sep 03 2008 dominique@leuenberger.net -- Activated compilation of modules vmci and vsock after fixing the - kver.patch -- dropped obsoleted patch: - * str_c.patch (included in update) -* Wed Sep 03 2008 prusnak@suse.cz -- updated to 2008-09-03 - * Fixed an issue where open-vm-tools fails to configure when using - --without-icu. Thanks to Timo Gurr for reporting the issue - (Sourceforge bug 2046262). - * Fixed failed build on Ubuntu Intrepid and Fedora 9. - Thanks to Nathan Charles for reporting the issue - (Sourceforge bug 2048423). - * Fixed kernel module build issues on 2.6.27 pre-release kernels. - Thanks to Dominique Leuenberger for reporting the issue - (Sourceforge bug 2071170). - * ...and other bug fixes. -- dropped obsoleted patches: - * 2.6.27-kernel.patch (included in update) - * fix-Werror.patch (included in update) -* Sun Aug 24 2008 dominique@leuenberger.net -- Added open-vm-tools-2008-08-08-2.6.27-kernel.patch to compile on - more recent kernels (patch should be merged in next release) -* Fri Aug 22 2008 dominique@leuenberger.net -- added packageand(open-vm-tools:xorg-x11) to Supplements - of open-vm-tools-gui sub package -* Fri Aug 22 2008 dominique@leuenberger.net -- Re-arranged comments for the configure line. Apparently, comments - that appear in a line continuing on the next line, split using '\' - break the flow -* Wed Aug 20 2008 dominique@leuenberger.net -- Added --without-kernel-modules to configure, as we take - care of it on ourself using the loop, for the different - kernel variants -* Tue Aug 12 2008 prusnak@suse.cz -- updated to 2008.08.08 - * Unity for X11 guests has been added. Unity is implemented within - vmware-user and requires no additional setup beyond setting up the - vmware-user application itself. Unity should work with Fusion 1.x - releases as well as with the upcoming Workstation 6.5 release. Our - in-house testing was with Linux guests, and they should mostly work. - There is very little standing in the way of FreeBSD/Solaris support, - though we've never built or tested Unity for those platforms. - * The VMCI Linux kernel module has been added. This module provides - high-speed datagram and socket interfaces for guest<->guest and - host<->guest communication. It should work for all kernels beginning - with 2.4, and for VMware products beginning with Workstation 6.5. - * The VMCI sockets Linux kernel module has been added. It provides - both datagram and stream socket interfaces to userlevel for use with - VMCI. As with VMCI, it should work for kernels 2.4 or later, and for - VMware products beginning with Workstation 6.5. - * The command-line Toolbox has been added. This application provides - the same functionality as the GTK Toolbox, but with a scriptable - command-line interface. It also has some statistic retrieval commands - that aren't found in the GTK Toolbox. - * Fixed compilation of vmsync and vmmemctl Linux kernel modules on - 2.6.26. Thanks to Pavol Rusnak for the report (Sourceforge bug 2032683). - * Fixed an issue with guestd's nicInfo updating mechanism. Thanks to - Jason Lunz for the patch (not tracked on Sourceforge). - * Fixed handling of $(DESTDIR) in automake. Thanks to Mike Auty for - the patch (Sourceforge bug 2018802). - * Fixed build of vmware-user using gtk 1.2. Thanks to Stephen Duncan - for the report (Sourceforge bug 2014338). - * Fixed compilation of lib/guestApp when using --without-x. Thanks to - Martin Preishuber for the report (Sourceforge bug 2013568). - * As usual, other bug fixes. -* Mon Jul 21 2008 prusnak@suse.cz -- updated to 2008.07.01: - * fixed a backwards time synchronization issue - * fixed an issue where open-vm-tools configured via --without-x didn't - compile (not tracked on Sourceforge) - * one can now pass --without-kernel-modules, --with-kernel-release, and - --with-linuxdir to the ./configure script - * other bug fixes. -- branched open-vm-tools-gui subpackage with tools that need X -* Thu Jun 12 2008 prusnak@suse.cz -- open-vm-tools now requires vmware-kmp [bnc#397972] -- exclude AMD PCnet32 LANCE pci.id from Supplements list [bnc#397554] -* Mon Jun 09 2008 dominique-obs@leuenberger.net -- Updated to version 2008.06.03 - adopted spec file to new build structure layout (the binaries - are now named correctly just after build and do not need to - be renamed anymore) -- Replaced -werror patch with -fix-Werror-patch (submitted to - VMware for inclusion) -* Mon Jun 02 2008 prusnak@suse.cz -- updated vmware init-script [bnc#394431]: - * check whether /tmp/VMwareDnD exists and create it if necessary - * use modules vmblock, vmmemctl, vmsync for better performance - * mount the virtual system for Drag'n'Drop -* Wed May 28 2008 dominique-rpm@leuenberger.net -- Excluded the building of KMPs for XEN, probably nobody installs - a vmware host in xen. -* Thu May 22 2008 prusnak@suse.cz -- added Recommends: open-vm-tools to KMP preamble [bnc#391434] -- added -y to %%fillup_and_insserv macro, so the service starts - automatically [bnc#391434] -* Tue May 20 2008 dominique-rpm@leuenberger.net -- replaced %%build section with the one from openSUSE internal - stable build, for building properly against all buildtargets -* Tue May 20 2008 dominique-rpm@leuenberger.net -- Added preamble for %%suse_kernel_module_package in order to have - a Recommends: open-vm-tools on the kmp. - The KMP is installed by Supplements: the hardware ID, and the KMP - then pulls in the open-vm-tools package by Recommends (if available) -* Wed May 07 2008 dominique-rpm@leuenberger.net -- Updated to 2008.05.15: - * Removed "blessed app" code for starting vmware-user - * lib/file/filePosix.c: Use new Posix_RealPath implementation. - * Cleanup UTF-8 handling. -- Added patch open-vm-tools-2008.05.02-str.c that should solve - compilation with FORTIFY_SOURCE enabled -* Tue May 06 2008 prusnak@suse.cz -- updated to 2008.05.02: - * continued Unicode support - * open-vm-tools now depends on libicu for codeset conversions - * a few more bug fixes -* Mon Apr 28 2008 ro@suse.de -- tweak build section long enough to really build modules - matching to kernel flavour (and not just build all for -default) - (bnc#384192) -* Thu Apr 24 2008 ro@suse.de -- added vmware-KMP package and description tags to specfile -- added preable file for kmp packages -* Wed Apr 23 2008 prusnak@suse.cz -- fixed %%verifyscript -* Tue Apr 22 2008 prusnak@suse.cz -- updated to 2008.04.14 - * continued Unicode support - * more bug fixes, including a security fix in guestd -- added permissions scripts to %%post section -* Tue Mar 25 2008 dominique-rpm@leuenberger.net -- updated to 2008.03.19 -* Thu Mar 20 2008 prusnak@suse.cz -- add Supplements to automatically install in VMware -* Tue Mar 18 2008 prusnak@suse.cz -- first autobuild checkin -- turn off -Werror (werror.patch) -- reworked spec file -* Fri Mar 14 2008 dominique-rpm@leuenberger.net -- updated to 2008.03.11 - (developer snapshot to support all modules on 2.6.25 kernels) -* Tue Mar 11 2008 dominique-rpm@leuenberger.net -- updated to 2008.03.10 - (developer snapshot to support kernel version 2.6.25-rc1) -* Sun Mar 09 2008 dominique-rpm@leuenberger.net -- refactored open-vm-tools-kver.patch to detect the kernel source - correctly -* Sat Mar 08 2008 dominique-rpm@leuenberger.net -- create link from /sbin/rcvmware to /etc/init.d/vmware-guest -- autostart the service after installation -* Sat Mar 08 2008 dominique-rpm@leuenberger.net -- initial build of open-vm-tools -- builds kmps and open-vm-tools diff --git a/vmtoolsd b/vmtoolsd index 7cac838..c00fccc 100644 --- a/vmtoolsd +++ b/vmtoolsd @@ -64,7 +64,7 @@ case "$1" in start) echo -n "Starting vmtoolsd " if [ ! -d /tmp/VMwareDnD ]; then - mkdir -m 1777 /tmp/VMwareDnD + mkdir -m 1777 /tmp/VMwareDnD fi modprobe vmblock mount -t vmblock none /proc/fs/vmblock/mountPoint @@ -83,10 +83,10 @@ case "$1" in ## killproc sets the return value according to LSB. /sbin/killproc -TERM $VMTOOLSD_BIN - umount /proc/fs/vmblock/mountPoint - modprobe -r vmblock - modprobe -r vmsync - modprobe -r vmmemctl + umount /proc/fs/vmblock/mountPoint || : + modprobe -r vmblock || : + modprobe -r vmsync || : + modprobe -r vmmemctl || : # Remember status and be verbose rc_status -v