[arch-commits] Commit in open-vm-tools/trunk (3 files)
Sergej Pupykin
spupykin at nymeria.archlinux.org
Mon May 13 14:31:06 UTC 2013
Date: Monday, May 13, 2013 @ 16:31:06
Author: spupykin
Revision: 90694
upgpkg: open-vm-tools 1:9.2.3-2
upd
Modified:
open-vm-tools/trunk/PKGBUILD
Deleted:
open-vm-tools/trunk/open-vm-tools.conf.d
open-vm-tools/trunk/open-vm-tools.rc.d
----------------------+
PKGBUILD | 8 ---
open-vm-tools.conf.d | 11 -----
open-vm-tools.rc.d | 106 -------------------------------------------------
3 files changed, 1 insertion(+), 124 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2013-05-13 14:31:00 UTC (rev 90693)
+++ PKGBUILD 2013-05-13 14:31:06 UTC (rev 90694)
@@ -7,7 +7,7 @@
epoch=1
pkgver=9.2.3
_pkgsubver=1031360
-pkgrel=1
+pkgrel=2
pkgdesc="The Open Virtual Machine Tools (open-vm-tools) are the open source implementation of VMware Tools"
arch=('i686' 'x86_64')
url="http://open-vm-tools.sourceforge.net/"
@@ -25,8 +25,6 @@
scripts-network.patch
scripts-network-FS19541.patch
open-vm-tools-X11Bool.patch
- open-vm-tools.conf.d
- open-vm-tools.rc.d
tools.conf
vmware-guestd
xautostart.conf
@@ -36,8 +34,6 @@
'b8f68fef3d388489e40dba581b6da18a'
'921637fcb05cd68b1c8350fcb7d59d36'
'8c333a979578bdc0c3134c1dd6bb7353'
- '6567ca1b465854f832fc94a4e9faf876'
- '0848618fa6310294db2752c77ae99865'
'b55d15e2c4be396aad709aeca91033d3'
'1b9ae908fce4c623269f100ee9bdfdef'
'75a25d83417e683957321f97a00f8465'
@@ -69,8 +65,6 @@
patch -p1 -i "$srcdir"/scripts-network.patch etc/vmware-tools/scripts/vmware/network
patch -p1 -i "$srcdir"/scripts-network-FS19541.patch etc/vmware-tools/scripts/vmware/network
- install -Dm0755 "$srcdir"/open-vm-tools.rc.d "$pkgdir"/etc/rc.d/open-vm-tools
- install -Dm0644 "$srcdir"/open-vm-tools.conf.d "$pkgdir"/etc/conf.d/open-vm-tools
install -Dm0644 "$srcdir"/tools.conf "$pkgdir"/etc/vmware-tools/tools.conf
install -Dm0644 "$srcdir"/xautostart.conf "$pkgdir"/etc/vmware-tools/xautostart.conf
install -Dm0644 "$srcdir"/vmware-guestd "$pkgdir"/etc/pam.d/vmware-guestd
Deleted: open-vm-tools.conf.d
===================================================================
--- open-vm-tools.conf.d 2013-05-13 14:31:00 UTC (rev 90693)
+++ open-vm-tools.conf.d 2013-05-13 14:31:06 UTC (rev 90694)
@@ -1,11 +0,0 @@
-# Enable support for Drag'n'Drop
-VM_DRAG_AND_DROP="yes"
-
-# Load these modules on startup
-# They must be listed in proper dependency order
-# vmblock module loading is switched by VM_DRAG_AND_DROP variable above
-VM_MODULES=('vmci' 'vsock' 'vmhgfs' 'vmsync')
-
-# vmware-guestd settings
-GUESTD_BIN="/usr/sbin/vmware-guestd"
-PIDFILE="/var/run/vmware-guestd.pid"
Deleted: open-vm-tools.rc.d
===================================================================
--- open-vm-tools.rc.d 2013-05-13 14:31:00 UTC (rev 90693)
+++ open-vm-tools.rc.d 2013-05-13 14:31:06 UTC (rev 90694)
@@ -1,106 +0,0 @@
-#!/bin/bash
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-
-# source application-specific settings
-[ -f /etc/conf.d/open-vm-tools ] && . /etc/conf.d/open-vm-tools
-
-PID=`pidof -o %PPID /usr/bin/vmtoolsd`
-case "$1" in
- start)
- stat_busy "Starting Open Virtual Machine Tools"
-
- if [ "$VM_DRAG_AND_DROP" == "yes" ]; then
- VMBLOCK=`grep -w vmblock /proc/modules`
- [ -z "$VMBLOCK" ] && modprobe vmblock
- if [ $? -gt 0 ]; then
- stat_fail
- exit 1
- fi
-
- DND_TMPDIR="/tmp/VMwareDnD"
- if [ ! -d "$DND_TMPDIR" ]; then
- mkdir $DND_TMPDIR
- chmod 1777 $DND_TMPDIR
- fi
-
- mount -t vmblock none /proc/fs/vmblock/mountPoint
- if [ $? -gt 0 ]; then
- stat_fail
- exit 1
- fi
- fi
-
-
- for m in ${VM_MODULES[@]}; do
- VMMOD=`grep -w $m /proc/modules`
- [ -z "$VMMOD" ] && \
- { modprobe $m
- if [ $? -gt 0 ]; then
- stat_fail
- exit 1
- fi; }
- done
-
-
- [ -z "$PID" ] && /usr/bin/vmtoolsd --background $PIDFILE
- if [ $? -gt 0 ]; then
- stat_fail
- else
- add_daemon open-vm-tools
- stat_done
- fi
- ;;
- stop)
- stat_busy "Stopping Open Virtual Machine Tools"
- [ ! -z "$PID" ] && kill $PID &>/dev/null
-# if [ $? -gt 0 ]; then
-# stat_fail
-# exit 1
-# fi
-
- VM_MODULES_RM=()
- for m in ${VM_MODULES[@]}; do
- VM_MODULES_RM=($m ${VM_MODULES_RM[@]})
- done
-
- for m in ${VM_MODULES_RM[@]}; do
- VMMOD=`grep -w $m /proc/modules`
- [ ! -z "$VMMOD" ] && rmmod $m
- if [ $? -gt 0 ]; then
- stat_fail
- exit 4
- fi
- done
-
- if [ "$VM_DRAG_AND_DROP" == "yes" ]; then
- MOUNTPOINT=`grep -w "none /proc/fs/vmblock/mountPoint vmblock" /proc/modules`
- [ -z "$MOUNTPOINT" ] && umount /proc/fs/vmblock/mountPoint
- if [ $? -gt 0 ]; then
- stat_fail
- exit 5
- fi
-
- DND_TMPDIR="/tmp/VMwareDnD"
- rm -r $DND_TMPDIR
-
- VMBLOCK=`grep -w vmblock /proc/modules`
- [ ! -z "$VMBLOCK" ] && rmmod vmblock
- if [ $? -gt 0 ]; then
- stat_fail
- exit 6
- fi
- fi
-
- rm_daemon open-vm-tools
- stat_done
- ;;
- restart)
- $0 stop
- $0 start
- ;;
- *)
- echo "usage: $0 {start|stop|restart}"
-esac
-exit 0
More information about the arch-commits
mailing list