From: "Vadim Kuznetsov" <vadimk@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/vmware:master commit in: app-emulation/vmware-workstation/, app-emulation/vmware-workstation/files/
Date: Sat, 16 Jun 2012 20:24:16 +0000 (UTC) [thread overview]
Message-ID: <1339878304.e2c1ba0216a61ac2c7a2a190779f2701740e6b4f.vadimk@gentoo> (raw)
commit: e2c1ba0216a61ac2c7a2a190779f2701740e6b4f
Author: Vadim Kuznetsov <vadimk <AT> gentoo <DOT> org>
AuthorDate: Sat Jun 16 20:25:04 2012 +0000
Commit: Vadim Kuznetsov <vadimk <AT> gentoo <DOT> org>
CommitDate: Sat Jun 16 20:25:04 2012 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/vmware.git;a=commit;h=e2c1ba02
added configure-hostd.sh
new file: files/configure-hostd.sh
modified: vmware-workstation-8.0.4.744019.ebuild
---
.../vmware-workstation/files/configure-hostd.sh | 20 ++++++++++++++++++++
.../vmware-workstation-8.0.4.744019.ebuild | 15 ++++-----------
2 files changed, 24 insertions(+), 11 deletions(-)
diff --git a/app-emulation/vmware-workstation/files/configure-hostd.sh b/app-emulation/vmware-workstation/files/configure-hostd.sh
new file mode 100644
index 0000000..480e903
--- /dev/null
+++ b/app-emulation/vmware-workstation/files/configure-hostd.sh
@@ -0,0 +1,20 @@
+#!/bin/bash
+
+action="$1"
+
+case $action in
+ add)
+ rc-update -q add vmware-workstation-server default
+ rc-service vmware-workstation-server start
+ ;;
+ remove)
+ rc-update -q del vmware-workstation-server default
+ rc-service vmware-workstation-server stop
+ ;;
+ status)
+ rc-service -q vmware-workstation-server status
+ ;;
+ *)
+ exit 1
+ ;;
+esac
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
index 3bd4064..3ef4c82 100644
--- a/app-emulation/vmware-workstation/vmware-workstation-8.0.4.744019.ebuild
+++ b/app-emulation/vmware-workstation/vmware-workstation-8.0.4.744019.ebuild
@@ -21,7 +21,7 @@ SRC_URI="
LICENSE="vmware"
SLOT="0"
KEYWORDS="-* ~amd64 ~x86"
-IUSE="cups doc gnome kde ovftool server vix vmware-tools"
+IUSE="cups doc ovftool server vix vmware-tools"
RESTRICT="binchecks fetch mirror strip"
# vmware-workstation should not use virtual/libc as this is a
@@ -57,8 +57,6 @@ RDEPEND="dev-cpp/cairomm
sys-libs/glibc
sys-libs/zlib
x11-libs/cairo
- gnome? ( x11-libs/gksu )
- kde? ( kde-base/kdesu )
x11-libs/gtk+:2
x11-libs/libgksu
x11-libs/libICE
@@ -205,6 +203,8 @@ src_install() {
into "${VM_INSTALL_DIR}"/lib/vmware
dobin bin/*
+ dobin "${FILESDIR}"/configure-hostd.sh
+
# install the libraries
insinto "${VM_INSTALL_DIR}"/lib/vmware/lib
doins -r lib/*
@@ -287,14 +287,6 @@ src_install() {
dosym "${VM_INSTALL_DIR}"/lib/vmware/bin/vmware "${VM_INSTALL_DIR}"/bin/vmware
dosym "${VM_INSTALL_DIR}"/lib/vmware/icu /etc/vmware/icu
- # fixing gksu problem
- if use gnome; then
- dosym /usr/bin/gksu "${VM_INSTALL_DIR}"/bin/vmware-gksu
- fi
- if use kde; then
- dosym /usr/bin/kdesu "${VM_INSTALL_DIR}"/bin/vmware-gksu
- fi
-
# fix permissions
fperms 0755 "${VM_INSTALL_DIR}"/lib/vmware/bin/{appLoader,fusermount,launcher.sh,mkisofs,vmware-remotemks}
fperms 0755 "${VM_INSTALL_DIR}"/lib/vmware/lib/{wrapper-gtk24.sh,libgksu2.so.0/gksu-run-helper}
@@ -304,6 +296,7 @@ src_install() {
if use server; then
fperms 0755 "${VM_INSTALL_DIR}"/lib/vmware/bin/vmware-{hostd,vim-cmd,wssc-adminTool}
fperms 4711 "${VM_INSTALL_DIR}"/sbin/vmware-authd
+ fperms 1777 "${VM_DATA_STORE_DIR}"
fi
if use vix; then
fperms 0755 "${VM_INSTALL_DIR}"/lib/vmware-vix/setup/vmware-config
next reply other threads:[~2012-06-16 20:24 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-06-16 20:24 Vadim Kuznetsov [this message]
-- strict thread matches above, loose matches on Subject: below --
2013-06-23 9:59 [gentoo-commits] proj/vmware:master commit in: app-emulation/vmware-workstation/, app-emulation/vmware-workstation/files/ Andreas Hüttel
2015-07-19 1:54 Evan Teran
2015-09-05 12:56 Andreas Hüttel
2016-03-18 23:32 Andreas Hüttel
2016-03-19 16:04 Andreas Hüttel
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1339878304.e2c1ba0216a61ac2c7a2a190779f2701740e6b4f.vadimk@gentoo \
--to=vadimk@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox