OBS User unknown 2009-01-19 01:16:54 +00:00 committed by Git OBS Bridge
parent 5330a6797e
commit 64e970fcfd
6 changed files with 124 additions and 121 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c8bc39d880ef414febe3d9b7e999e4e33d4e645d5058f18ca758de7637970614
size 2156487

View File

@ -1,105 +0,0 @@
--- modules/linux/vmblock/Makefile
+++ modules/linux/vmblock/Makefile
@@ -26,10 +26,10 @@
####
SRCROOT = .
-VM_UNAME = $(shell uname -r)
+VM_UNAME = $(shell uname -i)
# Header directory for the running kernel
-HEADER_DIR = /lib/modules/$(VM_UNAME)/build/include
+HEADER_DIR = /usr/src/linux-obj/$(VM_UNAME)/default/include
BUILD_DIR = $(HEADER_DIR)/..
--- modules/linux/vmhgfs/Makefile
+++ modules/linux/vmhgfs/Makefile
@@ -26,10 +26,10 @@
####
SRCROOT = .
-VM_UNAME = $(shell uname -r)
+VM_UNAME = $(shell uname -i)
# Header directory for the running kernel
-HEADER_DIR = /lib/modules/$(VM_UNAME)/build/include
+HEADER_DIR = /usr/src/linux-obj/$(VM_UNAME)/default/include
BUILD_DIR = $(HEADER_DIR)/..
--- modules/linux/vmmemctl/Makefile
+++ modules/linux/vmmemctl/Makefile
@@ -26,10 +26,10 @@
####
SRCROOT = .
-VM_UNAME = $(shell uname -r)
+VM_UNAME = $(shell uname -i)
# Header directory for the running kernel
-HEADER_DIR = /lib/modules/$(VM_UNAME)/build/include
+HEADER_DIR = /usr/src/linux-obj/$(VM_UNAME)/default/include
BUILD_DIR = $(HEADER_DIR)/..
--- modules/linux/vmsync/Makefile
+++ modules/linux/vmsync/Makefile
@@ -26,10 +26,10 @@
####
SRCROOT = .
-VM_UNAME = $(shell uname -r)
+VM_UNAME = $(shell uname -i)
# Header directory for the running kernel
-HEADER_DIR = /lib/modules/$(VM_UNAME)/build/include
+HEADER_DIR = /usr/src/linux-obj/$(VM_UNAME)/default/include
BUILD_DIR = $(HEADER_DIR)/..
--- modules/linux/vmxnet/Makefile
+++ modules/linux/vmxnet/Makefile
@@ -26,10 +26,10 @@
####
SRCROOT = .
-VM_UNAME = $(shell uname -r)
+VM_UNAME = $(shell uname -i)
# Header directory for the running kernel
-HEADER_DIR = /lib/modules/$(VM_UNAME)/build/include
+HEADER_DIR = /usr/src/linux-obj/$(VM_UNAME)/default/include
BUILD_DIR = $(HEADER_DIR)/..
--- modules/linux/vmci/Makefile
+++ modules/linux/vmci/Makefile
@@ -26,10 +26,10 @@
####
SRCROOT = .
-VM_UNAME = $(shell uname -r)
+VM_UNAME = $(shell uname -i)
# Header directory for the running kernel
-HEADER_DIR = /lib/modules/$(VM_UNAME)/build/include
+HEADER_DIR = /usr/src/linux-obj/$(VM_UNAME)/default/include
BUILD_DIR = $(HEADER_DIR)/..
--- modules/linux/vsock/Makefile
+++ modules/linux/vsock/Makefile
@@ -26,10 +26,10 @@
####
SRCROOT = .
-VM_UNAME = $(shell uname -r)
+VM_UNAME = $(shell uname -i)
# Header directory for the running kernel
-HEADER_DIR = /lib/modules/$(VM_UNAME)/build/include
+HEADER_DIR = /usr/src/linux-obj/$(VM_UNAME)/default/include
BUILD_DIR = $(HEADER_DIR)/..

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2fff9c82374c5ced54d75636e631543859180838145827ac9aeaf3d735dff11e
size 2308234

View File

@ -1,8 +1,68 @@
-------------------------------------------------------------------
Fri Jan 16 14:08:39 CET 2009 - prusnak@suse.cz
- reviewed changes by Dominique
-------------------------------------------------------------------
Thu Dec 25 16:37:00 CEST 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 19:04:00 CEST 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 20:41:00 CEST 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 10:14:00 CEST 2008 - prusnak@suse.cz
- fixed license problem with region.c by applying patch from upstream
-------------------------------------------------------------------
Mon Sep 8 20:41:00 CEST 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 4 11:15:26 CEST 2008 - prusnak@suse.cz

View File

@ -1,7 +1,7 @@
#
# spec file for package open-vm-tools (Version 2008.09.03)
# spec file for package open-vm-tools (Version 2008.12.23)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -22,18 +22,17 @@
Name: open-vm-tools
Group: System/Emulators/PC
Summary: Open Virtual Machine Tools
Version: 2008.09.03
Release: 5
%define svn_rev 114782
Version: 2008.12.23
Release: 1
%define svn_rev 137496
Url: http://open-vm-tools.sourceforge.net/
License: BSD 3-Clause; GPL v2 only; LGPL v2.1 only
Source: %{name}-%{version}-%{svn_rev}licfix.tar.bz2
Source: %{name}-%{version}-%{svn_rev}.tar.bz2
Source1: vmware-guest
Source2: vmware-user.desktop
Source3: vmware-toolbox.desktop
Source4: preamble
Source99: %{name}-%{version}-rpmlintrc
Patch0: %{name}-%{version}-kver.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: gcc-c++
BuildRequires: kernel-source kernel-syms module-init-tools
@ -52,7 +51,7 @@ PreReq: permissions
ExclusiveArch: %ix86 x86_64
Requires: vmware-kmp
Supplements: modalias(pci:v000015ADd*sv*sd*bc*sc*i*)
%define vm_modules vmblock vmhgfs vmmemctl vmsync vmxnet vmci vsock
%define vm_modules vmblock vmhgfs vmmemctl vmsync vmxnet vmci vsock vmxnet3 pvscsi
%suse_kernel_module_package -n vmware -p %{SOURCE4} xen um
%description
@ -139,15 +138,18 @@ Authors:
%debugpackage
%prep
%setup -q -n %{name}-%{version}-%{svn_rev}
%patch0
chmod -x AUTHORS COPYING ChangeLog NEWS README
%build
# liburiparser was not present before 11.0 (--disable-unity)
# comments in a continued line seem not to work... shame
# --disable-unity : liburiparser was not present before 11.0
# --without-gtk2 : gtk2 lib seem to be to old for openSUSE<10.3
%configure \
%if 0%{?suse_version} < 1100
--disable-unity \
%endif
%if 0%{suse_version} < 1020
--without-gtk2 \
%endif
--without-kernel-modules \
--without-procps \
@ -162,7 +164,7 @@ for flavor in %{flavors_to_build}; do
#make modules
for module in %{vm_modules}; do
pushd modules/linux/$module
make -C /usr/src/linux-obj/%{_target_cpu}/$flavor modules M=$PWD VM_CCVER=$(gcc -dumpversion) SRCROOT=$PWD
make -C /usr/src/linux-obj/%{_target_cpu}/$flavor modules M=$PWD VM_CCVER=$(gcc -dumpversion) HEADER_DIR="/usr/src/linux-obj/$(uname -i)/default/include" SRCROOT=$PWD
popd
done
popd
@ -206,6 +208,7 @@ EOF
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/vmware-tools
cat <<EOF > $RPM_BUILD_ROOT%{_sysconfdir}/vmware-tools/tools.conf
bindir = "%{_bindir}"
disable-tools-version = TRUE
EOF
# and also /etc/xdg/autostart/vmware-user.desktop
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/xdg/autostart/
@ -289,8 +292,53 @@ rm -rf $RPM_BUILD_ROOT
%{_sysconfdir}/xdg/autostart/vmware-user.desktop
%changelog
* 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
@ -323,7 +371,7 @@ rm -rf $RPM_BUILD_ROOT
- Re-arranged comments for the configure line. Apparently, comments
that appear in a line continuing on the next line, split using '\'
break the flow
* Thu Aug 21 2008 dominique@leuenberger.net
* 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
@ -414,7 +462,7 @@ rm -rf $RPM_BUILD_ROOT
- 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
* Wed Apr 23 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