1 |
jokey 08/08/10 14:56:08 |
2 |
|
3 |
Modified: virtualbox-wrapper |
4 |
Added: virtualbox-1.6.4-fix-missing-makefiles.patch |
5 |
virtualbox-1.6.4-remove-unused.patch |
6 |
Log: |
7 |
Add version bump from my overlay wrt bug #233683 |
8 |
(Portage version: 2.2_rc6/cvs/Linux 2.6.26-gentoo i686) |
9 |
|
10 |
Revision Changes Path |
11 |
1.5 app-emulation/virtualbox/files/virtualbox-wrapper |
12 |
|
13 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/virtualbox/files/virtualbox-wrapper?rev=1.5&view=markup |
14 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/virtualbox/files/virtualbox-wrapper?rev=1.5&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/virtualbox/files/virtualbox-wrapper?r1=1.4&r2=1.5 |
16 |
|
17 |
Index: virtualbox-wrapper |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/app-emulation/virtualbox/files/virtualbox-wrapper,v |
20 |
retrieving revision 1.4 |
21 |
retrieving revision 1.5 |
22 |
diff -u -r1.4 -r1.5 |
23 |
--- virtualbox-wrapper 13 Jun 2008 22:45:19 -0000 1.4 |
24 |
+++ virtualbox-wrapper 10 Aug 2008 14:56:07 -0000 1.5 |
25 |
@@ -1,16 +1,21 @@ |
26 |
#!/bin/sh |
27 |
# |
28 |
-# innotek VirtualBox |
29 |
+# Sun xVM VirtualBox |
30 |
+# |
31 |
+# Copyright (C) 2006-2007 Sun Microsystems, Inc. |
32 |
+# |
33 |
+# This file is part of VirtualBox Open Source Edition (OSE), as |
34 |
+# available from http://www.virtualbox.org. This file is free software; |
35 |
+# you can redistribute it and/or modify it under the terms of the GNU |
36 |
+# General Public License (GPL) as published by the Free Software |
37 |
+# Foundation, in version 2 as it comes in the "COPYING" file of the |
38 |
+# VirtualBox OSE distribution. VirtualBox OSE is distributed in the |
39 |
+# hope that it will be useful, but WITHOUT ANY WARRANTY of any kind. |
40 |
+# |
41 |
+# Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa |
42 |
+# Clara, CA 95054 USA or visit http://www.sun.com if you need |
43 |
+# additional information or have any questions. |
44 |
# |
45 |
-# Copyright (C) 2006-2007 innotek GmbH |
46 |
-# |
47 |
-# This file is part of VirtualBox Open Source Edition (OSE), as |
48 |
-# available from http://www.virtualbox.org. This file is free software; |
49 |
-# you can redistribute it and/or modify it under the terms of the GNU |
50 |
-# General Public License as published by the Free Software Foundation, |
51 |
-# in version 2 as it comes in the "COPYING" file of the VirtualBox OSE |
52 |
-# distribution. VirtualBox OSE is distributed in the hope that it will |
53 |
-# be useful, but WITHOUT ANY WARRANTY of any kind. |
54 |
|
55 |
PATH="/usr/bin:/bin:/usr/sbin:/sbin" |
56 |
CONFIG="/etc/vbox/vbox.cfg" |
57 |
@@ -19,7 +24,7 @@ |
58 |
echo "Could not find VirtualBox installation. Please reinstall." |
59 |
exit 1 |
60 |
fi |
61 |
- |
62 |
+ |
63 |
. "$CONFIG" |
64 |
|
65 |
# Note: This script must not fail if the module was not successfully installed |
66 |
@@ -89,6 +94,7 @@ |
67 |
fi |
68 |
|
69 |
export LD_LIBRARY_PATH="$INSTALL_DIR${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}" |
70 |
+export VBOX_LOG_DEST="nofile" |
71 |
|
72 |
SERVER_PID=`ps -U \`whoami\` | grep VBoxSVC | awk '{ print $1 }'` |
73 |
if [ -z "$SERVER_PID" ]; then |
74 |
@@ -110,21 +116,25 @@ |
75 |
fi |
76 |
|
77 |
APP=`which $0` |
78 |
+APP=`basename $APP` |
79 |
APP=${APP##/*/} |
80 |
case "$APP" in |
81 |
VirtualBox) |
82 |
exec "$INSTALL_DIR/VirtualBox" "$@" |
83 |
- ;; |
84 |
+ ;; |
85 |
VBoxManage) |
86 |
exec "$INSTALL_DIR/VBoxManage" "$@" |
87 |
- ;; |
88 |
+ ;; |
89 |
VBoxSDL) |
90 |
exec "$INSTALL_DIR/VBoxSDL" "$@" |
91 |
- ;; |
92 |
+ ;; |
93 |
+ VBoxVRDP) |
94 |
+ exec "$INSTALL_DIR/VBoxHeadless" "$@" |
95 |
+ ;; |
96 |
VBoxHeadless) |
97 |
- exec "$INSTALL_DIR/VBoxHeadless" "$@" |
98 |
- ;; |
99 |
+ exec "$INSTALL_DIR/VBoxHeadless" "$@" |
100 |
+ ;; |
101 |
*) |
102 |
echo "Unknown application - $APP" |
103 |
- ;; |
104 |
+ ;; |
105 |
esac |
106 |
|
107 |
|
108 |
|
109 |
1.1 app-emulation/virtualbox/files/virtualbox-1.6.4-fix-missing-makefiles.patch |
110 |
|
111 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/virtualbox/files/virtualbox-1.6.4-fix-missing-makefiles.patch?rev=1.1&view=markup |
112 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/virtualbox/files/virtualbox-1.6.4-fix-missing-makefiles.patch?rev=1.1&content-type=text/plain |
113 |
|
114 |
Index: virtualbox-1.6.4-fix-missing-makefiles.patch |
115 |
=================================================================== |
116 |
--- src/apps/Makefile.kmk 1970-01-01 01:00:00.000000000 +0100 |
117 |
+++ src/apps/Makefile.kmk 2008-08-02 16:06:11.358197514 +0200 |
118 |
@@ -0,0 +1,28 @@ |
119 |
+# $Id: virtualbox-1.6.4-fix-missing-makefiles.patch,v 1.1 2008/08/10 14:56:07 jokey Exp $ |
120 |
+## @file |
121 |
+# Sub-Makefile for the external apps. |
122 |
+# |
123 |
+ |
124 |
+# |
125 |
+# Copyright (C) 2006-2007 Sun Microsystems, Inc. |
126 |
+# |
127 |
+# Sun Microsystems, Inc. confidential |
128 |
+# All rights reserved |
129 |
+# |
130 |
+ |
131 |
+DEPTH = ../.. |
132 |
+include $(KBUILD_PATH)/subheader.kmk |
133 |
+ |
134 |
+ifdef VBOX_WITH_KCHMVIEWER |
135 |
+ ifneq ($(wildcard $(PATH_SUB_CURRENT)/kchmviewer-2.6),) |
136 |
+ include $(PATH_SUB_CURRENT)/kchmviewer-2.6/Makefile.kmk |
137 |
+ endif |
138 |
+endif |
139 |
+ifneq ($(wildcard $(PATH_SUB_CURRENT)/tunctl),) |
140 |
+ ifeq ($(KBUILD_TARGET),linux) |
141 |
+ include $(PATH_SUB_CURRENT)/tunctl/Makefile.kmk |
142 |
+ endif |
143 |
+endif |
144 |
+ |
145 |
+include $(KBUILD_PATH)/subfooter.kmk |
146 |
+ |
147 |
--- src/apps/tunctl/Makefile.kmk 1970-01-01 01:00:00.000000000 +0100 |
148 |
+++ src/apps/tunctl/Makefile.kmk 2008-08-02 16:06:37.447936207 +0200 |
149 |
@@ -0,0 +1,32 @@ |
150 |
+# $Id: virtualbox-1.6.4-fix-missing-makefiles.patch,v 1.1 2008/08/10 14:56:07 jokey Exp $ |
151 |
+## @file |
152 |
+# Sub-Makefile for VBoxTunctl |
153 |
+# |
154 |
+# VBoxTunctl is identical to tunctl from Usermode Linux except for the name. |
155 |
+# |
156 |
+ |
157 |
+# |
158 |
+# Copyright (C) 2006-2007 Sun Microsystems, Inc. |
159 |
+# |
160 |
+# This file is part of VirtualBox Open Source Edition (OSE), as |
161 |
+# available from http://www.virtualbox.org. This file is free software; |
162 |
+# you can redistribute it and/or modify it under the terms of the GNU |
163 |
+# General Public License (GPL) as published by the Free Software |
164 |
+# Foundation, in version 2 as it comes in the "COPYING" file of the |
165 |
+# VirtualBox OSE distribution. VirtualBox OSE is distributed in the |
166 |
+# hope that it will be useful, but WITHOUT ANY WARRANTY of any kind. |
167 |
+# |
168 |
+# Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa |
169 |
+# Clara, CA 95054 USA or visit http://www.sun.com if you need |
170 |
+# additional information or have any questions. |
171 |
+# |
172 |
+ |
173 |
+DEPTH = ../../.. |
174 |
+include $(KBUILD_PATH)/subheader.kmk |
175 |
+ |
176 |
+PROGRAMS.linux += VBoxTunctl |
177 |
+VBoxTunctl_TEMPLATE = VBOXR3EXE |
178 |
+VBoxTunctl_SOURCES = tunctl.c |
179 |
+ |
180 |
+include $(KBUILD_PATH)/subfooter.kmk |
181 |
+ |
182 |
|
183 |
|
184 |
|
185 |
1.1 app-emulation/virtualbox/files/virtualbox-1.6.4-remove-unused.patch |
186 |
|
187 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/virtualbox/files/virtualbox-1.6.4-remove-unused.patch?rev=1.1&view=markup |
188 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/virtualbox/files/virtualbox-1.6.4-remove-unused.patch?rev=1.1&content-type=text/plain |
189 |
|
190 |
Index: virtualbox-1.6.4-remove-unused.patch |
191 |
=================================================================== |
192 |
--- Config.kmk.orig 2008-08-04 01:11:59.000000000 +0200 |
193 |
+++ Config.kmk 2008-08-04 01:15:23.000000000 +0200 |
194 |
@@ -134,26 +134,26 @@ |
195 |
|
196 |
# This indicates that additions (of some kind or another) is being _built_. |
197 |
# VBOX_WITHOUT_ADDITIONS overrides it. |
198 |
-if1of ($(KBUILD_TARGET),l4 linux os2 solaris win) |
199 |
- VBOX_WITH_ADDITIONS = 1 |
200 |
-else ifdef VBOX_WITH_WIN32_ADDITIONS # for ssh cross builds -remove later! |
201 |
- VBOX_WITH_ADDITIONS = 1 |
202 |
-else ifdef VBOX_WITH_LINUX_ADDITIONS # for ssh cross builds - remove later! |
203 |
- VBOX_WITH_ADDITIONS = 1 |
204 |
-endif |
205 |
+#if1of ($(KBUILD_TARGET),l4 linux os2 solaris win) |
206 |
+# VBOX_WITH_ADDITIONS = 1 |
207 |
+#else ifdef VBOX_WITH_WIN32_ADDITIONS # for ssh cross builds -remove later! |
208 |
+# VBOX_WITH_ADDITIONS = 1 |
209 |
+#else ifdef VBOX_WITH_LINUX_ADDITIONS # for ssh cross builds - remove later! |
210 |
+# VBOX_WITH_ADDITIONS = 1 |
211 |
+#endif |
212 |
# Build the optional ring-0 part of the additions for syntax checking. |
213 |
# (Ignored ifndef VBOX_WITH_ADDITIONS. Hack for 32/64 linux issues.) |
214 |
-VBOX_WITH_ADDITION_DRIVERS = 1 |
215 |
+#VBOX_WITH_ADDITION_DRIVERS = 1 |
216 |
# Build win32 additions (cross building them on linux and l4 using wine). |
217 |
-if1of ($(KBUILD_TARGET),l4 linux win) |
218 |
- VBOX_WITH_WIN32_ADDITIONS = 1 |
219 |
-endif |
220 |
+#if1of ($(KBUILD_TARGET),l4 linux win) |
221 |
+# VBOX_WITH_WIN32_ADDITIONS = 1 |
222 |
+#endif |
223 |
# Build linux additions. |
224 |
# Note! VBOX_WITH_LINUX_ADDITIONS will be removed later and only |
225 |
# VBOX_WITH_WIN32_ADDITIONS will be kept around for cross building. |
226 |
-if1of ($(KBUILD_TARGET),l4 linux) |
227 |
- VBOX_WITH_LINUX_ADDITIONS = 1 |
228 |
-endif |
229 |
+#if1of ($(KBUILD_TARGET),l4 linux) |
230 |
+# VBOX_WITH_LINUX_ADDITIONS = 1 |
231 |
+#endif |
232 |
# Build X11 additions. Can be disabled separately. |
233 |
ifndef VBOX_WITH_X11_ADDITIONS |
234 |
ifdef VBOX_WITH_LINUX_ADDITIONS |
235 |
@@ -209,7 +209,7 @@ |
236 |
# The SDL based GUI. |
237 |
VBOX_WITH_VBOXSDL = 1 |
238 |
# The basic frontend (w/o Main). |
239 |
-VBOX_WITH_VBOXBFE = 1 |
240 |
+#VBOX_WITH_VBOXBFE = 1 |
241 |
# The Qt GUI. |
242 |
VBOX_WITH_QTGUI = 1 |
243 |
# The Qt 4 GUI (experimental). |
244 |
@@ -245,9 +245,9 @@ |
245 |
# Enable the kchmviewer |
246 |
VBOX_WITH_KCHMVIEWER = 1 |
247 |
# Build the testsuite. |
248 |
-VBOX_WITH_TESTSUITE = 1 |
249 |
+#VBOX_WITH_TESTSUITE = 1 |
250 |
# Build the testcases. |
251 |
-VBOX_WITH_TESTCASES = 1 |
252 |
+#VBOX_WITH_TESTCASES = 1 |
253 |
# Set this to not use COM or XPCOM in places where it can be avoided. |
254 |
#VBOX_WITHOUT_COM = 1 |
255 |
# Set this to skip installing the redistributable compiler runtime. |
256 |
--- configure.orig 2008-08-04 01:12:11.000000000 +0200 |
257 |
+++ configure 2008-08-04 01:16:04.000000000 +0200 |
258 |
@@ -1785,14 +1785,14 @@ |
259 |
# some things are not available in for OSE |
260 |
if [ $OSE -ge 1 ]; then |
261 |
cnf_append "VBOX_OSE" "1" |
262 |
- cnf_append "VBOX_WITH_TESTSUITE" "" |
263 |
+# cnf_append "VBOX_WITH_TESTSUITE" "" |
264 |
cnf_append "VBOX_WITH_WIN32_ADDITIONS" "" |
265 |
|
266 |
- if [ "$OS" = "linux" ]; then |
267 |
- cnf_append "VBOX_WITH_LINUX_ADDITIONS" "1" |
268 |
- else |
269 |
- cnf_append "VBOX_WITH_LINUX_ADDITIONS" "" |
270 |
- fi |
271 |
+# if [ "$OS" = "linux" ]; then |
272 |
+# cnf_append "VBOX_WITH_LINUX_ADDITIONS" "1" |
273 |
+# else |
274 |
+# cnf_append "VBOX_WITH_LINUX_ADDITIONS" "" |
275 |
+# fi |
276 |
echo >> $CNF |
277 |
fi |