VirtualBox-vl.spec 34 KB

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