1 |
jokey 08/10/27 17:19:20 |
2 |
|
3 |
Modified: virtualbox-ose.desktop |
4 |
Added: virtualbox-ose-1-wrapper virtualbox-ose-1-config |
5 |
virtualbox-ose-2-wrapper virtualbox-ose-2-config |
6 |
virtualbox-ose-2-localconfig |
7 |
Removed: virtualbox-ose-2.0.2-config |
8 |
virtualbox-ose-2.0.2-localconfig |
9 |
virtualbox-ose-2.0.2-wrapper |
10 |
virtualbox-ose-1.6.4-remove-unused.patch |
11 |
virtualbox-ose-config virtualbox-ose-wrapper |
12 |
virtualbox-ose-1.6.4-fix-missing-makefiles.patch |
13 |
Log: |
14 |
(Proxy commit) Version bump |
15 |
(Portage version: 2.2_rc12/cvs/Linux 2.6.26-gentoo-r1 i686) |
16 |
|
17 |
Revision Changes Path |
18 |
1.2 app-emulation/virtualbox-ose/files/virtualbox-ose.desktop |
19 |
|
20 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/virtualbox-ose/files/virtualbox-ose.desktop?rev=1.2&view=markup |
21 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/virtualbox-ose/files/virtualbox-ose.desktop?rev=1.2&content-type=text/plain |
22 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/virtualbox-ose/files/virtualbox-ose.desktop?r1=1.1&r2=1.2 |
23 |
|
24 |
Index: virtualbox-ose.desktop |
25 |
=================================================================== |
26 |
RCS file: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-ose/files/virtualbox-ose.desktop,v |
27 |
retrieving revision 1.1 |
28 |
retrieving revision 1.2 |
29 |
diff -u -r1.1 -r1.2 |
30 |
--- virtualbox-ose.desktop 27 Aug 2008 12:39:00 -0000 1.1 |
31 |
+++ virtualbox-ose.desktop 27 Oct 2008 17:19:20 -0000 1.2 |
32 |
@@ -4,5 +4,5 @@ |
33 |
Comment=Run several virtual systems on a single host computer |
34 |
Exec=VirtualBox |
35 |
TryExec=VirtualBox |
36 |
-Icon=virtualbox |
37 |
+Icon=virtualbox-ose |
38 |
Categories=System;Emulator; |
39 |
|
40 |
|
41 |
|
42 |
1.1 app-emulation/virtualbox-ose/files/virtualbox-ose-1-wrapper |
43 |
|
44 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/virtualbox-ose/files/virtualbox-ose-1-wrapper?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/virtualbox-ose/files/virtualbox-ose-1-wrapper?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: virtualbox-ose-1-wrapper |
48 |
=================================================================== |
49 |
#!/bin/sh |
50 |
# |
51 |
# Sun xVM VirtualBox |
52 |
# |
53 |
# Copyright (C) 2006-2007 Sun Microsystems, Inc. |
54 |
# |
55 |
# This file is part of VirtualBox Open Source Edition (OSE), as |
56 |
# available from http://www.virtualbox.org. This file is free software; |
57 |
# you can redistribute it and/or modify it under the terms of the GNU |
58 |
# General Public License (GPL) as published by the Free Software |
59 |
# Foundation, in version 2 as it comes in the "COPYING" file of the |
60 |
# VirtualBox OSE distribution. VirtualBox OSE is distributed in the |
61 |
# hope that it will be useful, but WITHOUT ANY WARRANTY of any kind. |
62 |
# |
63 |
# Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa |
64 |
# Clara, CA 95054 USA or visit http://www.sun.com if you need |
65 |
# additional information or have any questions. |
66 |
# |
67 |
|
68 |
PATH="/usr/bin:/bin:/usr/sbin:/sbin" |
69 |
CONFIG="/etc/vbox/vbox.cfg" |
70 |
|
71 |
if [ ! -r "$CONFIG" ]; then |
72 |
echo "Could not find VirtualBox installation. Please reinstall." |
73 |
exit 1 |
74 |
fi |
75 |
|
76 |
. "$CONFIG" |
77 |
|
78 |
# Note: This script must not fail if the module was not successfully installed |
79 |
# because the user might not want to run a VM but only change VM params! |
80 |
|
81 |
if [ "$1" = "shutdown" ]; then |
82 |
SHUTDOWN="true" |
83 |
elif [ ! -e /lib/modules/`uname -r`/misc/vboxdrv.ko ]; then |
84 |
cat << EOF |
85 |
WARNING: There is no module available for the current kernel (`uname -r`). |
86 |
Please recompile the kernel module and install it by: |
87 |
|
88 |
sudo emerge -1 app-emulation/virtualbox-modules |
89 |
|
90 |
You will not be able to start VMs until this problem is fixed. |
91 |
EOF |
92 |
elif ! lsmod|grep -q vboxdrv; then |
93 |
cat << EOF |
94 |
WARNING: The vboxdrv kernel module is not loaded. |
95 |
Please load the kernel module by: |
96 |
|
97 |
sudo modprobe vboxdrv |
98 |
|
99 |
You will not be able to start VMs until this problem is fixed. |
100 |
EOF |
101 |
elif [ ! -c /dev/vboxdrv ]; then |
102 |
cat << EOF |
103 |
WARNING: The character device /dev/vboxdrv does not exist. |
104 |
Please try to reload the kernel module by: |
105 |
|
106 |
sudo rmmod vboxdrv; sleep 2; sudo modprobe vboxdrv |
107 |
|
108 |
and if that is not successful, try to re-install the package by: |
109 |
|
110 |
sudo emerge -1 app-emulation/virtualbox-modules |
111 |
|
112 |
You will not be able to start VMs until this problem is fixed. |
113 |
EOF |
114 |
elif [ ! -w /dev/vboxdrv ]; then |
115 |
if [ "`id | grep vboxusers`" = "" ]; then |
116 |
cat << EOF |
117 |
WARNING: You are not a member of the "vboxusers" group. |
118 |
Please add yourself to this group before starting VirtualBox. |
119 |
|
120 |
You will not be able to start VMs until this problem is fixed. |
121 |
EOF |
122 |
else |
123 |
cat << EOF |
124 |
WARNING: /dev/vboxdrv not writable for some reason. |
125 |
If you recently added the current user to the "vboxusers" group |
126 |
then you have to logout and re-login to take the change effect. |
127 |
|
128 |
You will not be able to start VMs until this problem is fixed. |
129 |
EOF |
130 |
fi |
131 |
elif [ ! -e /usr/lib/libhal.so ]; then |
132 |
cat << EOF |
133 |
WARNING: libhal was not found on this system. |
134 |
This can create several side effects thus problems, |
135 |
when accessing host resources (eg: Cd/Dvd readers). |
136 |
|
137 |
The use of "sys-apps/hal" is still recommended, please install it |
138 |
to meet this requirement by: |
139 |
|
140 |
sudo emerge sys-apps/hal |
141 |
EOF |
142 |
fi |
143 |
|
144 |
export LD_LIBRARY_PATH="$INSTALL_DIR${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}" |
145 |
|
146 |
SERVER_PID=`ps -U \`whoami\` | grep VBoxSVC | awk '{ print $1 }'` |
147 |
if [ -z "$SERVER_PID" ]; then |
148 |
# Server not running yet/anymore, cleanup socket path. |
149 |
# See IPC_GetDefaultSocketPath()! |
150 |
if [ -n "$LOGNAME" ]; then |
151 |
rm -rf /tmp/.vbox-$LOGNAME-ipc > /dev/null 2>&1 |
152 |
else |
153 |
rm -rf /tmp/.vbox-$USER-ipc > /dev/null 2>&1 |
154 |
fi |
155 |
fi |
156 |
|
157 |
if [ "$SHUTDOWN" = "true" ]; then |
158 |
if [ -n "$SERVER_PID" ]; then |
159 |
kill -TERM $SERVER_PID |
160 |
sleep 2 |
161 |
fi |
162 |
exit 0 |
163 |
fi |
164 |
|
165 |
APP=`which $0` |
166 |
APP=`basename $APP` |
167 |
APP=${APP##/*/} |
168 |
case "$APP" in |
169 |
VirtualBox) |
170 |
exec "$INSTALL_DIR/VirtualBox" "$@" |
171 |
;; |
172 |
VBoxManage) |
173 |
exec "$INSTALL_DIR/VBoxManage" "$@" |
174 |
;; |
175 |
VBoxSDL) |
176 |
exec "$INSTALL_DIR/VBoxSDL" "$@" |
177 |
;; |
178 |
VBoxVRDP) |
179 |
exec "$INSTALL_DIR/VBoxHeadless" "$@" |
180 |
;; |
181 |
VBoxHeadless) |
182 |
exec "$INSTALL_DIR/VBoxHeadless" "$@" |
183 |
;; |
184 |
*) |
185 |
echo "Unknown application - $APP" |
186 |
;; |
187 |
esac |
188 |
|
189 |
|
190 |
|
191 |
1.1 app-emulation/virtualbox-ose/files/virtualbox-ose-1-config |
192 |
|
193 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/virtualbox-ose/files/virtualbox-ose-1-config?rev=1.1&view=markup |
194 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/virtualbox-ose/files/virtualbox-ose-1-config?rev=1.1&content-type=text/plain |
195 |
|
196 |
Index: virtualbox-ose-1-config |
197 |
=================================================================== |
198 |
INSTALL_DIR=/opt/VirtualBox |
199 |
|
200 |
|
201 |
|
202 |
1.1 app-emulation/virtualbox-ose/files/virtualbox-ose-2-wrapper |
203 |
|
204 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/virtualbox-ose/files/virtualbox-ose-2-wrapper?rev=1.1&view=markup |
205 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/virtualbox-ose/files/virtualbox-ose-2-wrapper?rev=1.1&content-type=text/plain |
206 |
|
207 |
Index: virtualbox-ose-2-wrapper |
208 |
=================================================================== |
209 |
#!/bin/sh |
210 |
# |
211 |
# Sun xVM VirtualBox |
212 |
# |
213 |
# Copyright (C) 2006-2007 Sun Microsystems, Inc. |
214 |
# |
215 |
# This file is part of VirtualBox Open Source Edition (OSE), as |
216 |
# available from http://www.virtualbox.org. This file is free software; |
217 |
# you can redistribute it and/or modify it under the terms of the GNU |
218 |
# General Public License (GPL) as published by the Free Software |
219 |
# Foundation, in version 2 as it comes in the "COPYING" file of the |
220 |
# VirtualBox OSE distribution. VirtualBox OSE is distributed in the |
221 |
# hope that it will be useful, but WITHOUT ANY WARRANTY of any kind. |
222 |
# |
223 |
# Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa |
224 |
# Clara, CA 95054 USA or visit http://www.sun.com if you need |
225 |
# additional information or have any questions. |
226 |
# |
227 |
|
228 |
PATH="/usr/bin:/bin:/usr/sbin:/sbin" |
229 |
CONFIG="/etc/vbox/vbox.cfg" |
230 |
|
231 |
if [ ! -r "$CONFIG" ]; then |
232 |
echo "Could not find VirtualBox installation. Please reinstall." |
233 |
exit 1 |
234 |
fi |
235 |
|
236 |
. "$CONFIG" |
237 |
|
238 |
# Note: This script must not fail if the module was not successfully installed |
239 |
# because the user might not want to run a VM but only change VM params! |
240 |
|
241 |
if [ "$1" = "shutdown" ]; then |
242 |
SHUTDOWN="true" |
243 |
elif ! lsmod|grep -q vboxdrv; then |
244 |
cat << EOF |
245 |
WARNING: The vboxdrv kernel module is not loaded. |
246 |
Please load the kernel module by: |
247 |
|
248 |
sudo modprobe vboxdrv |
249 |
|
250 |
You will not be able to start VMs until this problem is fixed. |
251 |
EOF |
252 |
elif [ ! -c /dev/vboxdrv ]; then |
253 |
cat << EOF |
254 |
WARNING: The character device /dev/vboxdrv does not exist. |
255 |
Please try to reload the kernel module by: |
256 |
|
257 |
sudo rmmod vboxdrv; sleep 2; sudo modprobe vboxdrv |
258 |
|
259 |
and if that is not successful, try to re-install the package by: |
260 |
|
261 |
sudo emerge -1 app-emulation/virtualbox-modules |
262 |
|
263 |
You will not be able to start VMs until this problem is fixed. |
264 |
EOF |
265 |
fi |
266 |
|
267 |
SERVER_PID=`ps -U \`whoami\` | grep VBoxSVC | awk '{ print $1 }'` |
268 |
if [ -z "$SERVER_PID" ]; then |
269 |
# Server not running yet/anymore, cleanup socket path. |
270 |
# See IPC_GetDefaultSocketPath()! |
271 |
if [ -n "$LOGNAME" ]; then |
272 |
rm -rf /tmp/.vbox-$LOGNAME-ipc > /dev/null 2>&1 |
273 |
else |
274 |
rm -rf /tmp/.vbox-$USER-ipc > /dev/null 2>&1 |
275 |
fi |
276 |
fi |
277 |
|
278 |
if [ "$SHUTDOWN" = "true" ]; then |
279 |
if [ -n "$SERVER_PID" ]; then |
280 |
kill -TERM $SERVER_PID |
281 |
sleep 2 |
282 |
fi |
283 |
exit 0 |
284 |
fi |
285 |
|
286 |
APP=`which $0` |
287 |
APP=`basename $APP` |
288 |
APP=${APP##/*/} |
289 |
case "$APP" in |
290 |
VirtualBox) |
291 |
exec "$INSTALL_DIR/VirtualBox" "$@" |
292 |
;; |
293 |
VBoxManage) |
294 |
exec "$INSTALL_DIR/VBoxManage" "$@" |
295 |
;; |
296 |
VBoxSDL) |
297 |
exec "$INSTALL_DIR/VBoxSDL" "$@" |
298 |
;; |
299 |
VBoxVRDP) |
300 |
exec "$INSTALL_DIR/VBoxHeadless" "$@" |
301 |
;; |
302 |
VBoxHeadless) |
303 |
exec "$INSTALL_DIR/VBoxHeadless" "$@" |
304 |
;; |
305 |
*) |
306 |
echo "Unknown application - $APP" |
307 |
;; |
308 |
esac |
309 |
|
310 |
|
311 |
|
312 |
1.1 app-emulation/virtualbox-ose/files/virtualbox-ose-2-config |
313 |
|
314 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/virtualbox-ose/files/virtualbox-ose-2-config?rev=1.1&view=markup |
315 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/virtualbox-ose/files/virtualbox-ose-2-config?rev=1.1&content-type=text/plain |
316 |
|
317 |
Index: virtualbox-ose-2-config |
318 |
=================================================================== |
319 |
INSTALL_DIR=/usr/MY_LIBDIR/virtualbox-ose |
320 |
|
321 |
|
322 |
|
323 |
1.1 app-emulation/virtualbox-ose/files/virtualbox-ose-2-localconfig |
324 |
|
325 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/virtualbox-ose/files/virtualbox-ose-2-localconfig?rev=1.1&view=markup |
326 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/virtualbox-ose/files/virtualbox-ose-2-localconfig?rev=1.1&content-type=text/plain |
327 |
|
328 |
Index: virtualbox-ose-2-localconfig |
329 |
=================================================================== |
330 |
# -*- Makefile -*- |
331 |
# |
332 |
# Overwrite some default kBuild settings |
333 |
# |
334 |
|
335 |
# |
336 |
# Copyright (C) 2006-2008 Sun Microsystems, Inc. |
337 |
# |
338 |
# This file is part of VirtualBox Open Source Edition (OSE), as |
339 |
# available from http://www.virtualbox.org. This file is free software; |
340 |
# you can redistribute it and/or modify it under the terms of the GNU |
341 |
# General Public License as published by the Free Software Foundation, |
342 |
# in version 2 as it comes in the "COPYING" file of the VirtualBox OSE |
343 |
# distribution. VirtualBox OSE is distributed in the hope that it will |
344 |
# be useful, but WITHOUT ANY WARRANTY of any kind. |
345 |
# |
346 |
|
347 |
# shut up wine complaining about unknown locale |
348 |
EXEC_X86_WIN32 := wine |
349 |
|
350 |
# don't build testcases to save time, they are not needed for the package |
351 |
VBOX_WITH_TESTCASES := |
352 |
VBOX_WITH_TESTSUITE := |
353 |
VBOX_DOCBOOK_WITH_LATEX := 1 |
354 |
|
355 |
KBUILD_MSG_STYLE := brief |
356 |
|
357 |
## paths, origin, hardening |
358 |
VBOX_WITH_HARDENING := 1 |
359 |
VBOX_WITH_ORIGIN := |
360 |
VBOX_PATH_APP_PRIVATE_ARCH := /usr/MY_LIBDIR/virtualbox-ose |
361 |
VBOX_PATH_SHARED_LIBS := $(VBOX_PATH_APP_PRIVATE_ARCH) |
362 |
VBOX_WITH_RUNPATH := $(VBOX_PATH_APP_PRIVATE_ARCH) |
363 |
VBOX_PATH_APP_PRIVATE := /usr/share/virtualbox-ose |
364 |
VBOX_PATH_APP_DOCS = $(VBOX_PATH_PACKAGE_DOCS) |
365 |
|
366 |
## don't build unwanted/splitted stuff |
367 |
VBOX_WITHOUT_ADDITIONS := 1 |
368 |
VBOX_WITH_VBOXDRV := |
369 |
VBOX_WITH_VBOXBFE := |
370 |
VBOX_WITH_KCHMVIEWER := |