VirtualBox-vl.spec 36 KB

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