Gentoo Archives: gentoo-commits

From: "Mike Auty (ikelos)" <ikelos@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-emulation/open-vm-tools/files: tools.conf open-vm.confd disable-toolbox.patch digest-open-vm-tools-0.0.20071121.64693 xautostart.conf open-vm.initd
Date: Sat, 22 Dec 2007 17:32:22
Message-Id: E1J68Cr-0007Zm-6v@stork.gentoo.org
1 ikelos 07/12/22 17:32:13
2
3 Added: tools.conf open-vm.confd disable-toolbox.patch
4 digest-open-vm-tools-0.0.20071121.64693
5 xautostart.conf open-vm.initd
6 Log:
7 Initial commit. This should be usable for both ESX server, workstation, player and normal server.
8 (Portage version: 2.1.4_rc10)
9
10 Revision Changes Path
11 1.1 app-emulation/open-vm-tools/files/tools.conf
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/open-vm-tools/files/tools.conf?rev=1.1&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/open-vm-tools/files/tools.conf?rev=1.1&content-type=text/plain
15
16 Index: tools.conf
17 ===================================================================
18 bindir = "/usr/bin"
19
20
21
22
23 1.1 app-emulation/open-vm-tools/files/open-vm.confd
24
25 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/open-vm-tools/files/open-vm.confd?rev=1.1&view=markup
26 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/open-vm-tools/files/open-vm.confd?rev=1.1&content-type=text/plain
27
28 Index: open-vm.confd
29 ===================================================================
30 # Set this to no to disable drag and drop (and vmblock) loading.
31 VM_DRAG_AND_DROP="yes"
32
33
34
35 1.1 app-emulation/open-vm-tools/files/disable-toolbox.patch
36
37 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/open-vm-tools/files/disable-toolbox.patch?rev=1.1&view=markup
38 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/open-vm-tools/files/disable-toolbox.patch?rev=1.1&content-type=text/plain
39
40 Index: disable-toolbox.patch
41 ===================================================================
42 diff -ruN open-vm-tools-2007.09.04-56574.orig/configure open-vm-tools-2007.09.04-56574/configure
43 --- open-vm-tools-2007.09.04-56574.orig/configure 2007-09-07 09:05:19.000000000 +0200
44 +++ open-vm-tools-2007.09.04-56574/configure 2007-09-14 22:26:20.000000000 +0200
45 @@ -25442,7 +25442,7 @@
46 ###
47 ### Create the Makefiles
48 ###
49 -ac_config_files="$ac_config_files Makefile lib/Makefile lib/atomic/Makefile lib/atomic/shared/Makefile lib/auth/Makefile lib/backdoor/Makefile lib/backdoor/shared/Makefile lib/conf/Makefile lib/dict/Makefile lib/dnd/Makefile lib/err/Makefile lib/eventManager/Makefile lib/file/Makefile lib/fileUtf8/Makefile lib/foundryMsg/Makefile lib/guestApp/Makefile lib/guestInfo/Makefile lib/hgfs/Makefile lib/hgfsBd/Makefile lib/hgfsServer/Makefile lib/hgfsServerManagerGuest/Makefile lib/hgfsServerPolicyGuest/Makefile lib/deployPkg/Makefile lib/impersonate/Makefile lib/message/Makefile lib/message/shared/Makefile lib/misc/Makefile lib/misc/shared/Makefile lib/netUtil/Makefile lib/panic/Makefile lib/panicDefault/Makefile lib/printer/Makefile lib/procMgr/Makefile lib/rpcIn/Makefile lib/rpcOut/Makefile lib/rpcOut/shared/Makefile lib/rpcVmx/Makefile lib/SLPv2Parser/Makefile lib/socketMgr/Makefile lib/strUtil/Makefile lib/string/Makefile lib/string/shared/Makefile lib/sync/Makefile lib/sync/sh
50 ared/Makefile lib/syncDriver/Makefile lib/system/Makefile lib/toolsLogger/Makefile lib/user/Makefile lib/vixTools/Makefile lib/vmBackupLib/Makefile lib/vmCheck/Makefile lib/vmSignal/Makefile lib/wiper/Makefile guestd/Makefile vmware-user/Makefile toolbox/Makefile hgfsclient/Makefile hgfsmounter/Makefile checkvm/Makefile libguestlib/Makefile"
51 +ac_config_files="$ac_config_files Makefile lib/Makefile lib/atomic/Makefile lib/atomic/shared/Makefile lib/auth/Makefile lib/backdoor/Makefile lib/backdoor/shared/Makefile lib/conf/Makefile lib/dict/Makefile lib/dnd/Makefile lib/err/Makefile lib/eventManager/Makefile lib/file/Makefile lib/fileUtf8/Makefile lib/foundryMsg/Makefile lib/guestApp/Makefile lib/guestInfo/Makefile lib/hgfs/Makefile lib/hgfsBd/Makefile lib/hgfsServer/Makefile lib/hgfsServerManagerGuest/Makefile lib/hgfsServerPolicyGuest/Makefile lib/deployPkg/Makefile lib/impersonate/Makefile lib/message/Makefile lib/message/shared/Makefile lib/misc/Makefile lib/misc/shared/Makefile lib/netUtil/Makefile lib/panic/Makefile lib/panicDefault/Makefile lib/printer/Makefile lib/procMgr/Makefile lib/rpcIn/Makefile lib/rpcOut/Makefile lib/rpcOut/shared/Makefile lib/rpcVmx/Makefile lib/SLPv2Parser/Makefile lib/socketMgr/Makefile lib/strUtil/Makefile lib/string/Makefile lib/string/shared/Makefile lib/sync/Makefile lib/sync/sh
52 ared/Makefile lib/syncDriver/Makefile lib/system/Makefile lib/toolsLogger/Makefile lib/user/Makefile lib/vixTools/Makefile lib/vmBackupLib/Makefile lib/vmCheck/Makefile lib/vmSignal/Makefile lib/wiper/Makefile guestd/Makefile vmware-user/Makefile hgfsclient/Makefile hgfsmounter/Makefile checkvm/Makefile libguestlib/Makefile"
53
54
55 ###
56 @@ -26131,7 +26131,7 @@
57 "lib/wiper/Makefile") CONFIG_FILES="$CONFIG_FILES lib/wiper/Makefile" ;;
58 "guestd/Makefile") CONFIG_FILES="$CONFIG_FILES guestd/Makefile" ;;
59 "vmware-user/Makefile") CONFIG_FILES="$CONFIG_FILES vmware-user/Makefile" ;;
60 - "toolbox/Makefile") CONFIG_FILES="$CONFIG_FILES toolbox/Makefile" ;;
61 + "") CONFIG_FILES="$CONFIG_FILES " ;;
62 "hgfsclient/Makefile") CONFIG_FILES="$CONFIG_FILES hgfsclient/Makefile" ;;
63 "hgfsmounter/Makefile") CONFIG_FILES="$CONFIG_FILES hgfsmounter/Makefile" ;;
64 "checkvm/Makefile") CONFIG_FILES="$CONFIG_FILES checkvm/Makefile" ;;
65 diff -ruN open-vm-tools-2007.09.04-56574.orig/Makefile.am open-vm-tools-2007.09.04-56574/Makefile.am
66 --- open-vm-tools-2007.09.04-56574.orig/Makefile.am 2007-09-07 09:05:07.000000000 +0200
67 +++ open-vm-tools-2007.09.04-56574/Makefile.am 2007-09-14 22:26:12.000000000 +0200
68 @@ -22,7 +22,6 @@
69 SUBDIRS += lib
70 SUBDIRS += guestd
71 SUBDIRS += vmware-user
72 -SUBDIRS += toolbox
73 SUBDIRS += hgfsclient
74 # hgfsmounter is only needed on Linux.
75 if LINUX
76 diff -ruN open-vm-tools-2007.09.04-56574.orig/Makefile.in open-vm-tools-2007.09.04-56574/Makefile.in
77 --- open-vm-tools-2007.09.04-56574.orig/Makefile.in 2007-09-07 09:05:23.000000000 +0200
78 +++ open-vm-tools-2007.09.04-56574/Makefile.in 2007-09-14 22:26:01.000000000 +0200
79 @@ -79,7 +79,7 @@
80 distclean-recursive maintainer-clean-recursive
81 ETAGS = etags
82 CTAGS = ctags
83 -DIST_SUBDIRS = lib guestd vmware-user toolbox hgfsclient hgfsmounter \
84 +DIST_SUBDIRS = lib guestd vmware-user hgfsclient hgfsmounter \
85 checkvm libguestlib
86 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
87 distdir = $(PACKAGE)-$(VERSION)
88 @@ -220,7 +220,7 @@
89 target_alias = @target_alias@
90 top_builddir = @top_builddir@
91 top_srcdir = @top_srcdir@
92 -SUBDIRS = lib guestd vmware-user toolbox hgfsclient $(am__append_1) \
93 +SUBDIRS = lib guestd vmware-user hgfsclient $(am__append_1) \
94 checkvm libguestlib
95 MODULES = vmblock vmhgfs vmmemctl vmxnet
96 all: all-recursive
97
98
99
100 1.1 app-emulation/open-vm-tools/files/digest-open-vm-tools-0.0.20071121.64693
101
102 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/open-vm-tools/files/digest-open-vm-tools-0.0.20071121.64693?rev=1.1&view=markup
103 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/open-vm-tools/files/digest-open-vm-tools-0.0.20071121.64693?rev=1.1&content-type=text/plain
104
105 Index: digest-open-vm-tools-0.0.20071121.64693
106 ===================================================================
107 MD5 1cc034f14769375f41f6410d709dacbc open-vm-tools-2007.11.21-64693.tar.gz 2295022
108 RMD160 e166040e713f4b7f8fae835862128a7ec3fdca75 open-vm-tools-2007.11.21-64693.tar.gz 2295022
109 SHA256 b00530bf578b07127880ad3107b2b98873d3e5f74876dd94644bac3883be4431 open-vm-tools-2007.11.21-64693.tar.gz 2295022
110
111
112
113 1.1 app-emulation/open-vm-tools/files/xautostart.conf
114
115 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/open-vm-tools/files/xautostart.conf?rev=1.1&view=markup
116 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/open-vm-tools/files/xautostart.conf?rev=1.1&content-type=text/plain
117
118 Index: xautostart.conf
119 ===================================================================
120 gnome-panel
121 ksmserver
122 startkde
123 kwrapper
124 panel
125 xfce4-panel
126
127
128
129
130 1.1 app-emulation/open-vm-tools/files/open-vm.initd
131
132 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/open-vm-tools/files/open-vm.initd?rev=1.1&view=markup
133 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/open-vm-tools/files/open-vm.initd?rev=1.1&content-type=text/plain
134
135 Index: open-vm.initd
136 ===================================================================
137 #!/sbin/runscript
138 # Copyright 1999-2007 Gentoo Foundation
139 # Distributed under the terms of the GNU General Public License v2
140 # $Header: /var/cvsroot/gentoo-x86/app-emulation/open-vm-tools/files/open-vm.initd,v 1.1 2007/12/22 17:32:12 ikelos Exp $
141
142 DND_TMPDIR="/tmp/VMwareDnD"
143 USER_GROUP="root:vmware"
144 DND_TMPDIR_PERMS="1777"
145 GUESTD_BIN="/usr/sbin/vmware-guestd"
146 PIDFILE="/var/run/vmware-guestd.pid"
147 MOUNTPOINT="/proc/fs/vmblock/mountPoint"
148
149 depend() {
150 before checkfs net X
151 }
152
153 start() {
154 if [ "${VM_DRAG_AND_DROP}" == "yes" ];
155 then
156
157 if ! grep -q -w vmblock /proc/modules;
158 then
159 ebegin "Loading vmblock module"
160 modprobe vmblock
161 eend $?
162 sleep 0.25
163 fi
164
165 if [[ ! -d "${DND_TMPDIR}" ]];
166 then
167 # einfo "Creating the VM drag and drop directory"
168 mkdir "${DND_TMPDIR}"
169 chown "${USER_GROUP}" "${DND_TMPDIR}"
170 chmod "${DND_TMPDIR_PERMS}" "${DND_TMPDIR}"
171 fi
172
173 # DnD_TMPDIR must exist before vmblock can be mounted
174 ebegin "Mounting vmblock device"
175 mount -t vmblock none ${MOUNTPOINT}
176 eend $?
177 fi
178
179 ebegin "Starting vmware-guestd"
180 start-stop-daemon --chuid "${USER_GROUP}" --start --quiet --exec ${GUESTD_BIN} -- --background "${PIDFILE}"
181 eend $?
182 }
183
184 stop() {
185 local ret
186
187 if [ "${VM_DRAG_AND_DROP}" == "yes" ];
188 then
189 ebegin "Cleaning the contents of ${DND_TMPDIR}"
190 # First check, whether ${DND_TMPDIR} isn valid... we shouldn't risk deleting the content of ""/*
191 if [[ ! -z "${DND_TMPDIR}" ]] && [[ "${DND_TMPDIR}" != "/" ]];
192 then
193 rm -rf ${DND_TMPDIR}/*
194 ret=0
195 else
196 eerror "Not cleaning up ${DND_TMPDIR}, please check definition of variable"
197 ret=1
198 fi
199 eend $ret
200
201 ebegin "Unmounting vmblock device"
202 if grep -q -w "${MOUNTPOINT}" /proc/mounts;
203 then
204 umount ${MOUNTPOINT} 1>&2 > /dev/null
205 fi
206 eend 0
207 fi
208
209 ebegin "Stopping vmware-guestd"
210 start-stop-daemon --stop --quiet --pidfile "${PIDFILE}"
211 eend $?
212 }
213
214
215
216 --
217 gentoo-commits@g.o mailing list