summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Auty <ikelos@gentoo.org>2007-10-14 09:03:43 +0000
committerMike Auty <ikelos@gentoo.org>2007-10-14 09:03:43 +0000
commitb4271eaf9795cff6516e2bab6f3532bf60ca29da (patch)
tree766fd468c7da2eb88329045561e71843ffd74aab /app-emulation/vmware-workstation/files
parentinitial import (diff)
downloadgentoo-2-b4271eaf9795cff6516e2bab6f3532bf60ca29da.tar.gz
gentoo-2-b4271eaf9795cff6516e2bab6f3532bf60ca29da.tar.bz2
gentoo-2-b4271eaf9795cff6516e2bab6f3532bf60ca29da.zip
Version bump, fixes some security bugs
(Portage version: 2.1.3.12)
Diffstat (limited to 'app-emulation/vmware-workstation/files')
-rw-r--r--app-emulation/vmware-workstation/files/6.0.1.55017/000_all_initd-location.patch31
-rw-r--r--app-emulation/vmware-workstation/files/6.0.1.55017/001_all_fix-permissions.patch15
-rw-r--r--app-emulation/vmware-workstation/files/6.0.1.55017/002_all_pagebreak-detection-fix.patch15
-rw-r--r--app-emulation/vmware-workstation/files/6.0.1.55017/004_all_do-not-build-modules.patch21
-rw-r--r--app-emulation/vmware-workstation/files/6.0.1.55017/007_all_use-modprobe-over-insmod.patch12
-rw-r--r--app-emulation/vmware-workstation/files/6.0.1.55017/009_all_init.d-modules-warning.patch19
-rw-r--r--app-emulation/vmware-workstation/files/6.0.1.55017/011_all_legit-modules-only.patch12
-rw-r--r--app-emulation/vmware-workstation/files/digest-vmware-workstation-6.0.1.550179
8 files changed, 134 insertions, 0 deletions
diff --git a/app-emulation/vmware-workstation/files/6.0.1.55017/000_all_initd-location.patch b/app-emulation/vmware-workstation/files/6.0.1.55017/000_all_initd-location.patch
new file mode 100644
index 000000000000..6eb6619d2b8e
--- /dev/null
+++ b/app-emulation/vmware-workstation/files/6.0.1.55017/000_all_initd-location.patch
@@ -0,0 +1,31 @@
+--- vmware-distrib/bin/vmware-config.pl.ori 2005-11-09 01:45:08.000000000 +0000
++++ vmware-distrib/bin/vmware-config.pl 2005-11-09 01:48:21.000000000 +0000
+@@ -8433,7 +8433,7 @@
+ error('Please shut down any running VMs and run this script again.' .
+ "\n\n");
+ } else {
+- if (system(shell_string(db_get_answer('INITSCRIPTSDIR') . '/vmware')
++ if (system(shell_string('/etc/init.d' . '/vmware')
+ . ' stop')) {
+ error('Unable to stop services for ' . vmware_product_name() .
+ "\n\n");
+@@ -8463,8 +8463,8 @@
+ }
+ if (vmware_product() ne 'server') {
+ configure_gtk2();
+- createMimePackageFile();
+- configureDesktopFiles();
++# createMimePackageFile();
++# configureDesktopFiles();
+ configure_mon();
+ configure_pp();
+ configure_net();
+@@ -8532,7 +8532,7 @@
+ db_save();
+ # Then start VMware's services
+ if (!$gOption{'skip-stop-start'}) {
+- system(shell_string(db_get_answer('INITSCRIPTSDIR') . '/vmware') . ' start');
++ system(shell_string('/etc/init.d' . '/vmware') . ' start');
+ print "\n";
+ }
+
diff --git a/app-emulation/vmware-workstation/files/6.0.1.55017/001_all_fix-permissions.patch b/app-emulation/vmware-workstation/files/6.0.1.55017/001_all_fix-permissions.patch
new file mode 100644
index 000000000000..e646b7b2da5c
--- /dev/null
+++ b/app-emulation/vmware-workstation/files/6.0.1.55017/001_all_fix-permissions.patch
@@ -0,0 +1,15 @@
+diff -urN vmware-distrib.orig/bin/vmware-config.pl vmware-distrib/bin/vmware-config.pl
+--- vmware-distrib.orig/bin/vmware-config.pl 2005-12-16 00:51:03.000000000 -0500
++++ vmware-distrib/bin/vmware-config.pl 2005-12-21 14:34:03.000000000 -0500
+@@ -7327,7 +7327,10 @@
+ error('Unable to write configuration file "' . $name . '".' . "\n\n");
+ }
+ db_add_file($name, 0x1);
+- safe_chmod(0644, $name);
++ safe_chmod(0664, $name);
++ my $gid = (getgrnam('vmware'))[2];
++ my $uid = (stat($name))[4];
++ safe_chown($uid,$gid,$name);
+
+ # Append the promotional configuration if it exists
+ $promoconfig = $libdir . '/configurator/PROMOCONFIG';
diff --git a/app-emulation/vmware-workstation/files/6.0.1.55017/002_all_pagebreak-detection-fix.patch b/app-emulation/vmware-workstation/files/6.0.1.55017/002_all_pagebreak-detection-fix.patch
new file mode 100644
index 000000000000..fd3fc76ca679
--- /dev/null
+++ b/app-emulation/vmware-workstation/files/6.0.1.55017/002_all_pagebreak-detection-fix.patch
@@ -0,0 +1,15 @@
+diff -ur vmware-distrib.orig/bin/vmware-config.pl vmware-distrib/bin/vmware-config.pl
+--- vmware-distrib.orig/bin/vmware-config.pl 2006-03-24 23:13:05.000000000 +0100
++++ vmware-distrib/bin/vmware-config.pl 2006-03-24 23:26:40.000000000 +0100
+@@ -2015,9 +2015,9 @@
+ . shell_string($pattern));
+ chomp($header_page_offset);
+ # Ignore PAGE_OFFSET if we cannot parse it.
+- if ($header_page_offset =~ /^$pattern \(?0x([0-9a-fA-F]{8,})/) {
++ if ($header_page_offset =~ /^$pattern \(?(\([^)]*\))?\)?0x([0-9a-fA-F]{8,}).*$/) {
+ # We found a valid page offset
+- $header_page_offset = $1;
++ $header_page_offset = $2;
+ if (defined($gSystem{'page_offset'}) and
+ not (lc($header_page_offset) eq lc($gSystem{'page_offset'}))) {
+ if ($source eq 'user') {
diff --git a/app-emulation/vmware-workstation/files/6.0.1.55017/004_all_do-not-build-modules.patch b/app-emulation/vmware-workstation/files/6.0.1.55017/004_all_do-not-build-modules.patch
new file mode 100644
index 000000000000..e2649c0af27b
--- /dev/null
+++ b/app-emulation/vmware-workstation/files/6.0.1.55017/004_all_do-not-build-modules.patch
@@ -0,0 +1,21 @@
+diff -uNr vmware-server-distrib.orig/bin/vmware-config.pl vmware-server-distrib/bin/vmware-config.pl
+--- vmware-server-distrib.orig/bin/vmware-config.pl 2006-02-18 18:12:26.000000000 +0000
++++ vmware-server-distrib/bin/vmware-config.pl 2006-02-18 18:14:17.000000000 +0000
+@@ -10158,13 +10158,13 @@
+ configure_gtk2();
+ # createMimePackageFile();
+ # configureDesktopFiles();
+- configure_mon();
++# configure_mon();
+ if (isDesktopProduct()) {
+- build_vmblock();
++# build_vmblock();
+ }
+- configure_pp();
++# configure_pp();
+ configure_net();
+- build_vmnet();
++# build_vmnet();
+ }
+
+ configure_eclipse_plugin();
diff --git a/app-emulation/vmware-workstation/files/6.0.1.55017/007_all_use-modprobe-over-insmod.patch b/app-emulation/vmware-workstation/files/6.0.1.55017/007_all_use-modprobe-over-insmod.patch
new file mode 100644
index 000000000000..c29a87e8f226
--- /dev/null
+++ b/app-emulation/vmware-workstation/files/6.0.1.55017/007_all_use-modprobe-over-insmod.patch
@@ -0,0 +1,12 @@
+diff -uNr vmware-server-distrib/installer/services.sh vmware-server-distrib.new/installer/services.sh
+--- vmware-server-distrib/installer/services.sh 2006-02-05 00:21:25.000000000 +0000
++++ vmware-server-distrib.new/installer/services.sh 2006-02-20 23:48:07.000000000 +0000
+@@ -538,7 +538,7 @@
+ }
+
+ vmware_load_module() {
+- /sbin/insmod -s -f "/lib/modules/`uname -r`/misc/$1.o" || exit 1
++ /sbin/modprobe -s -f "$1" || exit 1
+ exit 0
+ }
+
diff --git a/app-emulation/vmware-workstation/files/6.0.1.55017/009_all_init.d-modules-warning.patch b/app-emulation/vmware-workstation/files/6.0.1.55017/009_all_init.d-modules-warning.patch
new file mode 100644
index 000000000000..4eab043af8dc
--- /dev/null
+++ b/app-emulation/vmware-workstation/files/6.0.1.55017/009_all_init.d-modules-warning.patch
@@ -0,0 +1,19 @@
+diff -uNr vmware-server-distrib.orig/installer/services.sh vmware-server-distrib/installer/services.sh
+--- vmware-server-distrib.orig/installer/services.sh 2006-07-01 03:14:16.000000000 +0000
++++ vmware-server-distrib/installer/services.sh 2006-07-14 11:59:28.000000000 +0000
+@@ -606,8 +606,13 @@
+ start)
+ if [ -e "$vmware_etc_dir"/not_configured ]; then
+ echo "`vmware_product_name`"' is installed, but it has not been (correctly) configured'
+- echo 'for the running kernel. To (re-)configure it, invoke the'
+- echo 'following command: '"$vmdb_answer_BINDIR"'/vmware-config.pl.'
++ echo 'for the running kernel.'
++ echo
++ echo 'Please ensure that the modules have been compiled for this kernel:'
++ echo ' emerge --oneshot vmware-modules'
++ echo
++ echo 'Also ensure '"`vmware_product_name`"' has been configured:'
++ echo ' '"$vmdb_answer_BINDIR"'/vmware-config.pl'
+ echo
+
+ exit 1
diff --git a/app-emulation/vmware-workstation/files/6.0.1.55017/011_all_legit-modules-only.patch b/app-emulation/vmware-workstation/files/6.0.1.55017/011_all_legit-modules-only.patch
new file mode 100644
index 000000000000..9e453ed1e2ee
--- /dev/null
+++ b/app-emulation/vmware-workstation/files/6.0.1.55017/011_all_legit-modules-only.patch
@@ -0,0 +1,12 @@
+diff -uNr vmware-distrib.orig/bin/vmware-config.pl vmware-distrib/bin/vmware-config.pl
+--- vmware-distrib.orig/bin/vmware-config.pl 2007-08-22 02:58:41.000000000 +0100
++++ vmware-distrib/bin/vmware-config.pl 2007-09-19 20:04:57.000000000 +0100
+@@ -10127,7 +10127,7 @@
+ }
+
+ my @modules = non_vmware_modules_installed();
+- if (scalar(@modules) > 0) {
++ if (scalar(@modules) < 0) {
+ error("The following VMware kernel modules have been found on your system that " .
+ "were not installed by the VMware Installer. Please remove them then run " .
+ "this installer again.\n\n" . join("\n", @modules) . "\n\n");
diff --git a/app-emulation/vmware-workstation/files/digest-vmware-workstation-6.0.1.55017 b/app-emulation/vmware-workstation/files/digest-vmware-workstation-6.0.1.55017
new file mode 100644
index 000000000000..7175e2787e26
--- /dev/null
+++ b/app-emulation/vmware-workstation/files/digest-vmware-workstation-6.0.1.55017
@@ -0,0 +1,9 @@
+MD5 6314c004bff31d3b4de0b9b92a296e71 VMware-workstation-6.0.1-55017.i386.tar.gz 219089234
+RMD160 e33d271019ee897dfee47dd3edce9ca6b2467bcf VMware-workstation-6.0.1-55017.i386.tar.gz 219089234
+SHA256 7fd0279754075c09699abeb780fda8d5420490d43eca0fb33107e9987a1e838a VMware-workstation-6.0.1-55017.i386.tar.gz 219089234
+MD5 7a3eb60a4143c37d4a56dc0f957320ff VMware-workstation-6.0.1-55017.x86_64.tar.gz 196577425
+RMD160 6ae105b93e2434a3909adcc1a93545c51b2a855e VMware-workstation-6.0.1-55017.x86_64.tar.gz 196577425
+SHA256 3e2c102eaedb652291c44fafd3e022c90cc8eca9f591d06e625f20f04f7015ff VMware-workstation-6.0.1-55017.x86_64.tar.gz 196577425
+MD5 cb3f91f2196778e6d76d5a6697286d04 vmware-any-any-update113.tar.gz 469321
+RMD160 a4de5c17489dffade015f5bc3036f6ab882f749c vmware-any-any-update113.tar.gz 469321
+SHA256 ed15e61811f188e3c009d9fd8878cc74fd45e2b5644e21e4fe3010731841c99d vmware-any-any-update113.tar.gz 469321