summaryrefslogtreecommitdiff
path: root/app-emulation/vmware-workstation/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-11-02 21:07:25 +0000
committerV3n3RiX <venerix@redcorelinux.org>2017-11-02 21:07:25 +0000
commit27dfd272ae3be15b1017f733682211afa1c7c0f0 (patch)
tree1fe1c9ed5c5d79c63069bb8d541be075ccc3aac2 /app-emulation/vmware-workstation/files
parentd950fa39dbe16d164ed0cb8e3036fd5d0d896a4c (diff)
gentoo resync : 02.11.2017
Diffstat (limited to 'app-emulation/vmware-workstation/files')
-rw-r--r--app-emulation/vmware-workstation/files/configure-hostd.sh20
-rw-r--r--app-emulation/vmware-workstation/files/vmware-10.0.rc36
-rw-r--r--app-emulation/vmware-workstation/files/vmware-11.1.rc43
-rw-r--r--app-emulation/vmware-workstation/files/vmware-12.1.rc43
-rw-r--r--app-emulation/vmware-workstation/files/vmware-9.0.rc36
-rw-r--r--app-emulation/vmware-workstation/files/vmware-server-10.0.rc54
-rw-r--r--app-emulation/vmware-workstation/files/vmware-server-11.1.rc54
-rw-r--r--app-emulation/vmware-workstation/files/vmware-server-12.1.rc54
-rw-r--r--app-emulation/vmware-workstation/files/vmware-server-9.0.rc54
9 files changed, 0 insertions, 394 deletions
diff --git a/app-emulation/vmware-workstation/files/configure-hostd.sh b/app-emulation/vmware-workstation/files/configure-hostd.sh
deleted file mode 100644
index 480e9037d86d..000000000000
--- a/app-emulation/vmware-workstation/files/configure-hostd.sh
+++ /dev/null
@@ -1,20 +0,0 @@
-#!/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/files/vmware-10.0.rc b/app-emulation/vmware-workstation/files/vmware-10.0.rc
deleted file mode 100644
index 396b6d705135..000000000000
--- a/app-emulation/vmware-workstation/files/vmware-10.0.rc
+++ /dev/null
@@ -1,36 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-depend() {
- need localmount
- use net
-}
-
-start() {
- ebegin Starting VMware USB Arbitrator
- #start-stop-daemon --start --exec @@BINDIR@@/vmware-usbarbitrator
- @@BINDIR@@/vmware-usbarbitrator
- eend $?
- ebegin Starting VMware services
- modprobe -v vmci || modprobe -v vmw_vmci
- eend $?
- modprobe -av vmmon vmci vsock vmblock vmnet
- eend $?
- @@BINDIR@@/vmware-networks --start
- eend $?
-}
-
-stop() {
- ebegin Stopping VMware USB Arbitrator
- #start-stop-daemon --stop --exec @@BINDIR@@/vmware-usbarbitrator
- killall --wait @@BINDIR@@/vmware-usbarbitrator
- eend $?
- @@BINDIR@@/vmware-networks --stop
- eend $?
- ebegin Stopping VMware services
- modprobe -rv vsock vmmon vmblock vmnet
- eend $?
- modprobe -rv vmci || modprobe -rv vmw_vmci
- eend $?
-}
diff --git a/app-emulation/vmware-workstation/files/vmware-11.1.rc b/app-emulation/vmware-workstation/files/vmware-11.1.rc
deleted file mode 100644
index 2ba649336fdf..000000000000
--- a/app-emulation/vmware-workstation/files/vmware-11.1.rc
+++ /dev/null
@@ -1,43 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-depend() {
- need localmount
- use net
-}
-
-start() {
- ebegin Starting VMware USB Arbitrator
- #start-stop-daemon --start --exec @@BINDIR@@/vmware-usbarbitrator
- @@BINDIR@@/vmware-usbarbitrator
- eend $?
- ebegin Starting VMware services
-
- # quiet for vmci because it may not be there
- modprobe -vq vmci || modprobe -v vmw_vmci
- eend $?
-
- # vmci or vmw_vmci was loaded by the previous modprobe
- # no need to do it here
- modprobe -av vmmon vsock vmblock vmnet
- eend $?
- @@BINDIR@@/vmware-networks --start
- eend $?
-}
-
-stop() {
- ebegin Stopping VMware USB Arbitrator
- #start-stop-daemon --stop --exec @@BINDIR@@/vmware-usbarbitrator
- killall --wait @@BINDIR@@/vmware-usbarbitrator
- eend $?
- @@BINDIR@@/vmware-networks --stop
- eend $?
- ebegin Stopping VMware services
- modprobe -rv vsock vmmon vmblock vmnet
- eend $?
-
- # quiet for vmci because it may not be there
- modprobe -rvq vmci || modprobe -rv vmw_vmci
- eend $?
-}
diff --git a/app-emulation/vmware-workstation/files/vmware-12.1.rc b/app-emulation/vmware-workstation/files/vmware-12.1.rc
deleted file mode 100644
index 2ba649336fdf..000000000000
--- a/app-emulation/vmware-workstation/files/vmware-12.1.rc
+++ /dev/null
@@ -1,43 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-depend() {
- need localmount
- use net
-}
-
-start() {
- ebegin Starting VMware USB Arbitrator
- #start-stop-daemon --start --exec @@BINDIR@@/vmware-usbarbitrator
- @@BINDIR@@/vmware-usbarbitrator
- eend $?
- ebegin Starting VMware services
-
- # quiet for vmci because it may not be there
- modprobe -vq vmci || modprobe -v vmw_vmci
- eend $?
-
- # vmci or vmw_vmci was loaded by the previous modprobe
- # no need to do it here
- modprobe -av vmmon vsock vmblock vmnet
- eend $?
- @@BINDIR@@/vmware-networks --start
- eend $?
-}
-
-stop() {
- ebegin Stopping VMware USB Arbitrator
- #start-stop-daemon --stop --exec @@BINDIR@@/vmware-usbarbitrator
- killall --wait @@BINDIR@@/vmware-usbarbitrator
- eend $?
- @@BINDIR@@/vmware-networks --stop
- eend $?
- ebegin Stopping VMware services
- modprobe -rv vsock vmmon vmblock vmnet
- eend $?
-
- # quiet for vmci because it may not be there
- modprobe -rvq vmci || modprobe -rv vmw_vmci
- eend $?
-}
diff --git a/app-emulation/vmware-workstation/files/vmware-9.0.rc b/app-emulation/vmware-workstation/files/vmware-9.0.rc
deleted file mode 100644
index 396b6d705135..000000000000
--- a/app-emulation/vmware-workstation/files/vmware-9.0.rc
+++ /dev/null
@@ -1,36 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-depend() {
- need localmount
- use net
-}
-
-start() {
- ebegin Starting VMware USB Arbitrator
- #start-stop-daemon --start --exec @@BINDIR@@/vmware-usbarbitrator
- @@BINDIR@@/vmware-usbarbitrator
- eend $?
- ebegin Starting VMware services
- modprobe -v vmci || modprobe -v vmw_vmci
- eend $?
- modprobe -av vmmon vmci vsock vmblock vmnet
- eend $?
- @@BINDIR@@/vmware-networks --start
- eend $?
-}
-
-stop() {
- ebegin Stopping VMware USB Arbitrator
- #start-stop-daemon --stop --exec @@BINDIR@@/vmware-usbarbitrator
- killall --wait @@BINDIR@@/vmware-usbarbitrator
- eend $?
- @@BINDIR@@/vmware-networks --stop
- eend $?
- ebegin Stopping VMware services
- modprobe -rv vsock vmmon vmblock vmnet
- eend $?
- modprobe -rv vmci || modprobe -rv vmw_vmci
- eend $?
-}
diff --git a/app-emulation/vmware-workstation/files/vmware-server-10.0.rc b/app-emulation/vmware-workstation/files/vmware-server-10.0.rc
deleted file mode 100644
index a36d41e98416..000000000000
--- a/app-emulation/vmware-workstation/files/vmware-server-10.0.rc
+++ /dev/null
@@ -1,54 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-depend() {
- need localmount vmware
- use net
-}
-
-checkconfig() {
- # Check if certificates exist. If not, we need to generate them, ala sshd.
- if [ ! -e @@ETCDIR@@/ssl/rui.key -o ! -e @@ETCDIR@@/ssl/rui.crt ]; then
- mkdir -p @@ETCDIR@@/ssl
- openssl req -x509 -days 365 -newkey rsa:2048 -keyout @@ETCDIR@@/ssl/rui.key -out @@ETCDIR@@/ssl/rui.crt -config @@ETCDIR@@/ssl/hostd.ssl.config
- chmod -R 600 @@ETCDIR@@/ssl
- fi
-}
-
-start() {
- checkconfig
-
- ebegin Starting VMware Authentication Daemon
- start-stop-daemon --start \
- --exec @@PREFIX@@/sbin/vmware-authdlauncher
- eend $?
- ebegin Starting VMware Workstation Server
- start-stop-daemon --start \
- --pidfile /var/run/vmware/vmware-hostd.PID \
- --exec @@BINDIR@@/vmware-hostd \
- -- -a -d @@ETCDIR@@/hostd/config.xml
-
- eend $?
-}
-
-stop() {
- ebegin "Shutdown VMs in the AutoStart Sequence"
- local HOHO_ADMIN="$(@@BINDIR@@/vmware-wssc-adminTool "@@ETCDIR@@/hostd/authorization.xml" 2>/dev/null)"
-
- if [ "x" != "x${HOHO_ADMIN}" ]; then
- @@BINDIR@@/vmware-vim-cmd -U "${HOHO_ADMIN}" hostsvc/autostartmanager/autostop
- fi
- eend $?
-
- ebegin Stopping VMware Workstation Server
- start-stop-daemon --stop \
- --pidfile /var/run/vmware/vmware-hostd.PID \
- --exec @@BINDIR@@/vmware-hostd
- eend $?
- ebegin Stopping VMware Authentication Daemon
- #start-stop-daemon --stop \
- # --exec @@PREFIX@@/sbin/vmware-authdlauncher
- killall @@PREFIX@@/sbin/vmware-authdlauncher
- eend $?
-}
diff --git a/app-emulation/vmware-workstation/files/vmware-server-11.1.rc b/app-emulation/vmware-workstation/files/vmware-server-11.1.rc
deleted file mode 100644
index a36d41e98416..000000000000
--- a/app-emulation/vmware-workstation/files/vmware-server-11.1.rc
+++ /dev/null
@@ -1,54 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-depend() {
- need localmount vmware
- use net
-}
-
-checkconfig() {
- # Check if certificates exist. If not, we need to generate them, ala sshd.
- if [ ! -e @@ETCDIR@@/ssl/rui.key -o ! -e @@ETCDIR@@/ssl/rui.crt ]; then
- mkdir -p @@ETCDIR@@/ssl
- openssl req -x509 -days 365 -newkey rsa:2048 -keyout @@ETCDIR@@/ssl/rui.key -out @@ETCDIR@@/ssl/rui.crt -config @@ETCDIR@@/ssl/hostd.ssl.config
- chmod -R 600 @@ETCDIR@@/ssl
- fi
-}
-
-start() {
- checkconfig
-
- ebegin Starting VMware Authentication Daemon
- start-stop-daemon --start \
- --exec @@PREFIX@@/sbin/vmware-authdlauncher
- eend $?
- ebegin Starting VMware Workstation Server
- start-stop-daemon --start \
- --pidfile /var/run/vmware/vmware-hostd.PID \
- --exec @@BINDIR@@/vmware-hostd \
- -- -a -d @@ETCDIR@@/hostd/config.xml
-
- eend $?
-}
-
-stop() {
- ebegin "Shutdown VMs in the AutoStart Sequence"
- local HOHO_ADMIN="$(@@BINDIR@@/vmware-wssc-adminTool "@@ETCDIR@@/hostd/authorization.xml" 2>/dev/null)"
-
- if [ "x" != "x${HOHO_ADMIN}" ]; then
- @@BINDIR@@/vmware-vim-cmd -U "${HOHO_ADMIN}" hostsvc/autostartmanager/autostop
- fi
- eend $?
-
- ebegin Stopping VMware Workstation Server
- start-stop-daemon --stop \
- --pidfile /var/run/vmware/vmware-hostd.PID \
- --exec @@BINDIR@@/vmware-hostd
- eend $?
- ebegin Stopping VMware Authentication Daemon
- #start-stop-daemon --stop \
- # --exec @@PREFIX@@/sbin/vmware-authdlauncher
- killall @@PREFIX@@/sbin/vmware-authdlauncher
- eend $?
-}
diff --git a/app-emulation/vmware-workstation/files/vmware-server-12.1.rc b/app-emulation/vmware-workstation/files/vmware-server-12.1.rc
deleted file mode 100644
index a36d41e98416..000000000000
--- a/app-emulation/vmware-workstation/files/vmware-server-12.1.rc
+++ /dev/null
@@ -1,54 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-depend() {
- need localmount vmware
- use net
-}
-
-checkconfig() {
- # Check if certificates exist. If not, we need to generate them, ala sshd.
- if [ ! -e @@ETCDIR@@/ssl/rui.key -o ! -e @@ETCDIR@@/ssl/rui.crt ]; then
- mkdir -p @@ETCDIR@@/ssl
- openssl req -x509 -days 365 -newkey rsa:2048 -keyout @@ETCDIR@@/ssl/rui.key -out @@ETCDIR@@/ssl/rui.crt -config @@ETCDIR@@/ssl/hostd.ssl.config
- chmod -R 600 @@ETCDIR@@/ssl
- fi
-}
-
-start() {
- checkconfig
-
- ebegin Starting VMware Authentication Daemon
- start-stop-daemon --start \
- --exec @@PREFIX@@/sbin/vmware-authdlauncher
- eend $?
- ebegin Starting VMware Workstation Server
- start-stop-daemon --start \
- --pidfile /var/run/vmware/vmware-hostd.PID \
- --exec @@BINDIR@@/vmware-hostd \
- -- -a -d @@ETCDIR@@/hostd/config.xml
-
- eend $?
-}
-
-stop() {
- ebegin "Shutdown VMs in the AutoStart Sequence"
- local HOHO_ADMIN="$(@@BINDIR@@/vmware-wssc-adminTool "@@ETCDIR@@/hostd/authorization.xml" 2>/dev/null)"
-
- if [ "x" != "x${HOHO_ADMIN}" ]; then
- @@BINDIR@@/vmware-vim-cmd -U "${HOHO_ADMIN}" hostsvc/autostartmanager/autostop
- fi
- eend $?
-
- ebegin Stopping VMware Workstation Server
- start-stop-daemon --stop \
- --pidfile /var/run/vmware/vmware-hostd.PID \
- --exec @@BINDIR@@/vmware-hostd
- eend $?
- ebegin Stopping VMware Authentication Daemon
- #start-stop-daemon --stop \
- # --exec @@PREFIX@@/sbin/vmware-authdlauncher
- killall @@PREFIX@@/sbin/vmware-authdlauncher
- eend $?
-}
diff --git a/app-emulation/vmware-workstation/files/vmware-server-9.0.rc b/app-emulation/vmware-workstation/files/vmware-server-9.0.rc
deleted file mode 100644
index 28a364f19a0b..000000000000
--- a/app-emulation/vmware-workstation/files/vmware-server-9.0.rc
+++ /dev/null
@@ -1,54 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-depend() {
- need localmount vmware
- use net
-}
-
-checkconfig() {
- # Check if certificates exist. If not, we need to generate them, ala sshd.
- if [ ! -e @@ETCDIR@@/ssl/rui.key -o ! -e @@ETCDIR@@/ssl/rui.crt ]; then
- mkdir -p @@ETCDIR@@/ssl
- openssl req -x509 -days 365 -newkey rsa:2048 -keyout @@ETCDIR@@/ssl/rui.key -out @@ETCDIR@@/ssl/rui.crt -config @@ETCDIR@@/ssl/hostd.ssl.config
- chmod -R 600 @@ETCDIR@@/ssl
- fi
-}
-
-start() {
- checkconfig
-
- ebegin Starting VMware Authentication Daemon
- start-stop-daemon --start \
- --exec @@PREFIX@@/sbin/vmware-authdlauncher
- eend $?
- ebegin Starting VMware Workstation Server
- start-stop-daemon --start \
- --pidfile /var/run/vmware/vmware-hostd.PID \
- --exec @@BINDIR@@/vmware-hostd \
- -- -a -d @@ETCDIR@@/hostd/config.xml
-
- eend $?
-}
-
-stop() {
- ebegin "Shutdown VMs in the AutoStart Sequence"
- local HOHO_ADMIN="$(@@BINDIR@@/vmware-wssc-adminTool "@@ETCDIR@@/hostd/authorization.xml" 2>/dev/null)"
-
- if [ "x" != "x${HOHO_ADMIN}" ]; then
- @@BINDIR@@/vmware-vim-cmd -U "${HOHO_ADMIN}" hostsvc/autostartmanager/autostop
- fi
- eend $?
-
- ebegin Stopping VMware Workstation Server
- start-stop-daemon --stop \
- --pidfile /var/run/vmware/vmware-hostd.PID \
- --exec @@BINDIR@@/vmware-hostd
- eend $?
- ebegin Stopping VMware Authentication Daemon
- #start-stop-daemon --stop \
- # --exec @@PREFIX@@/sbin/vmware-authdlauncher
- killall @@PREFIX@@/sbin/vmware-authdlauncher
- eend $?
-}