VirtualBox-vl.spec 42 KB

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