VirtualBox-vl.spec 40 KB

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