VirtualBox-vl.spec 39 KB

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