diff options
author | Andreas K. Huettel (dilfridge) <dilfridge@gentoo.org> | 2015-09-08 22:14:15 +0200 |
---|---|---|
committer | Andreas K. Huettel (dilfridge) <dilfridge@gentoo.org> | 2015-09-08 22:14:15 +0200 |
commit | 8c4b40418949a6d036f6429273750c39a9e405c8 (patch) | |
tree | cf9cfb8f9816a7782e001bc7aa89715ad4d4b1b1 /app-emulation | |
parent | app-emulation/vmware-modules: Remove old (diff) | |
download | vmware-8c4b40418949a6d036f6429273750c39a9e405c8.tar.gz vmware-8c4b40418949a6d036f6429273750c39a9e405c8.tar.bz2 vmware-8c4b40418949a6d036f6429273750c39a9e405c8.zip |
app-emulation/vmware-player: Remove unused files
Diffstat (limited to 'app-emulation')
4 files changed, 0 insertions, 220 deletions
diff --git a/app-emulation/vmware-player/files/vmware-server-10.0.rc b/app-emulation/vmware-player/files/vmware-server-10.0.rc deleted file mode 100644 index 353f369..0000000 --- a/app-emulation/vmware-player/files/vmware-server-10.0.rc +++ /dev/null @@ -1,55 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/vmware-workstation/files/vmware-server-10.0.rc,v 1.1 2013/10/19 11:38:39 dilfridge Exp $ - -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-player/files/vmware-server-11.0.rc b/app-emulation/vmware-player/files/vmware-server-11.0.rc deleted file mode 100644 index 353f369..0000000 --- a/app-emulation/vmware-player/files/vmware-server-11.0.rc +++ /dev/null @@ -1,55 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/vmware-workstation/files/vmware-server-10.0.rc,v 1.1 2013/10/19 11:38:39 dilfridge Exp $ - -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-player/files/vmware-server-11.1.rc b/app-emulation/vmware-player/files/vmware-server-11.1.rc deleted file mode 100644 index 353f369..0000000 --- a/app-emulation/vmware-player/files/vmware-server-11.1.rc +++ /dev/null @@ -1,55 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/vmware-workstation/files/vmware-server-10.0.rc,v 1.1 2013/10/19 11:38:39 dilfridge Exp $ - -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-player/files/vmware-server-11.2.rc b/app-emulation/vmware-player/files/vmware-server-11.2.rc deleted file mode 100644 index 353f369..0000000 --- a/app-emulation/vmware-player/files/vmware-server-11.2.rc +++ /dev/null @@ -1,55 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/vmware-workstation/files/vmware-server-10.0.rc,v 1.1 2013/10/19 11:38:39 dilfridge Exp $ - -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 $? -} |