~ubuntu-branches/ubuntu/quantal/open-vm-tools/quantal-201210021442

« back to all changes in this revision

Viewing changes to debian/patches/01-kvers.patch

  • Committer: Package Import Robot
  • Author(s): Nate Muench
  • Date: 2012-01-23 16:09:45 UTC
  • mfrom: (1.4.6) (2.4.26 sid)
  • Revision ID: package-import@ubuntu.com-20120123160945-b6s0r1vkcovucpf3
Tags: 2011.12.20-562307-0ubuntu1
* Merge latest upstream git tag. Fixes building on Precise
  (LP: #898289, LP: #905612)

* Items merged from Debian unstable:
  - debian/control:
    + open-vm-tools recommends open-vm-dkms. (LP: #598933)
    + open-vm-tools now suggests open-vm-toolbox. (LP: #604998)
  (From 2011.08.21-471295-1 release)
  - Updating maintainer and uploaders fields.
  - Removing vcs fields.
  - Removing references to Daniel's old email address.
  - Updating years in copyright file.
  - Updating to standards version 3.9.2.
  - Updating to debhelper version 8.
  - Switching to source format 3.0 (quilt).
  - Removing manual chrpath setting.
  - Removing exclusion from plugins from debhelper shlibs.
  - Rediffing kvers.patch.
  (From 2011.09.23-491607-1 release)
  - Marking binary architecture-dependend packages as linux and kfreebsd
  only.
  - Removing liburiparser-dev from build-depends as upstream dropped
  unity support.
  - Building with libproc-dev on amd64 again.
  - Dropping disabling of dnet support.
  (From 2011.09.23-491607-2 release)
  - Adding doxygen to build-depends for api documentation.
  - Adding libcunit1-dev to build-depends for test suites.
  - Minimizing rules file.
  - Adding open-vm-tools-dev package, containing only the api
    documentation for now.
  (From 2011.09.23-491607-3 release)
  - Sorting overrides in rules alphabetically.
  - Compacting copyright file.
  - Adding udev rule to set timeout for vmware scsi devices
  (From 2011.12.20-562307-1 release)
  - Adding patch to correct typo in upstreams dkms configuration

* Remaining Changes:
  - Remove Stable part of version numbering.
  - debian folder:
    + Re-added open-vm-dkms.postinst & open-vm-dkms.prerm.
      * Allows dkms modules to compile upon installation.
  - debian/control:
    + Re-add open-vm-source and make into a transitional package
      for open-vm-toolbox.
    + Return dependancies that were moved to open-vm-tools back to
      open-vm-toolbox.
  - debian/rules and debian/open-vm-toolbox.lintian-overrides:
    + Make vmware-user-suid-wrapper suid-root
  - debian/rules:
    + Added CFLAGS field with -Wno-deprecated-declarations
      * Will suppress issues with glib 2.31 or later.
    + Add line to copy vmware-xdg-detect-de into place.
    + Install vmware-user.desktop through toolbox package.
  - debian/open-vm-tools.init:
    + Re-add 'modprobe [-r] vmblock'.
    + Add 'modprobe [-r] vmxnet'.
      * Incase it's not loaded during boot.
    + Remove and re-add pcnet32 module
      * Will be done before (remove) and after (readd) vmxnet module
        is added.
      * If vmxnet doesn't exist (aka modules fail to build), pcnet32 can be
        still used for network connectivity.
      * Workaround until a better fix can be done.
  - Re-add gnome-session to debian/local/xautostart.conf
  - Manpages removed (from debian/manpages):
    + vmmemctl.9
    + vmxnet3.9
    + Remove references to manpages that have been removed.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
Author: Cyril Brulebois <cyril.brulebois@enst-bretagne.fr>
2
2
Description: Replacing uname call with KVERS, overwriting seemed not to work.
3
3
 
4
 
Index: open-vm-tools-2010.06.16-268169/modules/linux/vmblock/Makefile
5
 
===================================================================
6
 
--- open-vm-tools-2010.06.16-268169.orig/modules/linux/vmblock/Makefile 2011-03-08 17:11:48.701605582 -0600
7
 
+++ open-vm-tools-2010.06.16-268169/modules/linux/vmblock/Makefile      2011-03-08 17:11:50.821605582 -0600
8
 
@@ -43,7 +43,7 @@
9
 
 endif
10
 
 
11
 
 
12
 
-VM_UNAME = $(shell uname -r)
13
 
+VM_UNAME = $(KVERS)
14
 
 
15
 
 # Header directory for the running kernel
16
 
 ifdef LINUXINCLUDE
17
 
Index: open-vm-tools-2010.06.16-268169/modules/linux/vmci/Makefile
18
 
===================================================================
19
 
--- open-vm-tools-2010.06.16-268169.orig/modules/linux/vmci/Makefile    2011-03-08 17:11:48.721605582 -0600
20
 
+++ open-vm-tools-2010.06.16-268169/modules/linux/vmci/Makefile 2011-03-08 17:11:50.841605582 -0600
21
 
@@ -43,7 +43,7 @@
22
 
 endif
23
 
 
24
 
 
25
 
-VM_UNAME = $(shell uname -r)
26
 
+VM_UNAME = $(KVERS)
27
 
 
28
 
 # Header directory for the running kernel
29
 
 ifdef LINUXINCLUDE
30
 
Index: open-vm-tools-2010.06.16-268169/modules/linux/vmhgfs/Makefile
31
 
===================================================================
32
 
--- open-vm-tools-2010.06.16-268169.orig/modules/linux/vmhgfs/Makefile  2011-03-08 17:11:48.741605582 -0600
33
 
+++ open-vm-tools-2010.06.16-268169/modules/linux/vmhgfs/Makefile       2011-03-08 17:11:50.861605582 -0600
34
 
@@ -43,7 +43,7 @@
35
 
 endif
36
 
 
37
 
 
38
 
-VM_UNAME = $(shell uname -r)
39
 
+VM_UNAME = $(KVERS)
40
 
 
41
 
 # Header directory for the running kernel
42
 
 ifdef LINUXINCLUDE
43
 
Index: open-vm-tools-2010.06.16-268169/modules/linux/vmsync/Makefile
44
 
===================================================================
45
 
--- open-vm-tools-2010.06.16-268169.orig/modules/linux/vmsync/Makefile  2011-03-08 17:11:48.761605582 -0600
46
 
+++ open-vm-tools-2010.06.16-268169/modules/linux/vmsync/Makefile       2011-03-08 17:11:50.891605582 -0600
47
 
@@ -43,7 +43,7 @@
48
 
 endif
49
 
 
50
 
 
51
 
-VM_UNAME = $(shell uname -r)
52
 
+VM_UNAME = $(KVERS)
53
 
 
54
 
 # Header directory for the running kernel
55
 
 ifdef LINUXINCLUDE
56
 
Index: open-vm-tools-2010.06.16-268169/modules/linux/vmxnet/Makefile
57
 
===================================================================
58
 
--- open-vm-tools-2010.06.16-268169.orig/modules/linux/vmxnet/Makefile  2011-03-08 17:11:48.781605582 -0600
59
 
+++ open-vm-tools-2010.06.16-268169/modules/linux/vmxnet/Makefile       2011-03-08 17:11:50.931605582 -0600
60
 
@@ -43,7 +43,7 @@
61
 
 endif
62
 
 
63
 
 
64
 
-VM_UNAME = $(shell uname -r)
65
 
+VM_UNAME = $(KVERS)
66
 
 
67
 
 # Header directory for the running kernel
68
 
 ifdef LINUXINCLUDE
69
 
Index: open-vm-tools-2010.06.16-268169/modules/linux/vsock/Makefile
70
 
===================================================================
71
 
--- open-vm-tools-2010.06.16-268169.orig/modules/linux/vsock/Makefile   2011-03-08 17:11:48.811605582 -0600
72
 
+++ open-vm-tools-2010.06.16-268169/modules/linux/vsock/Makefile        2011-03-08 17:11:50.961605582 -0600
73
 
@@ -43,7 +43,7 @@
 
4
diff -Naurp open-vm-tools.orig/modules/linux/vmblock/Makefile open-vm-tools/modules/linux/vmblock/Makefile
 
5
--- open-vm-tools.orig/modules/linux/vmblock/Makefile   2011-08-28 14:17:10.216965523 +0200
 
6
+++ open-vm-tools/modules/linux/vmblock/Makefile        2011-08-28 14:48:23.558254911 +0200
 
7
@@ -43,7 +43,7 @@ INCLUDE      += -I$(SRCROOT)/shared
 
8
 endif
 
9
 
 
10
 
 
11
-VM_UNAME = $(shell uname -r)
 
12
+VM_UNAME = $(KVERS)
 
13
 
 
14
 # Header directory for the running kernel
 
15
 ifdef LINUXINCLUDE
 
16
diff -Naurp open-vm-tools.orig/modules/linux/vmci/Makefile open-vm-tools/modules/linux/vmci/Makefile
 
17
--- open-vm-tools.orig/modules/linux/vmci/Makefile      2011-08-28 14:17:10.216965523 +0200
 
18
+++ open-vm-tools/modules/linux/vmci/Makefile   2011-08-28 14:48:24.586260009 +0200
 
19
@@ -43,7 +43,7 @@ INCLUDE      += -I$(SRCROOT)/shared
 
20
 endif
 
21
 
 
22
 
 
23
-VM_UNAME = $(shell uname -r)
 
24
+VM_UNAME = $(KVERS)
 
25
 
 
26
 # Header directory for the running kernel
 
27
 ifdef LINUXINCLUDE
 
28
diff -Naurp open-vm-tools.orig/modules/linux/vmhgfs/Makefile open-vm-tools/modules/linux/vmhgfs/Makefile
 
29
--- open-vm-tools.orig/modules/linux/vmhgfs/Makefile    2011-08-28 14:17:10.228965579 +0200
 
30
+++ open-vm-tools/modules/linux/vmhgfs/Makefile 2011-08-28 14:48:25.554264810 +0200
 
31
@@ -43,7 +43,7 @@ INCLUDE      += -I$(SRCROOT)/shared
 
32
 endif
 
33
 
 
34
 
 
35
-VM_UNAME = $(shell uname -r)
 
36
+VM_UNAME = $(KVERS)
 
37
 
 
38
 # Header directory for the running kernel
 
39
 ifdef LINUXINCLUDE
 
40
diff -Naurp open-vm-tools.orig/modules/linux/vmsync/Makefile open-vm-tools/modules/linux/vmsync/Makefile
 
41
--- open-vm-tools.orig/modules/linux/vmsync/Makefile    2011-08-28 14:17:10.240965642 +0200
 
42
+++ open-vm-tools/modules/linux/vmsync/Makefile 2011-08-28 14:48:27.638275144 +0200
 
43
@@ -43,7 +43,7 @@ INCLUDE      += -I$(SRCROOT)/shared
 
44
 endif
 
45
 
 
46
 
 
47
-VM_UNAME = $(shell uname -r)
 
48
+VM_UNAME = $(KVERS)
 
49
 
 
50
 # Header directory for the running kernel
 
51
 ifdef LINUXINCLUDE
 
52
diff -Naurp open-vm-tools.orig/modules/linux/vmxnet/Makefile open-vm-tools/modules/linux/vmxnet/Makefile
 
53
--- open-vm-tools.orig/modules/linux/vmxnet/Makefile    2011-08-28 14:17:10.240965642 +0200
 
54
+++ open-vm-tools/modules/linux/vmxnet/Makefile 2011-08-28 14:48:28.602279930 +0200
 
55
@@ -43,7 +43,7 @@ INCLUDE      += -I$(SRCROOT)/shared
 
56
 endif
 
57
 
 
58
 
 
59
-VM_UNAME = $(shell uname -r)
 
60
+VM_UNAME = $(KVERS)
 
61
 
 
62
 # Header directory for the running kernel
 
63
 ifdef LINUXINCLUDE
 
64
diff -Naurp open-vm-tools.orig/modules/linux/vsock/Makefile open-vm-tools/modules/linux/vsock/Makefile
 
65
--- open-vm-tools.orig/modules/linux/vsock/Makefile     2011-08-28 14:17:10.244965654 +0200
 
66
+++ open-vm-tools/modules/linux/vsock/Makefile  2011-08-28 14:48:31.254293082 +0200
 
67
@@ -43,7 +43,7 @@ INCLUDE      += -I$(SRCROOT)/shared
74
68
 endif
75
69
 
76
70