1 | %define version 4.3.32 |
---|
2 | %define release 1%{?_dist_release} |
---|
3 | |
---|
4 | %define kname vboxdrv |
---|
5 | %define oname VirtualBox |
---|
6 | %define srcname %{oname}-%{version} |
---|
7 | %define distname %{oname}-%{version}_OSE |
---|
8 | %define dirname vbox-ose |
---|
9 | %define pkgver %{version} |
---|
10 | |
---|
11 | %define vboxlibdir %{_libdir}/%{name} |
---|
12 | %define vboxdatadir %{_datadir}/%{name} |
---|
13 | |
---|
14 | %define build_additions 1 |
---|
15 | %define build_doc 0 |
---|
16 | |
---|
17 | %ifarch %{ix86} |
---|
18 | %define vbox_platform linux.x86 |
---|
19 | %endif |
---|
20 | %ifarch x86_64 |
---|
21 | %define vbox_platform linux.amd64 |
---|
22 | %endif |
---|
23 | |
---|
24 | # nuke vbox-specific dependencies |
---|
25 | %define _provides_exceptions ^VBox |
---|
26 | %define _requires_exceptions ^VBox |
---|
27 | |
---|
28 | %if %{?_dist_release} >= "vl7" |
---|
29 | %define xserverabi 117 |
---|
30 | %endif |
---|
31 | %if %{?_dist_release} == "vl6" |
---|
32 | %define xserverabi 110 |
---|
33 | %endif |
---|
34 | %if %{?_dist_release} == "vl5" |
---|
35 | %define xserverabi 16 |
---|
36 | %endif |
---|
37 | |
---|
38 | Summary: A general-purpose full virtualizer for x86 hardware |
---|
39 | Summary(ja): 汎用の x86 ハードウエア完全仮想化ソフトウエア |
---|
40 | Name: VirtualBox |
---|
41 | Version: %{version} |
---|
42 | Release: %{release} |
---|
43 | License: GPL |
---|
44 | Group: Development/Tools |
---|
45 | Url: http://www.virtualbox.org/ |
---|
46 | |
---|
47 | Source0: http://download.virtualbox.org/virtualbox/%ver/%{srcname}.tar.bz2 |
---|
48 | Source2: virtualbox.init.vine |
---|
49 | Source3: vboxadd-timesync.vine |
---|
50 | Source4: 60-vboxadd.perms |
---|
51 | Source10: VirtualBox.png |
---|
52 | |
---|
53 | Source50: os_vine.png |
---|
54 | Source51: os_vine_64.png |
---|
55 | |
---|
56 | # missing testcase required to get things going |
---|
57 | Source100: https://www.virtualbox.org/download/testcase/nls/4.2/qt_fa_IR.ts |
---|
58 | |
---|
59 | Patch2: VirtualBox-4.0.6-kernelrelease.patch |
---|
60 | Patch4: VirtualBox-1.6.0_OSE-futex.patch |
---|
61 | Patch5: virtualbox-fix-vboxadd-req.patch |
---|
62 | # (fc) 1.6.0-2mdv fix initscript name in VBox.sh script |
---|
63 | Patch6: VirtualBox-1.6.0_OSE-initscriptname.patch |
---|
64 | # (hk) fix build kernel-headers-2.6.29* |
---|
65 | Patch10: VirtualBox-kernel-headers-2.6.29.patch |
---|
66 | # (fc) 2.2.0-1mdv disable update notification (Debian) |
---|
67 | Patch12: 16-no-update.patch |
---|
68 | # don't check for: |
---|
69 | # mkisofs: we're not going to build the additions .iso file |
---|
70 | # makeself: we're not going to create the stanalone .run installers |
---|
71 | Patch18: virtualbox-4.0.0-dont-check-for-mkisofs-or-makeself.patch |
---|
72 | |
---|
73 | # fixed on upstream - will be included in future releases |
---|
74 | # see: http://www.virtualbox.org/ticket/9305 |
---|
75 | Patch50: VirtualBox-4.1.0-fix_kernel_panic_on_shutdown.patch |
---|
76 | |
---|
77 | # vine |
---|
78 | Patch100: VirtualBox-2.2.2-buildfix.patch |
---|
79 | Patch101: VirtualBox-4.1.2-vboxpci-build.patch |
---|
80 | Patch110: VirtualBox-4.3.10-vine.patch |
---|
81 | Patch120: VirtualBox-4.3.32-add-templates.patch |
---|
82 | |
---|
83 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot |
---|
84 | ExclusiveArch: %{ix86} x86_64 |
---|
85 | Requires: dkms-%{name} = %{version}-%{release} |
---|
86 | BuildRequires: dev86 |
---|
87 | %if %{?_dist_release} >= "vl7" |
---|
88 | BuildRequires: acpica-tools |
---|
89 | %else |
---|
90 | BuildRequires: iasl |
---|
91 | %endif |
---|
92 | BuildRequires: zlib-devel |
---|
93 | BuildRequires: libXcursor-devel |
---|
94 | BuildRequires: libXmu-devel |
---|
95 | BuildRequires: SDL-devel |
---|
96 | BuildRequires: qt4-devel |
---|
97 | BuildRequires: libIDL-devel |
---|
98 | BuildRequires: e2fsprogs-devel |
---|
99 | BuildRequires: libxslt-devel |
---|
100 | BuildRequires: xerces-c-devel, xalan-c-devel |
---|
101 | #BuildRequires: hal-devel |
---|
102 | BuildRequires: libXt-devel |
---|
103 | BuildRequires: libstdc++-devel |
---|
104 | %if %{?_dist_release} >= "vl7" |
---|
105 | BuildRequires: libstdc++-static |
---|
106 | %endif |
---|
107 | BuildRequires: python-devel |
---|
108 | BuildRequires: libcap-devel |
---|
109 | BuildRequires: pulseaudio-libs-devel |
---|
110 | BuildRequires: kernel-devel |
---|
111 | BuildRequires: mesa-libGL-devel |
---|
112 | BuildRequires: mesa-libGLU-devel |
---|
113 | BuildRequires: gsoap-devel |
---|
114 | BuildRequires: curl-devel |
---|
115 | BuildRequires: alsa-lib-devel |
---|
116 | BuildRequires: dkms |
---|
117 | #BuildRequires: kBuild >= 0.1.999 |
---|
118 | BuildRequires: yasm |
---|
119 | BuildRequires: qt4-designer |
---|
120 | BuildRequires: pam-devel |
---|
121 | BuildRequires: device-mapper-devel |
---|
122 | BuildRequires: libvpx-devel |
---|
123 | %ifarch x86_64 |
---|
124 | BuildRequires: compat32-glibc-devel |
---|
125 | %endif |
---|
126 | %if %{?_dist_release} >= "vl7" |
---|
127 | BuildRequires: java-1.7.0-openjdk-devel |
---|
128 | %else |
---|
129 | BuildRequires: java-1.6.0-openjdk-devel |
---|
130 | %endif |
---|
131 | |
---|
132 | %if %{build_doc} |
---|
133 | BuildRequires: task-texlive |
---|
134 | BuildRequires: texlive-collection-fontsextra |
---|
135 | %endif |
---|
136 | |
---|
137 | %description |
---|
138 | VirtualBox Open Source Edition (OSE) is a general-purpose full |
---|
139 | virtualizer for x86 hardware. |
---|
140 | |
---|
141 | %description -l ja |
---|
142 | VirtualBox Open Source Edition (OSE) は汎用の x86 ハードウエア |
---|
143 | 完全仮想化ソフトウエアです。 |
---|
144 | |
---|
145 | %package -n dkms-%{name} |
---|
146 | Summary: VirtualBox OSE kernel module |
---|
147 | Summary(ja): VirtualBox OSE カーネルモジュール |
---|
148 | Group: System Environment/Kernel |
---|
149 | Requires(post): dkms |
---|
150 | Requires(preun): dkms |
---|
151 | |
---|
152 | %description -n dkms-%{name} |
---|
153 | Kernel support for VirtualBox OSE. |
---|
154 | |
---|
155 | %description -l ja -n dkms-%{name} |
---|
156 | VirtualBox OSE のカーネルサポートパッケージです。 |
---|
157 | |
---|
158 | %if %{build_additions} |
---|
159 | %package guest-additions |
---|
160 | Summary: Additions for VirtualBox OSE guest systems |
---|
161 | Summary(ja): VirtualBox OSE ゲストシステム用の追加モジュール |
---|
162 | Group: System Environment/Kernel |
---|
163 | Requires: dkms-vboxadd = %{version}-%{release} |
---|
164 | Requires: dkms-vboxvfs = %{version}-%{release} |
---|
165 | Requires: dkms-vboxvideo = %{version}-%{release} |
---|
166 | #Requires: xorg-x11-drv-vboxmouse |
---|
167 | Requires: xorg-x11-drv-vboxvideo |
---|
168 | Requires: xorg-x11-server-utils |
---|
169 | Obsoletes: xorg-x11-drv-vboxmouse < 4.1.4 |
---|
170 | |
---|
171 | %description guest-additions |
---|
172 | This packages contains additions for VirtualBox OSE guest systems. |
---|
173 | It allows to share files with the host system, copy/paste between |
---|
174 | guest and host, and sync time with host. |
---|
175 | |
---|
176 | %description -l ja guest-additions |
---|
177 | このパッケージには VirtualBox OSE ゲストシステムのための追加モジュール |
---|
178 | が含まれています。これを利用することでホストシステムとファイルを共有し |
---|
179 | たり、ゲスト/ホスト間でカット&ペーストを行ったり、ホストと時刻同期をし |
---|
180 | たりすることができます。 |
---|
181 | |
---|
182 | %package -n dkms-vboxadd |
---|
183 | Summary: Kernel module for VirtualBox OSE additions |
---|
184 | Summary(ja): VirtualBox OSE additions のカーネルモジュール |
---|
185 | Group: System Environment/Kernel |
---|
186 | Requires(post): dkms |
---|
187 | Requires(preun): dkms |
---|
188 | Provides: dkms-vboxvfs = %{version}-%{release} |
---|
189 | Obsoletes: dkms-vboxvfs < %{version}-%{release} |
---|
190 | Provides: dkms-vboxsf = %{version}-%{release} |
---|
191 | Obsoletes: dkms-vboxsf < %{version}-%{release} |
---|
192 | Provides: dkms-vboxvideo = %{version}-%{release} |
---|
193 | Obsoletes: dkms-vboxvideo < %{version}-%{release} |
---|
194 | |
---|
195 | %description -n dkms-vboxadd |
---|
196 | Kernel module for VirtualBox OSE additions. |
---|
197 | |
---|
198 | %description -l ja -n dkms-vboxadd |
---|
199 | VirtualBox OSE 追加モジュールのためのカーネルモジュールです。 |
---|
200 | |
---|
201 | %if 0 |
---|
202 | %package -n xorg-x11-drv-vboxmouse |
---|
203 | Summary: X.org X11 input driver for VirtualBox mouse |
---|
204 | Summary: X.org X11 VirtualBox マウス入力ドライバ |
---|
205 | Group: User Interface/X Hardware Support |
---|
206 | Requires: %{name}-guest-additions |
---|
207 | |
---|
208 | %description -n xorg-x11-drv-vboxmouse |
---|
209 | The X.org driver for mouse in VirtualBox guests |
---|
210 | |
---|
211 | %description -l ja -n xorg-x11-drv-vboxmouse |
---|
212 | VirtualBox のゲストシステム用の X.org マウスドライバです。 |
---|
213 | %endif |
---|
214 | |
---|
215 | %package -n xorg-x11-drv-vboxvideo |
---|
216 | Summary: X.org X11 video driver for VirtualBox guests |
---|
217 | Summary(ja): X.org X11 VirtualBox ビデオドライバ |
---|
218 | Group: User Interface/X Hardware Support |
---|
219 | Requires: %{name}-guest-additions |
---|
220 | |
---|
221 | %description -n xorg-x11-drv-vboxvideo |
---|
222 | The X.org driver for video in VirtualBox guests |
---|
223 | |
---|
224 | %description -l ja -n xorg-x11-drv-vboxvideo |
---|
225 | VirtualBox のゲストシステム用の X.org ビデオドライバです。 |
---|
226 | |
---|
227 | %endif |
---|
228 | |
---|
229 | %prep |
---|
230 | %setup -q |
---|
231 | %patch2 -p1 -b .kernelrelease |
---|
232 | %patch4 -p1 -b .futex |
---|
233 | %patch5 -p1 -b .fix-timesync-req |
---|
234 | %patch6 -p1 -b .initscriptname |
---|
235 | %patch10 -p1 -b .kernel-headers-2.6.29 |
---|
236 | #%patch12 -p1 -b .disable-update |
---|
237 | %patch18 -p1 -b .mkisofs-makeself |
---|
238 | #%patch50 -p1 -b .fix_panic |
---|
239 | %patch100 -p1 -b .buildfix |
---|
240 | #%patch101 -p1 -b .vboxpci-build |
---|
241 | %patch110 -p1 -b .vine |
---|
242 | %patch120 -p1 -b .add-templates |
---|
243 | |
---|
244 | # add vine icons |
---|
245 | cp -f %{SOURCE50} %{SOURCE51} src/VBox/Frontends/VirtualBox/images/ |
---|
246 | |
---|
247 | # remove prebuilt binaries |
---|
248 | # rm -rf kBuild tools |
---|
249 | |
---|
250 | # add missing testcase to get things going |
---|
251 | if [ ! -f src/VBox/Frontends/VirtualBox/nls/qt_fa_IR.ts ] ; then |
---|
252 | install %{SOURCE100} src/VBox/Frontends/VirtualBox/nls/ |
---|
253 | fi |
---|
254 | |
---|
255 | cat << EOF > LocalConfig.kmk |
---|
256 | VBOX_PATH_APP_PRIVATE_ARCH:=%{vboxlibdir} |
---|
257 | VBOX_WITH_ORIGIN:= |
---|
258 | VBOX_WITH_RUNPATH:=%{vboxlibdir} |
---|
259 | VBOX_PATH_SHARED_LIBS:=%{vboxlibdir} |
---|
260 | VBOX_PATH_APP_PRIVATE:=%{vboxdatadir} |
---|
261 | VBOX_WITH_TESTCASES:= |
---|
262 | VBOX_WITH_TESTSUITE:= |
---|
263 | VBOX_JAVA_HOME := %{_prefix}/lib/jvm/java-openjdk/ |
---|
264 | VBOX_WITHOUT_ADDITIONS_ISO := 1 |
---|
265 | EOF |
---|
266 | |
---|
267 | %build |
---|
268 | |
---|
269 | ./configure \ |
---|
270 | --with-linux=$PWD/fake-linux \ |
---|
271 | --disable-kmods \ |
---|
272 | %if ! %{build_doc} |
---|
273 | --disable-docs |
---|
274 | %endif |
---|
275 | |
---|
276 | %if !%{build_additions} |
---|
277 | sed -rie 's/(VBOX_WITH_LINUX_ADDITIONS\s+:=\s+).*/\1/' AutoConfig.kmk |
---|
278 | echo VBOX_WITHOUT_ADDITIONS=1 >> LocalConfig.kmk |
---|
279 | %endif |
---|
280 | |
---|
281 | . ./env.sh |
---|
282 | kmk KBUILD_VERBOSE=2 \ |
---|
283 | TOOL_YASM_AS=yasm \ |
---|
284 | VBOX_WITH_REGISTRATION_REQUEST= \ |
---|
285 | VBOX_WITH_UPDATE_REQUEST= \ |
---|
286 | %{?_smp_mflags} all |
---|
287 | |
---|
288 | %install |
---|
289 | rm -rf %{buildroot} |
---|
290 | |
---|
291 | # install vbox components |
---|
292 | mkdir -p %{buildroot}%{vboxlibdir} %{buildroot}%{vboxdatadir} |
---|
293 | |
---|
294 | (cd out/%{vbox_platform}/release/bin && tar cf - --exclude=additions .) | \ |
---|
295 | (cd %{buildroot}%{vboxlibdir} && tar xf -) |
---|
296 | |
---|
297 | # move noarch files to vboxdatadir |
---|
298 | mv %{buildroot}%{vboxlibdir}/{VBox*.sh,nls,*.desktop,*.png} %{buildroot}%{vboxdatadir} |
---|
299 | |
---|
300 | # install service |
---|
301 | mkdir -p %{buildroot}%{_initrddir} |
---|
302 | install -m755 %{SOURCE2} %{buildroot}%{_initrddir}/virtualbox |
---|
303 | |
---|
304 | # install wrappers |
---|
305 | mkdir -p %{buildroot}%{_sysconfdir}/vbox |
---|
306 | cat > %{buildroot}%{_sysconfdir}/vbox/vbox.cfg << EOF |
---|
307 | # VirtualBox installation directory |
---|
308 | INSTALL_DIR="%{vboxlibdir}" |
---|
309 | EOF |
---|
310 | mkdir -p %{buildroot}%{_bindir} |
---|
311 | ln -s %{vboxdatadir}/VBox.sh %{buildroot}%{_bindir}/%{name} |
---|
312 | ln -s %{vboxdatadir}/VBox.sh %{buildroot}%{_bindir}/VBoxManage |
---|
313 | ln -s %{vboxdatadir}/VBox.sh %{buildroot}%{_bindir}/VBoxSDL |
---|
314 | ln -s %{vboxdatadir}/VBox.sh %{buildroot}%{_bindir}/VBoxHeadless |
---|
315 | #ln -s %{vboxdatadir}/VBox.sh %{buildroot}%{_bindir}/vboxwebsrv |
---|
316 | |
---|
317 | # provide network control tools in bindir |
---|
318 | ln -s %{vboxlibdir}/VBoxTunctl %{buildroot}%{_bindir}/VBoxTunctl |
---|
319 | ln -s %{vboxlibdir}/VBoxNetAdpCtl %{buildroot}%{_bindir}/VBoxNetAdpCtl |
---|
320 | ln -s %{vboxlibdir}/VBoxNetDHCP %{buildroot}%{_bindir}/VBoxNetDHCP |
---|
321 | |
---|
322 | install -d %{buildroot}/var/run/%{name} |
---|
323 | |
---|
324 | # install dkms sources |
---|
325 | mkdir -p %{buildroot}%{_usr}/src/%{name}-%{version}-%{release} |
---|
326 | cat > vboxbuild << EOF |
---|
327 | #!/bin/sh |
---|
328 | set -e |
---|
329 | make -C %{kname} KERN_DIR=\$1 |
---|
330 | cp -f %{kname}/Module.symvers vboxnetflt |
---|
331 | cp -f %{kname}/Module.symvers vboxnetadp |
---|
332 | make -C vboxnetflt KERN_DIR=\$1 |
---|
333 | make -C vboxnetadp KERN_DIR=\$1 |
---|
334 | EOF |
---|
335 | install -m 0755 vboxbuild %{buildroot}%{_usr}/src/%{name}-%{version}-%{release} |
---|
336 | mv %{buildroot}%{vboxlibdir}/src/* %{buildroot}%{_usr}/src/%{name}-%{version}-%{release}/ |
---|
337 | cat > %{buildroot}%{_usr}/src/%{name}-%{version}-%{release}/dkms.conf << EOF |
---|
338 | MAKE[0]="./vboxbuild \$kernel_source_dir" |
---|
339 | PACKAGE_NAME=%{name} |
---|
340 | PACKAGE_VERSION=%{version}-%{release} |
---|
341 | DEST_MODULE_LOCATION[0]=/kernel/3rdparty/vbox |
---|
342 | BUILT_MODULE_LOCATION[0]=%{kname}/ |
---|
343 | BUILT_MODULE_NAME[0]=%{kname} |
---|
344 | DEST_MODULE_LOCATION[1]=/kernel/3rdparty/vbox |
---|
345 | BUILT_MODULE_LOCATION[1]=vboxnetflt/ |
---|
346 | BUILT_MODULE_NAME[1]=vboxnetflt |
---|
347 | DEST_MODULE_LOCATION[2]=/kernel/3rdparty/vbox |
---|
348 | BUILT_MODULE_LOCATION[2]=vboxnetadp/ |
---|
349 | BUILT_MODULE_NAME[2]=vboxnetadp |
---|
350 | AUTOINSTALL=yes |
---|
351 | EOF |
---|
352 | |
---|
353 | # install udev rules |
---|
354 | mkdir -p %{buildroot}%{_sysconfdir}/udev/rules.d/ |
---|
355 | cat > %{buildroot}%{_sysconfdir}/udev/rules.d/%{name}.rules << EOF |
---|
356 | KERNEL=="%{kname}", MODE="0666" |
---|
357 | EOF |
---|
358 | cat > %{buildroot}%{_sysconfdir}/udev/rules.d/vbox-additions.rules << EOF |
---|
359 | KERNEL=="vboxguest", NAME="vboxguest", OWNER="root", MODE="0660" |
---|
360 | KERNEL=="vboxuser", NAME="vboxuser", OWNER="root", MODE="0666" |
---|
361 | EOF |
---|
362 | |
---|
363 | # install additions |
---|
364 | %if %{build_additions} |
---|
365 | #mkdir -p %{buildroot}%{_datadir}/hal/fdi/policy/20thirdparty |
---|
366 | install -m755 %SOURCE3 %{buildroot}%{_initrddir}/vboxadd-timesync |
---|
367 | |
---|
368 | ## use the kernel mouse driver for all setups |
---|
369 | ## where we previously autoloaded vboxmouse. |
---|
370 | ## see the changelog: https://www.virtualbox.org/changeset/38784 |
---|
371 | ## |
---|
372 | #%if %{_dist_release} < vl6 |
---|
373 | #install -m644 src/VBox/Additions/linux/installer/90-vboxguest.fdi %{buildroot}%{_datadir}/hal/fdi/policy/20thirdparty/90-vboxguest.fdi |
---|
374 | #%endif |
---|
375 | #install -d %{buildroot}%{_sysconfdir}/udev/rules.d/ |
---|
376 | #install -m644 src/VBox/Additions/linux/installer/70-xorg-vboxmouse.rules %{buildroot}%{_sysconfdir}/udev/rules.d/ |
---|
377 | #install -d %{buildroot}%{_sysconfdir}/X11/xorg.conf.d/ |
---|
378 | #install -m644 src/VBox/Additions/x11/Installer/50-vboxmouse.conf %{buildroot}%{_sysconfdir}/X11/xorg.conf.d/ |
---|
379 | |
---|
380 | install -d %{buildroot}%{_sysconfdir}/X11/xinit/xinitrc.d |
---|
381 | install -m755 src/VBox/Additions/x11/Installer/98vboxadd-xclient %{buildroot}%{_sysconfdir}/X11/xinit/xinitrc.d |
---|
382 | |
---|
383 | pushd out/%{vbox_platform}/release/bin/additions |
---|
384 | install -d %{buildroot}/sbin %{buildroot}%{_sbindir} %{buildroot}/%{_libdir}/dri |
---|
385 | install -m755 mount.vboxsf %{buildroot}/sbin/mount.vboxsf |
---|
386 | install -m755 VBoxService %{buildroot}%{_sbindir} |
---|
387 | |
---|
388 | install -d %{buildroot}%{_sysconfdir}/security/console.perms.d/ |
---|
389 | install -m644 %{SOURCE4} %{buildroot}%{_sysconfdir}/security/console.perms.d/ |
---|
390 | |
---|
391 | install -m755 VBoxClient %{buildroot}%{_bindir} |
---|
392 | install -m755 VBoxControl %{buildroot}%{_bindir} |
---|
393 | |
---|
394 | install -m755 VBoxOGL*.so %{buildroot}%{_libdir} |
---|
395 | ln -s -f ../VBoxOGL.so %{buildroot}%{_libdir}/dri/vboxvideo_dri.so |
---|
396 | |
---|
397 | install -d %{buildroot}%{_sysconfdir}/modprobe.preload.d |
---|
398 | cat > %{buildroot}%{_sysconfdir}/modprobe.preload.d/vbox-guest-additions << EOF |
---|
399 | vboxadd |
---|
400 | EOF |
---|
401 | |
---|
402 | install -d %{buildroot}%{_libdir}/xorg/modules/{input,drivers} |
---|
403 | #install vboxmouse_drv_%{xserverabi}.so %{buildroot}%{_libdir}/xorg/modules/input/vboxmouse_drv.so |
---|
404 | install vboxvideo_drv_%{xserverabi}.so %{buildroot}%{_libdir}/xorg/modules/drivers/vboxvideo_drv.so |
---|
405 | |
---|
406 | mkdir -p %{buildroot}%{_usr}/src/vboxadditions-%{version}-%{release} |
---|
407 | cat > %{buildroot}%{_usr}/src/vboxadditions-%{version}-%{release}/dkms.conf << EOF |
---|
408 | PACKAGE_NAME=vboxadditions |
---|
409 | PACKAGE_VERSION=%{version}-%{release} |
---|
410 | MAKE[0]="make -C \$kernel_source_dir M=\$dkms_tree/\$module/\$module_version/build/vboxguest && |
---|
411 | cp |
---|
412 | \$dkms_tree/\$module/\$module_version/build/vboxguest/Module.symvers \$dkms_tree/\$module/\$module_version/build/vboxsf && |
---|
413 | make -C \$kernel_source_dir M=\$dkms_tree/\$module/\$module_version/build/vboxsf && |
---|
414 | cp \$dkms_tree/\$module/\$module_version/build/vboxsf/Module.symvers \$dkms_tree/\$module/\$module_version/build/vboxvideo && |
---|
415 | make -C \$kernel_source_dir M=\$dkms_tree/\$module/\$module_version/build/vboxvideo" |
---|
416 | EOF |
---|
417 | |
---|
418 | i=0 |
---|
419 | for kmod in vboxguest vboxsf vboxvideo; do |
---|
420 | mkdir -p %{buildroot}%{_usr}/src/vboxadditions-%{version}-%{release}/$kmod |
---|
421 | cp -a src/$kmod/* %{buildroot}%{_usr}/src/vboxadditions-%{version}-%{release}/$kmod/ |
---|
422 | cat >> %{buildroot}%{_usr}/src/vboxadditions-%{version}-%{release}/dkms.conf << EOF |
---|
423 | DEST_MODULE_LOCATION[$i]=/kernel/3rdparty/vbox |
---|
424 | BUILT_MODULE_LOCATION[$i]=$kmod/ |
---|
425 | BUILT_MODULE_NAME[$i]=$kmod |
---|
426 | EOF |
---|
427 | i=$((i+1)) |
---|
428 | done |
---|
429 | cat >> %{buildroot}%{_usr}/src/vboxadditions-%{version}-%{release}/dkms.conf << EOF |
---|
430 | CLEAN="make -C \$kernel_source_dir M=\$dkms_tree/\$module/\$module_version/build/vboxguest clean && |
---|
431 | make -C \$kernel_source_dir M=\$dkms_tree/\$module/\$module_version/build/vboxsf clean && |
---|
432 | make -C \$kernel_source_dir M=\$dkms_tree/\$module/\$module_version/build/vboxvideo clean " |
---|
433 | AUTOINSTALL=yes |
---|
434 | EOF |
---|
435 | popd |
---|
436 | sed 's/^\(.package.*-kernel-\)\(.*-latest\)\(.*\)\\$/\1\2\3Obsoletes: vboxsf-kernel-\2 vboxvideo-kernel-\2\\n\\/' /etc/dkms/template-dkms-mkrpm.spec > %{buildroot}%{_usr}/src/vboxadditions-%{version}-%{release}/vboxadditions-dkms-mkrpm.spec |
---|
437 | %endif |
---|
438 | |
---|
439 | # install icons |
---|
440 | mkdir -p %{buildroot}%{_datadir}/icons |
---|
441 | install -m644 %{SOURCE10} %{buildroot}%{_datadir}/icons/ |
---|
442 | |
---|
443 | # install menu entries |
---|
444 | |
---|
445 | mkdir -p %{buildroot}%{_datadir}/applications |
---|
446 | cat > %{buildroot}%{_datadir}/applications/%{name}.desktop << EOF |
---|
447 | [Desktop Entry] |
---|
448 | Name=VirtualBox |
---|
449 | Comment=Full virtualizer for x86 hardware |
---|
450 | Comment[ja]=x86 ハードウエアの完全仮想化システム |
---|
451 | Exec=%{_bindir}/%{name} |
---|
452 | Icon=%{name} |
---|
453 | Type=Application |
---|
454 | Terminal=false |
---|
455 | Categories=System;Emulator; |
---|
456 | EOF |
---|
457 | |
---|
458 | # add missing makefile for kernel module |
---|
459 | install -m644 src/VBox/HostDrivers/Support/linux/Makefile %{buildroot}%{_usr}/src/%{name}-%{version}-%{release}/ |
---|
460 | |
---|
461 | # remove unpackaged files |
---|
462 | rm -rf %{buildroot}%{vboxlibdir}/{src,sdk,testcase} |
---|
463 | rm -f %{buildroot}%{vboxlibdir}/tst* |
---|
464 | rm -f %{buildroot}%{vboxlibdir}/vboxkeyboard.tar.gz |
---|
465 | rm -f %{buildroot}%{vboxlibdir}/SUP* |
---|
466 | rm -f %{buildroot}%{vboxlibdir}/xpidl |
---|
467 | |
---|
468 | %clean |
---|
469 | rm -rf %{buildroot} |
---|
470 | |
---|
471 | %post |
---|
472 | /sbin/chkconfig --add virtualbox |
---|
473 | |
---|
474 | %postun |
---|
475 | if [ "$1" -ge "1" ]; then |
---|
476 | /sbin/service virtualbox condrestart > /dev/null 2>&1 || : |
---|
477 | fi |
---|
478 | |
---|
479 | %preun |
---|
480 | if [ $1 = 0 ]; then |
---|
481 | service virtualbox stop > /dev/null 2>&1 ||: |
---|
482 | /sbin/chkconfig --del virtualbox |
---|
483 | fi |
---|
484 | |
---|
485 | |
---|
486 | %post -n dkms-%{name} |
---|
487 | set -x |
---|
488 | /usr/sbin/dkms --rpm_safe_upgrade add -m %{name} -v %{version}-%{release} ||: |
---|
489 | /usr/sbin/dkms --rpm_safe_upgrade build -m %{name} -v %{version}-%{release} ||: |
---|
490 | /usr/sbin/dkms --rpm_safe_upgrade install -m %{name} -v %{version}-%{release} --force ||: |
---|
491 | /sbin/modprobe %{kname} >/dev/null 2>&1 || : |
---|
492 | /sbin/modprobe vboxnetflt >/dev/null 2>&1 || : |
---|
493 | |
---|
494 | %preun -n dkms-%{name} |
---|
495 | # rmmod can fail |
---|
496 | /sbin/rmmod vboxnetflt >/dev/null 2>&1 |
---|
497 | /sbin/rmmod %{kname} >/dev/null 2>&1 |
---|
498 | set -x |
---|
499 | /usr/sbin/dkms --rpm_safe_upgrade remove -m %{name} -v %{version}-%{release} --all || : |
---|
500 | |
---|
501 | %if %{build_additions} |
---|
502 | %post guest-additions |
---|
503 | /sbin/chkconfig --add vboxadd-timesync |
---|
504 | |
---|
505 | %postun guest-additions |
---|
506 | if [ "$1" -ge "1" ]; then |
---|
507 | /sbin/service vboxadd-timesync condrestart > /dev/null 2>&1 || : |
---|
508 | fi |
---|
509 | |
---|
510 | %preun guest-additions |
---|
511 | if [ $1 = 0 ]; then |
---|
512 | service vboxadd-timesync stop > /dev/null 2>&1 ||: |
---|
513 | /sbin/chkconfig --del vboxadd-timesync |
---|
514 | fi |
---|
515 | |
---|
516 | %post -n dkms-vboxadd |
---|
517 | set -x |
---|
518 | /usr/sbin/dkms --rpm_safe_upgrade add -m vboxadditions -v %{version}-%{release} ||: |
---|
519 | /usr/sbin/dkms --rpm_safe_upgrade build -m vboxadditions -v %{version}-%{release} ||: |
---|
520 | /usr/sbin/dkms --rpm_safe_upgrade install -m vboxadditions -v %{version}-%{release} ||: |
---|
521 | : |
---|
522 | |
---|
523 | %preun -n dkms-vboxadd |
---|
524 | set -x |
---|
525 | /usr/sbin/dkms --rpm_safe_upgrade remove -m vboxadditions -v %{version}-%{release} --all ||: |
---|
526 | : |
---|
527 | |
---|
528 | %endif |
---|
529 | |
---|
530 | %files |
---|
531 | %defattr(-,root,root) |
---|
532 | %config %{_sysconfdir}/vbox/vbox.cfg |
---|
533 | %{_bindir}/%{name} |
---|
534 | %{_bindir}/VBoxManage |
---|
535 | %{_bindir}/VBoxSDL |
---|
536 | %{_bindir}/VBoxHeadless |
---|
537 | %{_bindir}/VBoxTunctl |
---|
538 | %{_bindir}/VBoxNetAdpCtl |
---|
539 | %{_bindir}/VBoxNetDHCP |
---|
540 | #%{_bindir}/vboxwebsrv |
---|
541 | %{vboxlibdir} |
---|
542 | %attr(4711,root,root) %{vboxlibdir}/VBoxHeadless |
---|
543 | %attr(4711,root,root) %{vboxlibdir}/VBoxSDL |
---|
544 | %attr(4711,root,root) %{vboxlibdir}/%{name} |
---|
545 | %attr(4711,root,root) %{vboxlibdir}/VBoxNetAdpCtl |
---|
546 | %attr(4711,root,root) %{vboxlibdir}/VBoxNetDHCP |
---|
547 | %attr(644,root,root) %{vboxlibdir}/*.gc |
---|
548 | %attr(644,root,root) %{vboxlibdir}/*.r0 |
---|
549 | %{vboxdatadir} |
---|
550 | # initscripts integration |
---|
551 | %{_initrddir}/virtualbox |
---|
552 | %config %{_sysconfdir}/udev/rules.d/%{name}.rules |
---|
553 | %dir /var/run/%{name} |
---|
554 | # desktop integration |
---|
555 | %{_datadir}/icons/*.png |
---|
556 | %{_datadir}/applications/%{name}.desktop |
---|
557 | |
---|
558 | %files -n dkms-%{name} |
---|
559 | %defattr(-,root,root) |
---|
560 | %{_usr}/src/%{name}-%{version}-%{release} |
---|
561 | |
---|
562 | %if %{build_additions} |
---|
563 | %files guest-additions |
---|
564 | %defattr(-,root,root) |
---|
565 | /sbin/mount.vboxsf |
---|
566 | %{_initrddir}/vboxadd-timesync |
---|
567 | %{_sbindir}/VBoxService |
---|
568 | %{_bindir}/VBoxClient |
---|
569 | %{_bindir}/VBoxControl |
---|
570 | %{_sysconfdir}/security/console.perms.d/60-vboxadd.perms |
---|
571 | %{_sysconfdir}/udev/rules.d/vbox-additions.rules |
---|
572 | %{_sysconfdir}/X11/xinit/xinitrc.d/98vboxadd-xclient |
---|
573 | %{_sysconfdir}/modprobe.preload.d/vbox-guest-additions |
---|
574 | |
---|
575 | #%files -n xorg-x11-drv-vboxmouse |
---|
576 | #%defattr(-,root,root) |
---|
577 | #%{_libdir}/xorg/modules/input/vboxmouse_drv.so |
---|
578 | #%{_sysconfdir}/X11/xorg.conf.d/*.conf |
---|
579 | #%{_sysconfdir}/udev/rules.d/*.rules |
---|
580 | #%if %{_dist_release} < vl6 |
---|
581 | #%{_datadir}/hal/fdi/policy/20thirdparty/90-vboxguest.fdi |
---|
582 | #%endif |
---|
583 | |
---|
584 | %files -n xorg-x11-drv-vboxvideo |
---|
585 | %defattr(-,root,root) |
---|
586 | %{_libdir}/VBoxOGL* |
---|
587 | %{_libdir}/xorg/modules/drivers/vboxvideo_drv.so |
---|
588 | %{_libdir}/dri/vboxvideo_dri.so |
---|
589 | |
---|
590 | %files -n dkms-vboxadd |
---|
591 | %defattr(-,root,root) |
---|
592 | %{_usr}/src/vbox*-%{version}-%{release} |
---|
593 | |
---|
594 | %endif |
---|
595 | |
---|
596 | |
---|
597 | %changelog |
---|
598 | * Wed Oct 28 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.3.32-1 |
---|
599 | - update to 4.3.32 |
---|
600 | - update Patch120 (VirtualBox-4.3.32-add-templates.patch) |
---|
601 | |
---|
602 | * Mon Feb 23 2015 Daisuke SUZUKI <daisuke@vinelinux.org> 4.3.22-1 |
---|
603 | - update to 4.3.22 |
---|
604 | |
---|
605 | * Sat Oct 25 2014 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 4.3.18-1 |
---|
606 | - new upstream release (4.3.18) |
---|
607 | |
---|
608 | * Mon Jul 14 2014 Daisuke SUZUKI <daisuke@vinelinux.org> 4.3.12-3 |
---|
609 | - define xserverabi 115 on VineSeed |
---|
610 | |
---|
611 | * Sun Jul 13 2014 Daisuke SUZUKI <daisuke@vinelinux.org> 4.3.12-2 |
---|
612 | - rebuild with xserver-1.15 |
---|
613 | - add BR: acpica-tools instead of iasl |
---|
614 | |
---|
615 | * Fri May 23 2014 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 4.3.12-1 |
---|
616 | - new upstream release (4.3.12) |
---|
617 | |
---|
618 | * Wed Apr 30 2014 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 4.3.10-1 |
---|
619 | - new upstream release (4.3.10) |
---|
620 | |
---|
621 | * Fri Dec 20 2013 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 4.3.6-1 |
---|
622 | - new upstream release (4.3.6) |
---|
623 | |
---|
624 | * Mon Dec 02 2013 Daisuke SUZUKI <daisuke@linux.or.jp> 4.3.4-1 |
---|
625 | - update to 4.3.4 |
---|
626 | |
---|
627 | * Fri Oct 18 2013 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 4.3.0-3 |
---|
628 | - locale fix (BTS:2669) |
---|
629 | |
---|
630 | * Fri Oct 18 2013 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 4.3.0-2 |
---|
631 | - fix startup failure (BTS:2669) |
---|
632 | |
---|
633 | * Thu Oct 17 2013 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 4.3.0-1 |
---|
634 | - new upstream release |
---|
635 | |
---|
636 | * Thu Sep 26 2013 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 4.2.18-1 |
---|
637 | - new upstream release |
---|
638 | |
---|
639 | * Tue Jul 23 2013 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 4.2.16-1 |
---|
640 | - new upstream release |
---|
641 | |
---|
642 | * Tue Jun 25 2013 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 4.2.14-1 |
---|
643 | - new upstream release |
---|
644 | - define xserverabi to 114 on VineSeed (to sync with recent xorg updates) |
---|
645 | |
---|
646 | * Sun Apr 14 2013 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 4.2.12-1 |
---|
647 | - new upstream release |
---|
648 | |
---|
649 | * Sat Mar 16 2013 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 4.2.10-1 |
---|
650 | - new upstream release |
---|
651 | |
---|
652 | * Mon Mar 04 2013 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 4.2.8-1 |
---|
653 | - new upstream release |
---|
654 | |
---|
655 | * Thu Dec 20 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 4.2.6-1 |
---|
656 | - new upstream release |
---|
657 | - remove BR: hal-devel |
---|
658 | - add BR: device-mapper-devel |
---|
659 | |
---|
660 | * Thu Nov 01 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 4.2.4-1 |
---|
661 | - new upstream release |
---|
662 | - add patch120,source50,51 to add vine templates |
---|
663 | |
---|
664 | * Fri Oct 19 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 4.2.2-1 |
---|
665 | - new upstream release |
---|
666 | - add Source100 (accidentally not included in the source tarball?) |
---|
667 | |
---|
668 | * Fri Sep 14 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 4.2.0-1 |
---|
669 | - new upstream release |
---|
670 | - temporarily use internal kBuild to fix build failure |
---|
671 | |
---|
672 | * Sat Jun 23 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 4.1.18-1 |
---|
673 | - new upstream release |
---|
674 | |
---|
675 | * Thu May 24 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 4.1.16-1 |
---|
676 | - new upstream release |
---|
677 | |
---|
678 | * Wed May 02 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 4.1.14-2 |
---|
679 | - define xserverabi to 112 on VineSeed (to sync with recent xorg updates) |
---|
680 | |
---|
681 | * Tue May 01 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 4.1.14-1 |
---|
682 | - new upstream release |
---|
683 | |
---|
684 | * Mon Apr 16 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 4.1.12-1 |
---|
685 | - new upstream release |
---|
686 | |
---|
687 | * Fri Mar 16 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 4.1.10-1 |
---|
688 | - new upstream release |
---|
689 | |
---|
690 | * Tue Feb 21 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 4.1.8-3 |
---|
691 | - rebuild with python-2.7 |
---|
692 | |
---|
693 | * Mon Jan 16 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 4.1.8-2 |
---|
694 | - remove VBOX_VERSION_STRING=... from kmk command line |
---|
695 | - add VBOX_WITH_UPDATE_REQUEST= to kmk command line |
---|
696 | |
---|
697 | * Wed Dec 21 2011 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 4.1.8-1 |
---|
698 | - new upstream release |
---|
699 | - drop Patch12 (merged into upstream) |
---|
700 | |
---|
701 | * Sat Nov 5 2011 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 4.1.6-2 |
---|
702 | - explicitly specify xserverabi for vl5, vl6, vl7 (and up) |
---|
703 | |
---|
704 | * Sat Nov 5 2011 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 4.1.6-1 |
---|
705 | - new upstream release |
---|
706 | - drop Patch101 (merged into upstream) |
---|
707 | |
---|
708 | * Mon Oct 31 2011 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 4.1.4-2 |
---|
709 | - fix the path 98vboxadd-xclient script should be installed |
---|
710 | (s|/etc/X11/xinit.d|/etc/X11/xinit/xinitrc.d|) |
---|
711 | |
---|
712 | * Tue Oct 4 2011 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 4.1.4-1 |
---|
713 | - new upstream release |
---|
714 | - use the kernel mouse driver for all setups where we previously |
---|
715 | autoloaded vboxmouse (see: https://www.virtualbox.org/changeset/38784) |
---|
716 | |
---|
717 | * Wed Aug 24 2011 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 4.1.2-1 |
---|
718 | - new upstream release |
---|
719 | - drop Patch50; fix Patch12 & Patch101 |
---|
720 | - specify VBOX_VERSION_STRING on kmk to declare third-party (VINE) build |
---|
721 | see: http://www.virtualbox.org/wiki/Editions |
---|
722 | |
---|
723 | * Tue Aug 9 2011 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 4.1.0-2 |
---|
724 | - add Patch50 to fix random kernel panic during shutdown on some environments |
---|
725 | (see: http://www.virtualbox.org/ticket/9305) |
---|
726 | |
---|
727 | * Wed Jul 20 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 4.1.0-1 |
---|
728 | - update to 4.1.0 |
---|
729 | |
---|
730 | * Fri Jul 08 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 4.0.10-1 |
---|
731 | - update to 4.0.10 |
---|
732 | |
---|
733 | * Sun May 29 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 4.0.8-1 |
---|
734 | - update to 4.0.8 |
---|
735 | - include xserver 1.10 drivers |
---|
736 | |
---|
737 | * Fri May 13 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 4.0.6-1 |
---|
738 | - update to 4.0.6 |
---|
739 | - add BR: java-1.6.0-openjdk-devel |
---|
740 | |
---|
741 | * Fri Jan 14 2011 Shu KONNO <owa@bg.wakwak.com> 3.2.12-3 |
---|
742 | - rebuilt with openssl-1.0.0c |
---|
743 | - added vboxadd-timesync.vine instead of vboxadd-service.sh |
---|
744 | |
---|
745 | * Sat Dec 04 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 3.2.12-2 |
---|
746 | - add BR: pam-devel |
---|
747 | - rebuild with python-2.6 |
---|
748 | |
---|
749 | * Fri Dec 03 2010 Shu KONNO <owa@bg.wakwak.com> 3.2.12-1 |
---|
750 | - updated VirtualBox to 3.2.12-OSE |
---|
751 | |
---|
752 | * Mon Aug 23 2010 Shu KONNO <owa@bg.wakwak.com> 3.2.8-1 |
---|
753 | - new upstream release |
---|
754 | |
---|
755 | * Sat Jun 12 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 3.2.4-2 |
---|
756 | - add patch110 to fix vboxadd-timesync script |
---|
757 | |
---|
758 | * Thu Jun 10 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 3.2.4-1 |
---|
759 | - new upstream release |
---|
760 | |
---|
761 | * Sat May 22 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 3.2.0-1 |
---|
762 | - new upstream release |
---|
763 | - drop wined3d patch as the Windows guest additions provide |
---|
764 | Direct3D acceleration. |
---|
765 | - add xorg.conf snippet for new xserver |
---|
766 | - vboxvfs renamed to vboxsf |
---|
767 | |
---|
768 | * Mon Apr 19 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 3.1.6-2 |
---|
769 | - fix initscript |
---|
770 | |
---|
771 | * Sun Apr 18 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 3.1.6-1 |
---|
772 | - new upstream release |
---|
773 | |
---|
774 | * Tue Nov 17 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 3.0.10-1 |
---|
775 | - new upstream release |
---|
776 | - add missing BR: |
---|
777 | |
---|
778 | * Mon Sep 21 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 3.0.6-1 |
---|
779 | - new upstream release |
---|
780 | |
---|
781 | * Wed Aug 05 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 3.0.4-1 |
---|
782 | - new upstream release |
---|
783 | - add translated summaries and descriptions |
---|
784 | |
---|
785 | * Mon Jul 13 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 3.0.2-1 |
---|
786 | - new upstream release |
---|
787 | |
---|
788 | * Wed Jul 01 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 3.0.0-1 |
---|
789 | - new upstream release |
---|
790 | |
---|
791 | * Tue Jun 09 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.4-3 |
---|
792 | - change Group: of dkms-VirtualBox to System Environment/Kernel |
---|
793 | |
---|
794 | * Tue Jun 02 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.4-2 |
---|
795 | - remove modprobe.d/vbox-guest-additions |
---|
796 | |
---|
797 | * Sun May 31 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.4-1 |
---|
798 | - update to 2.2.4 |
---|
799 | |
---|
800 | * Sun May 31 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.2-1 |
---|
801 | - initial build for Vine Linux |
---|
802 | - update to 2.2.2 |
---|
803 | |
---|
804 | * Wed Apr 22 2009 Pascal Terjan <pterjan@mandriva.org> 2.2.0-4mdv2009.1 |
---|
805 | + Revision: 368679 |
---|
806 | - Fix mkrpm template |
---|
807 | |
---|
808 | * Tue Apr 21 2009 Pascal Terjan <pterjan@mandriva.org> 2.2.0-3mdv2009.1 |
---|
809 | + Revision: 368502 |
---|
810 | - BuildRequires:dkms-minimal |
---|
811 | - Obsolete -latest dkms binary packages |
---|
812 | |
---|
813 | * Wed Apr 15 2009 Frederic Crozat <fcrozat@mandriva.com> 2.2.0-2mdv2009.1 |
---|
814 | + Revision: 367571 |
---|
815 | - Patch15: kill vboxclient if leftover from previous X11 session |
---|
816 | - Patch14 (Sun): fix OpenGL support for Linux Guest additions |
---|
817 | - improve packaging to be more LSB compliant |
---|
818 | |
---|
819 | * Fri Apr 10 2009 Frederic Crozat <fcrozat@mandriva.com> 2.2.0-1mdv2009.1 |
---|
820 | + Revision: 365828 |
---|
821 | - Release 2.2.0 |
---|
822 | - enable OpenGL pass-through. Caveat : Linux guest support is not working when building guest additions with Open source edition (under investigation) |
---|
823 | - move location of fdi file (fix mouse integration support when using HAL) |
---|
824 | - merge all guest additions kernel module in one single DKMS (pterjan) |
---|
825 | - Enable webservice |
---|
826 | - Remove patch9, no longer needed (when using kernel 2.6.29.x, you MUST use kernel 2.6.29.1 or later) |
---|
827 | - Regenerate patches 8, 10 |
---|
828 | - Patch11: add Wine Direct3D guest additions option (Debian) |
---|
829 | - Patch12: disable update notification (Debian) |
---|
830 | - Patch13: make network settings more intuitive (Debian) |
---|
831 | - Add missing dependencies in guest additions package |
---|
832 | - No longer use gcc 4.2, build fine with latest gcc 4.3 |
---|
833 | - Replace source3 with upstream version |
---|
834 | - Update source4 to change permissions on both guest additions devices |
---|
835 | - Fix permissions on non .so files |
---|
836 | |
---|
837 | * Mon Mar 09 2009 Pascal Terjan <pterjan@mandriva.org> 2.1.4-5mdv2009.1 |
---|
838 | + Revision: 353280 |
---|
839 | - vboxvfs needs vboxadd |
---|
840 | |
---|
841 | * Wed Mar 04 2009 Frederic Crozat <fcrozat@mandriva.com> 2.1.4-4mdv2009.1 |
---|
842 | + Revision: 348336 |
---|
843 | - Force rebuild of dkms modules |
---|
844 | |
---|
845 | * Wed Feb 25 2009 Herton Ronaldo Krzesinski <herton@mandriva.com.br> 2.1.4-3mdv2009.1 |
---|
846 | + Revision: 344966 |
---|
847 | - Copy Module.symvers for vboxnetflt dkms build, needed with |
---|
848 | CONFIG_MODVERSIONS enabled in latest cooker kernels. |
---|
849 | |
---|
850 | * Wed Feb 25 2009 Herton Ronaldo Krzesinski <herton@mandriva.com.br> 2.1.4-2mdv2009.1 |
---|
851 | + Revision: 344896 |
---|
852 | - Apply fix for VM load failure with kernels 2.6.29-rc5 or later |
---|
853 | (#48096, http://www.virtualbox.org/ticket/3403). |
---|
854 | - Fix building with kernel-headers-2.6.29* |
---|
855 | |
---|
856 | * Tue Feb 17 2009 Frederik Himpe <fhimpe@mandriva.org> 2.1.4-1mdv2009.1 |
---|
857 | + Revision: 342236 |
---|
858 | - Update to new version 2.1.4 |
---|
859 | - Fix source URL |
---|
860 | |
---|
861 | * Thu Jan 22 2009 Frederic Crozat <fcrozat@mandriva.com> 2.1.2-2mdv2009.1 |
---|
862 | + Revision: 332593 |
---|
863 | - Use xorg 1.6 drivers when building cooker guest addition packages |
---|
864 | |
---|
865 | * Thu Jan 22 2009 Funda Wang <fundawang@mandriva.org> 2.1.2-1mdv2009.1 |
---|
866 | + Revision: 332404 |
---|
867 | - specify CC4.2 |
---|
868 | - New version 2.1.2 |
---|
869 | - rediff libpath patch |
---|
870 | |
---|
871 | * Sun Jan 04 2009 Colin Guthrie <cguthrie@mandriva.org> 2.1.0-5mdv2009.1 |
---|
872 | + Revision: 324525 |
---|
873 | - Rebuild mouse and display drivers for xserver 1.6 |
---|
874 | |
---|
875 | * Thu Dec 25 2008 Michael Scherer <misc@mandriva.org> 2.1.0-4mdv2009.1 |
---|
876 | + Revision: 318540 |
---|
877 | - rebuild for new python |
---|
878 | |
---|
879 | * Fri Dec 19 2008 Frederic Crozat <fcrozat@mandriva.com> 2.1.0-3mdv2009.1 |
---|
880 | + Revision: 316288 |
---|
881 | - Fix guest additions for cooker, we ship Xorg 1.5 now |
---|
882 | - Ship fdi file for vboxmouse |
---|
883 | |
---|
884 | * Fri Dec 19 2008 Adam Williamson <awilliamson@mandriva.org> 2.1.0-2mdv2009.1 |
---|
885 | + Revision: 316021 |
---|
886 | - oops, finish fixing up initscript |
---|
887 | |
---|
888 | * Fri Dec 19 2008 Adam Williamson <awilliamson@mandriva.org> 2.1.0-1mdv2009.1 |
---|
889 | + Revision: 316019 |
---|
890 | - adjust initscript and dkms.conf for the fact that there's now two necessary |
---|
891 | kernel modules for the master: vboxdrv and vboxnetflt |
---|
892 | - drop mdvconfig.patch: this stub does nothing useful, and breaks the build |
---|
893 | (see fcrozat's mail on Cooker) |
---|
894 | - VBoxAddIF and VBoxDeleteIF are now obsolete and not provided |
---|
895 | |
---|
896 | + Frederic Crozat <fcrozat@mandriva.com> |
---|
897 | - Release 2.1.0 |
---|
898 | - Regenerate patch1 |
---|
899 | - update buildrequires |
---|
900 | |
---|
901 | * Sun Nov 30 2008 Frederik Himpe <fhimpe@mandriva.org> 2.0.6-2mdv2009.1 |
---|
902 | + Revision: 308552 |
---|
903 | - Rebuild mouse and display drivers for xserver 1.5 |
---|
904 | |
---|
905 | * Wed Nov 26 2008 Funda Wang <fundawang@mandriva.org> 2.0.6-1mdv2009.1 |
---|
906 | + Revision: 306865 |
---|
907 | - New version 2.0.6 |
---|
908 | |
---|
909 | * Mon Nov 03 2008 Funda Wang <fundawang@mandriva.org> 2.0.4-1mdv2009.1 |
---|
910 | + Revision: 299348 |
---|
911 | - New version 2.0.4 |
---|
912 | |
---|
913 | * Mon Sep 15 2008 Frederic Crozat <fcrozat@mandriva.com> 2.0.2-2mdv2009.0 |
---|
914 | + Revision: 284854 |
---|
915 | - Patch8: disable version check at startup |
---|
916 | |
---|
917 | * Sat Sep 13 2008 Frederik Himpe <fhimpe@mandriva.org> 2.0.2-1mdv2009.0 |
---|
918 | + Revision: 284544 |
---|
919 | - Update to bugfix update 2.0.2 |
---|
920 | |
---|
921 | * Tue Sep 09 2008 Olivier Blin <oblin@mandriva.com> 2.0.0-3mdv2009.0 |
---|
922 | + Revision: 283015 |
---|
923 | - build guest additions on x86_64 too (#43593) |
---|
924 | |
---|
925 | + Frederic Crozat <fcrozat@mandriva.com> |
---|
926 | - Patch7: fix QT4 detection on x86-64 on Mandriva 2008.1 |
---|
927 | |
---|
928 | * Thu Sep 04 2008 Frederic Crozat <fcrozat@mandriva.com> 2.0.0-1mdv2009.0 |
---|
929 | + Revision: 280850 |
---|
930 | - Fix BuildRequires |
---|
931 | - Release 2.0.0 |
---|
932 | - Remove patches 3, 7 (merged upstream) |
---|
933 | |
---|
934 | * Mon Sep 01 2008 Herton Ronaldo Krzesinski <herton@mandriva.com.br> 1.6.4-4mdv2009.0 |
---|
935 | + Revision: 278071 |
---|
936 | - Added patch to allow VirtualBox kernel module to build with |
---|
937 | Linux 2.6.27 |
---|
938 | |
---|
939 | + Pixel <pixel@mandriva.com> |
---|
940 | - increase release number |
---|
941 | - use gcc4.2 to build the recompiler (not ported to gcc 4.3 yet) |
---|
942 | |
---|
943 | * Wed Aug 06 2008 Olivier Blin <oblin@mandriva.com> 1.6.4-2mdv2009.0 |
---|
944 | + Revision: 264273 |
---|
945 | - create /var/run/VirtualBox (#41963) |
---|
946 | - use tunctl from the tunctl package while VBoxTunctl does not build |
---|
947 | |
---|
948 | * Tue Aug 05 2008 Olivier Blin <oblin@mandriva.com> 1.6.4-1mdv2009.0 |
---|
949 | + Revision: 264016 |
---|
950 | - do not include VBoxTunctl for now (build is broken in upstream tarball) |
---|
951 | - rediff misc_register patch (the register part has been implemented upstream, I should submit the deregister hunks) |
---|
952 | - fix 1.6.4 build by not building tunctl (some Makefile.kmk are missing) |
---|
953 | - 1.6.4 |
---|
954 | |
---|
955 | * Tue Jul 29 2008 Frederic Crozat <fcrozat@mandriva.com> 1.6.2-2mdv2009.0 |
---|
956 | + Revision: 252777 |
---|
957 | - Don't use gcc 3.3 for build on 2008.1 or earlier |
---|
958 | |
---|
959 | * Wed Jul 09 2008 Olivier Blin <oblin@mandriva.com> 1.6.2-1mdv2009.0 |
---|
960 | + Revision: 232889 |
---|
961 | - set again linux sources path in configure |
---|
962 | - use gcc 3.3 to build the recompiler (not ported to gcc 4.3 yet) |
---|
963 | - use kernel-devel-latest instead of kernel-source-latest |
---|
964 | - use a prepared copy of the linux tree (for linux/bounds.h) |
---|
965 | |
---|
966 | + Frederic Crozat <fcrozat@mandriva.com> |
---|
967 | - Release 1.6.2 |
---|
968 | - Regenerate patch5 |
---|
969 | - Fix duplicated line in specfile |
---|
970 | |
---|
971 | + Pixel <pixel@mandriva.com> |
---|
972 | - rpm filetriggers deprecates update_menus/update_scrollkeeper/update_mime_database/update_icon_cache/update_desktop_database/post_install_gconf_schemas |
---|
973 | |
---|
974 | * Fri May 16 2008 Frederic Crozat <fcrozat@mandriva.com> 1.6.0-4mdv2009.0 |
---|
975 | + Revision: 208160 |
---|
976 | - Fix seamless mode in guest additions subpackage |
---|
977 | |
---|
978 | * Thu May 15 2008 Anssi Hannula <anssi@mandriva.org> 1.6.0-3mdv2009.0 |
---|
979 | + Revision: 207692 |
---|
980 | - rename VBoxAddIF.sh and VBoxDeleteIF.sh to VBoxAddIF and VBoxDeleteIF |
---|
981 | to match original names and documentation |
---|
982 | |
---|
983 | * Wed May 14 2008 Frederic Crozat <fcrozat@mandriva.com> 1.6.0-2mdv2009.0 |
---|
984 | + Revision: 207235 |
---|
985 | - Replace source1 with patch 6 (use up to date VBox.sh script) |
---|
986 | - Ensure VBoxAddIF/VBoxDeleteIF scripts are packaged, as well as VBoxTunctl (Mdv bug #40769) |
---|
987 | - package VBoxHeadless (Mdv bug #40771) |
---|
988 | |
---|
989 | * Fri May 09 2008 Olivier Blin <oblin@mandriva.com> 1.6.0-1mdv2009.0 |
---|
990 | + Revision: 205313 |
---|
991 | - try harder to disable additions on x86_64 |
---|
992 | - buildrequire libxslt-devel |
---|
993 | - adapt to vboxadd-xclient being renamed as VBoxClient |
---|
994 | - rediff futex patch |
---|
995 | - rediff misc_register patch |
---|
996 | - 1.6.0 |
---|
997 | - revert BUILT_MODULE_NAME addition, the bug is fixed in dkms |
---|
998 | |
---|
999 | + Anssi Hannula <anssi@mandriva.org> |
---|
1000 | - add BUILT_MODULE_NAME to dkms.conf of vboxadd and vboxvfs (fixes DKMS |
---|
1001 | error) |
---|
1002 | |
---|
1003 | * Tue Feb 26 2008 Olivier Blin <oblin@mandriva.com> 1.5.6-1mdv2008.1 |
---|
1004 | + Revision: 175619 |
---|
1005 | - 1.5.6 |
---|
1006 | - rediff KERNELRELEASE patch |
---|
1007 | |
---|
1008 | * Tue Feb 26 2008 Olivier Blin <oblin@mandriva.com> 1.5.4-5mdv2008.1 |
---|
1009 | + Revision: 175610 |
---|
1010 | - try to start dkms instead of vboxadd in vboxadd-timesync service (since modules are loaded from modprobe.preload.d, #36728) |
---|
1011 | |
---|
1012 | * Fri Feb 08 2008 Thierry Vignaud <tvignaud@mandriva.com> 1.5.4-4mdv2008.1 |
---|
1013 | + Revision: 163970 |
---|
1014 | - drop old menu |
---|
1015 | |
---|
1016 | + Frederic Crozat <fcrozat@mandriva.com> |
---|
1017 | - Really disable pulseaudio support on 2008.0 or older |
---|
1018 | |
---|
1019 | * Thu Jan 10 2008 Frederic Crozat <fcrozat@mandriva.com> 1.5.4-3mdv2008.1 |
---|
1020 | + Revision: 147602 |
---|
1021 | - Use correct version of x11 mouse and video additional driver when used on 2008.1 (xorg 1.4) and 2008.0 |
---|
1022 | - Only build pulseaudio support for 2008.1 |
---|
1023 | |
---|
1024 | * Wed Jan 09 2008 Olivier Blin <oblin@mandriva.com> 1.5.4-2mdv2008.1 |
---|
1025 | + Revision: 147006 |
---|
1026 | - fix dkms build for kernels different from running kernel |
---|
1027 | |
---|
1028 | * Thu Jan 03 2008 Olivier Blin <oblin@mandriva.com> 1.5.4-1mdv2008.1 |
---|
1029 | + Revision: 142711 |
---|
1030 | - buildrequire pulseaudio-devel |
---|
1031 | - rediff libpath patch |
---|
1032 | - remove 2.6.24 build fix, fixed upstream |
---|
1033 | - 1.5.4 |
---|
1034 | - restore BuildRoot |
---|
1035 | |
---|
1036 | + Pascal Terjan <pterjan@mandriva.org> |
---|
1037 | - Switch to Debian patch for 2.6.24 |
---|
1038 | - Re-create the 2.6.24 patch, some bits got lost |
---|
1039 | |
---|
1040 | + Thierry Vignaud <tvignaud@mandriva.com> |
---|
1041 | - kill re-definition of %%buildroot on Pixel's request |
---|
1042 | - kill explicit icon extension |
---|
1043 | |
---|
1044 | + Giuseppe Ghibò <ghibo@mandriva.com> |
---|
1045 | - Use kernel-source-latest in BuildRequires as conditional. |
---|
1046 | - Add conditional build flags for older release. |
---|
1047 | - Let Patch5 conditional. |
---|
1048 | |
---|
1049 | * Fri Nov 30 2007 Pascal Terjan <pterjan@mandriva.org> 1.5.2-3mdv2008.1 |
---|
1050 | + Revision: 114076 |
---|
1051 | - Improve 2.6.24 patch so that it should still build with older kernels |
---|
1052 | |
---|
1053 | * Fri Nov 30 2007 Pascal Terjan <pterjan@mandriva.org> 1.5.2-2mdv2008.1 |
---|
1054 | + Revision: 114047 |
---|
1055 | - Fix other parts to build with 2.6.24 |
---|
1056 | - Fix vboxdrv for 2.6.24 |
---|
1057 | |
---|
1058 | * Tue Nov 13 2007 Olivier Blin <oblin@mandriva.com> 1.5.2-1mdv2008.1 |
---|
1059 | + Revision: 108363 |
---|
1060 | - remove keyboards patch (was from upstream svn) |
---|
1061 | - rediff kernelrelease patch |
---|
1062 | - rediff libpath patch |
---|
1063 | - 1.5.2 |
---|
1064 | |
---|
1065 | * Thu Oct 04 2007 Olivier Blin <oblin@mandriva.com> 1.5.0-6mdv2008.0 |
---|
1066 | + Revision: 95447 |
---|
1067 | - really apply misc_register patch (so that vboxadd devices are automatically created) |
---|
1068 | - add release in dkms PACKAGE_VERSION to ease upgrades |
---|
1069 | |
---|
1070 | * Sat Sep 29 2007 Olivier Blin <oblin@mandriva.com> 1.5.0-5mdv2008.0 |
---|
1071 | + Revision: 93837 |
---|
1072 | - require kmod(vboxdrv) instead of dkms package |
---|
1073 | - do not mark initscript as config file |
---|
1074 | - move initscripts and udev rules out of dkms package (so that it works when using dkms prebuilt modules) |
---|
1075 | |
---|
1076 | * Sat Sep 29 2007 Olivier Blin <oblin@mandriva.com> 1.5.0-4mdv2008.0 |
---|
1077 | + Revision: 93812 |
---|
1078 | - add vboxadd-timesync service |
---|
1079 | - add pam_console perms file to assign vboxadd device to console user |
---|
1080 | - use misc_register() to register vboxadd device so that /dev/vboxadd gets created automatically by udev |
---|
1081 | |
---|
1082 | * Fri Sep 28 2007 Olivier Blin <oblin@mandriva.com> 1.5.0-3mdv2008.0 |
---|
1083 | + Revision: 93770 |
---|
1084 | - add vboxadd-xclient xinit.d script |
---|
1085 | - release new additions, but we still need to fix mknod for vboxadd |
---|
1086 | (or use device_create() in kernel module), set console perms for |
---|
1087 | vboxadd in console.perms.d, and add timesync initscript |
---|
1088 | - make guest additions package require X11 drivers |
---|
1089 | - make x11 driver packages suggest virtualbox-guest-additions |
---|
1090 | - add virtualbox-guest-additions package (with xclient, timesync, mount.vboxsf) |
---|
1091 | - add dkms-vboxadd and dkms-vboxvfs packages |
---|
1092 | |
---|
1093 | * Fri Sep 28 2007 Olivier Blin <oblin@mandriva.com> 1.5.0-2mdv2008.0 |
---|
1094 | + Revision: 93534 |
---|
1095 | - build additions on ix86 only |
---|
1096 | - fix support for Brazilian, Belgian, US intl and US dvorak keyboards and add support for multimedia keys (from upstream SVN) |
---|
1097 | - buildrequire libstdc++-static-devel |
---|
1098 | - buildrequire libxt-devel |
---|
1099 | - buildrequire kernel-source-latest, since iurt/urpmi don't install latest kernel-source automatically |
---|
1100 | - buildrequire kernel-source |
---|
1101 | - package mouse guest addition in x11-driver-input-vboxmouse |
---|
1102 | - package video guest addition in x11-driver-video-vboxvideo |
---|
1103 | - build VirtualBox additions |
---|
1104 | |
---|
1105 | * Mon Sep 03 2007 Olivier Blin <oblin@mandriva.com> 1.5.0-1mdv2008.0 |
---|
1106 | + Revision: 78607 |
---|
1107 | - drop libstdc++5 BuildRequires |
---|
1108 | - drop unapplied x86_64 NMI watchdog disabling patch (merged upstream) |
---|
1109 | - 1.5.0 |
---|
1110 | - rediff mdvconfig patch |
---|
1111 | |
---|
1112 | + Thierry Vignaud <tvignaud@mandriva.com> |
---|
1113 | - kill desktop-file-validate's 'warning: key "Encoding" in group "Desktop Entry" is deprecated' |
---|
1114 | |
---|
1115 | * Fri Jun 08 2007 Per Øyvind Karlsen <peroyvind@mandriva.org> 1.4.0-1mdv2008.0 |
---|
1116 | + Revision: 37085 |
---|
1117 | - from Jos?\195?\169 Melo <mmodem00@gmail.com>: |
---|
1118 | o 1.4.0 |
---|
1119 | o update patch:2 since is needed to load (modprobe) vbox driver in kernel-2.6.17 |
---|
1120 | o remove patch1 since is becomes obsolete with this new version,and continues installing and running stable no matter if is kernel-2.6.17 or greater |
---|
1121 | o add missing buildrequire hal-devel |
---|
1122 | |
---|
1123 | |
---|
1124 | * Thu Mar 15 2007 Gwenole Beauchesne <gbeauchesne@mandriva.com> 1.3.8-1mdv2007.1 |
---|
1125 | + Revision: 144313 |
---|
1126 | - add should-start: dkms to initscript (#29523) |
---|
1127 | - 1.3.8 |
---|
1128 | * hard reset network device on reboot |
---|
1129 | * fix issues with IBM JVM 1.4.2 in Linux guests |
---|
1130 | * add support for X.org 7.2.x in Linux guest additions |
---|
1131 | |
---|
1132 | * Fri Mar 02 2007 Gwenole Beauchesne <gbeauchesne@mandriva.com> 1.3.6-1mdv2007.1 |
---|
1133 | + Revision: 131492 |
---|
1134 | - disable NMIs on Core 2 platforms too |
---|
1135 | - 1.3.6 |
---|
1136 | * fix some GUI issues |
---|
1137 | * fix OpenBSD 4.0 support |
---|
1138 | * fix CD/DVD-ROM detection in Windows Vista guests |
---|
1139 | * fix networking issues with Windows NT 4.0 guests |
---|
1140 | * fix some ALSA problems that could cause system reboots |
---|
1141 | |
---|
1142 | * Mon Feb 12 2007 Gwenole Beauchesne <gbeauchesne@mandriva.com> 1.3.4-1mdv2007.1 |
---|
1143 | + Revision: 119895 |
---|
1144 | - 1.3.4 |
---|
1145 | |
---|
1146 | * Mon Feb 12 2007 Gwenole Beauchesne <gbeauchesne@mandriva.com> 1.3.3.20070209-1mdv2007.1 |
---|
1147 | + Revision: 119017 |
---|
1148 | - SVN updates (2007/02/09): |
---|
1149 | * additional 64-bit fixes |
---|
1150 | * asynchronous packets transmission in NIC code |
---|
1151 | |
---|
1152 | * Sat Feb 03 2007 Gwenole Beauchesne <gbeauchesne@mandriva.com> 1.3.3.20070202-1mdv2007.1 |
---|
1153 | + Revision: 116064 |
---|
1154 | - various 64-bit fixes |
---|
1155 | - updates from SVN (2007/02/02): |
---|
1156 | * initial 64-bit host support |
---|
1157 | * fix IDE for Open Solaris 10 |
---|
1158 | * add VDI compacting to the GUI |
---|
1159 | |
---|
1160 | * Sat Jan 27 2007 Gwenole Beauchesne <gbeauchesne@mandriva.com> 1.3.3-1mdv2007.1 |
---|
1161 | + Revision: 114276 |
---|
1162 | - initial mandriva linux package |
---|
1163 | |
---|