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

Revision 11304, 41.5 KB checked in by ara_t, 6 years ago (diff)

VirtualBox?: update to 5.2.4

Line 
1%define version 5.2.4
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* Wed Jan 03 2018 Toshiaki Ara <ara_t@384.jp> 5.2.4-1
633- update to 5.2.4
634- add BuildRequires: libXinerama-devel
635- add BuildRequires: libXrandr-devel
636- add BuildRequires: libpng-devel
637- add BuildRequires: qt5-qtbase-devel
638- add BuildRequires: qt5-qtx11extras-devel
639- add BuildRequires: qt5-linguist
640- delete --enable-qt4 option
641- add Source1 (UserManual.pdf)
642- drop Patch2 (VirtualBox-4.0.6-kernelrelease.patch)
643- drop Patch130 (VirtualBox-5.1.18-build-fix-with-qt4.patch)
644- add Vendor and Distribution tags
645
646* Mon Apr 10 2017 Daisuke SUZUKI <daisuke@vinelinux.org> 5.1.18-1
647- update to 5.1.18
648- add --enable-qt4 to build with Qt4
649
650* Sat Jul 23 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 5.0.26-1
651- update to 5.0.26
652- update Patch6 (VirtualBox-5.0.26_OSE-initscriptname.patch)
653- update Patch18 (virtualbox-5.0.26-dont-check-for-mkisofs-or-makeself.patch)
654- upate Patch120 (VirtualBox-5.0.26-add-templates.patch)
655
656* Thu May 05 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.3.38-2
657- change xserverapi
658
659* Sun Apr 24 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.3.38-1
660- update to 4.3.38
661
662* Tue Mar 29 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.3.36-1
663- update to 4.3.36
664
665* Wed Oct 28 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.3.32-1
666- update to 4.3.32
667- update Patch120 (VirtualBox-4.3.32-add-templates.patch)
668
669* Mon Feb 23 2015 Daisuke SUZUKI <daisuke@vinelinux.org> 4.3.22-1
670- update to 4.3.22
671
672* Sat Oct 25 2014 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 4.3.18-1
673- new upstream release (4.3.18)
674
675* Mon Jul 14 2014 Daisuke SUZUKI <daisuke@vinelinux.org> 4.3.12-3
676- define xserverabi 115 on VineSeed
677
678* Sun Jul 13 2014 Daisuke SUZUKI <daisuke@vinelinux.org> 4.3.12-2
679- rebuild with xserver-1.15
680- add BR: acpica-tools instead of iasl
681
682* Fri May 23 2014 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 4.3.12-1
683- new upstream release (4.3.12)
684
685* Wed Apr 30 2014 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 4.3.10-1
686- new upstream release (4.3.10)
687
688* Fri Dec 20 2013 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 4.3.6-1
689- new upstream release (4.3.6)
690
691* Mon Dec 02 2013 Daisuke SUZUKI <daisuke@linux.or.jp> 4.3.4-1
692- update to 4.3.4
693
694* Fri Oct 18 2013 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 4.3.0-3
695- locale fix (BTS:2669)
696
697* Fri Oct 18 2013 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 4.3.0-2
698- fix startup failure (BTS:2669)
699
700* Thu Oct 17 2013 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 4.3.0-1
701- new upstream release
702
703* Thu Sep 26 2013 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 4.2.18-1
704- new upstream release
705
706* Tue Jul 23 2013 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 4.2.16-1
707- new upstream release
708
709* Tue Jun 25 2013 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 4.2.14-1
710- new upstream release
711- define xserverabi to 114 on VineSeed (to sync with recent xorg updates)
712
713* Sun Apr 14 2013 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 4.2.12-1
714- new upstream release
715
716* Sat Mar 16 2013 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 4.2.10-1
717- new upstream release
718
719* Mon Mar 04 2013 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 4.2.8-1
720- new upstream release
721
722* Thu Dec 20 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 4.2.6-1
723- new upstream release
724- remove BR: hal-devel
725- add BR: device-mapper-devel
726
727* Thu Nov 01 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 4.2.4-1
728- new upstream release
729- add patch120,source50,51 to add vine templates
730
731* Fri Oct 19 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 4.2.2-1
732- new upstream release
733- add Source100 (accidentally not included in the source tarball?)
734
735* Fri Sep 14 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 4.2.0-1
736- new upstream release
737- temporarily use internal kBuild to fix build failure
738
739* Sat Jun 23 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 4.1.18-1
740- new upstream release
741
742* Thu May 24 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 4.1.16-1
743- new upstream release
744
745* Wed May 02 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 4.1.14-2
746- define xserverabi to 112 on VineSeed (to sync with recent xorg updates)
747
748* Tue May 01 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 4.1.14-1
749- new upstream release
750
751* Mon Apr 16 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 4.1.12-1
752- new upstream release
753
754* Fri Mar 16 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 4.1.10-1
755- new upstream release
756
757* Tue Feb 21 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 4.1.8-3
758- rebuild with python-2.7
759
760* Mon Jan 16 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 4.1.8-2
761- remove VBOX_VERSION_STRING=... from kmk command line
762- add VBOX_WITH_UPDATE_REQUEST= to kmk command line
763
764* Wed Dec 21 2011 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 4.1.8-1
765- new upstream release
766- drop Patch12 (merged into upstream)
767
768* Sat Nov  5 2011 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 4.1.6-2
769- explicitly specify xserverabi for vl5, vl6, vl7 (and up)
770
771* Sat Nov  5 2011 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 4.1.6-1
772- new upstream release
773- drop Patch101 (merged into upstream)
774
775* Mon Oct 31 2011 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 4.1.4-2
776- fix the path 98vboxadd-xclient script should be installed
777  (s|/etc/X11/xinit.d|/etc/X11/xinit/xinitrc.d|)
778
779* Tue Oct  4 2011 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 4.1.4-1
780- new upstream release
781- use the kernel mouse driver for all setups where we previously
782  autoloaded vboxmouse (see: https://www.virtualbox.org/changeset/38784)
783
784* Wed Aug 24 2011 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 4.1.2-1
785- new upstream release
786- drop Patch50; fix Patch12 & Patch101
787- specify VBOX_VERSION_STRING on kmk to declare third-party (VINE) build
788  see: http://www.virtualbox.org/wiki/Editions
789
790* Tue Aug  9 2011 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 4.1.0-2
791- add Patch50 to fix random kernel panic during shutdown on some environments
792  (see: http://www.virtualbox.org/ticket/9305)
793
794* Wed Jul 20 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 4.1.0-1
795- update to 4.1.0
796
797* Fri Jul 08 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 4.0.10-1
798- update to 4.0.10
799
800* Sun May 29 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 4.0.8-1
801- update to 4.0.8
802- include xserver 1.10 drivers
803
804* Fri May 13 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 4.0.6-1
805- update to 4.0.6
806- add BR: java-1.6.0-openjdk-devel
807
808* Fri Jan 14 2011 Shu KONNO <owa@bg.wakwak.com> 3.2.12-3
809- rebuilt with openssl-1.0.0c
810- added vboxadd-timesync.vine instead of vboxadd-service.sh
811
812* Sat Dec 04 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 3.2.12-2
813- add BR: pam-devel
814- rebuild with python-2.6
815
816* Fri Dec 03 2010 Shu KONNO <owa@bg.wakwak.com> 3.2.12-1
817- updated VirtualBox to 3.2.12-OSE
818
819* Mon Aug 23 2010 Shu KONNO <owa@bg.wakwak.com> 3.2.8-1
820- new upstream release
821
822* Sat Jun 12 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 3.2.4-2
823- add patch110 to fix vboxadd-timesync script
824
825* Thu Jun 10 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 3.2.4-1
826- new upstream release
827
828* Sat May 22 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 3.2.0-1
829- new upstream release
830- drop wined3d patch as the Windows guest additions provide
831  Direct3D acceleration.
832- add xorg.conf snippet for new xserver
833- vboxvfs renamed to vboxsf
834
835* Mon Apr 19 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 3.1.6-2
836- fix initscript
837
838* Sun Apr 18 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 3.1.6-1
839- new upstream release
840
841* Tue Nov 17 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 3.0.10-1
842- new upstream release
843- add missing BR:
844
845* Mon Sep 21 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 3.0.6-1
846- new upstream release
847
848* Wed Aug 05 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 3.0.4-1
849- new upstream release
850- add translated summaries and descriptions
851
852* Mon Jul 13 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 3.0.2-1
853- new upstream release
854
855* Wed Jul 01 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 3.0.0-1
856- new upstream release
857
858* Tue Jun 09 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.4-3
859- change Group: of dkms-VirtualBox to System Environment/Kernel
860
861* Tue Jun 02 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.4-2
862- remove modprobe.d/vbox-guest-additions
863
864* Sun May 31 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.4-1
865- update to 2.2.4
866
867* Sun May 31 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.2-1
868- initial build for Vine Linux
869- update to 2.2.2
870
871* Wed Apr 22 2009 Pascal Terjan <pterjan@mandriva.org> 2.2.0-4mdv2009.1
872+ Revision: 368679
873- Fix mkrpm template
874
875* Tue Apr 21 2009 Pascal Terjan <pterjan@mandriva.org> 2.2.0-3mdv2009.1
876+ Revision: 368502
877- BuildRequires:dkms-minimal
878- Obsolete -latest dkms binary packages
879
880* Wed Apr 15 2009 Frederic Crozat <fcrozat@mandriva.com> 2.2.0-2mdv2009.1
881+ Revision: 367571
882- Patch15: kill vboxclient if leftover from previous X11 session
883- Patch14 (Sun): fix OpenGL support for Linux Guest additions
884- improve packaging to be more LSB compliant
885
886* Fri Apr 10 2009 Frederic Crozat <fcrozat@mandriva.com> 2.2.0-1mdv2009.1
887+ Revision: 365828
888- Release 2.2.0
889- enable OpenGL pass-through. Caveat : Linux guest support is not working when building guest additions with Open source edition (under investigation)
890- move location of fdi file (fix mouse integration support when using HAL)
891- merge all guest additions kernel module in one single DKMS (pterjan)
892- Enable webservice
893- Remove patch9, no longer needed (when using kernel 2.6.29.x, you MUST use kernel 2.6.29.1 or later)
894- Regenerate patches 8, 10
895- Patch11: add Wine Direct3D guest additions option (Debian)
896- Patch12: disable update notification (Debian)
897- Patch13: make network settings more intuitive (Debian)
898- Add missing dependencies in guest additions package
899- No longer use gcc 4.2, build fine with latest gcc 4.3
900- Replace source3 with upstream version
901- Update source4 to change permissions on both guest additions devices
902- Fix permissions on non .so files
903
904* Mon Mar 09 2009 Pascal Terjan <pterjan@mandriva.org> 2.1.4-5mdv2009.1
905+ Revision: 353280
906- vboxvfs needs vboxadd
907
908* Wed Mar 04 2009 Frederic Crozat <fcrozat@mandriva.com> 2.1.4-4mdv2009.1
909+ Revision: 348336
910- Force rebuild of dkms modules
911
912* Wed Feb 25 2009 Herton Ronaldo Krzesinski <herton@mandriva.com.br> 2.1.4-3mdv2009.1
913+ Revision: 344966
914- Copy Module.symvers for vboxnetflt dkms build, needed with
915  CONFIG_MODVERSIONS enabled in latest cooker kernels.
916
917* Wed Feb 25 2009 Herton Ronaldo Krzesinski <herton@mandriva.com.br> 2.1.4-2mdv2009.1
918+ Revision: 344896
919- Apply fix for VM load failure with kernels 2.6.29-rc5 or later
920  (#48096, http://www.virtualbox.org/ticket/3403).
921- Fix building with kernel-headers-2.6.29*
922
923* Tue Feb 17 2009 Frederik Himpe <fhimpe@mandriva.org> 2.1.4-1mdv2009.1
924+ Revision: 342236
925- Update to new version 2.1.4
926- Fix source URL
927
928* Thu Jan 22 2009 Frederic Crozat <fcrozat@mandriva.com> 2.1.2-2mdv2009.1
929+ Revision: 332593
930- Use xorg 1.6 drivers when building cooker guest addition packages
931
932* Thu Jan 22 2009 Funda Wang <fundawang@mandriva.org> 2.1.2-1mdv2009.1
933+ Revision: 332404
934- specify CC4.2
935- New version 2.1.2
936- rediff libpath patch
937
938* Sun Jan 04 2009 Colin Guthrie <cguthrie@mandriva.org> 2.1.0-5mdv2009.1
939+ Revision: 324525
940- Rebuild mouse and display drivers for xserver 1.6
941
942* Thu Dec 25 2008 Michael Scherer <misc@mandriva.org> 2.1.0-4mdv2009.1
943+ Revision: 318540
944- rebuild for new python
945
946* Fri Dec 19 2008 Frederic Crozat <fcrozat@mandriva.com> 2.1.0-3mdv2009.1
947+ Revision: 316288
948- Fix guest additions for cooker, we ship Xorg 1.5 now
949- Ship fdi file for vboxmouse
950
951* Fri Dec 19 2008 Adam Williamson <awilliamson@mandriva.org> 2.1.0-2mdv2009.1
952+ Revision: 316021
953- oops, finish fixing up initscript
954
955* Fri Dec 19 2008 Adam Williamson <awilliamson@mandriva.org> 2.1.0-1mdv2009.1
956+ Revision: 316019
957- adjust initscript and dkms.conf for the fact that there's now two necessary
958  kernel modules for the master: vboxdrv and vboxnetflt
959- drop mdvconfig.patch: this stub does nothing useful, and breaks the build
960  (see fcrozat's mail on Cooker)
961- VBoxAddIF and VBoxDeleteIF are now obsolete and not provided
962
963  + Frederic Crozat <fcrozat@mandriva.com>
964    - Release 2.1.0
965    - Regenerate patch1
966    - update buildrequires
967
968* Sun Nov 30 2008 Frederik Himpe <fhimpe@mandriva.org> 2.0.6-2mdv2009.1
969+ Revision: 308552
970- Rebuild mouse and display drivers for xserver 1.5
971
972* Wed Nov 26 2008 Funda Wang <fundawang@mandriva.org> 2.0.6-1mdv2009.1
973+ Revision: 306865
974- New version 2.0.6
975
976* Mon Nov 03 2008 Funda Wang <fundawang@mandriva.org> 2.0.4-1mdv2009.1
977+ Revision: 299348
978- New version 2.0.4
979
980* Mon Sep 15 2008 Frederic Crozat <fcrozat@mandriva.com> 2.0.2-2mdv2009.0
981+ Revision: 284854
982- Patch8: disable version check at startup
983
984* Sat Sep 13 2008 Frederik Himpe <fhimpe@mandriva.org> 2.0.2-1mdv2009.0
985+ Revision: 284544
986- Update to bugfix update 2.0.2
987
988* Tue Sep 09 2008 Olivier Blin <oblin@mandriva.com> 2.0.0-3mdv2009.0
989+ Revision: 283015
990- build guest additions on x86_64 too (#43593)
991
992  + Frederic Crozat <fcrozat@mandriva.com>
993    - Patch7: fix QT4 detection on x86-64 on Mandriva 2008.1
994
995* Thu Sep 04 2008 Frederic Crozat <fcrozat@mandriva.com> 2.0.0-1mdv2009.0
996+ Revision: 280850
997- Fix BuildRequires
998- Release 2.0.0
999- Remove patches 3, 7 (merged upstream)
1000
1001* Mon Sep 01 2008 Herton Ronaldo Krzesinski <herton@mandriva.com.br> 1.6.4-4mdv2009.0
1002+ Revision: 278071
1003- Added patch to allow VirtualBox kernel module to build with
1004  Linux 2.6.27
1005
1006  + Pixel <pixel@mandriva.com>
1007    - increase release number
1008    - use gcc4.2 to build the recompiler (not ported to gcc 4.3 yet)
1009
1010* Wed Aug 06 2008 Olivier Blin <oblin@mandriva.com> 1.6.4-2mdv2009.0
1011+ Revision: 264273
1012- create /var/run/VirtualBox (#41963)
1013- use tunctl from the tunctl package while VBoxTunctl does not build
1014
1015* Tue Aug 05 2008 Olivier Blin <oblin@mandriva.com> 1.6.4-1mdv2009.0
1016+ Revision: 264016
1017- do not include VBoxTunctl for now (build is broken in upstream tarball)
1018- rediff misc_register patch (the register part has been implemented upstream, I should submit the deregister hunks)
1019- fix 1.6.4 build by not building tunctl (some Makefile.kmk are missing)
1020- 1.6.4
1021
1022* Tue Jul 29 2008 Frederic Crozat <fcrozat@mandriva.com> 1.6.2-2mdv2009.0
1023+ Revision: 252777
1024- Don't use gcc 3.3 for build on 2008.1 or earlier
1025
1026* Wed Jul 09 2008 Olivier Blin <oblin@mandriva.com> 1.6.2-1mdv2009.0
1027+ Revision: 232889
1028- set again linux sources path in configure
1029- use gcc 3.3 to build the recompiler (not ported to gcc 4.3 yet)
1030- use kernel-devel-latest instead of kernel-source-latest
1031- use a prepared copy of the linux tree (for linux/bounds.h)
1032
1033  + Frederic Crozat <fcrozat@mandriva.com>
1034    - Release 1.6.2
1035    - Regenerate patch5
1036    - Fix duplicated line in specfile
1037
1038  + Pixel <pixel@mandriva.com>
1039    - rpm filetriggers deprecates update_menus/update_scrollkeeper/update_mime_database/update_icon_cache/update_desktop_database/post_install_gconf_schemas
1040
1041* Fri May 16 2008 Frederic Crozat <fcrozat@mandriva.com> 1.6.0-4mdv2009.0
1042+ Revision: 208160
1043- Fix seamless mode in guest additions subpackage
1044
1045* Thu May 15 2008 Anssi Hannula <anssi@mandriva.org> 1.6.0-3mdv2009.0
1046+ Revision: 207692
1047- rename VBoxAddIF.sh and VBoxDeleteIF.sh to VBoxAddIF and VBoxDeleteIF
1048  to match original names and documentation
1049
1050* Wed May 14 2008 Frederic Crozat <fcrozat@mandriva.com> 1.6.0-2mdv2009.0
1051+ Revision: 207235
1052- Replace source1 with patch 6 (use up to date VBox.sh script)
1053- Ensure VBoxAddIF/VBoxDeleteIF scripts are packaged, as well as VBoxTunctl (Mdv bug #40769)
1054- package VBoxHeadless (Mdv bug #40771)
1055
1056* Fri May 09 2008 Olivier Blin <oblin@mandriva.com> 1.6.0-1mdv2009.0
1057+ Revision: 205313
1058- try harder to disable additions on x86_64
1059- buildrequire libxslt-devel
1060- adapt to vboxadd-xclient being renamed as VBoxClient
1061- rediff futex patch
1062- rediff misc_register patch
1063- 1.6.0
1064- revert BUILT_MODULE_NAME addition, the bug is fixed in dkms
1065
1066  + Anssi Hannula <anssi@mandriva.org>
1067    - add BUILT_MODULE_NAME to dkms.conf of vboxadd and vboxvfs (fixes DKMS
1068      error)
1069
1070* Tue Feb 26 2008 Olivier Blin <oblin@mandriva.com> 1.5.6-1mdv2008.1
1071+ Revision: 175619
1072- 1.5.6
1073- rediff KERNELRELEASE patch
1074
1075* Tue Feb 26 2008 Olivier Blin <oblin@mandriva.com> 1.5.4-5mdv2008.1
1076+ Revision: 175610
1077- try to start dkms instead of vboxadd in vboxadd-timesync service (since modules are loaded from modprobe.preload.d, #36728)
1078
1079* Fri Feb 08 2008 Thierry Vignaud <tvignaud@mandriva.com> 1.5.4-4mdv2008.1
1080+ Revision: 163970
1081- drop old menu
1082
1083  + Frederic Crozat <fcrozat@mandriva.com>
1084    - Really disable pulseaudio support on 2008.0 or older
1085
1086* Thu Jan 10 2008 Frederic Crozat <fcrozat@mandriva.com> 1.5.4-3mdv2008.1
1087+ Revision: 147602
1088- Use correct version of x11 mouse and video additional driver when used on 2008.1 (xorg 1.4) and 2008.0
1089- Only build pulseaudio support for 2008.1
1090
1091* Wed Jan 09 2008 Olivier Blin <oblin@mandriva.com> 1.5.4-2mdv2008.1
1092+ Revision: 147006
1093- fix dkms build for kernels different from running kernel
1094
1095* Thu Jan 03 2008 Olivier Blin <oblin@mandriva.com> 1.5.4-1mdv2008.1
1096+ Revision: 142711
1097- buildrequire pulseaudio-devel
1098- rediff libpath patch
1099- remove 2.6.24 build fix, fixed upstream
1100- 1.5.4
1101- restore BuildRoot
1102
1103  + Pascal Terjan <pterjan@mandriva.org>
1104    - Switch to Debian patch for 2.6.24
1105    - Re-create the 2.6.24 patch, some bits got lost
1106
1107  + Thierry Vignaud <tvignaud@mandriva.com>
1108    - kill re-definition of %%buildroot on Pixel's request
1109    - kill explicit icon extension
1110
1111  + Giuseppe Ghibò <ghibo@mandriva.com>
1112    - Use kernel-source-latest in BuildRequires as conditional.
1113    - Add conditional build flags for older release.
1114    - Let Patch5 conditional.
1115
1116* Fri Nov 30 2007 Pascal Terjan <pterjan@mandriva.org> 1.5.2-3mdv2008.1
1117+ Revision: 114076
1118- Improve 2.6.24 patch so that it should still build with older kernels
1119
1120* Fri Nov 30 2007 Pascal Terjan <pterjan@mandriva.org> 1.5.2-2mdv2008.1
1121+ Revision: 114047
1122- Fix other parts to build with 2.6.24
1123- Fix vboxdrv for 2.6.24
1124
1125* Tue Nov 13 2007 Olivier Blin <oblin@mandriva.com> 1.5.2-1mdv2008.1
1126+ Revision: 108363
1127- remove keyboards patch (was from upstream svn)
1128- rediff kernelrelease patch
1129- rediff libpath patch
1130- 1.5.2
1131
1132* Thu Oct 04 2007 Olivier Blin <oblin@mandriva.com> 1.5.0-6mdv2008.0
1133+ Revision: 95447
1134- really apply misc_register patch (so that vboxadd devices are automatically created)
1135- add release in dkms PACKAGE_VERSION to ease upgrades
1136
1137* Sat Sep 29 2007 Olivier Blin <oblin@mandriva.com> 1.5.0-5mdv2008.0
1138+ Revision: 93837
1139- require kmod(vboxdrv) instead of dkms package
1140- do not mark initscript as config file
1141- move initscripts and udev rules out of dkms package (so that it works when using dkms prebuilt modules)
1142
1143* Sat Sep 29 2007 Olivier Blin <oblin@mandriva.com> 1.5.0-4mdv2008.0
1144+ Revision: 93812
1145- add vboxadd-timesync service
1146- add pam_console perms file to assign vboxadd device to console user
1147- use misc_register() to register vboxadd device so that /dev/vboxadd gets created automatically by udev
1148
1149* Fri Sep 28 2007 Olivier Blin <oblin@mandriva.com> 1.5.0-3mdv2008.0
1150+ Revision: 93770
1151- add vboxadd-xclient xinit.d script
1152- release new additions, but we still need to fix mknod for vboxadd
1153  (or use device_create() in kernel module), set console perms for
1154  vboxadd in console.perms.d, and add timesync initscript
1155- make guest additions package require X11 drivers
1156- make x11 driver packages suggest virtualbox-guest-additions
1157- add virtualbox-guest-additions package (with xclient, timesync, mount.vboxsf)
1158- add dkms-vboxadd and dkms-vboxvfs packages
1159
1160* Fri Sep 28 2007 Olivier Blin <oblin@mandriva.com> 1.5.0-2mdv2008.0
1161+ Revision: 93534
1162- build additions on ix86 only
1163- fix support for Brazilian, Belgian, US intl and US dvorak keyboards and add support for multimedia keys (from upstream SVN)
1164- buildrequire libstdc++-static-devel
1165- buildrequire libxt-devel
1166- buildrequire kernel-source-latest, since iurt/urpmi don't install latest kernel-source automatically
1167- buildrequire kernel-source
1168- package mouse guest addition in x11-driver-input-vboxmouse
1169- package video guest addition in x11-driver-video-vboxvideo
1170- build VirtualBox additions
1171
1172* Mon Sep 03 2007 Olivier Blin <oblin@mandriva.com> 1.5.0-1mdv2008.0
1173+ Revision: 78607
1174- drop libstdc++5 BuildRequires
1175- drop unapplied x86_64 NMI watchdog disabling patch (merged upstream)
1176- 1.5.0
1177- rediff mdvconfig patch
1178
1179  + Thierry Vignaud <tvignaud@mandriva.com>
1180    - kill desktop-file-validate's 'warning: key "Encoding" in group "Desktop Entry" is deprecated'
1181
1182* Fri Jun 08 2007 Per Øyvind Karlsen <peroyvind@mandriva.org> 1.4.0-1mdv2008.0
1183+ Revision: 37085
1184- from Jos?\195?\169 Melo <mmodem00@gmail.com>:
1185        o 1.4.0
1186        o update patch:2 since is needed to load (modprobe) vbox driver in kernel-2.6.17
1187        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
1188        o add missing buildrequire hal-devel
1189
1190
1191* Thu Mar 15 2007 Gwenole Beauchesne <gbeauchesne@mandriva.com> 1.3.8-1mdv2007.1
1192+ Revision: 144313
1193- add should-start: dkms to initscript (#29523)
1194- 1.3.8
1195  * hard reset network device on reboot
1196  * fix issues with IBM JVM 1.4.2 in Linux guests
1197  * add support for X.org 7.2.x in Linux guest additions
1198
1199* Fri Mar 02 2007 Gwenole Beauchesne <gbeauchesne@mandriva.com> 1.3.6-1mdv2007.1
1200+ Revision: 131492
1201- disable NMIs on Core 2 platforms too
1202- 1.3.6
1203  * fix some GUI issues
1204  * fix OpenBSD 4.0 support
1205  * fix CD/DVD-ROM detection in Windows Vista guests
1206  * fix networking issues with Windows NT 4.0 guests
1207  * fix some ALSA problems that could cause system reboots
1208
1209* Mon Feb 12 2007 Gwenole Beauchesne <gbeauchesne@mandriva.com> 1.3.4-1mdv2007.1
1210+ Revision: 119895
1211- 1.3.4
1212
1213* Mon Feb 12 2007 Gwenole Beauchesne <gbeauchesne@mandriva.com> 1.3.3.20070209-1mdv2007.1
1214+ Revision: 119017
1215- SVN updates (2007/02/09):
1216  * additional 64-bit fixes
1217  * asynchronous packets transmission in NIC code
1218
1219* Sat Feb 03 2007 Gwenole Beauchesne <gbeauchesne@mandriva.com> 1.3.3.20070202-1mdv2007.1
1220+ Revision: 116064
1221- various 64-bit fixes
1222- updates from SVN (2007/02/02):
1223  * initial 64-bit host support
1224  * fix IDE for Open Solaris 10
1225  * add VDI compacting to the GUI
1226
1227* Sat Jan 27 2007 Gwenole Beauchesne <gbeauchesne@mandriva.com> 1.3.3-1mdv2007.1
1228+ Revision: 114276
1229- initial mandriva linux package
1230
Note: See TracBrowser for help on using the repository browser.