VirtualBox-vl.spec 36 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053
  1. %define version 4.1.14
  2. %define release 2%{?_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 112
  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. * Wed May 02 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 4.1.14-2
  485. - define xserverabi to 112 on VineSeed (to sync with recent xorg updates)
  486. * Tue May 01 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 4.1.14-1
  487. - new upstream release
  488. * Mon Apr 16 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 4.1.12-1
  489. - new upstream release
  490. * Fri Mar 16 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 4.1.10-1
  491. - new upstream release
  492. * Tue Feb 21 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 4.1.8-3
  493. - rebuild with python-2.7
  494. * Mon Jan 16 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 4.1.8-2
  495. - remove VBOX_VERSION_STRING=... from kmk command line
  496. - add VBOX_WITH_UPDATE_REQUEST= to kmk command line
  497. * Wed Dec 21 2011 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 4.1.8-1
  498. - new upstream release
  499. - drop Patch12 (merged into upstream)
  500. * Sat Nov 5 2011 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 4.1.6-2
  501. - explicitly specify xserverabi for vl5, vl6, vl7 (and up)
  502. * Sat Nov 5 2011 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 4.1.6-1
  503. - new upstream release
  504. - drop Patch101 (merged into upstream)
  505. * Mon Oct 31 2011 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 4.1.4-2
  506. - fix the path 98vboxadd-xclient script should be installed
  507. (s|/etc/X11/xinit.d|/etc/X11/xinit/xinitrc.d|)
  508. * Tue Oct 4 2011 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 4.1.4-1
  509. - new upstream release
  510. - use the kernel mouse driver for all setups where we previously
  511. autoloaded vboxmouse (see: https://www.virtualbox.org/changeset/38784)
  512. * Wed Aug 24 2011 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 4.1.2-1
  513. - new upstream release
  514. - drop Patch50; fix Patch12 & Patch101
  515. - specify VBOX_VERSION_STRING on kmk to declare third-party (VINE) build
  516. see: http://www.virtualbox.org/wiki/Editions
  517. * Tue Aug 9 2011 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 4.1.0-2
  518. - add Patch50 to fix random kernel panic during shutdown on some environments
  519. (see: http://www.virtualbox.org/ticket/9305)
  520. * Wed Jul 20 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 4.1.0-1
  521. - update to 4.1.0
  522. * Fri Jul 08 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 4.0.10-1
  523. - update to 4.0.10
  524. * Sun May 29 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 4.0.8-1
  525. - update to 4.0.8
  526. - include xserver 1.10 drivers
  527. * Fri May 13 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 4.0.6-1
  528. - update to 4.0.6
  529. - add BR: java-1.6.0-openjdk-devel
  530. * Fri Jan 14 2011 Shu KONNO <owa@bg.wakwak.com> 3.2.12-3
  531. - rebuilt with openssl-1.0.0c
  532. - added vboxadd-timesync.vine instead of vboxadd-service.sh
  533. * Sat Dec 04 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 3.2.12-2
  534. - add BR: pam-devel
  535. - rebuild with python-2.6
  536. * Fri Dec 03 2010 Shu KONNO <owa@bg.wakwak.com> 3.2.12-1
  537. - updated VirtualBox to 3.2.12-OSE
  538. * Mon Aug 23 2010 Shu KONNO <owa@bg.wakwak.com> 3.2.8-1
  539. - new upstream release
  540. * Sat Jun 12 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 3.2.4-2
  541. - add patch110 to fix vboxadd-timesync script
  542. * Thu Jun 10 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 3.2.4-1
  543. - new upstream release
  544. * Sat May 22 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 3.2.0-1
  545. - new upstream release
  546. - drop wined3d patch as the Windows guest additions provide
  547. Direct3D acceleration.
  548. - add xorg.conf snippet for new xserver
  549. - vboxvfs renamed to vboxsf
  550. * Mon Apr 19 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 3.1.6-2
  551. - fix initscript
  552. * Sun Apr 18 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 3.1.6-1
  553. - new upstream release
  554. * Tue Nov 17 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 3.0.10-1
  555. - new upstream release
  556. - add missing BR:
  557. * Mon Sep 21 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 3.0.6-1
  558. - new upstream release
  559. * Wed Aug 05 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 3.0.4-1
  560. - new upstream release
  561. - add translated summaries and descriptions
  562. * Mon Jul 13 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 3.0.2-1
  563. - new upstream release
  564. * Wed Jul 01 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 3.0.0-1
  565. - new upstream release
  566. * Tue Jun 09 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.4-3
  567. - change Group: of dkms-VirtualBox to System Environment/Kernel
  568. * Tue Jun 02 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.4-2
  569. - remove modprobe.d/vbox-guest-additions
  570. * Sun May 31 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.4-1
  571. - update to 2.2.4
  572. * Sun May 31 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.2-1
  573. - initial build for Vine Linux
  574. - update to 2.2.2
  575. * Wed Apr 22 2009 Pascal Terjan <pterjan@mandriva.org> 2.2.0-4mdv2009.1
  576. + Revision: 368679
  577. - Fix mkrpm template
  578. * Tue Apr 21 2009 Pascal Terjan <pterjan@mandriva.org> 2.2.0-3mdv2009.1
  579. + Revision: 368502
  580. - BuildRequires:dkms-minimal
  581. - Obsolete -latest dkms binary packages
  582. * Wed Apr 15 2009 Frederic Crozat <fcrozat@mandriva.com> 2.2.0-2mdv2009.1
  583. + Revision: 367571
  584. - Patch15: kill vboxclient if leftover from previous X11 session
  585. - Patch14 (Sun): fix OpenGL support for Linux Guest additions
  586. - improve packaging to be more LSB compliant
  587. * Fri Apr 10 2009 Frederic Crozat <fcrozat@mandriva.com> 2.2.0-1mdv2009.1
  588. + Revision: 365828
  589. - Release 2.2.0
  590. - enable OpenGL pass-through. Caveat : Linux guest support is not working when building guest additions with Open source edition (under investigation)
  591. - move location of fdi file (fix mouse integration support when using HAL)
  592. - merge all guest additions kernel module in one single DKMS (pterjan)
  593. - Enable webservice
  594. - Remove patch9, no longer needed (when using kernel 2.6.29.x, you MUST use kernel 2.6.29.1 or later)
  595. - Regenerate patches 8, 10
  596. - Patch11: add Wine Direct3D guest additions option (Debian)
  597. - Patch12: disable update notification (Debian)
  598. - Patch13: make network settings more intuitive (Debian)
  599. - Add missing dependencies in guest additions package
  600. - No longer use gcc 4.2, build fine with latest gcc 4.3
  601. - Replace source3 with upstream version
  602. - Update source4 to change permissions on both guest additions devices
  603. - Fix permissions on non .so files
  604. * Mon Mar 09 2009 Pascal Terjan <pterjan@mandriva.org> 2.1.4-5mdv2009.1
  605. + Revision: 353280
  606. - vboxvfs needs vboxadd
  607. * Wed Mar 04 2009 Frederic Crozat <fcrozat@mandriva.com> 2.1.4-4mdv2009.1
  608. + Revision: 348336
  609. - Force rebuild of dkms modules
  610. * Wed Feb 25 2009 Herton Ronaldo Krzesinski <herton@mandriva.com.br> 2.1.4-3mdv2009.1
  611. + Revision: 344966
  612. - Copy Module.symvers for vboxnetflt dkms build, needed with
  613. CONFIG_MODVERSIONS enabled in latest cooker kernels.
  614. * Wed Feb 25 2009 Herton Ronaldo Krzesinski <herton@mandriva.com.br> 2.1.4-2mdv2009.1
  615. + Revision: 344896
  616. - Apply fix for VM load failure with kernels 2.6.29-rc5 or later
  617. (#48096, http://www.virtualbox.org/ticket/3403).
  618. - Fix building with kernel-headers-2.6.29*
  619. * Tue Feb 17 2009 Frederik Himpe <fhimpe@mandriva.org> 2.1.4-1mdv2009.1
  620. + Revision: 342236
  621. - Update to new version 2.1.4
  622. - Fix source URL
  623. * Thu Jan 22 2009 Frederic Crozat <fcrozat@mandriva.com> 2.1.2-2mdv2009.1
  624. + Revision: 332593
  625. - Use xorg 1.6 drivers when building cooker guest addition packages
  626. * Thu Jan 22 2009 Funda Wang <fundawang@mandriva.org> 2.1.2-1mdv2009.1
  627. + Revision: 332404
  628. - specify CC4.2
  629. - New version 2.1.2
  630. - rediff libpath patch
  631. * Sun Jan 04 2009 Colin Guthrie <cguthrie@mandriva.org> 2.1.0-5mdv2009.1
  632. + Revision: 324525
  633. - Rebuild mouse and display drivers for xserver 1.6
  634. * Thu Dec 25 2008 Michael Scherer <misc@mandriva.org> 2.1.0-4mdv2009.1
  635. + Revision: 318540
  636. - rebuild for new python
  637. * Fri Dec 19 2008 Frederic Crozat <fcrozat@mandriva.com> 2.1.0-3mdv2009.1
  638. + Revision: 316288
  639. - Fix guest additions for cooker, we ship Xorg 1.5 now
  640. - Ship fdi file for vboxmouse
  641. * Fri Dec 19 2008 Adam Williamson <awilliamson@mandriva.org> 2.1.0-2mdv2009.1
  642. + Revision: 316021
  643. - oops, finish fixing up initscript
  644. * Fri Dec 19 2008 Adam Williamson <awilliamson@mandriva.org> 2.1.0-1mdv2009.1
  645. + Revision: 316019
  646. - adjust initscript and dkms.conf for the fact that there's now two necessary
  647. kernel modules for the master: vboxdrv and vboxnetflt
  648. - drop mdvconfig.patch: this stub does nothing useful, and breaks the build
  649. (see fcrozat's mail on Cooker)
  650. - VBoxAddIF and VBoxDeleteIF are now obsolete and not provided
  651. + Frederic Crozat <fcrozat@mandriva.com>
  652. - Release 2.1.0
  653. - Regenerate patch1
  654. - update buildrequires
  655. * Sun Nov 30 2008 Frederik Himpe <fhimpe@mandriva.org> 2.0.6-2mdv2009.1
  656. + Revision: 308552
  657. - Rebuild mouse and display drivers for xserver 1.5
  658. * Wed Nov 26 2008 Funda Wang <fundawang@mandriva.org> 2.0.6-1mdv2009.1
  659. + Revision: 306865
  660. - New version 2.0.6
  661. * Mon Nov 03 2008 Funda Wang <fundawang@mandriva.org> 2.0.4-1mdv2009.1
  662. + Revision: 299348
  663. - New version 2.0.4
  664. * Mon Sep 15 2008 Frederic Crozat <fcrozat@mandriva.com> 2.0.2-2mdv2009.0
  665. + Revision: 284854
  666. - Patch8: disable version check at startup
  667. * Sat Sep 13 2008 Frederik Himpe <fhimpe@mandriva.org> 2.0.2-1mdv2009.0
  668. + Revision: 284544
  669. - Update to bugfix update 2.0.2
  670. * Tue Sep 09 2008 Olivier Blin <oblin@mandriva.com> 2.0.0-3mdv2009.0
  671. + Revision: 283015
  672. - build guest additions on x86_64 too (#43593)
  673. + Frederic Crozat <fcrozat@mandriva.com>
  674. - Patch7: fix QT4 detection on x86-64 on Mandriva 2008.1
  675. * Thu Sep 04 2008 Frederic Crozat <fcrozat@mandriva.com> 2.0.0-1mdv2009.0
  676. + Revision: 280850
  677. - Fix BuildRequires
  678. - Release 2.0.0
  679. - Remove patches 3, 7 (merged upstream)
  680. * Mon Sep 01 2008 Herton Ronaldo Krzesinski <herton@mandriva.com.br> 1.6.4-4mdv2009.0
  681. + Revision: 278071
  682. - Added patch to allow VirtualBox kernel module to build with
  683. Linux 2.6.27
  684. + Pixel <pixel@mandriva.com>
  685. - increase release number
  686. - use gcc4.2 to build the recompiler (not ported to gcc 4.3 yet)
  687. * Wed Aug 06 2008 Olivier Blin <oblin@mandriva.com> 1.6.4-2mdv2009.0
  688. + Revision: 264273
  689. - create /var/run/VirtualBox (#41963)
  690. - use tunctl from the tunctl package while VBoxTunctl does not build
  691. * Tue Aug 05 2008 Olivier Blin <oblin@mandriva.com> 1.6.4-1mdv2009.0
  692. + Revision: 264016
  693. - do not include VBoxTunctl for now (build is broken in upstream tarball)
  694. - rediff misc_register patch (the register part has been implemented upstream, I should submit the deregister hunks)
  695. - fix 1.6.4 build by not building tunctl (some Makefile.kmk are missing)
  696. - 1.6.4
  697. * Tue Jul 29 2008 Frederic Crozat <fcrozat@mandriva.com> 1.6.2-2mdv2009.0
  698. + Revision: 252777
  699. - Don't use gcc 3.3 for build on 2008.1 or earlier
  700. * Wed Jul 09 2008 Olivier Blin <oblin@mandriva.com> 1.6.2-1mdv2009.0
  701. + Revision: 232889
  702. - set again linux sources path in configure
  703. - use gcc 3.3 to build the recompiler (not ported to gcc 4.3 yet)
  704. - use kernel-devel-latest instead of kernel-source-latest
  705. - use a prepared copy of the linux tree (for linux/bounds.h)
  706. + Frederic Crozat <fcrozat@mandriva.com>
  707. - Release 1.6.2
  708. - Regenerate patch5
  709. - Fix duplicated line in specfile
  710. + Pixel <pixel@mandriva.com>
  711. - rpm filetriggers deprecates update_menus/update_scrollkeeper/update_mime_database/update_icon_cache/update_desktop_database/post_install_gconf_schemas
  712. * Fri May 16 2008 Frederic Crozat <fcrozat@mandriva.com> 1.6.0-4mdv2009.0
  713. + Revision: 208160
  714. - Fix seamless mode in guest additions subpackage
  715. * Thu May 15 2008 Anssi Hannula <anssi@mandriva.org> 1.6.0-3mdv2009.0
  716. + Revision: 207692
  717. - rename VBoxAddIF.sh and VBoxDeleteIF.sh to VBoxAddIF and VBoxDeleteIF
  718. to match original names and documentation
  719. * Wed May 14 2008 Frederic Crozat <fcrozat@mandriva.com> 1.6.0-2mdv2009.0
  720. + Revision: 207235
  721. - Replace source1 with patch 6 (use up to date VBox.sh script)
  722. - Ensure VBoxAddIF/VBoxDeleteIF scripts are packaged, as well as VBoxTunctl (Mdv bug #40769)
  723. - package VBoxHeadless (Mdv bug #40771)
  724. * Fri May 09 2008 Olivier Blin <oblin@mandriva.com> 1.6.0-1mdv2009.0
  725. + Revision: 205313
  726. - try harder to disable additions on x86_64
  727. - buildrequire libxslt-devel
  728. - adapt to vboxadd-xclient being renamed as VBoxClient
  729. - rediff futex patch
  730. - rediff misc_register patch
  731. - 1.6.0
  732. - revert BUILT_MODULE_NAME addition, the bug is fixed in dkms
  733. + Anssi Hannula <anssi@mandriva.org>
  734. - add BUILT_MODULE_NAME to dkms.conf of vboxadd and vboxvfs (fixes DKMS
  735. error)
  736. * Tue Feb 26 2008 Olivier Blin <oblin@mandriva.com> 1.5.6-1mdv2008.1
  737. + Revision: 175619
  738. - 1.5.6
  739. - rediff KERNELRELEASE patch
  740. * Tue Feb 26 2008 Olivier Blin <oblin@mandriva.com> 1.5.4-5mdv2008.1
  741. + Revision: 175610
  742. - try to start dkms instead of vboxadd in vboxadd-timesync service (since modules are loaded from modprobe.preload.d, #36728)
  743. * Fri Feb 08 2008 Thierry Vignaud <tvignaud@mandriva.com> 1.5.4-4mdv2008.1
  744. + Revision: 163970
  745. - drop old menu
  746. + Frederic Crozat <fcrozat@mandriva.com>
  747. - Really disable pulseaudio support on 2008.0 or older
  748. * Thu Jan 10 2008 Frederic Crozat <fcrozat@mandriva.com> 1.5.4-3mdv2008.1
  749. + Revision: 147602
  750. - Use correct version of x11 mouse and video additional driver when used on 2008.1 (xorg 1.4) and 2008.0
  751. - Only build pulseaudio support for 2008.1
  752. * Wed Jan 09 2008 Olivier Blin <oblin@mandriva.com> 1.5.4-2mdv2008.1
  753. + Revision: 147006
  754. - fix dkms build for kernels different from running kernel
  755. * Thu Jan 03 2008 Olivier Blin <oblin@mandriva.com> 1.5.4-1mdv2008.1
  756. + Revision: 142711
  757. - buildrequire pulseaudio-devel
  758. - rediff libpath patch
  759. - remove 2.6.24 build fix, fixed upstream
  760. - 1.5.4
  761. - restore BuildRoot
  762. + Pascal Terjan <pterjan@mandriva.org>
  763. - Switch to Debian patch for 2.6.24
  764. - Re-create the 2.6.24 patch, some bits got lost
  765. + Thierry Vignaud <tvignaud@mandriva.com>
  766. - kill re-definition of %%buildroot on Pixel's request
  767. - kill explicit icon extension
  768. + Giuseppe Ghibò <ghibo@mandriva.com>
  769. - Use kernel-source-latest in BuildRequires as conditional.
  770. - Add conditional build flags for older release.
  771. - Let Patch5 conditional.
  772. * Fri Nov 30 2007 Pascal Terjan <pterjan@mandriva.org> 1.5.2-3mdv2008.1
  773. + Revision: 114076
  774. - Improve 2.6.24 patch so that it should still build with older kernels
  775. * Fri Nov 30 2007 Pascal Terjan <pterjan@mandriva.org> 1.5.2-2mdv2008.1
  776. + Revision: 114047
  777. - Fix other parts to build with 2.6.24
  778. - Fix vboxdrv for 2.6.24
  779. * Tue Nov 13 2007 Olivier Blin <oblin@mandriva.com> 1.5.2-1mdv2008.1
  780. + Revision: 108363
  781. - remove keyboards patch (was from upstream svn)
  782. - rediff kernelrelease patch
  783. - rediff libpath patch
  784. - 1.5.2
  785. * Thu Oct 04 2007 Olivier Blin <oblin@mandriva.com> 1.5.0-6mdv2008.0
  786. + Revision: 95447
  787. - really apply misc_register patch (so that vboxadd devices are automatically created)
  788. - add release in dkms PACKAGE_VERSION to ease upgrades
  789. * Sat Sep 29 2007 Olivier Blin <oblin@mandriva.com> 1.5.0-5mdv2008.0
  790. + Revision: 93837
  791. - require kmod(vboxdrv) instead of dkms package
  792. - do not mark initscript as config file
  793. - move initscripts and udev rules out of dkms package (so that it works when using dkms prebuilt modules)
  794. * Sat Sep 29 2007 Olivier Blin <oblin@mandriva.com> 1.5.0-4mdv2008.0
  795. + Revision: 93812
  796. - add vboxadd-timesync service
  797. - add pam_console perms file to assign vboxadd device to console user
  798. - use misc_register() to register vboxadd device so that /dev/vboxadd gets created automatically by udev
  799. * Fri Sep 28 2007 Olivier Blin <oblin@mandriva.com> 1.5.0-3mdv2008.0
  800. + Revision: 93770
  801. - add vboxadd-xclient xinit.d script
  802. - release new additions, but we still need to fix mknod for vboxadd
  803. (or use device_create() in kernel module), set console perms for
  804. vboxadd in console.perms.d, and add timesync initscript
  805. - make guest additions package require X11 drivers
  806. - make x11 driver packages suggest virtualbox-guest-additions
  807. - add virtualbox-guest-additions package (with xclient, timesync, mount.vboxsf)
  808. - add dkms-vboxadd and dkms-vboxvfs packages
  809. * Fri Sep 28 2007 Olivier Blin <oblin@mandriva.com> 1.5.0-2mdv2008.0
  810. + Revision: 93534
  811. - build additions on ix86 only
  812. - fix support for Brazilian, Belgian, US intl and US dvorak keyboards and add support for multimedia keys (from upstream SVN)
  813. - buildrequire libstdc++-static-devel
  814. - buildrequire libxt-devel
  815. - buildrequire kernel-source-latest, since iurt/urpmi don't install latest kernel-source automatically
  816. - buildrequire kernel-source
  817. - package mouse guest addition in x11-driver-input-vboxmouse
  818. - package video guest addition in x11-driver-video-vboxvideo
  819. - build VirtualBox additions
  820. * Mon Sep 03 2007 Olivier Blin <oblin@mandriva.com> 1.5.0-1mdv2008.0
  821. + Revision: 78607
  822. - drop libstdc++5 BuildRequires
  823. - drop unapplied x86_64 NMI watchdog disabling patch (merged upstream)
  824. - 1.5.0
  825. - rediff mdvconfig patch
  826. + Thierry Vignaud <tvignaud@mandriva.com>
  827. - kill desktop-file-validate's 'warning: key "Encoding" in group "Desktop Entry" is deprecated'
  828. * Fri Jun 08 2007 Per Øyvind Karlsen <peroyvind@mandriva.org> 1.4.0-1mdv2008.0
  829. + Revision: 37085
  830. - from Jos?\195?\169 Melo <mmodem00@gmail.com>:
  831. o 1.4.0
  832. o update patch:2 since is needed to load (modprobe) vbox driver in kernel-2.6.17
  833. 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
  834. o add missing buildrequire hal-devel
  835. * Thu Mar 15 2007 Gwenole Beauchesne <gbeauchesne@mandriva.com> 1.3.8-1mdv2007.1
  836. + Revision: 144313
  837. - add should-start: dkms to initscript (#29523)
  838. - 1.3.8
  839. * hard reset network device on reboot
  840. * fix issues with IBM JVM 1.4.2 in Linux guests
  841. * add support for X.org 7.2.x in Linux guest additions
  842. * Fri Mar 02 2007 Gwenole Beauchesne <gbeauchesne@mandriva.com> 1.3.6-1mdv2007.1
  843. + Revision: 131492
  844. - disable NMIs on Core 2 platforms too
  845. - 1.3.6
  846. * fix some GUI issues
  847. * fix OpenBSD 4.0 support
  848. * fix CD/DVD-ROM detection in Windows Vista guests
  849. * fix networking issues with Windows NT 4.0 guests
  850. * fix some ALSA problems that could cause system reboots
  851. * Mon Feb 12 2007 Gwenole Beauchesne <gbeauchesne@mandriva.com> 1.3.4-1mdv2007.1
  852. + Revision: 119895
  853. - 1.3.4
  854. * Mon Feb 12 2007 Gwenole Beauchesne <gbeauchesne@mandriva.com> 1.3.3.20070209-1mdv2007.1
  855. + Revision: 119017
  856. - SVN updates (2007/02/09):
  857. * additional 64-bit fixes
  858. * asynchronous packets transmission in NIC code
  859. * Sat Feb 03 2007 Gwenole Beauchesne <gbeauchesne@mandriva.com> 1.3.3.20070202-1mdv2007.1
  860. + Revision: 116064
  861. - various 64-bit fixes
  862. - updates from SVN (2007/02/02):
  863. * initial 64-bit host support
  864. * fix IDE for Open Solaris 10
  865. * add VDI compacting to the GUI
  866. * Sat Jan 27 2007 Gwenole Beauchesne <gbeauchesne@mandriva.com> 1.3.3-1mdv2007.1
  867. + Revision: 114276
  868. - initial mandriva linux package