VirtualBox-vl.spec 37 KB

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