VirtualBox-vl.spec 35 KB

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