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

Revision 11841, 41.9 KB checked in by ara_t, 5 years ago (diff)

VirtualBox?: update to 5.2.20

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