source: projects/specs/tags/6_0_REL/V/VirtualBox/VirtualBox-vl.spec @ 4364

Revision 4364, 33.5 KB checked in by daisuke, 13 years ago (diff)

VirtualBox?: update to 4.1.0

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