source: projects/specs/trunk/V/VirtualBox/VirtualBox-vl.spec @ 3866

Revision 3866, 33.0 KB checked in by daisuke, 13 years ago (diff)

VirtualBox?: update to 4.0.6

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