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

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

VirtualBox?: rebuild under current VineSeed

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