1 |
ikelos 07/11/25 12:59:46 |
2 |
|
3 |
Added: 002_all_pagebreak-detection-fix.patch |
4 |
007_all_use-modprobe-over-insmod.patch |
5 |
001_all_fix-permissions.patch |
6 |
004_all_do-not-build-modules.patch |
7 |
009_all_init.d-modules-warning.patch |
8 |
011_all_legit-modules-only.patch |
9 |
000_all_initd-location.patch |
10 |
Log: |
11 |
Version bump to 2.0.2, and update to vmware-any-any-update114. |
12 |
(Portage version: 2.1.3.19) |
13 |
|
14 |
Revision Changes Path |
15 |
1.1 app-emulation/vmware-player/files/2.0.2.59824/002_all_pagebreak-detection-fix.patch |
16 |
|
17 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/vmware-player/files/2.0.2.59824/002_all_pagebreak-detection-fix.patch?rev=1.1&view=markup |
18 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/vmware-player/files/2.0.2.59824/002_all_pagebreak-detection-fix.patch?rev=1.1&content-type=text/plain |
19 |
|
20 |
Index: 002_all_pagebreak-detection-fix.patch |
21 |
=================================================================== |
22 |
diff -ur vmware-distrib.orig/bin/vmware-config.pl vmware-distrib/bin/vmware-config.pl |
23 |
--- vmware-distrib.orig/bin/vmware-config.pl 2006-03-24 23:13:05.000000000 +0100 |
24 |
+++ vmware-distrib/bin/vmware-config.pl 2006-03-24 23:26:40.000000000 +0100 |
25 |
@@ -2015,9 +2015,9 @@ |
26 |
. shell_string($pattern)); |
27 |
chomp($header_page_offset); |
28 |
# Ignore PAGE_OFFSET if we cannot parse it. |
29 |
- if ($header_page_offset =~ /^$pattern \(?0x([0-9a-fA-F]{8,})/) { |
30 |
+ if ($header_page_offset =~ /^$pattern \(?(\([^)]*\))?\)?0x([0-9a-fA-F]{8,}).*$/) { |
31 |
# We found a valid page offset |
32 |
- $header_page_offset = $1; |
33 |
+ $header_page_offset = $2; |
34 |
if (defined($gSystem{'page_offset'}) and |
35 |
not (lc($header_page_offset) eq lc($gSystem{'page_offset'}))) { |
36 |
if ($source eq 'user') { |
37 |
|
38 |
|
39 |
|
40 |
1.1 app-emulation/vmware-player/files/2.0.2.59824/007_all_use-modprobe-over-insmod.patch |
41 |
|
42 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/vmware-player/files/2.0.2.59824/007_all_use-modprobe-over-insmod.patch?rev=1.1&view=markup |
43 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/vmware-player/files/2.0.2.59824/007_all_use-modprobe-over-insmod.patch?rev=1.1&content-type=text/plain |
44 |
|
45 |
Index: 007_all_use-modprobe-over-insmod.patch |
46 |
=================================================================== |
47 |
diff -uNr vmware-server-distrib/installer/services.sh vmware-server-distrib.new/installer/services.sh |
48 |
--- vmware-server-distrib/installer/services.sh 2006-02-05 00:21:25.000000000 +0000 |
49 |
+++ vmware-server-distrib.new/installer/services.sh 2006-02-20 23:48:07.000000000 +0000 |
50 |
@@ -538,7 +538,7 @@ |
51 |
} |
52 |
|
53 |
vmware_load_module() { |
54 |
- /sbin/insmod -s -f "/lib/modules/`uname -r`/misc/$1.o" || exit 1 |
55 |
+ /sbin/modprobe -s -f "$1" || exit 1 |
56 |
exit 0 |
57 |
} |
58 |
|
59 |
|
60 |
|
61 |
|
62 |
1.1 app-emulation/vmware-player/files/2.0.2.59824/001_all_fix-permissions.patch |
63 |
|
64 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/vmware-player/files/2.0.2.59824/001_all_fix-permissions.patch?rev=1.1&view=markup |
65 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/vmware-player/files/2.0.2.59824/001_all_fix-permissions.patch?rev=1.1&content-type=text/plain |
66 |
|
67 |
Index: 001_all_fix-permissions.patch |
68 |
=================================================================== |
69 |
diff -urN vmware-distrib.orig/bin/vmware-config.pl vmware-distrib/bin/vmware-config.pl |
70 |
--- vmware-distrib.orig/bin/vmware-config.pl 2005-12-16 00:51:03.000000000 -0500 |
71 |
+++ vmware-distrib/bin/vmware-config.pl 2005-12-21 14:34:03.000000000 -0500 |
72 |
@@ -7327,7 +7327,10 @@ |
73 |
error('Unable to write configuration file "' . $name . '".' . "\n\n"); |
74 |
} |
75 |
db_add_file($name, 0x1); |
76 |
- safe_chmod(0644, $name); |
77 |
+ safe_chmod(0664, $name); |
78 |
+ my $gid = (getgrnam('vmware'))[2]; |
79 |
+ my $uid = (stat($name))[4]; |
80 |
+ safe_chown($uid,$gid,$name); |
81 |
|
82 |
# Append the promotional configuration if it exists |
83 |
$promoconfig = $libdir . '/configurator/PROMOCONFIG'; |
84 |
|
85 |
|
86 |
|
87 |
1.1 app-emulation/vmware-player/files/2.0.2.59824/004_all_do-not-build-modules.patch |
88 |
|
89 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/vmware-player/files/2.0.2.59824/004_all_do-not-build-modules.patch?rev=1.1&view=markup |
90 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/vmware-player/files/2.0.2.59824/004_all_do-not-build-modules.patch?rev=1.1&content-type=text/plain |
91 |
|
92 |
Index: 004_all_do-not-build-modules.patch |
93 |
=================================================================== |
94 |
diff -uNr vmware-server-distrib.orig/bin/vmware-config.pl vmware-server-distrib/bin/vmware-config.pl |
95 |
--- vmware-server-distrib.orig/bin/vmware-config.pl 2006-02-18 18:12:26.000000000 +0000 |
96 |
+++ vmware-server-distrib/bin/vmware-config.pl 2006-02-18 18:14:17.000000000 +0000 |
97 |
@@ -10158,13 +10158,13 @@ |
98 |
configure_gtk2(); |
99 |
# createMimePackageFile(); |
100 |
# configureDesktopFiles(); |
101 |
- configure_mon(); |
102 |
+# configure_mon(); |
103 |
if (isDesktopProduct()) { |
104 |
- build_vmblock(); |
105 |
+# build_vmblock(); |
106 |
} |
107 |
- configure_pp(); |
108 |
+# configure_pp(); |
109 |
configure_net(); |
110 |
- build_vmnet(); |
111 |
+# build_vmnet(); |
112 |
} |
113 |
|
114 |
configure_eclipse_plugin(); |
115 |
|
116 |
|
117 |
|
118 |
1.1 app-emulation/vmware-player/files/2.0.2.59824/009_all_init.d-modules-warning.patch |
119 |
|
120 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/vmware-player/files/2.0.2.59824/009_all_init.d-modules-warning.patch?rev=1.1&view=markup |
121 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/vmware-player/files/2.0.2.59824/009_all_init.d-modules-warning.patch?rev=1.1&content-type=text/plain |
122 |
|
123 |
Index: 009_all_init.d-modules-warning.patch |
124 |
=================================================================== |
125 |
diff -uNr vmware-server-distrib.orig/installer/services.sh vmware-server-distrib/installer/services.sh |
126 |
--- vmware-server-distrib.orig/installer/services.sh 2006-07-01 03:14:16.000000000 +0000 |
127 |
+++ vmware-server-distrib/installer/services.sh 2006-07-14 11:59:28.000000000 +0000 |
128 |
@@ -606,8 +606,13 @@ |
129 |
start) |
130 |
if [ -e "$vmware_etc_dir"/not_configured ]; then |
131 |
echo "`vmware_product_name`"' is installed, but it has not been (correctly) configured' |
132 |
- echo 'for the running kernel. To (re-)configure it, invoke the' |
133 |
- echo 'following command: '"$vmdb_answer_BINDIR"'/vmware-config.pl.' |
134 |
+ echo 'for the running kernel.' |
135 |
+ echo |
136 |
+ echo 'Please ensure that the modules have been compiled for this kernel:' |
137 |
+ echo ' emerge --oneshot vmware-modules' |
138 |
+ echo |
139 |
+ echo 'Also ensure '"`vmware_product_name`"' has been configured:' |
140 |
+ echo ' '"$vmdb_answer_BINDIR"'/vmware-config.pl' |
141 |
echo |
142 |
|
143 |
exit 1 |
144 |
|
145 |
|
146 |
|
147 |
1.1 app-emulation/vmware-player/files/2.0.2.59824/011_all_legit-modules-only.patch |
148 |
|
149 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/vmware-player/files/2.0.2.59824/011_all_legit-modules-only.patch?rev=1.1&view=markup |
150 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/vmware-player/files/2.0.2.59824/011_all_legit-modules-only.patch?rev=1.1&content-type=text/plain |
151 |
|
152 |
Index: 011_all_legit-modules-only.patch |
153 |
=================================================================== |
154 |
diff -uNr vmware-distrib.orig/bin/vmware-config.pl vmware-distrib/bin/vmware-config.pl |
155 |
--- vmware-distrib.orig/bin/vmware-config.pl 2007-08-22 02:58:41.000000000 +0100 |
156 |
+++ vmware-distrib/bin/vmware-config.pl 2007-09-19 20:04:57.000000000 +0100 |
157 |
@@ -10127,7 +10127,7 @@ |
158 |
} |
159 |
|
160 |
my @modules = non_vmware_modules_installed(); |
161 |
- if (scalar(@modules) > 0) { |
162 |
+ if (scalar(@modules) < 0) { |
163 |
error("The following VMware kernel modules have been found on your system that " . |
164 |
"were not installed by the VMware Installer. Please remove them then run " . |
165 |
"this installer again.\n\n" . join("\n", @modules) . "\n\n"); |
166 |
|
167 |
|
168 |
|
169 |
1.1 app-emulation/vmware-player/files/2.0.2.59824/000_all_initd-location.patch |
170 |
|
171 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/vmware-player/files/2.0.2.59824/000_all_initd-location.patch?rev=1.1&view=markup |
172 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/vmware-player/files/2.0.2.59824/000_all_initd-location.patch?rev=1.1&content-type=text/plain |
173 |
|
174 |
Index: 000_all_initd-location.patch |
175 |
=================================================================== |
176 |
--- vmware-distrib/bin/vmware-config.pl.ori 2005-11-09 01:45:08.000000000 +0000 |
177 |
+++ vmware-distrib/bin/vmware-config.pl 2005-11-09 01:48:21.000000000 +0000 |
178 |
@@ -8433,7 +8433,7 @@ |
179 |
error('Please shut down any running VMs and run this script again.' . |
180 |
"\n\n"); |
181 |
} else { |
182 |
- if (system(shell_string(db_get_answer('INITSCRIPTSDIR') . '/vmware') |
183 |
+ if (system(shell_string('/etc/init.d' . '/vmware') |
184 |
. ' stop')) { |
185 |
error('Unable to stop services for ' . vmware_product_name() . |
186 |
"\n\n"); |
187 |
@@ -8463,8 +8463,8 @@ |
188 |
} |
189 |
if (vmware_product() ne 'server') { |
190 |
configure_gtk2(); |
191 |
- createMimePackageFile(); |
192 |
- configureDesktopFiles(); |
193 |
+# createMimePackageFile(); |
194 |
+# configureDesktopFiles(); |
195 |
configure_mon(); |
196 |
configure_pp(); |
197 |
configure_net(); |
198 |
@@ -8532,7 +8532,7 @@ |
199 |
db_save(); |
200 |
# Then start VMware's services |
201 |
if (!$gOption{'skip-stop-start'}) { |
202 |
- system(shell_string(db_get_answer('INITSCRIPTSDIR') . '/vmware') . ' start'); |
203 |
+ system(shell_string('/etc/init.d' . '/vmware') . ' start'); |
204 |
print "\n"; |
205 |
} |
206 |
|
207 |
|
208 |
|
209 |
|
210 |
-- |
211 |
gentoo-commits@g.o mailing list |