summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-emulation')
-rw-r--r--app-emulation/vmware-workstation/Manifest42
-rw-r--r--app-emulation/vmware-workstation/files/3.2.1.2242/90vmware-workstation3
-rw-r--r--app-emulation/vmware-workstation/files/3.2.1.2242/vmware74
-rw-r--r--app-emulation/vmware-workstation/files/3.2.1.2242/vmware-config.pl-gcc-generalized.patch60
-rw-r--r--app-emulation/vmware-workstation/files/3.2.1.2242/vmware-glibc-2.3.2-compat.c32
-rw-r--r--app-emulation/vmware-workstation/files/digest-vmware-workstation-3.2.1.2242-r129
-rw-r--r--app-emulation/vmware-workstation/vmware-workstation-3.2.1.2242-r12.ebuild99
7 files changed, 14 insertions, 305 deletions
diff --git a/app-emulation/vmware-workstation/Manifest b/app-emulation/vmware-workstation/Manifest
index 3d23775d21ab..04ae88118f85 100644
--- a/app-emulation/vmware-workstation/Manifest
+++ b/app-emulation/vmware-workstation/Manifest
@@ -1,19 +1,6 @@
-AUX 3.2.1.2242/90vmware-workstation 70 RMD160 49413cb8c18b5d750a5d741163f79ca0cfb84548 SHA1 6be347834f8b397a16afe17e30cd75cb8c0c8ce4 SHA256 4fa4fbd490099268612530b00e2f96f2d6d22840010744dbea6f8ea6cc526fd3
-MD5 48c1667773503fee21a1068da07440b9 files/3.2.1.2242/90vmware-workstation 70
-RMD160 49413cb8c18b5d750a5d741163f79ca0cfb84548 files/3.2.1.2242/90vmware-workstation 70
-SHA256 4fa4fbd490099268612530b00e2f96f2d6d22840010744dbea6f8ea6cc526fd3 files/3.2.1.2242/90vmware-workstation 70
-AUX 3.2.1.2242/vmware 1431 RMD160 d310e3fdd142a39c103e6b1012e939f7a7cc027c SHA1 083da525e492cba69f0d4ef0a210bf1729ad3285 SHA256 6bd71ce36525765d25f34c386110ce40fcaa3805565589e58e2d14c287598c55
-MD5 7db46e16b4b2823e094cbfc18766181c files/3.2.1.2242/vmware 1431
-RMD160 d310e3fdd142a39c103e6b1012e939f7a7cc027c files/3.2.1.2242/vmware 1431
-SHA256 6bd71ce36525765d25f34c386110ce40fcaa3805565589e58e2d14c287598c55 files/3.2.1.2242/vmware 1431
-AUX 3.2.1.2242/vmware-config.pl-gcc-generalized.patch 2948 RMD160 9bde8c2f9ec875f114130a793bbbbeec6a53440f SHA1 78df747df91c17d1bf0e021f188dd147313945d6 SHA256 0d2e173beaaa07649223d22c5fac18f14babfee174740777831db98ffa2bf235
-MD5 3bfb39f5e96f60db67c7246f74c21501 files/3.2.1.2242/vmware-config.pl-gcc-generalized.patch 2948
-RMD160 9bde8c2f9ec875f114130a793bbbbeec6a53440f files/3.2.1.2242/vmware-config.pl-gcc-generalized.patch 2948
-SHA256 0d2e173beaaa07649223d22c5fac18f14babfee174740777831db98ffa2bf235 files/3.2.1.2242/vmware-config.pl-gcc-generalized.patch 2948
-AUX 3.2.1.2242/vmware-glibc-2.3.2-compat.c 1039 RMD160 44d68670a7f0221668e9a2bef94591bd25d48ce4 SHA1 d89a0061178b5de6a25633c7a0d3d9b869442fae SHA256 8193b9526bc7dce4e24169ba4fc69fdbff8cd3a77e1127538f82a4ab520b9717
-MD5 b95a250f31a6d2005176b27b8d48c182 files/3.2.1.2242/vmware-glibc-2.3.2-compat.c 1039
-RMD160 44d68670a7f0221668e9a2bef94591bd25d48ce4 files/3.2.1.2242/vmware-glibc-2.3.2-compat.c 1039
-SHA256 8193b9526bc7dce4e24169ba4fc69fdbff8cd3a77e1127538f82a4ab520b9717 files/3.2.1.2242/vmware-glibc-2.3.2-compat.c 1039
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
AUX 4.5.3.19414/000_all_initd-location.patch 1678 RMD160 179cf5d4386034f451d93e30f8f440f91775949f SHA1 10602340c4591adf454deedf932495fbf05bfef4 SHA256 c43f07518e28c9f938fbf345ebbb9201c5f707a743aeb61a104ed377bd8b60a8
MD5 5710ea1b55fab63f86f87adfb5eb5f06 files/4.5.3.19414/000_all_initd-location.patch 1678
RMD160 179cf5d4386034f451d93e30f8f440f91775949f files/4.5.3.19414/000_all_initd-location.patch 1678
@@ -102,7 +89,6 @@ AUX vmware-workstation.xml 1592 RMD160 0d7e9ed13ebb3c73dd847e95fa95499296609e8c
MD5 aa1b576735134579f04b29763901dc4f files/vmware-workstation.xml 1592
RMD160 0d7e9ed13ebb3c73dd847e95fa95499296609e8c files/vmware-workstation.xml 1592
SHA256 56aafee80ad705e8d832f8853c36d763d37b87d1cb132a41c50eb63085ae854d files/vmware-workstation.xml 1592
-DIST VMware-workstation-3.2.1-2242.tar.gz 12577292 RMD160 f2a6c3cc38f3c3851446e8902237b958367293a1 SHA1 3f3c8539270707087525e220264a38639bf17547 SHA256 ec305ca65c2e513b5d809e59849176d15dcf6a8f88e3d9bc9ce8fdca59fc2dfc
DIST VMware-workstation-4.5.3-19414.tar.gz 42444031 RMD160 0f0b7a2249a12b75c9d81b8906efb2e85e04878b SHA1 f277dd75d9050b90d339b7f126a8575188791fb3 SHA256 6873ff04a317e6d0cbf31d4dd2ffcacd99cd335fb329e47f2c5f924376ffdcd6
DIST VMware-workstation-5.5.1-19175.tar.gz 100090786 RMD160 79735996e1d79e96783db7d2dac67b7b7f605f47 SHA1 ed90b829b62d371eeb83cc41cd7bfb32d2a2f6e7 SHA256 7346676d0ec1c72c3f8d3e4ced37311a63c99d757998b162a08724466504e2c3
DIST VMware-workstation-5.5.2-29772.tar.gz 109294229 RMD160 811a14bbf3be5ce34807b7c76453912d196c826d SHA1 7d7534e00b0d600c8d3a162df05e23326fc1d60c SHA256 a9d8feba6535a9a15f1eee8a269052273d50e9e83f461cf609ed0b6c76851b23
@@ -110,10 +96,6 @@ DIST vmware-any-any-update104.tar.gz 297243 RMD160 426616f026de409ca057ec1a0913d
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
DIST vmware.png 470 RMD160 759a5530b3bb605e6bc2c1e203490163d320485d SHA1 2262b25fb3ec66ed7b209ff5205fb9b289ca1afc SHA256 9bec91ecc32fa913141ca303abf1abec988ebc7fb4f27389f173bf3493bffb9b
-EBUILD vmware-workstation-3.2.1.2242-r12.ebuild 2899 RMD160 e6f433ef2e6e9eeeef2850b78b1a3a7a04cfaad5 SHA1 cc0cf4dc512fdc3016c65f39f5e5a06a3a91cf84 SHA256 9214784cb6149e9f6f0ec81eaf19c2d0c84b48776280865e324929348e6a010c
-MD5 3b3bd0df5c324c09e37ff31912d70724 vmware-workstation-3.2.1.2242-r12.ebuild 2899
-RMD160 e6f433ef2e6e9eeeef2850b78b1a3a7a04cfaad5 vmware-workstation-3.2.1.2242-r12.ebuild 2899
-SHA256 9214784cb6149e9f6f0ec81eaf19c2d0c84b48776280865e324929348e6a010c vmware-workstation-3.2.1.2242-r12.ebuild 2899
EBUILD vmware-workstation-4.5.3.19414-r4.ebuild 2973 RMD160 a2b129d35237a2650f462e500c629bc48aec9067 SHA1 68c491214500eec6b2fe3f68137f4439ea26afef SHA256 a654b8fcca77c4c0910123f5996f0b2d8f3820abf2400ac9211a39138467dc78
MD5 34dce6cb06511642c23f9f5fdcad601b vmware-workstation-4.5.3.19414-r4.ebuild 2973
RMD160 a2b129d35237a2650f462e500c629bc48aec9067 vmware-workstation-4.5.3.19414-r4.ebuild 2973
@@ -142,17 +124,14 @@ EBUILD vmware-workstation-5.5.2.29772.ebuild 3166 RMD160 0ba80cfe475d81e5722379d
MD5 548802ea73eb4114ad2cb447a9740fc2 vmware-workstation-5.5.2.29772.ebuild 3166
RMD160 0ba80cfe475d81e5722379d72f0371ea1079952c vmware-workstation-5.5.2.29772.ebuild 3166
SHA256 b5d90b607c908a2f9e44a15f879e6dda378a2c831ee5b6fbacb7e09d3ad1955e vmware-workstation-5.5.2.29772.ebuild 3166
-MISC ChangeLog 10347 RMD160 2c67271d890ca4217e369e15b6fb3d4f99939714 SHA1 4162a2ac47ef75e83d6a088489af1dd45363b38a SHA256 dde5b963d53e86cedccc6903c41d9f4b6d8127c274e6b981c8c94f5c786cab1b
-MD5 1edb73aceb8bf7c47f87b7871f553891 ChangeLog 10347
-RMD160 2c67271d890ca4217e369e15b6fb3d4f99939714 ChangeLog 10347
-SHA256 dde5b963d53e86cedccc6903c41d9f4b6d8127c274e6b981c8c94f5c786cab1b ChangeLog 10347
+MISC ChangeLog 10817 RMD160 b61ef3a1035852086ac49d9109560d57f817e356 SHA1 c06966aadc3fa8e5d26e5601b961a257204fa88c SHA256 c4363fe0ddc3917974438de3f61a87943a6e0c12730931714bda393d61b63ea1
+MD5 7b94b47eaf9ee41b1e8af1c1bf25de6e ChangeLog 10817
+RMD160 b61ef3a1035852086ac49d9109560d57f817e356 ChangeLog 10817
+SHA256 c4363fe0ddc3917974438de3f61a87943a6e0c12730931714bda393d61b63ea1 ChangeLog 10817
MISC metadata.xml 339 RMD160 9f4931e525280fd376eb7ac3e42c369acd23a33e SHA1 3948dcc9a9b7dc585f1783e0419b313084a231c0 SHA256 bb60a871a58964feaa59ec824a5d511455054461f0394a57a8c9ca019a0f4593
MD5 a4e5ebe5e931d6196fd49550e067b078 metadata.xml 339
RMD160 9f4931e525280fd376eb7ac3e42c369acd23a33e metadata.xml 339
SHA256 bb60a871a58964feaa59ec824a5d511455054461f0394a57a8c9ca019a0f4593 metadata.xml 339
-MD5 04fcff8052c91d54110fcc7daab74c96 files/digest-vmware-workstation-3.2.1.2242-r12 771
-RMD160 a507351a3fecb50fdc0544adfa607d9b8deb9e10 files/digest-vmware-workstation-3.2.1.2242-r12 771
-SHA256 60dce1aad6371551ab809678dbc936e54d6162bd230be14f0af4dacbd686bec0 files/digest-vmware-workstation-3.2.1.2242-r12 771
MD5 08c9903e2bdd65edead2d0a1b22ff3f9 files/digest-vmware-workstation-4.5.3.19414-r4 774
RMD160 e31ba479d9160a3c06edc03f57726747789650b9 files/digest-vmware-workstation-4.5.3.19414-r4 774
SHA256 368632da16a30ff19f1296deb5631526803ee1ab29c2e0f6cce7fa571a36b4e9 files/digest-vmware-workstation-4.5.3.19414-r4 774
@@ -174,3 +153,10 @@ SHA256 9fa891706af6d17f62a51c2a33b7aa52630726d9186826975594e4224db27efd files/di
MD5 a5cff8320bafc87875eaf2141dbc5a98 files/digest-vmware-workstation-5.5.2.29772 1129
RMD160 862a1a9a7b4bd3c53906067d811c1f0eb1e93919 files/digest-vmware-workstation-5.5.2.29772 1129
SHA256 4567bd022c97e155d8552468c7dfd8df3c20be8f410c390a1e32a87250f43d27 files/digest-vmware-workstation-5.5.2.29772 1129
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.5 (GNU/Linux)
+
+iD8DBQFFRhzXkT4lNIS36YERArJSAKCgtrsHWFxdiwDsjstN79ezmolbqgCglVrA
+xNs03esKBZHYS/p7wpQwCvg=
+=2dEi
+-----END PGP SIGNATURE-----
diff --git a/app-emulation/vmware-workstation/files/3.2.1.2242/90vmware-workstation b/app-emulation/vmware-workstation/files/3.2.1.2242/90vmware-workstation
deleted file mode 100644
index 8e00d2bb0587..000000000000
--- a/app-emulation/vmware-workstation/files/3.2.1.2242/90vmware-workstation
+++ /dev/null
@@ -1,3 +0,0 @@
-PATH=/opt/vmware/bin
-ROOTPATH=/opt/vmware/bin
-MANPATH=/opt/vmware/man
diff --git a/app-emulation/vmware-workstation/files/3.2.1.2242/vmware b/app-emulation/vmware-workstation/files/3.2.1.2242/vmware
deleted file mode 100644
index d2cdd438a0a0..000000000000
--- a/app-emulation/vmware-workstation/files/3.2.1.2242/vmware
+++ /dev/null
@@ -1,74 +0,0 @@
-#!/sbin/runscript
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/vmware-workstation/files/3.2.1.2242/vmware,v 1.4 2005/12/19 16:16:08 wolf31o2 Exp $
-
-depend() {
- need localmount
- use logger ne
- after samba
-}
-
-vmware-prettify() {
- # Yea, the code is ugly but the output is pretty
- state=$1
- waserror=0
- msgtype=0
- while read line
- do
- [ "$line" == "" ] && continue
- if [ "$msgtype" -le "0" ]
- then
- if [ "$msgtype" == "-1" ]
- then
- ewarn $line
- continue
- fi
- if [ "${line/*:*/}" == "" ]
- then
- einfon $line
- echo
- eend 0
- msgtype=1
- else
- ewarn $line
- msgtype=-1
- waserror=1
- fi
- continue
- fi
-
- # Strip out anything after the <esc> code
- message=`echo $line | sed -e "s/^\(.*\).*$/\1/"`
- einfon " $message"
- echo
-
- echo $line | grep done > /dev/null
- status=$?
- eend $status
-
- if [ "$status" != "0" ]
- then
- logger -p local0.err -t vmware-${state} "$line"
- waserror=$status
- fi
- done
- if [ "$msgtype" == "-1" ]
- then
- eend 1 "VMware is not properly configured! See above."
- fi
- return $waserror
-}
-
-start() {
- test -x /etc/vmware/init.d/vmware || \
- eend 1 "vmware init script not found. Aborting" || return 1
-
- /etc/vmware/init.d/vmware start | vmware-prettify start
- return $?
-}
-
-stop() {
- /etc/vmware/init.d/vmware stop | vmware-prettify stop
- return $?
-}
diff --git a/app-emulation/vmware-workstation/files/3.2.1.2242/vmware-config.pl-gcc-generalized.patch b/app-emulation/vmware-workstation/files/3.2.1.2242/vmware-config.pl-gcc-generalized.patch
deleted file mode 100644
index f2a0239f4c7b..000000000000
--- a/app-emulation/vmware-workstation/files/3.2.1.2242/vmware-config.pl-gcc-generalized.patch
+++ /dev/null
@@ -1,60 +0,0 @@
---- bin/vmware-config.pl.orig 2002-12-16 12:15:35.000000000 -0500
-+++ bin/vmware-config.pl 2002-12-16 13:30:29.000000000 -0500
-@@ -1487,21 +1487,21 @@
- }
-
- $gcc_version = direct_command(shell_string($gHelper{'gcc'})
-- . ' --version');
-+ . ' -dumpversion');
- chomp($gcc_version);
- @gcc_version_num = split(/\./, $gcc_version);
-- if ($gcc_version_num[0] >= 3) {
-- if (get_answer('As of April 2002, gcc version 3 and later is not yet a '
-- . 'supported compiler by the Linux kernel development '
-- . 'team. Have a look at Documentation/Changes in your '
-- . 'kernel source directory to get the correct compiler '
-- . 'installed. Do you want to go with compiler "'
-- . $gHelper{'gcc'} . '" version ' . $gcc_version . '?',
-- 'yesno', 'no') eq 'no') {
-- print wrap('Unable to continue.' . "\n\n", 0);
-- module_error();
-- }
-- }
-+# if ($gcc_version_num[0] >= 3) {
-+# if (get_answer('As of April 2002, gcc version 3 and later is not yet a '
-+# . 'supported compiler by the Linux kernel development '
-+# . 'team. Have a look at Documentation/Changes in your '
-+# . 'kernel source directory to get the correct compiler '
-+# . 'installed. Do you want to go with compiler "'
-+# . $gHelper{'gcc'} . '" version ' . $gcc_version . '?',
-+# 'yesno', 'no') eq 'no') {
-+# print wrap('Unable to continue.' . "\n\n", 0);
-+# module_error();
-+# }
-+# }
-
- # When installing the modules, kernels 2.4+ setup a symlink to the kernel
- # source directory
-@@ -1526,6 +1526,22 @@
- module_error();
- }
-
-+ my $makefile="$build_dir/$name-only/Makefile";
-+ my $gcc_replace="";
-+ $gcc_version = direct_command(shell_string($gHelper{'gcc'})
-+ . ' -dumpversion');
-+ chomp($gcc_version);
-+ @gcc_version_num = split(/\./, $gcc_version);
-+ if ($gcc_version_num[0] >= 3) {
-+ $gcc_replace="-e 's:-malign-:-falign-:g'";
-+ }
-+ system("/usr/bin/cp $makefile $makefile.old");
-+ system("/usr/bin/sed" .
-+ " -e 's:CC) --version:CC) -dumpversion:'" .
-+ " -e 's:-m486:-march=i486:'" .
-+ " -e 's:-Wall -Wstrict-prototypes::'" .
-+ " $gcc_replace" .
-+ " $makefile.old > $makefile");
- print wrap('Building the ' . $name . ' module.' . "\n\n", 0);
- if (system(shell_string($gHelper{'make'}) . ' -C ' . shell_string($build_dir . '/' . $name . '-only') . ' auto-build ' . (($gSystem{'smp'} eq 'yes') ? 'SUPPORT_SMP=1 ' : '') . shell_string('HEADER_DIR=' . db_get_answer('HEADER_DIR')) . ' ' . shell_string('CC=' . $gHelper{'gcc'}) . ' ' . shell_string('GREP=' . $gHelper{'grep'}))) {
- print wrap('Unable to build the ' . $name . ' module.' . "\n\n", 0);
diff --git a/app-emulation/vmware-workstation/files/3.2.1.2242/vmware-glibc-2.3.2-compat.c b/app-emulation/vmware-workstation/files/3.2.1.2242/vmware-glibc-2.3.2-compat.c
deleted file mode 100644
index 3499be2e5972..000000000000
--- a/app-emulation/vmware-workstation/files/3.2.1.2242/vmware-glibc-2.3.2-compat.c
+++ /dev/null
@@ -1,32 +0,0 @@
-/*
- * Build with: gcc -W -Wall -shared -o q.so q.c
- */
-
-#include <dlfcn.h>
-#include <sys/mman.h>
-#include <stdlib.h>
-#include <stdio.h>
-
-void go(void) __attribute__((constructor));
-
-void go(void) {
- void* qh;
- unsigned char *__real_errno_location, *__vm_errno_location;
-
- qh = dlopen("libc.so.6", RTLD_GLOBAL);
- __real_errno_location = dlsym(qh, "__errno_location");
- __vm_errno_location = dlsym(NULL, "__errno_location");
- printf("Got eroloc %p & %p\n", __vm_errno_location, __real_errno_location);
- if (__real_errno_location && __vm_errno_location && __real_errno_location != __vm_errno_location) {
- unsigned int errnobase = (int)__vm_errno_location;
- unsigned int mpbase = errnobase & ~0xFFF;
- unsigned int mplen = 4096;
- if (errnobase + 5 > mpbase + mplen) {
- mplen = mplen + 4096;
- }
- mprotect((void*)mpbase, mplen, PROT_READ|PROT_WRITE|PROT_EXEC);
- *__vm_errno_location = 0xE9;
- *(int*)(__vm_errno_location + 1) = __real_errno_location - __vm_errno_location - 5;
- mprotect((void*)mpbase, mplen, PROT_READ|PROT_EXEC);
- }
-}
diff --git a/app-emulation/vmware-workstation/files/digest-vmware-workstation-3.2.1.2242-r12 b/app-emulation/vmware-workstation/files/digest-vmware-workstation-3.2.1.2242-r12
deleted file mode 100644
index ee50c9bdaaab..000000000000
--- a/app-emulation/vmware-workstation/files/digest-vmware-workstation-3.2.1.2242-r12
+++ /dev/null
@@ -1,9 +0,0 @@
-MD5 56dccf022582a374cf2eac06796115cf VMware-workstation-3.2.1-2242.tar.gz 12577292
-RMD160 f2a6c3cc38f3c3851446e8902237b958367293a1 VMware-workstation-3.2.1-2242.tar.gz 12577292
-SHA256 ec305ca65c2e513b5d809e59849176d15dcf6a8f88e3d9bc9ce8fdca59fc2dfc VMware-workstation-3.2.1-2242.tar.gz 12577292
-MD5 8cba16d3f6b3723b43d555a5f7cbf850 vmware-any-any-update104.tar.gz 297243
-RMD160 426616f026de409ca057ec1a0913dc9b3d43ef03 vmware-any-any-update104.tar.gz 297243
-SHA256 c0a9efad2677e93ed914e296131916f8b316377644c5d8c716e6575cd58b3c69 vmware-any-any-update104.tar.gz 297243
-MD5 7ca1ec14670b51d8cf824a58bc8d6621 vmware.png 470
-RMD160 759a5530b3bb605e6bc2c1e203490163d320485d vmware.png 470
-SHA256 9bec91ecc32fa913141ca303abf1abec988ebc7fb4f27389f173bf3493bffb9b vmware.png 470
diff --git a/app-emulation/vmware-workstation/vmware-workstation-3.2.1.2242-r12.ebuild b/app-emulation/vmware-workstation/vmware-workstation-3.2.1.2242-r12.ebuild
deleted file mode 100644
index bbaef8fee9c1..000000000000
--- a/app-emulation/vmware-workstation/vmware-workstation-3.2.1.2242-r12.ebuild
+++ /dev/null
@@ -1,99 +0,0 @@
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/vmware-workstation/vmware-workstation-3.2.1.2242-r12.ebuild,v 1.4 2006/10/02 15:56:20 wolf31o2 Exp $
-
-# Alter ebuild so that the metadata cache is invalidated.
-
-inherit toolchain-funcs eutils vmware
-
-MY_P="VMware-workstation-3.2.1-2242"
-
-DESCRIPTION="Emulate a complete PC on your PC without the usual performance overhead of most emulators"
-HOMEPAGE="http://www.vmware.com/products/desktop/ws_features.html"
-SRC_URI="mirror://vmware/software/${MY_P}.tar.gz
- http://ftp.cvut.cz/vmware/${ANY_ANY}.tar.gz
- http://ftp.cvut.cz/vmware/obsolete/${ANY_ANY}.tar.gz
- http://knihovny.cvut.cz/ftp/pub/vmware/${ANY_ANY}.tar.gz
- http://knihovny.cvut.cz/ftp/pub/vmware/obselete/${ANY_ANY}.tar.gz
- mirror://gentoo/vmware.png"
-
-LICENSE="vmware"
-SLOT="0"
-KEYWORDS="-* x86"
-IUSE=""
-# Even with all of the QA_* variables below, we still need this because there is
-# no QA variable for setXid lazy bindings. Sorry, guys.
-RESTRICT="stricter strip"
-
-# vmware-workstation should not use virtual/libc as this is a
-# precompiled binary package thats linked to glibc.
-RDEPEND="sys-libs/glibc
- x11-libs/libXrandr
- x11-libs/libXcursor
- x11-libs/libXinerama
- x11-libs/libXi
- virtual/xft
- !app-emulation/vmware-player
- !app-emulation/vmware-server
- ~app-emulation/vmware-modules-1.0.0.8
- media-libs/gdk-pixbuf
- >=dev-lang/perl-5
- sys-apps/pciutils"
-
-S=${WORKDIR}/vmware-distrib
-
-RUN_UPDATE="no"
-
-dir=/opt/vmware/workstation
-Ddir=${D}/${dir}
-
-QA_TEXTRELS_x86="${dir:1}/lib/lib/libgdk-x11-2.0.so.0/libgdk-x11-2.0.so.0"
-QA_EXECSTACK_x86="${dir:1}/bin/vmnet-bridge
- ${dir:1}/bin/vmnet-dhcpd
- ${dir:1}/bin/vmnet-natd
- ${dir:1}/bin/vmnet-netifup
- ${dir:1}/bin/vmnet-sniffer
- ${dir:1}/bin/vmware-loop
- ${dir:1}/bin/vmware-ping
- ${dir:1}/bin/vmware-vdiskmanager
- ${dir:1}/lib/bin/vmware
- ${dir:1}/lib/bin/vmware-vmx
- ${dir:1}/lib/bin/vmrun
- ${dir:1}/lib/bin/vmplayer
- ${dir:1}/lib/bin-debug/vmware-vmx
- ${dir:1}/lib/lib/libpixops.so.2.0.1/libpixops.so.2.0.1"
-
-src_compile() {
- has_version '<sys-libs/glibc-2.3.2' \
- && GLIBC_232=0 \
- || GLIBC_232=1
-
- if [ ${GLIBC_232} -eq 1 ] ; then
- $(tc-getCC) -W -Wall -shared -o vmware-glibc-2.3.2-compat.so \
- ${FILESDIR}/${PV}/vmware-glibc-2.3.2-compat.c \
- || die "could not make module"
- else
- return 0
- fi
-}
-
-src_install() {
- vmware_src_install
- # We also remove libgdk_pixbuf stuff, to resolve bug #81344.
- rm -rf ${Ddir}/lib/lib/libgdk_pixbuf.so.2
-
- make_desktop_entry vmware "VMware Workstation" vmware.png
-
- if [ ${GLIBC_232} -eq 1 ] ; then
- dolib.so vmware-glibc-2.3.2-compat.so
- cd ${Ddir}/lib/bin
- mv vmware-ui{,.bin}
- mv vmware-mks{,.bin}
- echo '#!/bin/sh' > vmware-ui
- echo 'LD_PRELOAD=vmware-glibc-2.3.2-compat.so exec "$0.bin" "$@"' >> vmware-ui
- chmod a+x vmware-ui
- cp vmware-{ui,mks}
- else
- return 0
- fi
-}