diff options
author | Mike Auty <ikelos@gentoo.org> | 2008-03-22 10:46:26 +0000 |
---|---|---|
committer | Mike Auty <ikelos@gentoo.org> | 2008-03-22 10:46:26 +0000 |
commit | 2a9e228a0e09e5bc6da55e0badea604b3b80cd15 (patch) | |
tree | 06c6c44a61e7e4ec483c22cfe1980bbad16f6868 /app-emulation/vmware-player | |
parent | Stable on ppc wrt bug 214222 (diff) | |
download | gentoo-2-2a9e228a0e09e5bc6da55e0badea604b3b80cd15.tar.gz gentoo-2-2a9e228a0e09e5bc6da55e0badea604b3b80cd15.tar.bz2 gentoo-2-2a9e228a0e09e5bc6da55e0badea604b3b80cd15.zip |
Version bump 1.0.6 and 2.0.3, to fix bug 213548.
(Portage version: 2.1.4.4)
(Signed Manifest commit)
Diffstat (limited to 'app-emulation/vmware-player')
14 files changed, 256 insertions, 4 deletions
diff --git a/app-emulation/vmware-player/Manifest b/app-emulation/vmware-player/Manifest index 0d9322981ea6..d6d9aaf3b30d 100644 --- a/app-emulation/vmware-player/Manifest +++ b/app-emulation/vmware-player/Manifest @@ -7,6 +7,12 @@ AUX 1.0.5.56455/002_all_pagebreak-detection-fix.patch 800 RMD160 f21a51e552d025a AUX 1.0.5.56455/004_all_do-not-build-modules.patch 589 RMD160 b2153579c65a232de9c2e6dbd9bbe108d85f95e5 SHA1 394a67a30f1f29084836183303641915ce982bfd SHA256 916754b0616ea330490b9572be1a9216bb7dd441ba328b1e01e777b29fac4e1e AUX 1.0.5.56455/007_all_use-modprobe-over-insmod.patch 448 RMD160 136dfcfe2df7a7ebf2844749f473a6c6d0bb3084 SHA1 0ad152b3cb738521296322b56e9f247926690e67 SHA256 9497f8ad6acb2460e27bd5430670e79129ec2ffbf6f5b8dae62084e5e56059ee AUX 1.0.5.56455/009_all_init.d-modules-warning.patch 991 RMD160 6205e976db47cd3361b5eca8593414d411a2ab8d SHA1 3742749baa606a57d447931f0af791696a49e660 SHA256 5fbc9f101abb3816a732f64a75e90ce7fcb6783c3cd7bae521d8785e88634498 +AUX 1.0.6.80404/000_all_initd-location.patch 1131 RMD160 3ab69d825994cc3bb177143d27091fc292cec46a SHA1 14264460c8500f1ead267059e2b9b9a5dc8c057f SHA256 b4055370b0092e71a2b2b0f27edeb7bc063ad265f95ab4530e52c3ab3167ad62 +AUX 1.0.6.80404/001_all_fix-permissions.patch 647 RMD160 0f25f7dd60dfcb5a72b1f7b9cf344d6f431143a9 SHA1 cabd3dd071ef62d4c70f52d1a3e02334ec7f3a73 SHA256 41492cde60da6d449c0f427ac7bd65598838ec17ac0e3a5f545feeb1d29ea391 +AUX 1.0.6.80404/002_all_pagebreak-detection-fix.patch 800 RMD160 f21a51e552d025a5120519d6dcd41efc3835a432 SHA1 06133c332b6b1f57476b1154de108a9dfc35435d SHA256 d327d7cb2166b9ef4c8c286568c3a7eb64542212164d58b8a7a3c5e51e19ed6d +AUX 1.0.6.80404/004_all_do-not-build-modules.patch 589 RMD160 b2153579c65a232de9c2e6dbd9bbe108d85f95e5 SHA1 394a67a30f1f29084836183303641915ce982bfd SHA256 916754b0616ea330490b9572be1a9216bb7dd441ba328b1e01e777b29fac4e1e +AUX 1.0.6.80404/007_all_use-modprobe-over-insmod.patch 448 RMD160 136dfcfe2df7a7ebf2844749f473a6c6d0bb3084 SHA1 0ad152b3cb738521296322b56e9f247926690e67 SHA256 9497f8ad6acb2460e27bd5430670e79129ec2ffbf6f5b8dae62084e5e56059ee +AUX 1.0.6.80404/009_all_init.d-modules-warning.patch 991 RMD160 6205e976db47cd3361b5eca8593414d411a2ab8d SHA1 3742749baa606a57d447931f0af791696a49e660 SHA256 5fbc9f101abb3816a732f64a75e90ce7fcb6783c3cd7bae521d8785e88634498 AUX 2.0.1.55017/000_all_initd-location.patch 1133 RMD160 63a226ee89922fc7d1cc4de75e80ee0befb13bb2 SHA1 64d7d8e7218fa34e798ea1e9cdafe0085bbee0fa SHA256 f5a9aab71e5cd04292d0a37812505e08f0d7860399ab0dd35cccae9bfbb665be AUX 2.0.1.55017/001_all_fix-permissions.patch 647 RMD160 0f25f7dd60dfcb5a72b1f7b9cf344d6f431143a9 SHA1 cabd3dd071ef62d4c70f52d1a3e02334ec7f3a73 SHA256 41492cde60da6d449c0f427ac7bd65598838ec17ac0e3a5f545feeb1d29ea391 AUX 2.0.1.55017/002_all_pagebreak-detection-fix.patch 800 RMD160 f21a51e552d025a5120519d6dcd41efc3835a432 SHA1 06133c332b6b1f57476b1154de108a9dfc35435d SHA256 d327d7cb2166b9ef4c8c286568c3a7eb64542212164d58b8a7a3c5e51e19ed6d @@ -21,26 +27,38 @@ AUX 2.0.2.59824/004_all_do-not-build-modules.patch 654 RMD160 dd279f8043ab99b033 AUX 2.0.2.59824/007_all_use-modprobe-over-insmod.patch 448 RMD160 136dfcfe2df7a7ebf2844749f473a6c6d0bb3084 SHA1 0ad152b3cb738521296322b56e9f247926690e67 SHA256 9497f8ad6acb2460e27bd5430670e79129ec2ffbf6f5b8dae62084e5e56059ee AUX 2.0.2.59824/009_all_init.d-modules-warning.patch 991 RMD160 6205e976db47cd3361b5eca8593414d411a2ab8d SHA1 3742749baa606a57d447931f0af791696a49e660 SHA256 5fbc9f101abb3816a732f64a75e90ce7fcb6783c3cd7bae521d8785e88634498 AUX 2.0.2.59824/011_all_legit-modules-only.patch 646 RMD160 484d15ebc05fb93d69866987cf805afdbba019c9 SHA1 f36a8b4b7153cfe213ee7cd1e82c871f3c9efa90 SHA256 b66a534d93ae7dc76b54631cbbaccc751691941ab704a9c1e566a9c866b15729 +AUX 2.0.3.80004/000_all_initd-location.patch 1133 RMD160 63a226ee89922fc7d1cc4de75e80ee0befb13bb2 SHA1 64d7d8e7218fa34e798ea1e9cdafe0085bbee0fa SHA256 f5a9aab71e5cd04292d0a37812505e08f0d7860399ab0dd35cccae9bfbb665be +AUX 2.0.3.80004/001_all_fix-permissions.patch 647 RMD160 0f25f7dd60dfcb5a72b1f7b9cf344d6f431143a9 SHA1 cabd3dd071ef62d4c70f52d1a3e02334ec7f3a73 SHA256 41492cde60da6d449c0f427ac7bd65598838ec17ac0e3a5f545feeb1d29ea391 +AUX 2.0.3.80004/002_all_pagebreak-detection-fix.patch 800 RMD160 f21a51e552d025a5120519d6dcd41efc3835a432 SHA1 06133c332b6b1f57476b1154de108a9dfc35435d SHA256 d327d7cb2166b9ef4c8c286568c3a7eb64542212164d58b8a7a3c5e51e19ed6d +AUX 2.0.3.80004/004_all_do-not-build-modules.patch 654 RMD160 dd279f8043ab99b033b6ce74b2cbfc31cf6c1578 SHA1 19052ac7558b101616cecb05bf7fcae23251ea03 SHA256 694f953e64972fd81804748d7c2736934169c75e4454d3862f0a948db48ba284 +AUX 2.0.3.80004/007_all_use-modprobe-over-insmod.patch 448 RMD160 136dfcfe2df7a7ebf2844749f473a6c6d0bb3084 SHA1 0ad152b3cb738521296322b56e9f247926690e67 SHA256 9497f8ad6acb2460e27bd5430670e79129ec2ffbf6f5b8dae62084e5e56059ee +AUX 2.0.3.80004/009_all_init.d-modules-warning.patch 991 RMD160 6205e976db47cd3361b5eca8593414d411a2ab8d SHA1 3742749baa606a57d447931f0af791696a49e660 SHA256 5fbc9f101abb3816a732f64a75e90ce7fcb6783c3cd7bae521d8785e88634498 +AUX 2.0.3.80004/011_all_legit-modules-only.patch 646 RMD160 484d15ebc05fb93d69866987cf805afdbba019c9 SHA1 f36a8b4b7153cfe213ee7cd1e82c871f3c9efa90 SHA256 b66a534d93ae7dc76b54631cbbaccc751691941ab704a9c1e566a9c866b15729 AUX 90vmware-player 91 RMD160 025ff93348f5a838183e4f6108d7030168ca5ed5 SHA1 54c316adaafce41771eb26513c960dabbed61ce9 SHA256 9aee16313163bd9e161e81ef2876d086fb8972489100c4f8f0a4695ff16578f9 AUX vmware-player.rc 1847 RMD160 7d485db12b2e5d2042f03677aafe91c15c04996f SHA1 b4fc9fa201d475660ee7d850a404cdad8c50cd4e SHA256 12acbcf165be6d94b04f26075bd1a25456037e0abd0d86506e0313a5e70f9887 AUX vmware-player.xml 1592 RMD160 0d7e9ed13ebb3c73dd847e95fa95499296609e8c SHA1 02db2ee7ca0abb8b8793c9f56d858bb08c1c715f SHA256 56aafee80ad705e8d832f8853c36d763d37b87d1cb132a41c50eb63085ae854d DIST VMware-player-1.0.5-56455.tar.gz 38858387 RMD160 26e19805d25322ed1e2a6b009b66299fe91b4439 SHA1 777901a9909e840884ce202bdbef664c907a2f03 SHA256 6f71b0cd34bf414133d8148372d4c2d3f5cd3b7e1ba0260e98f26a52c29661ae +DIST VMware-player-1.0.6-80404.tar.gz 38898658 RMD160 88f28a6c1c79c4bb07297d6c0be7731dc58769a4 SHA1 473b28efdcd86f7bad9ae56d1b34cca3bb503af6 SHA256 821dc48deb5851eba06c93550ef302769fee1e1eec39ea80651475588ef704bb DIST VMware-player-2.0.1-55017.i386.tar.gz 67772207 RMD160 db563bf082c0b7618b5dcc93705edd98135a4322 SHA1 81181626aa3f7c101e2952cf7a941baed31958c4 SHA256 c05c4a88b88fe09cd5203718840121dddba0a7a371bfa8b549bb63e3a52f1d39 DIST VMware-player-2.0.1-55017.x86_64.tar.gz 33055319 RMD160 edb9d15b97931b57b36006854366fd8ecc331988 SHA1 798bfb56c4c6c74f7c9aff78cb949dd4e71b00f7 SHA256 1c5ac84dc91e15eb898f7913cee1aaf79aecc3f56acb9f9c39a931fee4611955 DIST VMware-player-2.0.2-59824.i386.tar.gz 67762051 RMD160 bdf0375045aa2702f0c19cf755e019307316db2e SHA1 52a9018438746ac88e965ae081120da6f8e9fbf5 SHA256 2fcaca511c0344333d9f306bab09507573c17cc4d71807a545624953cc68e138 DIST VMware-player-2.0.2-59824.x86_64.tar.gz 33049210 RMD160 1d4351d7cc8bec4d4fe492c46656807ac2220717 SHA1 a7aace822f5a730ec7d289d074c607832abd8c72 SHA256 b0fce2e1552070d492e04ab684aa32fecf587ec06e3ab802373d5e94e0e9f72b +DIST VMware-player-2.0.3-80004.i386.tar.gz 68494110 RMD160 ecc755fba9d05f559fb3894668429deab4afa2d3 SHA1 ffa992335bf5c95515857d1d6574fac831ab9975 SHA256 5fd30ef428172b6c093cb4a1c9100c854cafc41088b6affe9db28cb5ad67b4a4 +DIST VMware-player-2.0.3-80004.x86_64.tar.gz 33293357 RMD160 7331b6908e2bb98f30171d092d33c01c95be9139 SHA1 84cba2e2d0daffdc9c9657cb2dc9fe83f3f2f8d9 SHA256 b4b280dc3a527f9acbe3aeeef455c4808c3e80c9d3c6c3ae677942aa369f2639 DIST vmware-any-any-update115.tar.gz 493641 RMD160 56cabe56f70c01a22a7671e861cc5a2df19855c7 SHA1 ff9b6fdf6ca74495eb5f4822a1854fc91185377c SHA256 b1c14fa9514663b85c2efe8331407e71cce96e5a21a8b941fa570c960bbdcaa1 DIST vmware-libcrypto.so.0.9.7l.tar.bz2 412159 RMD160 89282ae9fc6e8921a47704bc9cd23cf70a6870e8 SHA1 f86c4cb076fe1764975e9243dc0fae763f2b589a SHA256 fae52acf61415959cca763a715a2b61ec49f161a416d418d6a1faffce531db12 DIST vmware-libssl.so.0.9.7l.tar.bz2 78244 RMD160 195dd4808e60f81621e6ed12b843ded49c0fa747 SHA1 5fe729a1e49e77afd83b408845833174e1296e39 SHA256 3e1e13196066dc5b77d3ef6b5df55a29156eba1f39661e40cd617b538220d089 EBUILD vmware-player-1.0.5.56455.ebuild 2855 RMD160 0b4922a5df4493a636a04be38e606521608d5c23 SHA1 77f3b90a8d5e4d8aebc5939a4241bb190067b3ab SHA256 58ce3755c019e9b11505cefa64c2c675c66bf80ba5760ae3f92c5cde83c7d5ab +EBUILD vmware-player-1.0.6.80404.ebuild 2663 RMD160 39bfd7ce0f8ee029b019c8531f33b0a04892dfcb SHA1 3fd1e46771a563525719893ef94d5fe04e9ae6ad SHA256 8c1bfcec59da440a07cc2bbc6cb5dfd4f081e3c12478d0553200eb62d826f501 EBUILD vmware-player-2.0.1.55017.ebuild 3321 RMD160 97469675771c5a0e2d4cc0f9fe9a53d688aa74ac SHA1 4fbb60ba36d13e437b545453b275ac18dbce5d13 SHA256 852535cca1ff2370d6aedaa010ffeec29db2219b3a0fff24c18af0d45340fd85 EBUILD vmware-player-2.0.2.59824.ebuild 3321 RMD160 f0af3025497a7a1f215e6dac53d1590ca3191ac5 SHA1 37d87d29b743e46ce8b5afe17e0badc8a3b4e239 SHA256 0bc972f4cac362700bea5b9fad7e5521cf6a087959336c1222150dd2037ce7b2 -MISC ChangeLog 13218 RMD160 5b23b95ba39044dbbcdf6b7ece8307214cf5a423 SHA1 3cd4bc5c84a6f51b76185a3e07332c9ebef224f9 SHA256 adcba4a71307954758e1e83cbd72f67fb2b5364c7998228035c4ce177ad34864 +EBUILD vmware-player-2.0.3.80004.ebuild 3081 RMD160 53ac54405320acfdb6515283bc369ea896cbb822 SHA1 8a590b99720e3911bc350c7827477481c6aecc2e SHA256 3938b31e88bb854dd64c67eceb71c9c7fdabd1876b62f973f38d62cfd87b336a +MISC ChangeLog 14205 RMD160 24a8e887fba8d24aa183fa82a6c8fff3e6dddddf SHA1 7f7e0b430c48ef4aae228da0441eaeaf3268802a SHA256 d9c6cc589c4f765132981c0bceb31abd6835282ac6b48754a4aa50eedeb663ee MISC metadata.xml 159 RMD160 fc7f68a382390e5916b0fb43f37a893fad4f9798 SHA1 f46b02a39bcd0165558de67ff4256cfc812418a3 SHA256 8581ae1c90a48f50fa0542c7fb28cb8984baaf12f50fa18f33e467081effb215 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.7 (GNU/Linux) -iD8DBQFHoeCVu7rWomwgFXoRAjfAAKCVI8pjETxdnyQe4Jcjqrdefe6ncQCeLpcQ -XbdafD3N1wdDPB5hFeHICMo= -=lM1o +iD8DBQFH5ON7u7rWomwgFXoRAgoHAJsEW8iAmXZdhLhMuxidTZMsrtrCUwCfbSK9 +WoIcUNbENHbzbKC8g7tRGis= +=4pEA -----END PGP SIGNATURE----- diff --git a/app-emulation/vmware-player/files/1.0.6.80404/000_all_initd-location.patch b/app-emulation/vmware-player/files/1.0.6.80404/000_all_initd-location.patch new file mode 100644 index 000000000000..1d864f7e0dd7 --- /dev/null +++ b/app-emulation/vmware-player/files/1.0.6.80404/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{'skipstopstart'}) { +- 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-player/files/1.0.6.80404/001_all_fix-permissions.patch b/app-emulation/vmware-player/files/1.0.6.80404/001_all_fix-permissions.patch new file mode 100644 index 000000000000..e646b7b2da5c --- /dev/null +++ b/app-emulation/vmware-player/files/1.0.6.80404/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-player/files/1.0.6.80404/002_all_pagebreak-detection-fix.patch b/app-emulation/vmware-player/files/1.0.6.80404/002_all_pagebreak-detection-fix.patch new file mode 100644 index 000000000000..fd3fc76ca679 --- /dev/null +++ b/app-emulation/vmware-player/files/1.0.6.80404/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-player/files/1.0.6.80404/004_all_do-not-build-modules.patch b/app-emulation/vmware-player/files/1.0.6.80404/004_all_do-not-build-modules.patch new file mode 100644 index 000000000000..cec3b3ee4c1d --- /dev/null +++ b/app-emulation/vmware-player/files/1.0.6.80404/004_all_do-not-build-modules.patch @@ -0,0 +1,17 @@ +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 +@@ -8571,10 +8571,10 @@ + configure_gtk2(); + # createMimePackageFile(); + # configureDesktopFiles(); +- configure_mon(); +- configure_pp(); ++# configure_mon(); ++# configure_pp(); + configure_net(); +- build_vmnet(); ++# build_vmnet(); + } + + # Create the directory for the UNIX domain sockets diff --git a/app-emulation/vmware-player/files/1.0.6.80404/007_all_use-modprobe-over-insmod.patch b/app-emulation/vmware-player/files/1.0.6.80404/007_all_use-modprobe-over-insmod.patch new file mode 100644 index 000000000000..c29a87e8f226 --- /dev/null +++ b/app-emulation/vmware-player/files/1.0.6.80404/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-player/files/1.0.6.80404/009_all_init.d-modules-warning.patch b/app-emulation/vmware-player/files/1.0.6.80404/009_all_init.d-modules-warning.patch new file mode 100644 index 000000000000..4eab043af8dc --- /dev/null +++ b/app-emulation/vmware-player/files/1.0.6.80404/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-player/files/2.0.3.80004/000_all_initd-location.patch b/app-emulation/vmware-player/files/2.0.3.80004/000_all_initd-location.patch new file mode 100644 index 000000000000..6eb6619d2b8e --- /dev/null +++ b/app-emulation/vmware-player/files/2.0.3.80004/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-player/files/2.0.3.80004/001_all_fix-permissions.patch b/app-emulation/vmware-player/files/2.0.3.80004/001_all_fix-permissions.patch new file mode 100644 index 000000000000..e646b7b2da5c --- /dev/null +++ b/app-emulation/vmware-player/files/2.0.3.80004/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-player/files/2.0.3.80004/002_all_pagebreak-detection-fix.patch b/app-emulation/vmware-player/files/2.0.3.80004/002_all_pagebreak-detection-fix.patch new file mode 100644 index 000000000000..fd3fc76ca679 --- /dev/null +++ b/app-emulation/vmware-player/files/2.0.3.80004/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-player/files/2.0.3.80004/004_all_do-not-build-modules.patch b/app-emulation/vmware-player/files/2.0.3.80004/004_all_do-not-build-modules.patch new file mode 100644 index 000000000000..e2649c0af27b --- /dev/null +++ b/app-emulation/vmware-player/files/2.0.3.80004/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-player/files/2.0.3.80004/007_all_use-modprobe-over-insmod.patch b/app-emulation/vmware-player/files/2.0.3.80004/007_all_use-modprobe-over-insmod.patch new file mode 100644 index 000000000000..c29a87e8f226 --- /dev/null +++ b/app-emulation/vmware-player/files/2.0.3.80004/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-player/files/2.0.3.80004/009_all_init.d-modules-warning.patch b/app-emulation/vmware-player/files/2.0.3.80004/009_all_init.d-modules-warning.patch new file mode 100644 index 000000000000..4eab043af8dc --- /dev/null +++ b/app-emulation/vmware-player/files/2.0.3.80004/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-player/files/2.0.3.80004/011_all_legit-modules-only.patch b/app-emulation/vmware-player/files/2.0.3.80004/011_all_legit-modules-only.patch new file mode 100644 index 000000000000..9e453ed1e2ee --- /dev/null +++ b/app-emulation/vmware-player/files/2.0.3.80004/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"); |