summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVadim Kuznetsov <vadimk@gentoo.org>2010-05-11 16:52:58 +0000
committerVadim Kuznetsov <vadimk@gentoo.org>2010-05-11 16:52:58 +0000
commite1c1a868c37d2a87d0a5ab0bb9a93f640504fc8d (patch)
tree17b7256e2eb5dcf1369704443e50897365f7b7b4 /app-emulation/vmware-server
parentqtmultimedia has been keyworded. (diff)
downloadhistorical-e1c1a868c37d2a87d0a5ab0bb9a93f640504fc8d.tar.gz
historical-e1c1a868c37d2a87d0a5ab0bb9a93f640504fc8d.tar.bz2
historical-e1c1a868c37d2a87d0a5ab0bb9a93f640504fc8d.zip
removing old versions
Package-Manager: portage-2.1.8.3/cvs/Linux x86_64
Diffstat (limited to 'app-emulation/vmware-server')
-rw-r--r--app-emulation/vmware-server/ChangeLog15
-rw-r--r--app-emulation/vmware-server/Manifest16
-rw-r--r--app-emulation/vmware-server/files/2.0.1.156745/000_all_initd-location.patch32
-rw-r--r--app-emulation/vmware-server/files/2.0.1.156745/001_all_fix-permissions.patch15
-rw-r--r--app-emulation/vmware-server/files/2.0.1.156745/002_all_pagebreak-detection-fix.patch15
-rw-r--r--app-emulation/vmware-server/files/2.0.1.156745/004_all_do-not-build-modules.patch26
-rw-r--r--app-emulation/vmware-server/files/2.0.1.156745/007_all_use-modprobe-over-insmod.patch13
-rw-r--r--app-emulation/vmware-server/files/2.0.1.156745/009_all_init.d-modules-warning.patch19
-rw-r--r--app-emulation/vmware-server/files/2.0.1.156745/011_all_legit-modules-only.patch13
-rw-r--r--app-emulation/vmware-server/files/2.0.1.156745/012_all_rc-config.patch25
-rw-r--r--app-emulation/vmware-server/vmware-server-1.0.8.126538.ebuild101
-rw-r--r--app-emulation/vmware-server/vmware-server-2.0.1.156745-r3.ebuild297
-rw-r--r--app-emulation/vmware-server/vmware-server-2.0.2.203138.ebuild310
13 files changed, 15 insertions, 882 deletions
diff --git a/app-emulation/vmware-server/ChangeLog b/app-emulation/vmware-server/ChangeLog
index 113c7f55b7ce..7c45b406a3e8 100644
--- a/app-emulation/vmware-server/ChangeLog
+++ b/app-emulation/vmware-server/ChangeLog
@@ -1,6 +1,19 @@
# ChangeLog for app-emulation/vmware-server
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/vmware-server/ChangeLog,v 1.63 2010/04/22 18:51:51 vadimk Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/vmware-server/ChangeLog,v 1.64 2010/05/11 16:52:58 vadimk Exp $
+
+ 11 May 2010; Vadim Kuznetsov <vadimk@gentoo.org>
+ -files/2.0.1.156745/000_all_initd-location.patch,
+ -files/2.0.1.156745/001_all_fix-permissions.patch,
+ -files/2.0.1.156745/002_all_pagebreak-detection-fix.patch,
+ -files/2.0.1.156745/004_all_do-not-build-modules.patch,
+ -files/2.0.1.156745/007_all_use-modprobe-over-insmod.patch,
+ -files/2.0.1.156745/009_all_init.d-modules-warning.patch,
+ -files/2.0.1.156745/011_all_legit-modules-only.patch,
+ -vmware-server-1.0.8.126538.ebuild, -vmware-server-2.0.2.203138.ebuild,
+ -files/2.0.1.156745/012_all_rc-config.patch,
+ -vmware-server-2.0.1.156745-r3.ebuild:
+ removing old versions
*vmware-server-2.0.2.203138-r1 (22 Apr 2010)
diff --git a/app-emulation/vmware-server/Manifest b/app-emulation/vmware-server/Manifest
index acecbfdfb982..90129b08452a 100644
--- a/app-emulation/vmware-server/Manifest
+++ b/app-emulation/vmware-server/Manifest
@@ -1,11 +1,3 @@
-AUX 2.0.1.156745/000_all_initd-location.patch 1259 RMD160 edced247443fc535e5a6b98404153e970721e5aa SHA1 9a36424152bc38aba53c66cea983a41f0b23baff SHA256 5e163e7232a260ea6bff570180756807f9587ab5cf836c9c293d7162d788c062
-AUX 2.0.1.156745/001_all_fix-permissions.patch 702 RMD160 9d77ba6ff6cba0b9ee529777870470028c687f22 SHA1 863278b6cfadca04ae539bc858731658074ed01e SHA256 8f5fac381a2eda0f1da8a521fcb0ef17b139bf5b8b926425946534e802ce8307
-AUX 2.0.1.156745/002_all_pagebreak-detection-fix.patch 800 RMD160 f21a51e552d025a5120519d6dcd41efc3835a432 SHA1 06133c332b6b1f57476b1154de108a9dfc35435d SHA256 d327d7cb2166b9ef4c8c286568c3a7eb64542212164d58b8a7a3c5e51e19ed6d
-AUX 2.0.1.156745/004_all_do-not-build-modules.patch 553 RMD160 6dd19e4a7626f97354f4cb1725aeba306d72e113 SHA1 7b949213c10681026eb22fe6a6e96af482931e2c SHA256 39884f9af3d85883b06beb6678ad12e5fed32bded8a039b49c680336011425ec
-AUX 2.0.1.156745/007_all_use-modprobe-over-insmod.patch 343 RMD160 ef4007c98c8342e00fe8e04c76f08f0901a6539a SHA1 62d4a5ee744c36fa59b44e4382338760e67e88e1 SHA256 68cb51ad4ea3a24faa1101c3a72cd17f61fcdb901af5fa93a9eeaad5b6c9383d
-AUX 2.0.1.156745/009_all_init.d-modules-warning.patch 965 RMD160 3a98d59bb591aa6498a7dca9751f441b430c6288 SHA1 5b6b1c1330d1108bb769107c73fdc43c1fe46be5 SHA256 dbeb12905d75f06be519cc99e6e0c070b6e08e34cdb813c518b09a04b55876fb
-AUX 2.0.1.156745/011_all_legit-modules-only.patch 535 RMD160 de7fa6a29bf9f7e6670de53fd2dfdc842ec7a097 SHA1 9bd34078eeb012cec94eaac4ab9d899ad4244ca1 SHA256 ed15e9e237bf69dc5ef7803db53011d06b84525d5df6754afa54290d1677f794
-AUX 2.0.1.156745/012_all_rc-config.patch 867 RMD160 b88448d21d361468c2e30863abf2dfac3b71c10e SHA1 5cd66235af794a57e5d982ffb93122999666dbc0 SHA256 a1ef415a5d036efb5846d80a1b0475d56c2bc2f608a4099bd04a1445ace22761
AUX 2.0.2.203138/000_all_initd-location.patch 1259 RMD160 edced247443fc535e5a6b98404153e970721e5aa SHA1 9a36424152bc38aba53c66cea983a41f0b23baff SHA256 5e163e7232a260ea6bff570180756807f9587ab5cf836c9c293d7162d788c062
AUX 2.0.2.203138/001_all_fix-permissions.patch 702 RMD160 9d77ba6ff6cba0b9ee529777870470028c687f22 SHA1 863278b6cfadca04ae539bc858731658074ed01e SHA256 8f5fac381a2eda0f1da8a521fcb0ef17b139bf5b8b926425946534e802ce8307
AUX 2.0.2.203138/002_all_pagebreak-detection-fix.patch 800 RMD160 f21a51e552d025a5120519d6dcd41efc3835a432 SHA1 06133c332b6b1f57476b1154de108a9dfc35435d SHA256 d327d7cb2166b9ef4c8c286568c3a7eb64542212164d58b8a7a3c5e51e19ed6d
@@ -29,18 +21,12 @@ AUX vmware-server-2.rc 1563 RMD160 8b3affded1b0d2f63c443f236ff1f113bc8c167f SHA1
AUX vmware-server.rc 1529 RMD160 d6840024f8c7be0a673e5e29660cc75fea9520d8 SHA1 049cf33eb5bac09415f8e2a85f7ecfd0bbc5ab4a SHA256 ef551e4240eea88184c96e286354a53a4983ce80c3332a127767301b42586cb2
AUX vmware-server.xml 1592 RMD160 0d7e9ed13ebb3c73dd847e95fa95499296609e8c SHA1 02db2ee7ca0abb8b8793c9f56d858bb08c1c715f SHA256 56aafee80ad705e8d832f8853c36d763d37b87d1cb132a41c50eb63085ae854d
DIST VMware-server-1.0.10-203137.tar.gz 107183610 RMD160 0ddaa6a6f5b3c08804eb1b97f13ffd0fc0b87876 SHA1 f21ed65a500b2176166d90ed2821892ce1cb1fd5 SHA256 744d6057daeea5f9a950d164a3d9c5ca6273feed645699cfcf16d8acbcfa504c
-DIST VMware-server-1.0.8-126538.tar.gz 107047809 RMD160 9a1bb74accd2b3e8a84933f9676eb2cd2b1783c9 SHA1 5745503d49b8eef5a93530cbf38fc0a908ef5409 SHA256 03fb55d0088fb0867bb4697ace7535d6038bab52b948e874180a122893656d0c
DIST VMware-server-1.0.9-156507.tar.gz 107164305 RMD160 1ba44b50b1f516eb8f253e475d6b2c7b5eeb8ade SHA1 ba6e7a7b69e312e177d54c8272de25574e3d5ddb SHA256 e1c049328141f6ea77d31b38fa920d2adff5756a063fb38964faefe928cbd94c
-DIST VMware-server-2.0.1-156745.i386.tar.gz 489222157 RMD160 5c2cbb13c8ce39d905c5f8071c26df274963e87e SHA1 2cdffb408fad4cd29551eb353ef1875b650f1110 SHA256 5532393b04e9196212234e65010da5e22357f129cc0ab135d25c564ae21d8222
-DIST VMware-server-2.0.1-156745.x86_64.tar.gz 457559901 RMD160 71ce6f19285c5869947fc0673184ae93dd5c0266 SHA1 1a9f383b02ca2b261be5f2a8757b462e57eee77e SHA256 b3792ce14eb9439f06d0e0836ff2018d48779ef0ad5282a141d7f18f2aebd6f8
DIST VMware-server-2.0.2-203138.i386.tar.gz 506047036 RMD160 3119bf56e1ef9c63dfcb969d951cd78bd9c667e1 SHA1 2917c8d4e521cb9af186be8fcaf2043b1a516a6c SHA256 b4779515e2a8ecc4d768c07f9264aeb94e45986262626a3a557466e77f371662
DIST VMware-server-2.0.2-203138.x86_64.tar.gz 474415801 RMD160 0778f78122ee6b701543df5885ad1e8d3325fb82 SHA1 b65d3d46dc947fc7995bda354c4947afabd23474 SHA256 a1230f43f6b668a751e9ce2c9d2f6a2c75e4d4cea88f583901f67dbd67412e25
DIST vmware-server-perl-fixed-rpath-libs.tar.bz2 73834 RMD160 7f64627b5b945e8d7dabe39c165a4b66b71fb4d3 SHA1 9d696750ca3ec92b31ca8112fd80dcd832494044 SHA256 c42299dd033187c67b45b739da66583fbd94cdcba745200b89a25ac96cd9364b
EBUILD vmware-server-1.0.10.203137.ebuild 3003 RMD160 ab9f2256de79ad33c49baebb0cf1a5a8a7b8dfb9 SHA1 3ca0c501c4a98fb2f9f13ba7a4f11ade6431ede3 SHA256 c05cbcbf8b691b95d75cf676602b17be084ba7552fe39eedc162d4c52004edb5
-EBUILD vmware-server-1.0.8.126538.ebuild 2998 RMD160 f44db390c4e54dccf78f77d59b3aa430bc412ef9 SHA1 db86c3ab21c6cf2dbf603383a7fe98f6998f8789 SHA256 b92b97bea08c999656cf5c39a0838d2f6903b4ef36308406bd153144e1af3b25
EBUILD vmware-server-1.0.9.156507.ebuild 2998 RMD160 6c64f54a06ac8ff7ffff4add799f534b2abce555 SHA1 0a310a44856f154bf2e5211563f2d070550544e5 SHA256 b6ed4e3216ca58fc6d9c82c8e3395ab0729aea1bfcffc3b4ee51c51e2f5d3b7f
-EBUILD vmware-server-2.0.1.156745-r3.ebuild 9214 RMD160 d118828b6bfa14762ffee5b291d3dd41a08c04e8 SHA1 729daf889cfe3b28760481fdb9e3217cdd33032b SHA256 9c7ee8e198287c8ebf2a0fb54b53511b7ea6b10a1e09e3c9d295ccecd05db383
EBUILD vmware-server-2.0.2.203138-r1.ebuild 10037 RMD160 71c37ef567a01a9824fa0e853946be6e2cdf14af SHA1 993997e14dc070ba53871f30a13ec0c4cf840484 SHA256 5f8b1e64f6f80fde5dd7d6b8864d9fe50c5a74fea387582a27328ad5719d0236
-EBUILD vmware-server-2.0.2.203138.ebuild 9528 RMD160 e26755d141fccdc87988ab313a158f50a750ce5a SHA1 20545fb94ff3b40537395db035140b78714bd3e4 SHA256 d33dbc4afbb7485efd3ba262f4a9ccea56dabfa1956304e4ea06a8f7aef455bb
-MISC ChangeLog 12317 RMD160 ab48b21da5b50840479bf84e55ee3a6a9fd9afdf SHA1 73b3b38f65caf0e78d886db5e3d9e7a92139c04d SHA256 89aa1ece88d9be09ad46911d9dcbcdabfca055e1b4f8eafa35220f2cea6d249a
+MISC ChangeLog 12957 RMD160 a22590bb625462f2f92cb8b92a4358862c059d3b SHA1 c65cc5345026233c78e360ce99de12c6d6d0b671 SHA256 d5b47d5997f13ce3c2923e1afca1553e17169287f80d701e8cdc0ec6327d45d7
MISC metadata.xml 451 RMD160 34ad07edf6d4f6d9b00b8c0ea197fa8ddad2397b SHA1 7983215b3da6bbfb2e5c167b33b0625a5a31280d SHA256 b64b12ed17797856c0f950540b92f134ca8ffafd40eabafb4ef90c889e16a3e3
diff --git a/app-emulation/vmware-server/files/2.0.1.156745/000_all_initd-location.patch b/app-emulation/vmware-server/files/2.0.1.156745/000_all_initd-location.patch
deleted file mode 100644
index 77146c3b163d..000000000000
--- a/app-emulation/vmware-server/files/2.0.1.156745/000_all_initd-location.patch
+++ /dev/null
@@ -1,32 +0,0 @@
-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 2007-12-02 11:40:41.000000000 +0000
-+++ vmware-server-distrib/bin/vmware-config.pl 2007-12-02 11:43:29.000000000 +0000
-@@ -10162,7 +10162,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");
- }
-@@ -10212,8 +10212,8 @@
-
- if (isDesktopProduct()) {
- build_vmblock();
-- createMimePackageFile();
-- configureDesktopFiles();
-+ # createMimePackageFile();
-+ # configureDesktopFiles();
- if (vmware_binary() ne "vmplayer") {
- configure_eclipse_plugin();
- }
-@@ -10283,7 +10283,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-server/files/2.0.1.156745/001_all_fix-permissions.patch b/app-emulation/vmware-server/files/2.0.1.156745/001_all_fix-permissions.patch
deleted file mode 100644
index 605e358d51d1..000000000000
--- a/app-emulation/vmware-server/files/2.0.1.156745/001_all_fix-permissions.patch
+++ /dev/null
@@ -1,15 +0,0 @@
-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 2007-12-02 11:16:42.000000000 +0000
-+++ vmware-server-distrib/bin/vmware-config.pl 2007-12-02 11:25:36.000000000 +0000
-@@ -9097,7 +9097,10 @@
- error('Unable to write configuration file "' . $name . '".' . "\n\n");
- }
- db_add_file($name, $cFlagTimestamp | $cFlagConfig);
-- 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-server/files/2.0.1.156745/002_all_pagebreak-detection-fix.patch b/app-emulation/vmware-server/files/2.0.1.156745/002_all_pagebreak-detection-fix.patch
deleted file mode 100644
index fd3fc76ca679..000000000000
--- a/app-emulation/vmware-server/files/2.0.1.156745/002_all_pagebreak-detection-fix.patch
+++ /dev/null
@@ -1,15 +0,0 @@
-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-server/files/2.0.1.156745/004_all_do-not-build-modules.patch b/app-emulation/vmware-server/files/2.0.1.156745/004_all_do-not-build-modules.patch
deleted file mode 100644
index 35fe16bb280c..000000000000
--- a/app-emulation/vmware-server/files/2.0.1.156745/004_all_do-not-build-modules.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-diff --git a/bin/vmware-config.pl b/bin/vmware-config.pl
-index 363f9cb..7ffc212 100755
---- a/bin/vmware-config.pl
-+++ b/bin/vmware-config.pl
-@@ -10404,16 +10404,16 @@ sub main {
- }
-
- if (vmware_product() ne 'server') {
-- configure_mon();
-- configure_vmci();
-- configure_vsock();
-- configure_pp();
-+ #configure_mon();
-+ #configure_vmci();
-+ #configure_vsock();
-+ #configure_pp();
-
- if (vmware_product() eq 'wgs') {
- configure_net();
- }
-
-- build_vmnet();
-+ #build_vmnet();
- }
-
- if (isDesktopProduct()) {
diff --git a/app-emulation/vmware-server/files/2.0.1.156745/007_all_use-modprobe-over-insmod.patch b/app-emulation/vmware-server/files/2.0.1.156745/007_all_use-modprobe-over-insmod.patch
deleted file mode 100644
index 42fc20afeb1c..000000000000
--- a/app-emulation/vmware-server/files/2.0.1.156745/007_all_use-modprobe-over-insmod.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-diff --git a/installer/services.sh b/installer/services.sh
-index 402ad79..2fb53ab 100755
---- a/installer/services.sh
-+++ b/installer/services.sh
-@@ -755,7 +755,7 @@ vmware_run_vimsh_cmd() {
- }
-
- vmware_load_module() {
-- /sbin/insmod -s -f "/lib/modules/`uname -r`/misc/$1.o" || exit 1
-+ /sbin/modprobe -s "$1" || exit 1
- return 0
- }
-
diff --git a/app-emulation/vmware-server/files/2.0.1.156745/009_all_init.d-modules-warning.patch b/app-emulation/vmware-server/files/2.0.1.156745/009_all_init.d-modules-warning.patch
deleted file mode 100644
index dc57efbfe162..000000000000
--- a/app-emulation/vmware-server/files/2.0.1.156745/009_all_init.d-modules-warning.patch
+++ /dev/null
@@ -1,19 +0,0 @@
-diff -uNr vmware-server-distrib.orig/installer/services.sh vmware-server-distrib/installer/services.sh
---- vmware-server-distrib.orig/installer/services.sh 2007-12-02 12:08:09.000000000 +0000
-+++ vmware-server-distrib/installer/services.sh 2007-12-02 12:12:08.000000000 +0000
-@@ -823,8 +823,13 @@
- check_configured() {
- 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-server/files/2.0.1.156745/011_all_legit-modules-only.patch b/app-emulation/vmware-server/files/2.0.1.156745/011_all_legit-modules-only.patch
deleted file mode 100644
index cbfa05b97fcc..000000000000
--- a/app-emulation/vmware-server/files/2.0.1.156745/011_all_legit-modules-only.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-diff --git a/bin/vmware-config.pl b/bin/vmware-config.pl
-index bb9d04f..458a14b 100755
---- a/bin/vmware-config.pl
-+++ b/bin/vmware-config.pl
-@@ -10315,7 +10315,7 @@ sub main {
-
- if ($gOption{'tools-switch'} == 0) {
- my @modules = non_vmware_modules_installed();
-- if (scalar(@modules) > 0) {
-+ if (scalar(@modules) < 0) {
- my $osVersion = direct_command(shell_string($gHelper{'uname'}) . ' -r');
- chomp($osVersion);
- error("The following VMware kernel modules have been found on your " .
diff --git a/app-emulation/vmware-server/files/2.0.1.156745/012_all_rc-config.patch b/app-emulation/vmware-server/files/2.0.1.156745/012_all_rc-config.patch
deleted file mode 100644
index f3bc2b36c97c..000000000000
--- a/app-emulation/vmware-server/files/2.0.1.156745/012_all_rc-config.patch
+++ /dev/null
@@ -1,25 +0,0 @@
---- bin.old/vmware-config.pl 2009-07-02 17:56:08.873568674 -0400
-+++ bin/vmware-config.pl 2009-07-02 17:56:59.000000000 -0400
-@@ -1341,6 +1341,14 @@
- }
- }
-
-+ # Try using Genoot's rc-config
-+ if ($gHelper{'rc-config'} ne '') {
-+ if(0 == system(shell_string($gHelper{'rc-config'}) . ' add '
-+ . $service . ' default')) {
-+ return;
-+ }
-+ }
-+
- # Set up vmware to start/stop at run levels 2, 3 and 5
- link_runlevel(2, $service, $S_level, $K_level);
- link_runlevel(3, $service, $S_level, $K_level);
-@@ -2552,6 +2560,7 @@
- }
- $gHelper{'insserv'} = internal_which('insserv');
- $gHelper{'chkconfig'} = internal_which('/sbin/chkconfig');
-+ $gHelper{'rc-config'} = internal_which('/usr/bin/rc-config');
- if (vmware_product() eq 'server' &&
- $gHelper{'chkconfig'} eq '') {
- error('No initscript installer found.' . "\n\n");
diff --git a/app-emulation/vmware-server/vmware-server-1.0.8.126538.ebuild b/app-emulation/vmware-server/vmware-server-1.0.8.126538.ebuild
deleted file mode 100644
index d043c4bd08fa..000000000000
--- a/app-emulation/vmware-server/vmware-server-1.0.8.126538.ebuild
+++ /dev/null
@@ -1,101 +0,0 @@
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/vmware-server/vmware-server-1.0.8.126538.ebuild,v 1.4 2009/01/12 21:48:07 maekke Exp $
-
-# Unlike many other binary packages the user doesn't need to agree to a licence
-# to download VMWare. The agreeing to a licence is part of the configure step
-# which the user must run manually.
-
-inherit eutils versionator vmware
-
-MY_PV=$(replace_version_separator 3 '-' )
-MY_P="VMware-server-${MY_PV}"
-
-DESCRIPTION="VMware Server for Linux"
-HOMEPAGE="http://www.vmware.com/"
-SRC_URI="mirror://vmware/software/vmserver/${MY_P}.tar.gz
- http://dev.gentoo.org/~ikelos/devoverlay-distfiles/${PN}-perl-fixed-rpath-libs.tar.bz2
- mirror://gentoo/${PN}-perl-fixed-rpath-libs.tar.bz2"
-
-LICENSE="vmware"
-IUSE=""
-SLOT="0"
-KEYWORDS="-* amd64 x86"
-RESTRICT="strip"
-
-DEPEND=">=sys-libs/glibc-2.3.5
- >=dev-lang/perl-5
- sys-apps/pciutils
- sys-apps/findutils
- virtual/os-headers"
-# vmware-server should not use virtual/libc as this is a
-# precompiled binary package thats linked to glibc.
-RDEPEND=">=sys-libs/glibc-2.3.5
- amd64? (
- >=app-emulation/emul-linux-x86-baselibs-2.5.5-r3
- app-emulation/emul-linux-x86-gtklibs )
- !amd64? (
- x11-libs/libX11
- x11-libs/libXft
- x11-libs/libXtst
- x11-libs/libXext
- x11-libs/libXt
- x11-libs/libICE
- x11-libs/libSM
- x11-libs/libXrender )
- >=dev-lang/perl-5
- !<sys-apps/dbus-0.62
- !app-emulation/vmware-player
- !app-emulation/vmware-workstation
- ~app-emulation/vmware-modules-1.0.0.15
- !<app-emulation/vmware-modules-1.0.0.15
- !>=app-emulation/vmware-modules-1.0.0.16
- sys-apps/pciutils
- virtual/pam
- sys-apps/xinetd"
-
-S=${WORKDIR}/vmware-server-distrib
-
-RUN_UPDATE="no"
-ANY_ANY=""
-PATCHES="general"
-
-src_unpack() {
- EPATCH_SUFFIX="patch"
- vmware_src_unpack
- #cd "${WORKDIR}"
- #unpack ${PN}-perl-fixed-rpath-libs.tar.bz2
-
- # patch the vmware /etc/pam.d file to ensure that only
- # vmware group members can log in
- cp "${FILESDIR}/vmware-authd" "${S}/etc/pam.d/vmware-authd"
-}
-
-src_install() {
- vmware_src_install
-
- # Fix the amd64 emulation pam stuff
- use amd64 && dosed "s:pam_:/lib32/security/pam_:" ${config_dir}/pam.d/vmware-authd
- # Remove libpam on amd64 because it's linked against the wrong paths
- use amd64 && rm "${D}/opt/vmware/server/lib/lib/libpam.so.0/libpam.so"
-
- echo "${VMWARE_GROUP}" > "${D}${config_dir}/vmwaregroup"
-
- dosym /etc/init.d/xinetd ${config_dir}/init.d
-}
-
-pkg_config() {
- einfo "Running ${ROOT}${dir}/bin/vmware-config.pl"
- "${ROOT}${dir}/bin/vmware-config.pl"
-}
-
-pkg_postinst() {
- vmware_pkg_postinst
- elog "Remember by default xinetd only allows connections from localhost"
- elog "To allow external users access to vmware-server you must edit"
- elog " /etc/xinetd.d/vmware-authd"
- elog "and specify a new 'only_from' line"
- echo
- ewarn "VMWare Server also has issues when running on a JFS filesystem. For more"
- ewarn "information see http://bugs.gentoo.org/show_bug.cgi?id=122500#c94"
-}
diff --git a/app-emulation/vmware-server/vmware-server-2.0.1.156745-r3.ebuild b/app-emulation/vmware-server/vmware-server-2.0.1.156745-r3.ebuild
deleted file mode 100644
index a08854974ac6..000000000000
--- a/app-emulation/vmware-server/vmware-server-2.0.1.156745-r3.ebuild
+++ /dev/null
@@ -1,297 +0,0 @@
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/vmware-server/vmware-server-2.0.1.156745-r3.ebuild,v 1.2 2010/03/09 12:03:47 abcd Exp $
-
-# Unlike many other binary packages the user doesn't need to agree to a licence
-# to download VMWare. The agreeing to a licence is part of the configure step
-# which the user must run manually.
-
-EAPI="2"
-
-inherit eutils pam pax-utils versionator
-
-MY_PV=$(replace_version_separator 3 '-' )
-MY_PN="VMware-server-${MY_PV}"
-
-DESCRIPTION="VMware Server for Linux"
-HOMEPAGE="http://www.vmware.com/"
-SRC_URI=" x86? ( mirror://vmware/software/vmserver/${MY_PN}.i386.tar.gz )
- amd64? ( mirror://vmware/software/vmserver/${MY_PN}.x86_64.tar.gz ) "
-
-LICENSE="vmware"
-IUSE=""
-SLOT="0"
-KEYWORDS="-* ~x86 ~amd64"
-RESTRICT="strip"
-
-CDEPEND="
- >=dev-lang/perl-5
- >=sys-libs/glibc-2.3.5
- sys-apps/pciutils"
-DEPEND="${CDEPEND}
- sys-apps/findutils
- x11-misc/shared-mime-info
- virtual/os-headers"
-# vmware-server should not use virtual/libc as this is a
-# precompiled binary package thats linked to glibc.
-RDEPEND="${CDEPEND}
- ~app-emulation/vmware-modules-1.0.0.24
- dev-libs/glib
- dev-libs/libxml2
- sys-apps/hal
- sys-fs/fuse
- sys-libs/zlib
- virtual/pam
- x11-libs/libICE
- x11-libs/libSM
- x11-libs/libX11
- x11-libs/libXau
- x11-libs/libXdmcp
- x11-libs/libXext
- x11-libs/libXft
- x11-libs/libXt
- x11-libs/libXtst
- x11-misc/xdg-utils
- !<sys-apps/dbus-0.62
- !app-emulation/vmware-player
- !app-emulation/vmware-workstation
- "
-
-PDEPEND="app-emulation/vmware-vix"
-
-S=${WORKDIR}/vmware-server-distrib
-
-pkg_setup() {
- if use x86; then
- MY_P="${MY_PN}.i386"
- elif use amd64; then
- MY_P="${MY_PN}.x86_64"
- fi
-}
-
-src_prepare() {
- VMWARE_GROUP=${VMWARE_GROUP:-vmware}
- VMWARE_INSTALL_DIR=/opt/${PN//-//}
-
- shortname="wgs"
- product="vmware"
- config_program="vmware-config.pl"
- config_dir="/etc/vmware"
- product_name="VMware Server 2"
-
- enewgroup ${VMWARE_GROUP}
-
- # Remove PAX MPROTECT flag from all applicable files in /bin, /sbin for
- # the vmware package only (since modules, tools and console should not
- # need to generate code on the fly in memory).
- pax-mark -m $(list-paxables "${S}"/{bin{,-debug},sbin}/{vmware-serverd,vmware-vmx})
-
- EPATCH_SOURCE="${FILESDIR}"/${PV} EPATCH_SUFFIX="patch" epatch
-
- # Proper lsmod
- sed -i -e "s:/sbin/lsmod:/bin/lsmod:" "${S}"/installer/services.sh || die "sed"
- sed -i -e "s:/sbin/lsmod:/bin/lsmod:" "${S}"/lib/net-services.sh || die "sed"
-
- # Set the name
- sed -i -e "s:%LONGNAME%:${product_name}:" "${S}"/installer/services.sh || die "sed"
- sed -i -e "s:%SHORTNAME%:${shortname}:" "${S}"/installer/services.sh || die "sed"
-
- # We won't want any perl scripts from VMware once we've finally got all
- # of the configuration done, but for now, they're necessary.
- #rm -f *.pl bin/*.pl
- rm -f *.pl
- rm -f etc/installer.sh
-
- # Since with Gentoo we compile everthing it doesn't make sense to keep
- # the precompiled modules arround. Saves about 4 megs of disk space too.
- rm -rf "${S}"/lib/modules/binary
- # We also don't need to keep the icons around, or do we?
- #rm -rf ${S}/lib/share/icons
-
- rm -rf "${S}"/etc/pam.d/
- sed -i -e "s:configure_wgs_pam_d():#&:" "${S}"/bin/vmware-config.pl || die "sed pam_d"
-}
-
-src_install() {
- # We loop through our directories and copy everything to our system.
- for x in bin lib sbin
- do
- if [[ -e "${S}/${x}" ]]
- then
- dodir "${VMWARE_INSTALL_DIR}"/${x}
- cp -pPR "${S}"/${x}/* "${D}""${VMWARE_INSTALL_DIR}"/${x} \
- || die "copying ${x}"
- fi
- done
-
- # Bug 282213
- mv "${D}"/"${VMWARE_INSTALL_DIR}"/lib/lib/libpng12.so.0/libpng12.so.0 \
- "${D}"/"${VMWARE_INSTALL_DIR}"/lib/lib/libpng12.so.0/libpng12.so.0.old
- dosym /usr/lib/libpng12.so.0 "${VMWARE_INSTALL_DIR}"/lib/lib/libpng12.so.0/libpng12.so.0
-
- # If we have an /etc directory, we copy it.
- if [[ -e "${S}/etc" ]]
- then
- dodir "${config_dir}"
- cp -pPR "${S}"/etc/* "${D}""${config_dir}"
- fowners root:${VMWARE_GROUP} "${config_dir}"
- fperms 770 "${config_dir}"
- fi
-
- # If we have any helper files, we install them. First, we check for an
- # init script.
- if [[ -e "${FILESDIR}/${PN}.rc" ]]
- then
- newinitd "${FILESDIR}"/${PN}.rc ${product} || die "newinitd"
- fi
- # Then we check for an environment file.
- if [[ -e "${FILESDIR}/90${PN}" ]]
- then
- doenvd "${FILESDIR}"/90${PN} || die "doenvd"
- fi
- # Last, we check for any mime files.
- if [[ -e "${FILESDIR}/${PN}.xml" ]]
- then
- insinto /usr/share/mime/packages
- doins "${FILESDIR}"/${PN}.xml || die "mimetypes"
- fi
-
- # Blame bug #91191 for this one.
- if [[ -e doc/EULA ]]
- then
- insinto "${VMWARE_INSTALL_DIR}"/doc
- doins doc/EULA || die "copying EULA"
- fi
-
- # Do we have vmware-ping/vmware-vmx? If so, make them setuid.
- for p in /bin/vmware-ping /lib/bin/vmware-vmx /lib/bin-debug/vmware-vmx /lib/bin/vmware-vmx-debug /sbin/vmware-authd;
- do
- if [ -x "${D}${VMWARE_INSTALL_DIR}${p}" ]
- then
- fowners root:${VMWARE_GROUP} "${VMWARE_INSTALL_DIR}"${p}
- fperms 4750 "${VMWARE_INSTALL_DIR}"${p}
- fi
- done
-
- # This removed the user/group warnings
- # But also broke vmware-server with FEATURES="userpriv" since it removes
- # the set-UID bit
- #chown -R root:${VMWARE_GROUP} ${D} || die
-
- # We like desktop icons.
- # TODO: Fix up the icon creation, across the board.
- #make_desktop_entry ${PN} "${product_name}" ${PN}
-
- # Now, we copy in our services.sh file
- exeinto "${config_dir}"/init.d
- newexe installer/services.sh ${product} || die "services.sh"
-
- newinitd "${FILESDIR}/vmware-server-2.rc" vmware
-
- # startup symlinks
- dosym ${config_dir}/init.d/${product} ${config_dir}/init.d/vmware-autostart
- dosym ${config_dir}/init.d/${product} ${config_dir}/init.d/vmware-core
- dosym ${config_dir}/init.d/${product} ${config_dir}/init.d/vmware-mgmt
-
- # pam
- pamd_mimic_system vmware-authd auth account
-
- # Man pages and docs
- dodoc doc/*
- doman man/man1/*
-
- # VMware authorization service
- insinto ${config_dir}/hostd
- doins "${FILESDIR}/authorization.xml"
-
- # Finally, we run the "Questions"
- einfo "Adding answers to ${config_dir}/locations"
- locations="${D}${config_dir}/locations"
- echo "answer BINDIR ${VMWARE_INSTALL_DIR}/bin" >> ${locations}
- echo "answer LIBDIR ${VMWARE_INSTALL_DIR}/lib" >> ${locations}
- echo "answer MANDIR ${VMWARE_INSTALL_DIR}/man" >> ${locations}
- echo "answer DOCDIR ${VMWARE_INSTALL_DIR}/doc" >> ${locations}
- echo "answer SBINDIR ${VMWARE_INSTALL_DIR}/sbin" >> ${locations}
- echo "answer RUN_CONFIGURATOR no" >> ${locations}
- echo "answer INITDIR ${config_dir}/init.d" >> ${locations}
- echo "answer INITSCRIPTSDIR ${config_dir}/init.d" >> ${locations}
- echo "answer VMCI_CONFED yes" >> ${locations}
- echo "answer VSOCK_CONFED yes" >> ${locations}
-}
-
-pkg_config() {
- einfo "Running ${VMWARE_INSTALL_DIR}/bin/vmware-config.pl"
- "${VMWARE_INSTALL_DIR}/bin/vmware-config.pl"
-}
-
-pkg_preinst() {
- # This must be done after the install to get the mtimes on each file
- # right.
-
- #Note: it's a bit weird to use ${D} in a preinst script but it should work
- #(drobbins, 1 Feb 2002)
-
- einfo "Generating ${config_dir}/locations file."
- d=`echo ${D} | wc -c`
- for x in `find ${D}${VMWARE_INSTALL_DIR} ${D}${config_dir}` ; do
- x="`echo ${x} | cut -c ${d}-`"
- if [ -d "${D}/${x}" ] ; then
- echo "directory ${x}" >> "${D}${config_dir}"/locations
- else
- echo -n "file ${x}" >> "${D}${config_dir}"/locations
- if [ "${x}" == "${config_dir}/locations" ] ; then
- echo "" >> "${D}${config_dir}"/locations
- elif [ "${x}" == "${config_dir}/not_configured" ] ; then
- echo "" >> "${D}${config_dir}"/locations
- else
- echo -n " " >> "${D}${config_dir}"/locations
- find "${D}${x}" -printf %T@ >> "${D}${config_dir}"/locations
- echo "" >> "${D}${config_dir}"/locations
- fi
- fi
- done
-}
-
-pkg_postinst() {
- update-mime-database /usr/share/mime
- [[ -d "${config_dir}" ]] && chown -R root:${VMWARE_GROUP} ${config_dir}
-
- # This is to fix the problem where the not_configured file doesn't get
- # removed when the configuration is run. This doesn't remove the file
- # It just tells the vmware-config.pl script it can delete it.
- einfo "Updating ${config_dir}/locations"
- for x in "${config_dir}"/._cfg????_locations ; do
- if [ -f $x ] ; then
- cat $x >> "${config_dir}"/locations
- rm $x
- fi
- done
-
- ewarn "Use "
- ewarn " emerge vmware-server --config"
- ewarn "to configure your installation of ${product_name}."
-
- ewarn "In order to run ${product_name}, you have to"
- ewarn "be in the '${VMWARE_GROUP}' group."
-
- #ewarn "By default xinetd only allows connections from localhost"
- #ewarn "To allow external users access to vmware-server you must edit"
- #ewarn " /etc/xinetd.d/vmware-authd"
- #ewarn "and specify a new 'only_from' line"
-
- ewarn "VMWare Server also has issues when running on a JFS filesystem. For more"
- ewarn "information see http://bugs.gentoo.org/show_bug.cgi?id=122500#c94"
-}
-
-pkg_prerm() {
- einfo "Stopping ${product_name} for safe unmerge"
- /etc/init.d/vmware stop
-}
-
-pkg_postrm() {
- if ! has_version app-emulation/${PN}; then
- elog "To remove all traces of ${product} you will need to remove the files"
- elog "in ${config_dir} and /etc/init.d/${product}."
- elog "If the vmware-modules package is installed, you may no longer need it."
- fi
-}
diff --git a/app-emulation/vmware-server/vmware-server-2.0.2.203138.ebuild b/app-emulation/vmware-server/vmware-server-2.0.2.203138.ebuild
deleted file mode 100644
index c01dd136192b..000000000000
--- a/app-emulation/vmware-server/vmware-server-2.0.2.203138.ebuild
+++ /dev/null
@@ -1,310 +0,0 @@
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/vmware-server/vmware-server-2.0.2.203138.ebuild,v 1.2 2010/03/09 12:03:47 abcd Exp $
-
-# Unlike many other binary packages the user doesn't need to agree to a licence
-# to download VMWare. The agreeing to a licence is part of the configure step
-# which the user must run manually.
-
-EAPI="2"
-
-inherit eutils pam pax-utils versionator
-
-MY_PV=$(replace_version_separator 3 '-' )
-MY_PN="VMware-server-${MY_PV}"
-
-DESCRIPTION="VMware Server for Linux"
-HOMEPAGE="http://www.vmware.com/"
-DOWNLOAD_URL="http://downloads.vmware.com/d/info/datacenter_downloads/vmware_server/2_0"
-SRC_URI=" x86? ( mirror://vmware/software/vmserver/${MY_PN}.i386.tar.gz )
- amd64? ( mirror://vmware/software/vmserver/${MY_PN}.x86_64.tar.gz ) "
-
-LICENSE="vmware"
-IUSE=""
-SLOT="0"
-KEYWORDS="-* ~x86 ~amd64"
-RESTRICT="fetch strip"
-
-CDEPEND="
- >=dev-lang/perl-5
- >=sys-libs/glibc-2.3.5
- sys-apps/pciutils"
-DEPEND="${CDEPEND}
- sys-apps/findutils
- x11-misc/shared-mime-info
- virtual/os-headers"
-# vmware-server should not use virtual/libc as this is a
-# precompiled binary package thats linked to glibc.
-RDEPEND="${CDEPEND}
- ~app-emulation/vmware-modules-1.0.0.24
- dev-libs/glib
- dev-libs/libxml2
- sys-apps/hal
- sys-fs/fuse
- sys-libs/zlib
- virtual/pam
- x11-libs/libICE
- x11-libs/libSM
- x11-libs/libX11
- x11-libs/libXau
- x11-libs/libXdmcp
- x11-libs/libXext
- x11-libs/libXft
- x11-libs/libXt
- x11-libs/libXtst
- x11-misc/xdg-utils
- !<sys-apps/dbus-0.62
- !app-emulation/vmware-player
- !app-emulation/vmware-workstation
- "
-
-PDEPEND="app-emulation/vmware-vix"
-
-S=${WORKDIR}/vmware-server-distrib
-
-pkg_setup() {
- if use x86; then
- MY_P="${MY_PN}.i386"
- elif use amd64; then
- MY_P="${MY_PN}.x86_64"
- fi
-}
-
-pkg_nofetch() {
- if use x86; then
- MY_P="${MY_PN}.i386"
- elif use amd64; then
- MY_P="${MY_PN}.x86_64"
- fi
-
- einfo "Please download the ${MY_P}.bundle from"
- einfo "${DOWNLOAD_URL}"
- einfo "and place it in ${DISTDIR}"
-}
-
-src_prepare() {
- VMWARE_GROUP=${VMWARE_GROUP:-vmware}
- VMWARE_INSTALL_DIR=/opt/${PN//-//}
-
- shortname="wgs"
- product="vmware"
- config_program="vmware-config.pl"
- config_dir="/etc/vmware"
- product_name="VMware Server 2"
-
- enewgroup ${VMWARE_GROUP}
-
- # Remove PAX MPROTECT flag from all applicable files in /bin, /sbin for
- # the vmware package only (since modules, tools and console should not
- # need to generate code on the fly in memory).
- pax-mark -m $(list-paxables "${S}"/{bin{,-debug},sbin}/{vmware-serverd,vmware-vmx})
-
- EPATCH_SOURCE="${FILESDIR}"/${PV} EPATCH_SUFFIX="patch" epatch
-
- # Proper lsmod
- sed -i -e "s:/sbin/lsmod:/bin/lsmod:" "${S}"/installer/services.sh || die "sed"
- sed -i -e "s:/sbin/lsmod:/bin/lsmod:" "${S}"/lib/net-services.sh || die "sed"
-
- # Set the name
- sed -i -e "s:%LONGNAME%:${product_name}:" "${S}"/installer/services.sh || die "sed"
- sed -i -e "s:%SHORTNAME%:${shortname}:" "${S}"/installer/services.sh || die "sed"
-
- # We won't want any perl scripts from VMware once we've finally got all
- # of the configuration done, but for now, they're necessary.
- #rm -f *.pl bin/*.pl
- rm -f *.pl
- rm -f etc/installer.sh
-
- # Since with Gentoo we compile everthing it doesn't make sense to keep
- # the precompiled modules arround. Saves about 4 megs of disk space too.
- rm -rf "${S}"/lib/modules/binary
- # We also don't need to keep the icons around, or do we?
- #rm -rf ${S}/lib/share/icons
-
- rm -rf "${S}"/etc/pam.d/
- sed -i -e "s:configure_wgs_pam_d():#&:" "${S}"/bin/vmware-config.pl || die "sed pam_d"
-}
-
-src_install() {
- # We loop through our directories and copy everything to our system.
- for x in bin lib sbin
- do
- if [[ -e "${S}/${x}" ]]
- then
- dodir "${VMWARE_INSTALL_DIR}"/${x}
- cp -pPR "${S}"/${x}/* "${D}""${VMWARE_INSTALL_DIR}"/${x} \
- || die "copying ${x}"
- fi
- done
-
- # Bug 282213
- mv "${D}"/"${VMWARE_INSTALL_DIR}"/lib/lib/libpng12.so.0/libpng12.so.0 \
- "${D}"/"${VMWARE_INSTALL_DIR}"/lib/lib/libpng12.so.0/libpng12.so.0.old
- dosym /usr/lib/libpng12.so.0 "${VMWARE_INSTALL_DIR}"/lib/lib/libpng12.so.0/libpng12.so.0
-
- # If we have an /etc directory, we copy it.
- if [[ -e "${S}/etc" ]]
- then
- dodir "${config_dir}"
- cp -pPR "${S}"/etc/* "${D}""${config_dir}"
- fowners root:${VMWARE_GROUP} "${config_dir}"
- fperms 770 "${config_dir}"
- fi
-
- # If we have any helper files, we install them. First, we check for an
- # init script.
- if [[ -e "${FILESDIR}/${PN}.rc" ]]
- then
- newinitd "${FILESDIR}"/${PN}.rc ${product} || die "newinitd"
- fi
- # Then we check for an environment file.
- if [[ -e "${FILESDIR}/90${PN}" ]]
- then
- doenvd "${FILESDIR}"/90${PN} || die "doenvd"
- fi
- # Last, we check for any mime files.
- if [[ -e "${FILESDIR}/${PN}.xml" ]]
- then
- insinto /usr/share/mime/packages
- doins "${FILESDIR}"/${PN}.xml || die "mimetypes"
- fi
-
- # Blame bug #91191 for this one.
- if [[ -e doc/EULA ]]
- then
- insinto "${VMWARE_INSTALL_DIR}"/doc
- doins doc/EULA || die "copying EULA"
- fi
-
- # Do we have vmware-ping/vmware-vmx? If so, make them setuid.
- for p in /bin/vmware-ping /lib/bin/vmware-vmx /lib/bin-debug/vmware-vmx /lib/bin/vmware-vmx-debug /sbin/vmware-authd;
- do
- if [ -x "${D}${VMWARE_INSTALL_DIR}${p}" ]
- then
- fowners root:${VMWARE_GROUP} "${VMWARE_INSTALL_DIR}"${p}
- fperms 4750 "${VMWARE_INSTALL_DIR}"${p}
- fi
- done
-
- # This removed the user/group warnings
- # But also broke vmware-server with FEATURES="userpriv" since it removes
- # the set-UID bit
- #chown -R root:${VMWARE_GROUP} ${D} || die
-
- # We like desktop icons.
- # TODO: Fix up the icon creation, across the board.
- #make_desktop_entry ${PN} "${product_name}" ${PN}
-
- # Now, we copy in our services.sh file
- exeinto "${config_dir}"/init.d
- newexe installer/services.sh ${product} || die "services.sh"
-
- newinitd "${FILESDIR}/vmware-server-2.rc" vmware
-
- # startup symlinks
- dosym ${config_dir}/init.d/${product} ${config_dir}/init.d/vmware-autostart
- dosym ${config_dir}/init.d/${product} ${config_dir}/init.d/vmware-core
- dosym ${config_dir}/init.d/${product} ${config_dir}/init.d/vmware-mgmt
-
- # pam
- pamd_mimic_system vmware-authd auth account
-
- # Man pages and docs
- dodoc doc/*
- doman man/man1/*
-
- # VMware authorization service
- insinto ${config_dir}/hostd
- doins "${FILESDIR}/authorization.xml"
-
- # Finally, we run the "Questions"
- einfo "Adding answers to ${config_dir}/locations"
- locations="${D}${config_dir}/locations"
- echo "answer BINDIR ${VMWARE_INSTALL_DIR}/bin" >> ${locations}
- echo "answer LIBDIR ${VMWARE_INSTALL_DIR}/lib" >> ${locations}
- echo "answer MANDIR ${VMWARE_INSTALL_DIR}/man" >> ${locations}
- echo "answer DOCDIR ${VMWARE_INSTALL_DIR}/doc" >> ${locations}
- echo "answer SBINDIR ${VMWARE_INSTALL_DIR}/sbin" >> ${locations}
- echo "answer RUN_CONFIGURATOR no" >> ${locations}
- echo "answer INITDIR ${config_dir}/init.d" >> ${locations}
- echo "answer INITSCRIPTSDIR ${config_dir}/init.d" >> ${locations}
- echo "answer VMCI_CONFED yes" >> ${locations}
- echo "answer VSOCK_CONFED yes" >> ${locations}
-}
-
-pkg_config() {
- einfo "Running ${VMWARE_INSTALL_DIR}/bin/vmware-config.pl"
- "${VMWARE_INSTALL_DIR}/bin/vmware-config.pl"
-}
-
-pkg_preinst() {
- # This must be done after the install to get the mtimes on each file
- # right.
-
- #Note: it's a bit weird to use ${D} in a preinst script but it should work
- #(drobbins, 1 Feb 2002)
-
- einfo "Generating ${config_dir}/locations file."
- d=`echo ${D} | wc -c`
- for x in `find ${D}${VMWARE_INSTALL_DIR} ${D}${config_dir}` ; do
- x="`echo ${x} | cut -c ${d}-`"
- if [ -d "${D}/${x}" ] ; then
- echo "directory ${x}" >> "${D}${config_dir}"/locations
- else
- echo -n "file ${x}" >> "${D}${config_dir}"/locations
- if [ "${x}" == "${config_dir}/locations" ] ; then
- echo "" >> "${D}${config_dir}"/locations
- elif [ "${x}" == "${config_dir}/not_configured" ] ; then
- echo "" >> "${D}${config_dir}"/locations
- else
- echo -n " " >> "${D}${config_dir}"/locations
- find "${D}${x}" -printf %T@ >> "${D}${config_dir}"/locations
- echo "" >> "${D}${config_dir}"/locations
- fi
- fi
- done
-}
-
-pkg_postinst() {
- update-mime-database /usr/share/mime
- [[ -d "${config_dir}" ]] && chown -R root:${VMWARE_GROUP} ${config_dir}
-
- # This is to fix the problem where the not_configured file doesn't get
- # removed when the configuration is run. This doesn't remove the file
- # It just tells the vmware-config.pl script it can delete it.
- einfo "Updating ${config_dir}/locations"
- for x in "${config_dir}"/._cfg????_locations ; do
- if [ -f $x ] ; then
- cat $x >> "${config_dir}"/locations
- rm $x
- fi
- done
-
- ewarn "Use "
- ewarn " emerge vmware-server --config"
- ewarn "to configure your installation of ${product_name}."
-
- ewarn "In order to run ${product_name}, you have to"
- ewarn "be in the '${VMWARE_GROUP}' group."
-
- #ewarn "By default xinetd only allows connections from localhost"
- #ewarn "To allow external users access to vmware-server you must edit"
- #ewarn " /etc/xinetd.d/vmware-authd"
- #ewarn "and specify a new 'only_from' line"
-
- ewarn "VMWare Server also has issues when running on a JFS filesystem. For more"
- ewarn "information see http://bugs.gentoo.org/show_bug.cgi?id=122500#c94"
-}
-
-pkg_prerm() {
- einfo "Stopping ${product_name} for safe unmerge"
- /etc/init.d/vmware stop
-}
-
-pkg_postrm() {
- if ! has_version app-emulation/${PN}; then
- elog "To remove all traces of ${product} you will need to remove the files"
- elog "in ${config_dir} and /etc/init.d/${product}."
- elog "If the vmware-modules package is installed, you may no longer need it."
- fi
-}