VirtualBox-vl.spec 36 KB

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