app-emulation/vmware-workstation: remove unused files
authorMichael Mair-Keimberger (asterix) <m.mairkeimberger@gmail.com>
Wed, 6 Jul 2016 18:06:22 +0000 (20:06 +0200)
committerPatrice Clement <monsieurp@gentoo.org>
Thu, 11 Aug 2016 08:07:58 +0000 (10:07 +0200)
Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
app-emulation/vmware-workstation/files/list-bundle-components.xsl [deleted file]
app-emulation/vmware-workstation/files/list-component-files.xsl [deleted file]
app-emulation/vmware-workstation/files/vmware-11.0.rc [deleted file]
app-emulation/vmware-workstation/files/vmware-11.2.rc [deleted file]
app-emulation/vmware-workstation/files/vmware-server-11.0.rc [deleted file]
app-emulation/vmware-workstation/files/vmware-server-11.2.rc [deleted file]

diff --git a/app-emulation/vmware-workstation/files/list-bundle-components.xsl b/app-emulation/vmware-workstation/files/list-bundle-components.xsl
deleted file mode 100644 (file)
index db1a4e4..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
-<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
-
-       <xsl:output omit-xml-declaration="yes"/>
-
-       <xsl:template match="text()"/>
-
-       <xsl:template match="/bundle/components/component">
-               <xsl:value-of select="@offset"/>
-               <xsl:text> </xsl:text>
-               <xsl:value-of select="@size"/>
-               <xsl:text> </xsl:text>
-               <xsl:value-of select="@name"/>
-               <xsl:text>&#10;</xsl:text>
-       </xsl:template>
-
-</xsl:stylesheet>
diff --git a/app-emulation/vmware-workstation/files/list-component-files.xsl b/app-emulation/vmware-workstation/files/list-component-files.xsl
deleted file mode 100644 (file)
index 91c6152..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
-<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
-
-       <xsl:output omit-xml-declaration="yes"/>
-
-       <xsl:template match="text()"/>
-
-       <xsl:template match="/component/fileset/file">
-               <xsl:value-of select="@offset"/>
-               <xsl:text> </xsl:text>
-               <xsl:value-of select="@compressedSize"/>
-               <xsl:text> </xsl:text>
-               <xsl:value-of select="@uncompressedSize"/>
-               <xsl:text> </xsl:text>
-               <xsl:value-of select="@path"/>
-               <xsl:text>&#10;</xsl:text>
-       </xsl:template>
-
-</xsl:stylesheet>
diff --git a/app-emulation/vmware-workstation/files/vmware-11.0.rc b/app-emulation/vmware-workstation/files/vmware-11.0.rc
deleted file mode 100644 (file)
index 3437207..0000000
+++ /dev/null
@@ -1,44 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-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-11.2.rc b/app-emulation/vmware-workstation/files/vmware-11.2.rc
deleted file mode 100644 (file)
index 3437207..0000000
+++ /dev/null
@@ -1,44 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-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-server-11.0.rc b/app-emulation/vmware-workstation/files/vmware-server-11.0.rc
deleted file mode 100644 (file)
index 439949f..0000000
+++ /dev/null
@@ -1,55 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-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.2.rc b/app-emulation/vmware-workstation/files/vmware-server-11.2.rc
deleted file mode 100644 (file)
index 439949f..0000000
+++ /dev/null
@@ -1,55 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-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 $?
-}