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