VirtualBox-vl.spec 42 KB

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