VirtualBox-vl.spec 38 KB

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