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

Revision 11581, 41.7 KB checked in by ara_t, 6 years ago (diff)

VirtualBox?: rebuild

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