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