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

Revision 11580, 41.6 KB checked in by ara_t, 6 years ago (diff)

VirtualBox?: update to 5.2.8

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