VirtualBox-vl.spec 33 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966
  1. %define version 4.0.6
  2. %define release 1%{?_dist_release}
  3. %define kname vboxdrv
  4. %define oname VirtualBox
  5. %define srcname %{oname}-%{version}
  6. %define distname %{oname}-%{version}_OSE
  7. %define dirname vbox-ose
  8. %define pkgver %{version}
  9. %define vboxlibdir %{_libdir}/%{name}
  10. %define vboxdatadir %{_datadir}/%{name}
  11. %define build_additions 1
  12. %define build_doc 0
  13. %ifarch %{ix86}
  14. %define vbox_platform linux.x86
  15. %endif
  16. %ifarch x86_64
  17. %define vbox_platform linux.amd64
  18. %endif
  19. # nuke vbox-specific dependencies
  20. %define _provides_exceptions ^VBox
  21. %define _requires_exceptions ^VBox
  22. Summary: A general-purpose full virtualizer for x86 hardware
  23. Summary(ja): 汎用の x86 ハードウエア完全仮想化ソフトウエア
  24. Name: VirtualBox
  25. Version: %{version}
  26. Release: %{release}
  27. License: GPL
  28. Group: Development/Tools
  29. Url: http://www.virtualbox.org/
  30. Source0: http://download.virtualbox.org/virtualbox/%ver/%{srcname}.tar.bz2
  31. Source2: virtualbox.init.vine
  32. Source3: vboxadd-timesync.vine
  33. Source4: 60-vboxadd.perms
  34. Source10: VirtualBox.png
  35. Patch2: VirtualBox-4.0.6-kernelrelease.patch
  36. Patch4: VirtualBox-1.6.0_OSE-futex.patch
  37. Patch5: virtualbox-fix-vboxadd-req.patch
  38. # (fc) 1.6.0-2mdv fix initscript name in VBox.sh script
  39. Patch6: VirtualBox-1.6.0_OSE-initscriptname.patch
  40. # (hk) fix build kernel-headers-2.6.29*
  41. Patch10: VirtualBox-kernel-headers-2.6.29.patch
  42. # (fc) 2.2.0-1mdv disable update notification (Debian)
  43. Patch12: 16-no-update.patch
  44. # don't check for:
  45. # mkisofs: we're not going to build the additions .iso file
  46. # makeself: we're not going to create the stanalone .run installers
  47. Patch18: virtualbox-4.0.0-dont-check-for-mkisofs-or-makeself.patch
  48. # vine
  49. Patch100: VirtualBox-2.2.2-buildfix.patch
  50. Patch110: VirtualBox-3.2.4-vine.patch
  51. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
  52. ExclusiveArch: %{ix86} x86_64
  53. Requires: dkms-%{name} = %{version}-%{release}
  54. BuildRequires: dev86, iasl
  55. BuildRequires: zlib-devel
  56. BuildRequires: libXcursor-devel
  57. BuildRequires: libXmu-devel
  58. BuildRequires: SDL-devel
  59. BuildRequires: qt4-devel
  60. BuildRequires: libIDL-devel
  61. BuildRequires: e2fsprogs-devel
  62. BuildRequires: libxslt-devel
  63. BuildRequires: xerces-c-devel, xalan-c-devel
  64. BuildRequires: hal-devel
  65. BuildRequires: libXt-devel
  66. BuildRequires: libstdc++34-devel
  67. BuildRequires: python-devel
  68. BuildRequires: libcap-devel
  69. BuildRequires: pulseaudio-libs-devel
  70. BuildRequires: kernel-devel
  71. BuildRequires: mesa-libGL-devel
  72. BuildRequires: mesa-libGLU-devel
  73. BuildRequires: gsoap-devel
  74. BuildRequires: curl-devel
  75. BuildRequires: alsa-lib-devel
  76. BuildRequires: dkms
  77. BuildRequires: kBuild >= 0.1.5p2
  78. BuildRequires: yasm
  79. BuildRequires: qt4-designer
  80. BuildRequires: pam-devel
  81. %ifarch x86_64
  82. BuildRequires: compat32-glibc-devel
  83. %endif
  84. BuildRequires: java-1.6.0-openjdk-devel
  85. %if %{build_doc}
  86. BuildRequires: task-texlive
  87. BuildRequires: texlive-collection-fontsextra
  88. %endif
  89. %description
  90. VirtualBox Open Source Edition (OSE) is a general-purpose full
  91. virtualizer for x86 hardware.
  92. %description -l ja
  93. VirtualBox Open Source Edition (OSE) は汎用の x86 ハードウエア
  94. 完全仮想化ソフトウエアです。
  95. %package -n dkms-%{name}
  96. Summary: VirtualBox OSE kernel module
  97. Summary(ja): VirtualBox OSE カーネルモジュール
  98. Group: System Environment/Kernel
  99. Requires(post): dkms
  100. Requires(preun): dkms
  101. %description -n dkms-%{name}
  102. Kernel support for VirtualBox OSE.
  103. %description -l ja -n dkms-%{name}
  104. VirtualBox OSE のカーネルサポートパッケージです。
  105. %if %{build_additions}
  106. %package guest-additions
  107. Summary: Additions for VirtualBox OSE guest systems
  108. Summary(ja): VirtualBox OSE ゲストシステム用の追加モジュール
  109. Group: System Environment/Kernel
  110. Requires: dkms-vboxadd = %{version}-%{release}
  111. Requires: dkms-vboxvfs = %{version}-%{release}
  112. Requires: dkms-vboxvideo = %{version}-%{release}
  113. Requires: xorg-x11-drv-vboxmouse
  114. Requires: xorg-x11-drv-vboxvideo
  115. Requires: xorg-x11-server-utils
  116. %description guest-additions
  117. This packages contains additions for VirtualBox OSE guest systems.
  118. It allows to share files with the host system, copy/paste between
  119. guest and host, and sync time with host.
  120. %description -l ja guest-additions
  121. このパッケージには VirtualBox OSE ゲストシステムのための追加モジュール
  122. が含まれています。これを利用することでホストシステムとファイルを共有し
  123. たり、ゲスト/ホスト間でカット&ペーストを行ったり、ホストと時刻同期をし
  124. たりすることができます。
  125. %package -n dkms-vboxadd
  126. Summary: Kernel module for VirtualBox OSE additions
  127. Summary(ja): VirtualBox OSE additions のカーネルモジュール
  128. Group: System Environment/Kernel
  129. Requires(post): dkms
  130. Requires(preun): dkms
  131. Provides: dkms-vboxvfs = %{version}-%{release}
  132. Obsoletes: dkms-vboxvfs < %{version}-%{release}
  133. Provides: dkms-vboxsf = %{version}-%{release}
  134. Obsoletes: dkms-vboxsf < %{version}-%{release}
  135. Provides: dkms-vboxvideo = %{version}-%{release}
  136. Obsoletes: dkms-vboxvideo < %{version}-%{release}
  137. %description -n dkms-vboxadd
  138. Kernel module for VirtualBox OSE additions.
  139. %description -l ja -n dkms-vboxadd
  140. VirtualBox OSE 追加モジュールのためのカーネルモジュールです。
  141. %package -n xorg-x11-drv-vboxmouse
  142. Summary: X.org X11 input driver for VirtualBox mouse
  143. Summary: X.org X11 VirtualBox マウス入力ドライバ
  144. Group: User Interface/X Hardware Support
  145. Requires: %{name}-guest-additions
  146. %description -n xorg-x11-drv-vboxmouse
  147. The X.org driver for mouse in VirtualBox guests
  148. %description -l ja -n xorg-x11-drv-vboxmouse
  149. VirtualBox のゲストシステム用の X.org マウスドライバです。
  150. %package -n xorg-x11-drv-vboxvideo
  151. Summary: X.org X11 video driver for VirtualBox guests
  152. Summary(ja): X.org X11 VirtualBox ビデオドライバ
  153. Group: User Interface/X Hardware Support
  154. Requires: %{name}-guest-additions
  155. %description -n xorg-x11-drv-vboxvideo
  156. The X.org driver for video in VirtualBox guests
  157. %description -l ja -n xorg-x11-drv-vboxvideo
  158. VirtualBox のゲストシステム用の X.org ビデオドライバです。
  159. %endif
  160. %prep
  161. %setup -q -n %{distname}
  162. %patch2 -p1 -b .kernelrelease
  163. %patch4 -p1 -b .futex
  164. %patch5 -p1 -b .fix-timesync-req
  165. %patch6 -p1 -b .initscriptname
  166. %patch10 -p1 -b .kernel-headers-2.6.29
  167. %patch12 -p1 -b .disable-update
  168. %patch18 -p1 -b .mkisofs-makeself
  169. %patch100 -p1 -b .buildfix
  170. %patch110 -p1 -b .vine
  171. # remove prebuilt binaries
  172. rm -rf kBuild tools
  173. cat << EOF > LocalConfig.kmk
  174. VBOX_PATH_APP_PRIVATE_ARCH:=%{vboxlibdir}
  175. VBOX_WITH_ORIGIN:=
  176. VBOX_WITH_RUNPATH:=%{vboxlibdir}
  177. VBOX_PATH_APP_PRIVATE:=%{vboxdatadir}
  178. VBOX_WITH_TESTCASES:=
  179. VBOX_WITH_TESTSUITE:=
  180. VBOX_JAVA_HOME := %{_prefix}/lib/jvm/java-openjdk/
  181. VBOX_WITHOUT_ADDITIONS_ISO := 1
  182. EOF
  183. %build
  184. ./configure \
  185. --with-linux=$PWD/fake-linux \
  186. --disable-kmods \
  187. %if ! %{build_doc}
  188. --disable-docs
  189. %endif
  190. %if !%{build_additions}
  191. sed -rie 's/(VBOX_WITH_LINUX_ADDITIONS\s+:=\s+).*/\1/' AutoConfig.kmk
  192. echo VBOX_WITHOUT_ADDITIONS=1 >> LocalConfig.kmk
  193. %endif
  194. . ./env.sh
  195. kmk KBUILD_VERBOSE=2 \
  196. TOOL_YASM_AS=yasm \
  197. VBOX_WITH_REGISTRATION_REQUEST= \
  198. %{?_smp_mflags} all
  199. %install
  200. rm -rf %{buildroot}
  201. # install vbox components
  202. mkdir -p %{buildroot}%{vboxlibdir} %{buildroot}%{vboxdatadir}
  203. (cd out/%{vbox_platform}/release/bin && tar cf - --exclude=additions .) | \
  204. (cd %{buildroot}%{vboxlibdir} && tar xf -)
  205. # move noarch files to vboxdatadir
  206. mv %{buildroot}%{vboxlibdir}/{VBox*.sh,nls,*.desktop,*.png} %{buildroot}%{vboxdatadir}
  207. # install service
  208. mkdir -p %{buildroot}%{_initrddir}
  209. install -m755 %{SOURCE2} %{buildroot}%{_initrddir}/virtualbox
  210. # install wrappers
  211. mkdir -p %{buildroot}%{_sysconfdir}/vbox
  212. cat > %{buildroot}%{_sysconfdir}/vbox/vbox.cfg << EOF
  213. # VirtualBox installation directory
  214. INSTALL_DIR="%{vboxlibdir}"
  215. EOF
  216. mkdir -p %{buildroot}%{_bindir}
  217. ln -s %{vboxdatadir}/VBox.sh %{buildroot}%{_bindir}/%{name}
  218. ln -s %{vboxdatadir}/VBox.sh %{buildroot}%{_bindir}/VBoxManage
  219. ln -s %{vboxdatadir}/VBox.sh %{buildroot}%{_bindir}/VBoxSDL
  220. ln -s %{vboxdatadir}/VBox.sh %{buildroot}%{_bindir}/VBoxHeadless
  221. #ln -s %{vboxdatadir}/VBox.sh %{buildroot}%{_bindir}/vboxwebsrv
  222. # provide network control tools in bindir
  223. ln -s %{vboxlibdir}/VBoxTunctl %{buildroot}%{_bindir}/VBoxTunctl
  224. ln -s %{vboxlibdir}/VBoxNetAdpCtl %{buildroot}%{_bindir}/VBoxNetAdpCtl
  225. ln -s %{vboxlibdir}/VBoxNetDHCP %{buildroot}%{_bindir}/VBoxNetDHCP
  226. install -d %{buildroot}/var/run/%{name}
  227. # install dkms sources
  228. mkdir -p %{buildroot}%{_usr}/src/%{name}-%{version}-%{release}
  229. cat > vboxbuild << EOF
  230. #!/bin/sh
  231. set -e
  232. make -C %{kname} KERN_DIR=\$1
  233. cp -f %{kname}/Module.symvers vboxnetflt
  234. cp -f %{kname}/Module.symvers vboxnetadp
  235. make -C vboxnetflt KERN_DIR=\$1
  236. make -C vboxnetadp KERN_DIR=\$1
  237. EOF
  238. install -m 0755 vboxbuild %{buildroot}%{_usr}/src/%{name}-%{version}-%{release}
  239. mv %{buildroot}%{vboxlibdir}/src/* %{buildroot}%{_usr}/src/%{name}-%{version}-%{release}/
  240. cat > %{buildroot}%{_usr}/src/%{name}-%{version}-%{release}/dkms.conf << EOF
  241. MAKE[0]="./vboxbuild \$kernel_source_dir"
  242. PACKAGE_NAME=%{name}
  243. PACKAGE_VERSION=%{version}-%{release}
  244. DEST_MODULE_LOCATION[0]=/kernel/3rdparty/vbox
  245. BUILT_MODULE_LOCATION[0]=%{kname}/
  246. BUILT_MODULE_NAME[0]=%{kname}
  247. DEST_MODULE_LOCATION[1]=/kernel/3rdparty/vbox
  248. BUILT_MODULE_LOCATION[1]=vboxnetflt/
  249. BUILT_MODULE_NAME[1]=vboxnetflt
  250. DEST_MODULE_LOCATION[2]=/kernel/3rdparty/vbox
  251. BUILT_MODULE_LOCATION[2]=vboxnetadp/
  252. BUILT_MODULE_NAME[2]=vboxnetadp
  253. AUTOINSTALL=yes
  254. EOF
  255. # install udev rules
  256. mkdir -p %{buildroot}%{_sysconfdir}/udev/rules.d/
  257. cat > %{buildroot}%{_sysconfdir}/udev/rules.d/%{name}.rules << EOF
  258. KERNEL=="%{kname}", MODE="0666"
  259. EOF
  260. cat > %{buildroot}%{_sysconfdir}/udev/rules.d/vbox-additions.rules << EOF
  261. KERNEL=="vboxguest", NAME="vboxguest", OWNER="root", MODE="0660"
  262. KERNEL=="vboxuser", NAME="vboxuser", OWNER="root", MODE="0666"
  263. EOF
  264. # install additions
  265. %if %{build_additions}
  266. mkdir -p %{buildroot}%{_datadir}/hal/fdi/policy/20thirdparty
  267. install -m755 %SOURCE3 %{buildroot}%{_initrddir}/vboxadd-timesync
  268. %if %{_dist_release} < vl6
  269. install -m644 src/VBox/Additions/linux/installer/90-vboxguest.fdi %{buildroot}%{_datadir}/hal/fdi/policy/20thirdparty/90-vboxguest.fdi
  270. %endif
  271. install -d %{buildroot}%{_sysconfdir}/udev/rules.d/
  272. install -m644 src/VBox/Additions/linux/installer/70-xorg-vboxmouse.rules %{buildroot}%{_sysconfdir}/udev/rules.d/
  273. install -d %{buildroot}%{_sysconfdir}/X11/xorg.conf.d/
  274. install -m644 src/VBox/Additions/x11/Installer/50-vboxmouse.conf %{buildroot}%{_sysconfdir}/X11/xorg.conf.d/
  275. install -d %{buildroot}%{_sysconfdir}/X11/xinit.d
  276. install -m755 src/VBox/Additions/x11/Installer/98vboxadd-xclient %{buildroot}%{_sysconfdir}/X11/xinit.d
  277. pushd out/%{vbox_platform}/release/bin/additions
  278. install -d %{buildroot}/sbin %{buildroot}%{_sbindir} %{buildroot}/%{_libdir}/dri
  279. install -m755 mount.vboxsf %{buildroot}/sbin/mount.vboxsf
  280. install -m755 VBoxService %{buildroot}%{_sbindir}
  281. install -d %{buildroot}%{_sysconfdir}/security/console.perms.d/
  282. install -m644 %{SOURCE4} %{buildroot}%{_sysconfdir}/security/console.perms.d/
  283. install -m755 VBoxClient %{buildroot}%{_bindir}
  284. install -m755 VBoxControl %{buildroot}%{_bindir}
  285. install -m755 VBoxOGL*.so %{buildroot}%{_libdir}
  286. ln -s -f ../VBoxOGL.so %{buildroot}%{_libdir}/dri/vboxvideo_dri.so
  287. install -d %{buildroot}%{_sysconfdir}/modprobe.preload.d
  288. cat > %{buildroot}%{_sysconfdir}/modprobe.preload.d/vbox-guest-additions << EOF
  289. vboxadd
  290. EOF
  291. install -d %{buildroot}%{_libdir}/xorg/modules/{input,drivers}
  292. install vboxmouse_drv_17.so %{buildroot}%{_libdir}/xorg/modules/input/vboxmouse_drv.so
  293. install vboxvideo_drv_17.so %{buildroot}%{_libdir}/xorg/modules/drivers/vboxvideo_drv.so
  294. mkdir -p %{buildroot}%{_usr}/src/vboxadditions-%{version}-%{release}
  295. cat > %{buildroot}%{_usr}/src/vboxadditions-%{version}-%{release}/dkms.conf << EOF
  296. PACKAGE_NAME=vboxadditions
  297. PACKAGE_VERSION=%{version}-%{release}
  298. MAKE[0]="make -C \$kernel_source_dir M=\$dkms_tree/\$module/\$module_version/build/vboxguest &&
  299. cp
  300. \$dkms_tree/\$module/\$module_version/build/vboxguest/Module.symvers \$dkms_tree/\$module/\$module_version/build/vboxsf &&
  301. make -C \$kernel_source_dir M=\$dkms_tree/\$module/\$module_version/build/vboxsf &&
  302. cp \$dkms_tree/\$module/\$module_version/build/vboxsf/Module.symvers \$dkms_tree/\$module/\$module_version/build/vboxvideo &&
  303. make -C \$kernel_source_dir M=\$dkms_tree/\$module/\$module_version/build/vboxvideo"
  304. EOF
  305. i=0
  306. for kmod in vboxguest vboxsf vboxvideo; do
  307. mkdir -p %{buildroot}%{_usr}/src/vboxadditions-%{version}-%{release}/$kmod
  308. cp -a src/$kmod/* %{buildroot}%{_usr}/src/vboxadditions-%{version}-%{release}/$kmod/
  309. cat >> %{buildroot}%{_usr}/src/vboxadditions-%{version}-%{release}/dkms.conf << EOF
  310. DEST_MODULE_LOCATION[$i]=/kernel/3rdparty/vbox
  311. BUILT_MODULE_LOCATION[$i]=$kmod/
  312. BUILT_MODULE_NAME[$i]=$kmod
  313. EOF
  314. i=$((i+1))
  315. done
  316. cat >> %{buildroot}%{_usr}/src/vboxadditions-%{version}-%{release}/dkms.conf << EOF
  317. CLEAN="make -C \$kernel_source_dir M=\$dkms_tree/\$module/\$module_version/build/vboxguest clean &&
  318. make -C \$kernel_source_dir M=\$dkms_tree/\$module/\$module_version/build/vboxsf clean &&
  319. make -C \$kernel_source_dir M=\$dkms_tree/\$module/\$module_version/build/vboxvideo clean "
  320. AUTOINSTALL=yes
  321. EOF
  322. popd
  323. 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
  324. %endif
  325. # install icons
  326. mkdir -p %{buildroot}%{_iconsdir}
  327. install -m644 %{SOURCE10} %{buildroot}%{_iconsdir}/
  328. # install menu entries
  329. mkdir -p %{buildroot}%{_datadir}/applications
  330. cat > %{buildroot}%{_datadir}/applications/%{name}.desktop << EOF
  331. [Desktop Entry]
  332. Name=VirtualBox
  333. Comment=Full virtualizer for x86 hardware
  334. Comment[ja]=x86 ハードウエアの完全仮想化システム
  335. Exec=%{_bindir}/%{name}
  336. Icon=%{name}
  337. Type=Application
  338. Terminal=false
  339. Categories=System;Emulator;
  340. EOF
  341. # add missing makefile for kernel module
  342. install -m644 src/VBox/HostDrivers/Support/linux/Makefile %{buildroot}%{_usr}/src/%{name}-%{version}-%{release}/
  343. # remove unpackaged files
  344. rm -rf %{buildroot}%{vboxlibdir}/{src,sdk,testcase}
  345. rm -f %{buildroot}%{vboxlibdir}/tst*
  346. rm -f %{buildroot}%{vboxlibdir}/vboxkeyboard.tar.gz
  347. rm -f %{buildroot}%{vboxlibdir}/SUP*
  348. rm -f %{buildroot}%{vboxlibdir}/xpidl
  349. %clean
  350. rm -rf %{buildroot}
  351. %post
  352. /sbin/chkconfig --add virtualbox
  353. %postun
  354. if [ "$1" -ge "1" ]; then
  355. /sbin/service virtualbox condrestart > /dev/null 2>&1 || :
  356. fi
  357. %preun
  358. if [ $1 = 0 ]; then
  359. service virtualbox stop > /dev/null 2>&1 ||:
  360. /sbin/chkconfig --del virtualbox
  361. fi
  362. %post -n dkms-%{name}
  363. set -x
  364. /usr/sbin/dkms --rpm_safe_upgrade add -m %{name} -v %{version}-%{release} ||:
  365. /usr/sbin/dkms --rpm_safe_upgrade build -m %{name} -v %{version}-%{release} ||:
  366. /usr/sbin/dkms --rpm_safe_upgrade install -m %{name} -v %{version}-%{release} --force ||:
  367. /sbin/modprobe %{kname} >/dev/null 2>&1 || :
  368. /sbin/modprobe vboxnetflt >/dev/null 2>&1 || :
  369. %preun -n dkms-%{name}
  370. # rmmod can fail
  371. /sbin/rmmod vboxnetflt >/dev/null 2>&1
  372. /sbin/rmmod %{kname} >/dev/null 2>&1
  373. set -x
  374. /usr/sbin/dkms --rpm_safe_upgrade remove -m %{name} -v %{version}-%{release} --all || :
  375. %if %{build_additions}
  376. %post guest-additions
  377. /sbin/chkconfig --add vboxadd-timesync
  378. %postun guest-additions
  379. if [ "$1" -ge "1" ]; then
  380. /sbin/service vboxadd-timesync condrestart > /dev/null 2>&1 || :
  381. fi
  382. %preun guest-additions
  383. if [ $1 = 0 ]; then
  384. service vboxadd-timesync stop > /dev/null 2>&1 ||:
  385. /sbin/chkconfig --del vboxadd-timesync
  386. fi
  387. %post -n dkms-vboxadd
  388. set -x
  389. /usr/sbin/dkms --rpm_safe_upgrade add -m vboxadditions -v %{version}-%{release} ||:
  390. /usr/sbin/dkms --rpm_safe_upgrade build -m vboxadditions -v %{version}-%{release} ||:
  391. /usr/sbin/dkms --rpm_safe_upgrade install -m vboxadditions -v %{version}-%{release} ||:
  392. :
  393. %preun -n dkms-vboxadd
  394. set -x
  395. /usr/sbin/dkms --rpm_safe_upgrade remove -m vboxadditions -v %{version}-%{release} --all ||:
  396. :
  397. %endif
  398. %files
  399. %defattr(-,root,root)
  400. %config %{_sysconfdir}/vbox/vbox.cfg
  401. %{_bindir}/%{name}
  402. %{_bindir}/VBoxManage
  403. %{_bindir}/VBoxSDL
  404. %{_bindir}/VBoxHeadless
  405. %{_bindir}/VBoxTunctl
  406. %{_bindir}/VBoxNetAdpCtl
  407. %{_bindir}/VBoxNetDHCP
  408. #%{_bindir}/vboxwebsrv
  409. %{vboxlibdir}
  410. %attr(4711,root,root) %{vboxlibdir}/VBoxHeadless
  411. %attr(4711,root,root) %{vboxlibdir}/VBoxSDL
  412. %attr(4711,root,root) %{vboxlibdir}/%{name}
  413. %attr(4711,root,root) %{vboxlibdir}/VBoxNetAdpCtl
  414. %attr(4711,root,root) %{vboxlibdir}/VBoxNetDHCP
  415. %attr(644,root,root) %{vboxlibdir}/*.gc
  416. %attr(644,root,root) %{vboxlibdir}/*.r0
  417. %{vboxdatadir}
  418. # initscripts integration
  419. %{_initrddir}/virtualbox
  420. %config %{_sysconfdir}/udev/rules.d/%{name}.rules
  421. %dir /var/run/%{name}
  422. # desktop integration
  423. %{_iconsdir}/*.png
  424. %{_datadir}/applications/%{name}.desktop
  425. %files -n dkms-%{name}
  426. %defattr(-,root,root)
  427. %{_usr}/src/%{name}-%{version}-%{release}
  428. %if %{build_additions}
  429. %files guest-additions
  430. %defattr(-,root,root)
  431. /sbin/mount.vboxsf
  432. %{_initrddir}/vboxadd-timesync
  433. %{_sbindir}/VBoxService
  434. %{_bindir}/VBoxClient
  435. %{_bindir}/VBoxControl
  436. %{_sysconfdir}/security/console.perms.d/60-vboxadd.perms
  437. %{_sysconfdir}/udev/rules.d/vbox-additions.rules
  438. %{_sysconfdir}/X11/xinit.d/98vboxadd-xclient
  439. %{_sysconfdir}/modprobe.preload.d/vbox-guest-additions
  440. %files -n xorg-x11-drv-vboxmouse
  441. %defattr(-,root,root)
  442. %{_libdir}/xorg/modules/input/vboxmouse_drv.so
  443. %{_sysconfdir}/X11/xorg.conf.d/*.conf
  444. %{_sysconfdir}/udev/rules.d/*.rules
  445. %if %{_dist_release} < vl6
  446. %{_datadir}/hal/fdi/policy/20thirdparty/90-vboxguest.fdi
  447. %endif
  448. %files -n xorg-x11-drv-vboxvideo
  449. %defattr(-,root,root)
  450. %{_libdir}/VBoxOGL*
  451. %{_libdir}/xorg/modules/drivers/vboxvideo_drv.so
  452. %{_libdir}/dri/vboxvideo_dri.so
  453. %files -n dkms-vboxadd
  454. %defattr(-,root,root)
  455. %{_usr}/src/vbox*-%{version}-%{release}
  456. %endif
  457. %changelog
  458. * Fri May 13 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 4.0.6-1
  459. - update to 4.0.6
  460. - add BR: java-1.6.0-openjdk-devel
  461. * Fri Jan 14 2011 Shu KONNO <owa@bg.wakwak.com> 3.2.12-3
  462. - rebuilt with openssl-1.0.0c
  463. - added vboxadd-timesync.vine instead of vboxadd-service.sh
  464. * Sat Dec 04 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 3.2.12-2
  465. - add BR: pam-devel
  466. - rebuild with python-2.6
  467. * Fri Dec 03 2010 Shu KONNO <owa@bg.wakwak.com> 3.2.12-1
  468. - updated VirtualBox to 3.2.12-OSE
  469. * Mon Aug 23 2010 Shu KONNO <owa@bg.wakwak.com> 3.2.8-1
  470. - new upstream release
  471. * Sat Jun 12 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 3.2.4-2
  472. - add patch110 to fix vboxadd-timesync script
  473. * Thu Jun 10 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 3.2.4-1
  474. - new upstream release
  475. * Sat May 22 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 3.2.0-1
  476. - new upstream release
  477. - drop wined3d patch as the Windows guest additions provide
  478. Direct3D acceleration.
  479. - add xorg.conf snippet for new xserver
  480. - vboxvfs renamed to vboxsf
  481. * Mon Apr 19 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 3.1.6-2
  482. - fix initscript
  483. * Sun Apr 18 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 3.1.6-1
  484. - new upstream release
  485. * Tue Nov 17 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 3.0.10-1
  486. - new upstream release
  487. - add missing BR:
  488. * Mon Sep 21 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 3.0.6-1
  489. - new upstream release
  490. * Wed Aug 05 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 3.0.4-1
  491. - new upstream release
  492. - add translated summaries and descriptions
  493. * Mon Jul 13 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 3.0.2-1
  494. - new upstream release
  495. * Wed Jul 01 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 3.0.0-1
  496. - new upstream release
  497. * Tue Jun 09 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.4-3
  498. - change Group: of dkms-VirtualBox to System Environment/Kernel
  499. * Tue Jun 02 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.4-2
  500. - remove modprobe.d/vbox-guest-additions
  501. * Sun May 31 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.4-1
  502. - update to 2.2.4
  503. * Sun May 31 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.2-1
  504. - initial build for Vine Linux
  505. - update to 2.2.2
  506. * Wed Apr 22 2009 Pascal Terjan <pterjan@mandriva.org> 2.2.0-4mdv2009.1
  507. + Revision: 368679
  508. - Fix mkrpm template
  509. * Tue Apr 21 2009 Pascal Terjan <pterjan@mandriva.org> 2.2.0-3mdv2009.1
  510. + Revision: 368502
  511. - BuildRequires:dkms-minimal
  512. - Obsolete -latest dkms binary packages
  513. * Wed Apr 15 2009 Frederic Crozat <fcrozat@mandriva.com> 2.2.0-2mdv2009.1
  514. + Revision: 367571
  515. - Patch15: kill vboxclient if leftover from previous X11 session
  516. - Patch14 (Sun): fix OpenGL support for Linux Guest additions
  517. - improve packaging to be more LSB compliant
  518. * Fri Apr 10 2009 Frederic Crozat <fcrozat@mandriva.com> 2.2.0-1mdv2009.1
  519. + Revision: 365828
  520. - Release 2.2.0
  521. - enable OpenGL pass-through. Caveat : Linux guest support is not working when building guest additions with Open source edition (under investigation)
  522. - move location of fdi file (fix mouse integration support when using HAL)
  523. - merge all guest additions kernel module in one single DKMS (pterjan)
  524. - Enable webservice
  525. - Remove patch9, no longer needed (when using kernel 2.6.29.x, you MUST use kernel 2.6.29.1 or later)
  526. - Regenerate patches 8, 10
  527. - Patch11: add Wine Direct3D guest additions option (Debian)
  528. - Patch12: disable update notification (Debian)
  529. - Patch13: make network settings more intuitive (Debian)
  530. - Add missing dependencies in guest additions package
  531. - No longer use gcc 4.2, build fine with latest gcc 4.3
  532. - Replace source3 with upstream version
  533. - Update source4 to change permissions on both guest additions devices
  534. - Fix permissions on non .so files
  535. * Mon Mar 09 2009 Pascal Terjan <pterjan@mandriva.org> 2.1.4-5mdv2009.1
  536. + Revision: 353280
  537. - vboxvfs needs vboxadd
  538. * Wed Mar 04 2009 Frederic Crozat <fcrozat@mandriva.com> 2.1.4-4mdv2009.1
  539. + Revision: 348336
  540. - Force rebuild of dkms modules
  541. * Wed Feb 25 2009 Herton Ronaldo Krzesinski <herton@mandriva.com.br> 2.1.4-3mdv2009.1
  542. + Revision: 344966
  543. - Copy Module.symvers for vboxnetflt dkms build, needed with
  544. CONFIG_MODVERSIONS enabled in latest cooker kernels.
  545. * Wed Feb 25 2009 Herton Ronaldo Krzesinski <herton@mandriva.com.br> 2.1.4-2mdv2009.1
  546. + Revision: 344896
  547. - Apply fix for VM load failure with kernels 2.6.29-rc5 or later
  548. (#48096, http://www.virtualbox.org/ticket/3403).
  549. - Fix building with kernel-headers-2.6.29*
  550. * Tue Feb 17 2009 Frederik Himpe <fhimpe@mandriva.org> 2.1.4-1mdv2009.1
  551. + Revision: 342236
  552. - Update to new version 2.1.4
  553. - Fix source URL
  554. * Thu Jan 22 2009 Frederic Crozat <fcrozat@mandriva.com> 2.1.2-2mdv2009.1
  555. + Revision: 332593
  556. - Use xorg 1.6 drivers when building cooker guest addition packages
  557. * Thu Jan 22 2009 Funda Wang <fundawang@mandriva.org> 2.1.2-1mdv2009.1
  558. + Revision: 332404
  559. - specify CC4.2
  560. - New version 2.1.2
  561. - rediff libpath patch
  562. * Sun Jan 04 2009 Colin Guthrie <cguthrie@mandriva.org> 2.1.0-5mdv2009.1
  563. + Revision: 324525
  564. - Rebuild mouse and display drivers for xserver 1.6
  565. * Thu Dec 25 2008 Michael Scherer <misc@mandriva.org> 2.1.0-4mdv2009.1
  566. + Revision: 318540
  567. - rebuild for new python
  568. * Fri Dec 19 2008 Frederic Crozat <fcrozat@mandriva.com> 2.1.0-3mdv2009.1
  569. + Revision: 316288
  570. - Fix guest additions for cooker, we ship Xorg 1.5 now
  571. - Ship fdi file for vboxmouse
  572. * Fri Dec 19 2008 Adam Williamson <awilliamson@mandriva.org> 2.1.0-2mdv2009.1
  573. + Revision: 316021
  574. - oops, finish fixing up initscript
  575. * Fri Dec 19 2008 Adam Williamson <awilliamson@mandriva.org> 2.1.0-1mdv2009.1
  576. + Revision: 316019
  577. - adjust initscript and dkms.conf for the fact that there's now two necessary
  578. kernel modules for the master: vboxdrv and vboxnetflt
  579. - drop mdvconfig.patch: this stub does nothing useful, and breaks the build
  580. (see fcrozat's mail on Cooker)
  581. - VBoxAddIF and VBoxDeleteIF are now obsolete and not provided
  582. + Frederic Crozat <fcrozat@mandriva.com>
  583. - Release 2.1.0
  584. - Regenerate patch1
  585. - update buildrequires
  586. * Sun Nov 30 2008 Frederik Himpe <fhimpe@mandriva.org> 2.0.6-2mdv2009.1
  587. + Revision: 308552
  588. - Rebuild mouse and display drivers for xserver 1.5
  589. * Wed Nov 26 2008 Funda Wang <fundawang@mandriva.org> 2.0.6-1mdv2009.1
  590. + Revision: 306865
  591. - New version 2.0.6
  592. * Mon Nov 03 2008 Funda Wang <fundawang@mandriva.org> 2.0.4-1mdv2009.1
  593. + Revision: 299348
  594. - New version 2.0.4
  595. * Mon Sep 15 2008 Frederic Crozat <fcrozat@mandriva.com> 2.0.2-2mdv2009.0
  596. + Revision: 284854
  597. - Patch8: disable version check at startup
  598. * Sat Sep 13 2008 Frederik Himpe <fhimpe@mandriva.org> 2.0.2-1mdv2009.0
  599. + Revision: 284544
  600. - Update to bugfix update 2.0.2
  601. * Tue Sep 09 2008 Olivier Blin <oblin@mandriva.com> 2.0.0-3mdv2009.0
  602. + Revision: 283015
  603. - build guest additions on x86_64 too (#43593)
  604. + Frederic Crozat <fcrozat@mandriva.com>
  605. - Patch7: fix QT4 detection on x86-64 on Mandriva 2008.1
  606. * Thu Sep 04 2008 Frederic Crozat <fcrozat@mandriva.com> 2.0.0-1mdv2009.0
  607. + Revision: 280850
  608. - Fix BuildRequires
  609. - Release 2.0.0
  610. - Remove patches 3, 7 (merged upstream)
  611. * Mon Sep 01 2008 Herton Ronaldo Krzesinski <herton@mandriva.com.br> 1.6.4-4mdv2009.0
  612. + Revision: 278071
  613. - Added patch to allow VirtualBox kernel module to build with
  614. Linux 2.6.27
  615. + Pixel <pixel@mandriva.com>
  616. - increase release number
  617. - use gcc4.2 to build the recompiler (not ported to gcc 4.3 yet)
  618. * Wed Aug 06 2008 Olivier Blin <oblin@mandriva.com> 1.6.4-2mdv2009.0
  619. + Revision: 264273
  620. - create /var/run/VirtualBox (#41963)
  621. - use tunctl from the tunctl package while VBoxTunctl does not build
  622. * Tue Aug 05 2008 Olivier Blin <oblin@mandriva.com> 1.6.4-1mdv2009.0
  623. + Revision: 264016
  624. - do not include VBoxTunctl for now (build is broken in upstream tarball)
  625. - rediff misc_register patch (the register part has been implemented upstream, I should submit the deregister hunks)
  626. - fix 1.6.4 build by not building tunctl (some Makefile.kmk are missing)
  627. - 1.6.4
  628. * Tue Jul 29 2008 Frederic Crozat <fcrozat@mandriva.com> 1.6.2-2mdv2009.0
  629. + Revision: 252777
  630. - Don't use gcc 3.3 for build on 2008.1 or earlier
  631. * Wed Jul 09 2008 Olivier Blin <oblin@mandriva.com> 1.6.2-1mdv2009.0
  632. + Revision: 232889
  633. - set again linux sources path in configure
  634. - use gcc 3.3 to build the recompiler (not ported to gcc 4.3 yet)
  635. - use kernel-devel-latest instead of kernel-source-latest
  636. - use a prepared copy of the linux tree (for linux/bounds.h)
  637. + Frederic Crozat <fcrozat@mandriva.com>
  638. - Release 1.6.2
  639. - Regenerate patch5
  640. - Fix duplicated line in specfile
  641. + Pixel <pixel@mandriva.com>
  642. - rpm filetriggers deprecates update_menus/update_scrollkeeper/update_mime_database/update_icon_cache/update_desktop_database/post_install_gconf_schemas
  643. * Fri May 16 2008 Frederic Crozat <fcrozat@mandriva.com> 1.6.0-4mdv2009.0
  644. + Revision: 208160
  645. - Fix seamless mode in guest additions subpackage
  646. * Thu May 15 2008 Anssi Hannula <anssi@mandriva.org> 1.6.0-3mdv2009.0
  647. + Revision: 207692
  648. - rename VBoxAddIF.sh and VBoxDeleteIF.sh to VBoxAddIF and VBoxDeleteIF
  649. to match original names and documentation
  650. * Wed May 14 2008 Frederic Crozat <fcrozat@mandriva.com> 1.6.0-2mdv2009.0
  651. + Revision: 207235
  652. - Replace source1 with patch 6 (use up to date VBox.sh script)
  653. - Ensure VBoxAddIF/VBoxDeleteIF scripts are packaged, as well as VBoxTunctl (Mdv bug #40769)
  654. - package VBoxHeadless (Mdv bug #40771)
  655. * Fri May 09 2008 Olivier Blin <oblin@mandriva.com> 1.6.0-1mdv2009.0
  656. + Revision: 205313
  657. - try harder to disable additions on x86_64
  658. - buildrequire libxslt-devel
  659. - adapt to vboxadd-xclient being renamed as VBoxClient
  660. - rediff futex patch
  661. - rediff misc_register patch
  662. - 1.6.0
  663. - revert BUILT_MODULE_NAME addition, the bug is fixed in dkms
  664. + Anssi Hannula <anssi@mandriva.org>
  665. - add BUILT_MODULE_NAME to dkms.conf of vboxadd and vboxvfs (fixes DKMS
  666. error)
  667. * Tue Feb 26 2008 Olivier Blin <oblin@mandriva.com> 1.5.6-1mdv2008.1
  668. + Revision: 175619
  669. - 1.5.6
  670. - rediff KERNELRELEASE patch
  671. * Tue Feb 26 2008 Olivier Blin <oblin@mandriva.com> 1.5.4-5mdv2008.1
  672. + Revision: 175610
  673. - try to start dkms instead of vboxadd in vboxadd-timesync service (since modules are loaded from modprobe.preload.d, #36728)
  674. * Fri Feb 08 2008 Thierry Vignaud <tvignaud@mandriva.com> 1.5.4-4mdv2008.1
  675. + Revision: 163970
  676. - drop old menu
  677. + Frederic Crozat <fcrozat@mandriva.com>
  678. - Really disable pulseaudio support on 2008.0 or older
  679. * Thu Jan 10 2008 Frederic Crozat <fcrozat@mandriva.com> 1.5.4-3mdv2008.1
  680. + Revision: 147602
  681. - Use correct version of x11 mouse and video additional driver when used on 2008.1 (xorg 1.4) and 2008.0
  682. - Only build pulseaudio support for 2008.1
  683. * Wed Jan 09 2008 Olivier Blin <oblin@mandriva.com> 1.5.4-2mdv2008.1
  684. + Revision: 147006
  685. - fix dkms build for kernels different from running kernel
  686. * Thu Jan 03 2008 Olivier Blin <oblin@mandriva.com> 1.5.4-1mdv2008.1
  687. + Revision: 142711
  688. - buildrequire pulseaudio-devel
  689. - rediff libpath patch
  690. - remove 2.6.24 build fix, fixed upstream
  691. - 1.5.4
  692. - restore BuildRoot
  693. + Pascal Terjan <pterjan@mandriva.org>
  694. - Switch to Debian patch for 2.6.24
  695. - Re-create the 2.6.24 patch, some bits got lost
  696. + Thierry Vignaud <tvignaud@mandriva.com>
  697. - kill re-definition of %%buildroot on Pixel's request
  698. - kill explicit icon extension
  699. + Giuseppe Ghibò <ghibo@mandriva.com>
  700. - Use kernel-source-latest in BuildRequires as conditional.
  701. - Add conditional build flags for older release.
  702. - Let Patch5 conditional.
  703. * Fri Nov 30 2007 Pascal Terjan <pterjan@mandriva.org> 1.5.2-3mdv2008.1
  704. + Revision: 114076
  705. - Improve 2.6.24 patch so that it should still build with older kernels
  706. * Fri Nov 30 2007 Pascal Terjan <pterjan@mandriva.org> 1.5.2-2mdv2008.1
  707. + Revision: 114047
  708. - Fix other parts to build with 2.6.24
  709. - Fix vboxdrv for 2.6.24
  710. * Tue Nov 13 2007 Olivier Blin <oblin@mandriva.com> 1.5.2-1mdv2008.1
  711. + Revision: 108363
  712. - remove keyboards patch (was from upstream svn)
  713. - rediff kernelrelease patch
  714. - rediff libpath patch
  715. - 1.5.2
  716. * Thu Oct 04 2007 Olivier Blin <oblin@mandriva.com> 1.5.0-6mdv2008.0
  717. + Revision: 95447
  718. - really apply misc_register patch (so that vboxadd devices are automatically created)
  719. - add release in dkms PACKAGE_VERSION to ease upgrades
  720. * Sat Sep 29 2007 Olivier Blin <oblin@mandriva.com> 1.5.0-5mdv2008.0
  721. + Revision: 93837
  722. - require kmod(vboxdrv) instead of dkms package
  723. - do not mark initscript as config file
  724. - move initscripts and udev rules out of dkms package (so that it works when using dkms prebuilt modules)
  725. * Sat Sep 29 2007 Olivier Blin <oblin@mandriva.com> 1.5.0-4mdv2008.0
  726. + Revision: 93812
  727. - add vboxadd-timesync service
  728. - add pam_console perms file to assign vboxadd device to console user
  729. - use misc_register() to register vboxadd device so that /dev/vboxadd gets created automatically by udev
  730. * Fri Sep 28 2007 Olivier Blin <oblin@mandriva.com> 1.5.0-3mdv2008.0
  731. + Revision: 93770
  732. - add vboxadd-xclient xinit.d script
  733. - release new additions, but we still need to fix mknod for vboxadd
  734. (or use device_create() in kernel module), set console perms for
  735. vboxadd in console.perms.d, and add timesync initscript
  736. - make guest additions package require X11 drivers
  737. - make x11 driver packages suggest virtualbox-guest-additions
  738. - add virtualbox-guest-additions package (with xclient, timesync, mount.vboxsf)
  739. - add dkms-vboxadd and dkms-vboxvfs packages
  740. * Fri Sep 28 2007 Olivier Blin <oblin@mandriva.com> 1.5.0-2mdv2008.0
  741. + Revision: 93534
  742. - build additions on ix86 only
  743. - fix support for Brazilian, Belgian, US intl and US dvorak keyboards and add support for multimedia keys (from upstream SVN)
  744. - buildrequire libstdc++-static-devel
  745. - buildrequire libxt-devel
  746. - buildrequire kernel-source-latest, since iurt/urpmi don't install latest kernel-source automatically
  747. - buildrequire kernel-source
  748. - package mouse guest addition in x11-driver-input-vboxmouse
  749. - package video guest addition in x11-driver-video-vboxvideo
  750. - build VirtualBox additions
  751. * Mon Sep 03 2007 Olivier Blin <oblin@mandriva.com> 1.5.0-1mdv2008.0
  752. + Revision: 78607
  753. - drop libstdc++5 BuildRequires
  754. - drop unapplied x86_64 NMI watchdog disabling patch (merged upstream)
  755. - 1.5.0
  756. - rediff mdvconfig patch
  757. + Thierry Vignaud <tvignaud@mandriva.com>
  758. - kill desktop-file-validate's 'warning: key "Encoding" in group "Desktop Entry" is deprecated'
  759. * Fri Jun 08 2007 Per Øyvind Karlsen <peroyvind@mandriva.org> 1.4.0-1mdv2008.0
  760. + Revision: 37085
  761. - from Jos?\195?\169 Melo <mmodem00@gmail.com>:
  762. o 1.4.0
  763. o update patch:2 since is needed to load (modprobe) vbox driver in kernel-2.6.17
  764. 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
  765. o add missing buildrequire hal-devel
  766. * Thu Mar 15 2007 Gwenole Beauchesne <gbeauchesne@mandriva.com> 1.3.8-1mdv2007.1
  767. + Revision: 144313
  768. - add should-start: dkms to initscript (#29523)
  769. - 1.3.8
  770. * hard reset network device on reboot
  771. * fix issues with IBM JVM 1.4.2 in Linux guests
  772. * add support for X.org 7.2.x in Linux guest additions
  773. * Fri Mar 02 2007 Gwenole Beauchesne <gbeauchesne@mandriva.com> 1.3.6-1mdv2007.1
  774. + Revision: 131492
  775. - disable NMIs on Core 2 platforms too
  776. - 1.3.6
  777. * fix some GUI issues
  778. * fix OpenBSD 4.0 support
  779. * fix CD/DVD-ROM detection in Windows Vista guests
  780. * fix networking issues with Windows NT 4.0 guests
  781. * fix some ALSA problems that could cause system reboots
  782. * Mon Feb 12 2007 Gwenole Beauchesne <gbeauchesne@mandriva.com> 1.3.4-1mdv2007.1
  783. + Revision: 119895
  784. - 1.3.4
  785. * Mon Feb 12 2007 Gwenole Beauchesne <gbeauchesne@mandriva.com> 1.3.3.20070209-1mdv2007.1
  786. + Revision: 119017
  787. - SVN updates (2007/02/09):
  788. * additional 64-bit fixes
  789. * asynchronous packets transmission in NIC code
  790. * Sat Feb 03 2007 Gwenole Beauchesne <gbeauchesne@mandriva.com> 1.3.3.20070202-1mdv2007.1
  791. + Revision: 116064
  792. - various 64-bit fixes
  793. - updates from SVN (2007/02/02):
  794. * initial 64-bit host support
  795. * fix IDE for Open Solaris 10
  796. * add VDI compacting to the GUI
  797. * Sat Jan 27 2007 Gwenole Beauchesne <gbeauchesne@mandriva.com> 1.3.3-1mdv2007.1
  798. + Revision: 114276
  799. - initial mandriva linux package