summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Gianelloni <wolf31o2@gentoo.org>2006-06-01 22:34:01 +0000
committerChris Gianelloni <wolf31o2@gentoo.org>2006-06-01 22:34:01 +0000
commit2021f2fd8deef7f0f328a1a7f85fa702df7429e7 (patch)
tree619685672c3c2f2b712f13e75c0c8198960cb58e /app-emulation/vmware-player/files
parentRemanifest most of the ebuilds for the Id header. (diff)
downloadvmware-2021f2fd8deef7f0f328a1a7f85fa702df7429e7.tar.gz
vmware-2021f2fd8deef7f0f328a1a7f85fa702df7429e7.tar.bz2
vmware-2021f2fd8deef7f0f328a1a7f85fa702df7429e7.zip
Lots of changes, really. Brought back working vmware-workstation/vmware-player ebuilds. The rest is all new stuff which is mentioned in detail in the ChangeLog.
svn path=/trunk/; revision=45
Diffstat (limited to 'app-emulation/vmware-player/files')
-rw-r--r--app-emulation/vmware-player/files/vmware-player-1.0.1.19317-config.patch31
-rw-r--r--app-emulation/vmware-player/files/vmware-player-1.0.1.19317-config2.patch15
-rw-r--r--app-emulation/vmware-player/files/vmware-player-1.0.1.19317-config3.patch12
3 files changed, 58 insertions, 0 deletions
diff --git a/app-emulation/vmware-player/files/vmware-player-1.0.1.19317-config.patch b/app-emulation/vmware-player/files/vmware-player-1.0.1.19317-config.patch
new file mode 100644
index 0000000..1d864f7
--- /dev/null
+++ b/app-emulation/vmware-player/files/vmware-player-1.0.1.19317-config.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/vmware-player-1.0.1.19317-config2.patch b/app-emulation/vmware-player/files/vmware-player-1.0.1.19317-config2.patch
new file mode 100644
index 0000000..e646b7b
--- /dev/null
+++ b/app-emulation/vmware-player/files/vmware-player-1.0.1.19317-config2.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/vmware-player-1.0.1.19317-config3.patch b/app-emulation/vmware-player/files/vmware-player-1.0.1.19317-config3.patch
new file mode 100644
index 0000000..f700f5d
--- /dev/null
+++ b/app-emulation/vmware-player/files/vmware-player-1.0.1.19317-config3.patch
@@ -0,0 +1,12 @@
+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
+@@ -1969,7 +1969,7 @@
+ . ' -E - | ' . shell_string($gHelper{'grep'}) . ' '
+ . shell_string($pattern));
+ chomp($header_page_offset);
+- $header_page_offset =~ s/^$pattern \(?0x([0-9a-fA-F]{8,}).*$/$1/;
++ $header_page_offset =~ s/^$pattern \(?(\([^)]*\))?\)?0x([0-9a-fA-F]{8,}).*$/$2/;
+ if ($header_page_offset =~ /[0-9a-fA-F]{8,}/) {
+ # We found a valid page offset
+ if (defined($gSystem{'page_offset'}) and