1 |
commit: e2c1ba0216a61ac2c7a2a190779f2701740e6b4f |
2 |
Author: Vadim Kuznetsov <vadimk <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jun 16 20:25:04 2012 +0000 |
4 |
Commit: Vadim Kuznetsov <vadimk <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jun 16 20:25:04 2012 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/vmware.git;a=commit;h=e2c1ba02 |
7 |
|
8 |
added configure-hostd.sh |
9 |
new file: files/configure-hostd.sh |
10 |
modified: vmware-workstation-8.0.4.744019.ebuild |
11 |
|
12 |
--- |
13 |
.../vmware-workstation/files/configure-hostd.sh | 20 ++++++++++++++++++++ |
14 |
.../vmware-workstation-8.0.4.744019.ebuild | 15 ++++----------- |
15 |
2 files changed, 24 insertions(+), 11 deletions(-) |
16 |
|
17 |
diff --git a/app-emulation/vmware-workstation/files/configure-hostd.sh b/app-emulation/vmware-workstation/files/configure-hostd.sh |
18 |
new file mode 100644 |
19 |
index 0000000..480e903 |
20 |
--- /dev/null |
21 |
+++ b/app-emulation/vmware-workstation/files/configure-hostd.sh |
22 |
@@ -0,0 +1,20 @@ |
23 |
+#!/bin/bash |
24 |
+ |
25 |
+action="$1" |
26 |
+ |
27 |
+case $action in |
28 |
+ add) |
29 |
+ rc-update -q add vmware-workstation-server default |
30 |
+ rc-service vmware-workstation-server start |
31 |
+ ;; |
32 |
+ remove) |
33 |
+ rc-update -q del vmware-workstation-server default |
34 |
+ rc-service vmware-workstation-server stop |
35 |
+ ;; |
36 |
+ status) |
37 |
+ rc-service -q vmware-workstation-server status |
38 |
+ ;; |
39 |
+ *) |
40 |
+ exit 1 |
41 |
+ ;; |
42 |
+esac |
43 |
|
44 |
diff --git a/app-emulation/vmware-workstation/vmware-workstation-8.0.4.744019.ebuild b/app-emulation/vmware-workstation/vmware-workstation-8.0.4.744019.ebuild |
45 |
index 3bd4064..3ef4c82 100644 |
46 |
--- a/app-emulation/vmware-workstation/vmware-workstation-8.0.4.744019.ebuild |
47 |
+++ b/app-emulation/vmware-workstation/vmware-workstation-8.0.4.744019.ebuild |
48 |
@@ -21,7 +21,7 @@ SRC_URI=" |
49 |
LICENSE="vmware" |
50 |
SLOT="0" |
51 |
KEYWORDS="-* ~amd64 ~x86" |
52 |
-IUSE="cups doc gnome kde ovftool server vix vmware-tools" |
53 |
+IUSE="cups doc ovftool server vix vmware-tools" |
54 |
RESTRICT="binchecks fetch mirror strip" |
55 |
|
56 |
# vmware-workstation should not use virtual/libc as this is a |
57 |
@@ -57,8 +57,6 @@ RDEPEND="dev-cpp/cairomm |
58 |
sys-libs/glibc |
59 |
sys-libs/zlib |
60 |
x11-libs/cairo |
61 |
- gnome? ( x11-libs/gksu ) |
62 |
- kde? ( kde-base/kdesu ) |
63 |
x11-libs/gtk+:2 |
64 |
x11-libs/libgksu |
65 |
x11-libs/libICE |
66 |
@@ -205,6 +203,8 @@ src_install() { |
67 |
into "${VM_INSTALL_DIR}"/lib/vmware |
68 |
dobin bin/* |
69 |
|
70 |
+ dobin "${FILESDIR}"/configure-hostd.sh |
71 |
+ |
72 |
# install the libraries |
73 |
insinto "${VM_INSTALL_DIR}"/lib/vmware/lib |
74 |
doins -r lib/* |
75 |
@@ -287,14 +287,6 @@ src_install() { |
76 |
dosym "${VM_INSTALL_DIR}"/lib/vmware/bin/vmware "${VM_INSTALL_DIR}"/bin/vmware |
77 |
dosym "${VM_INSTALL_DIR}"/lib/vmware/icu /etc/vmware/icu |
78 |
|
79 |
- # fixing gksu problem |
80 |
- if use gnome; then |
81 |
- dosym /usr/bin/gksu "${VM_INSTALL_DIR}"/bin/vmware-gksu |
82 |
- fi |
83 |
- if use kde; then |
84 |
- dosym /usr/bin/kdesu "${VM_INSTALL_DIR}"/bin/vmware-gksu |
85 |
- fi |
86 |
- |
87 |
# fix permissions |
88 |
fperms 0755 "${VM_INSTALL_DIR}"/lib/vmware/bin/{appLoader,fusermount,launcher.sh,mkisofs,vmware-remotemks} |
89 |
fperms 0755 "${VM_INSTALL_DIR}"/lib/vmware/lib/{wrapper-gtk24.sh,libgksu2.so.0/gksu-run-helper} |
90 |
@@ -304,6 +296,7 @@ src_install() { |
91 |
if use server; then |
92 |
fperms 0755 "${VM_INSTALL_DIR}"/lib/vmware/bin/vmware-{hostd,vim-cmd,wssc-adminTool} |
93 |
fperms 4711 "${VM_INSTALL_DIR}"/sbin/vmware-authd |
94 |
+ fperms 1777 "${VM_DATA_STORE_DIR}" |
95 |
fi |
96 |
if use vix; then |
97 |
fperms 0755 "${VM_INSTALL_DIR}"/lib/vmware-vix/setup/vmware-config |