1 | %define version 4.1.16 |
---|
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 112 |
---|
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 | * Thu May 24 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 4.1.16-1 |
---|
569 | - new upstream release |
---|
570 | |
---|
571 | * Wed May 02 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 4.1.14-2 |
---|
572 | - define xserverabi to 112 on VineSeed (to sync with recent xorg updates) |
---|
573 | |
---|
574 | * Tue May 01 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 4.1.14-1 |
---|
575 | - new upstream release |
---|
576 | |
---|
577 | * Mon Apr 16 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 4.1.12-1 |
---|
578 | - new upstream release |
---|
579 | |
---|
580 | * Fri Mar 16 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 4.1.10-1 |
---|
581 | - new upstream release |
---|
582 | |
---|
583 | * Tue Feb 21 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 4.1.8-3 |
---|
584 | - rebuild with python-2.7 |
---|
585 | |
---|
586 | * Mon Jan 16 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 4.1.8-2 |
---|
587 | - remove VBOX_VERSION_STRING=... from kmk command line |
---|
588 | - add VBOX_WITH_UPDATE_REQUEST= to kmk command line |
---|
589 | |
---|
590 | * Wed Dec 21 2011 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 4.1.8-1 |
---|
591 | - new upstream release |
---|
592 | - drop Patch12 (merged into upstream) |
---|
593 | |
---|
594 | * Sat Nov 5 2011 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 4.1.6-2 |
---|
595 | - explicitly specify xserverabi for vl5, vl6, vl7 (and up) |
---|
596 | |
---|
597 | * Sat Nov 5 2011 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 4.1.6-1 |
---|
598 | - new upstream release |
---|
599 | - drop Patch101 (merged into upstream) |
---|
600 | |
---|
601 | * Mon Oct 31 2011 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 4.1.4-2 |
---|
602 | - fix the path 98vboxadd-xclient script should be installed |
---|
603 | (s|/etc/X11/xinit.d|/etc/X11/xinit/xinitrc.d|) |
---|
604 | |
---|
605 | * Tue Oct 4 2011 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 4.1.4-1 |
---|
606 | - new upstream release |
---|
607 | - use the kernel mouse driver for all setups where we previously |
---|
608 | autoloaded vboxmouse (see: https://www.virtualbox.org/changeset/38784) |
---|
609 | |
---|
610 | * Wed Aug 24 2011 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 4.1.2-1 |
---|
611 | - new upstream release |
---|
612 | - drop Patch50; fix Patch12 & Patch101 |
---|
613 | - specify VBOX_VERSION_STRING on kmk to declare third-party (VINE) build |
---|
614 | see: http://www.virtualbox.org/wiki/Editions |
---|
615 | |
---|
616 | * Tue Aug 9 2011 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 4.1.0-2 |
---|
617 | - add Patch50 to fix random kernel panic during shutdown on some environments |
---|
618 | (see: http://www.virtualbox.org/ticket/9305) |
---|
619 | |
---|
620 | * Wed Jul 20 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 4.1.0-1 |
---|
621 | - update to 4.1.0 |
---|
622 | |
---|
623 | * Fri Jul 08 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 4.0.10-1 |
---|
624 | - update to 4.0.10 |
---|
625 | |
---|
626 | * Sun May 29 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 4.0.8-1 |
---|
627 | - update to 4.0.8 |
---|
628 | - include xserver 1.10 drivers |
---|
629 | |
---|
630 | * Fri May 13 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 4.0.6-1 |
---|
631 | - update to 4.0.6 |
---|
632 | - add BR: java-1.6.0-openjdk-devel |
---|
633 | |
---|
634 | * Fri Jan 14 2011 Shu KONNO <owa@bg.wakwak.com> 3.2.12-3 |
---|
635 | - rebuilt with openssl-1.0.0c |
---|
636 | - added vboxadd-timesync.vine instead of vboxadd-service.sh |
---|
637 | |
---|
638 | * Sat Dec 04 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 3.2.12-2 |
---|
639 | - add BR: pam-devel |
---|
640 | - rebuild with python-2.6 |
---|
641 | |
---|
642 | * Fri Dec 03 2010 Shu KONNO <owa@bg.wakwak.com> 3.2.12-1 |
---|
643 | - updated VirtualBox to 3.2.12-OSE |
---|
644 | |
---|
645 | * Mon Aug 23 2010 Shu KONNO <owa@bg.wakwak.com> 3.2.8-1 |
---|
646 | - new upstream release |
---|
647 | |
---|
648 | * Sat Jun 12 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 3.2.4-2 |
---|
649 | - add patch110 to fix vboxadd-timesync script |
---|
650 | |
---|
651 | * Thu Jun 10 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 3.2.4-1 |
---|
652 | - new upstream release |
---|
653 | |
---|
654 | * Sat May 22 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 3.2.0-1 |
---|
655 | - new upstream release |
---|
656 | - drop wined3d patch as the Windows guest additions provide |
---|
657 | Direct3D acceleration. |
---|
658 | - add xorg.conf snippet for new xserver |
---|
659 | - vboxvfs renamed to vboxsf |
---|
660 | |
---|
661 | * Mon Apr 19 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 3.1.6-2 |
---|
662 | - fix initscript |
---|
663 | |
---|
664 | * Sun Apr 18 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 3.1.6-1 |
---|
665 | - new upstream release |
---|
666 | |
---|
667 | * Tue Nov 17 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 3.0.10-1 |
---|
668 | - new upstream release |
---|
669 | - add missing BR: |
---|
670 | |
---|
671 | * Mon Sep 21 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 3.0.6-1 |
---|
672 | - new upstream release |
---|
673 | |
---|
674 | * Wed Aug 05 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 3.0.4-1 |
---|
675 | - new upstream release |
---|
676 | - add translated summaries and descriptions |
---|
677 | |
---|
678 | * Mon Jul 13 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 3.0.2-1 |
---|
679 | - new upstream release |
---|
680 | |
---|
681 | * Wed Jul 01 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 3.0.0-1 |
---|
682 | - new upstream release |
---|
683 | |
---|
684 | * Tue Jun 09 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.4-3 |
---|
685 | - change Group: of dkms-VirtualBox to System Environment/Kernel |
---|
686 | |
---|
687 | * Tue Jun 02 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.4-2 |
---|
688 | - remove modprobe.d/vbox-guest-additions |
---|
689 | |
---|
690 | * Sun May 31 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.4-1 |
---|
691 | - update to 2.2.4 |
---|
692 | |
---|
693 | * Sun May 31 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.2-1 |
---|
694 | - initial build for Vine Linux |
---|
695 | - update to 2.2.2 |
---|
696 | |
---|
697 | * Wed Apr 22 2009 Pascal Terjan <pterjan@mandriva.org> 2.2.0-4mdv2009.1 |
---|
698 | + Revision: 368679 |
---|
699 | - Fix mkrpm template |
---|
700 | |
---|
701 | * Tue Apr 21 2009 Pascal Terjan <pterjan@mandriva.org> 2.2.0-3mdv2009.1 |
---|
702 | + Revision: 368502 |
---|
703 | - BuildRequires:dkms-minimal |
---|
704 | - Obsolete -latest dkms binary packages |
---|
705 | |
---|
706 | * Wed Apr 15 2009 Frederic Crozat <fcrozat@mandriva.com> 2.2.0-2mdv2009.1 |
---|
707 | + Revision: 367571 |
---|
708 | - Patch15: kill vboxclient if leftover from previous X11 session |
---|
709 | - Patch14 (Sun): fix OpenGL support for Linux Guest additions |
---|
710 | - improve packaging to be more LSB compliant |
---|
711 | |
---|
712 | * Fri Apr 10 2009 Frederic Crozat <fcrozat@mandriva.com> 2.2.0-1mdv2009.1 |
---|
713 | + Revision: 365828 |
---|
714 | - Release 2.2.0 |
---|
715 | - enable OpenGL pass-through. Caveat : Linux guest support is not working when building guest additions with Open source edition (under investigation) |
---|
716 | - move location of fdi file (fix mouse integration support when using HAL) |
---|
717 | - merge all guest additions kernel module in one single DKMS (pterjan) |
---|
718 | - Enable webservice |
---|
719 | - Remove patch9, no longer needed (when using kernel 2.6.29.x, you MUST use kernel 2.6.29.1 or later) |
---|
720 | - Regenerate patches 8, 10 |
---|
721 | - Patch11: add Wine Direct3D guest additions option (Debian) |
---|
722 | - Patch12: disable update notification (Debian) |
---|
723 | - Patch13: make network settings more intuitive (Debian) |
---|
724 | - Add missing dependencies in guest additions package |
---|
725 | - No longer use gcc 4.2, build fine with latest gcc 4.3 |
---|
726 | - Replace source3 with upstream version |
---|
727 | - Update source4 to change permissions on both guest additions devices |
---|
728 | - Fix permissions on non .so files |
---|
729 | |
---|
730 | * Mon Mar 09 2009 Pascal Terjan <pterjan@mandriva.org> 2.1.4-5mdv2009.1 |
---|
731 | + Revision: 353280 |
---|
732 | - vboxvfs needs vboxadd |
---|
733 | |
---|
734 | * Wed Mar 04 2009 Frederic Crozat <fcrozat@mandriva.com> 2.1.4-4mdv2009.1 |
---|
735 | + Revision: 348336 |
---|
736 | - Force rebuild of dkms modules |
---|
737 | |
---|
738 | * Wed Feb 25 2009 Herton Ronaldo Krzesinski <herton@mandriva.com.br> 2.1.4-3mdv2009.1 |
---|
739 | + Revision: 344966 |
---|
740 | - Copy Module.symvers for vboxnetflt dkms build, needed with |
---|
741 | CONFIG_MODVERSIONS enabled in latest cooker kernels. |
---|
742 | |
---|
743 | * Wed Feb 25 2009 Herton Ronaldo Krzesinski <herton@mandriva.com.br> 2.1.4-2mdv2009.1 |
---|
744 | + Revision: 344896 |
---|
745 | - Apply fix for VM load failure with kernels 2.6.29-rc5 or later |
---|
746 | (#48096, http://www.virtualbox.org/ticket/3403). |
---|
747 | - Fix building with kernel-headers-2.6.29* |
---|
748 | |
---|
749 | * Tue Feb 17 2009 Frederik Himpe <fhimpe@mandriva.org> 2.1.4-1mdv2009.1 |
---|
750 | + Revision: 342236 |
---|
751 | - Update to new version 2.1.4 |
---|
752 | - Fix source URL |
---|
753 | |
---|
754 | * Thu Jan 22 2009 Frederic Crozat <fcrozat@mandriva.com> 2.1.2-2mdv2009.1 |
---|
755 | + Revision: 332593 |
---|
756 | - Use xorg 1.6 drivers when building cooker guest addition packages |
---|
757 | |
---|
758 | * Thu Jan 22 2009 Funda Wang <fundawang@mandriva.org> 2.1.2-1mdv2009.1 |
---|
759 | + Revision: 332404 |
---|
760 | - specify CC4.2 |
---|
761 | - New version 2.1.2 |
---|
762 | - rediff libpath patch |
---|
763 | |
---|
764 | * Sun Jan 04 2009 Colin Guthrie <cguthrie@mandriva.org> 2.1.0-5mdv2009.1 |
---|
765 | + Revision: 324525 |
---|
766 | - Rebuild mouse and display drivers for xserver 1.6 |
---|
767 | |
---|
768 | * Thu Dec 25 2008 Michael Scherer <misc@mandriva.org> 2.1.0-4mdv2009.1 |
---|
769 | + Revision: 318540 |
---|
770 | - rebuild for new python |
---|
771 | |
---|
772 | * Fri Dec 19 2008 Frederic Crozat <fcrozat@mandriva.com> 2.1.0-3mdv2009.1 |
---|
773 | + Revision: 316288 |
---|
774 | - Fix guest additions for cooker, we ship Xorg 1.5 now |
---|
775 | - Ship fdi file for vboxmouse |
---|
776 | |
---|
777 | * Fri Dec 19 2008 Adam Williamson <awilliamson@mandriva.org> 2.1.0-2mdv2009.1 |
---|
778 | + Revision: 316021 |
---|
779 | - oops, finish fixing up initscript |
---|
780 | |
---|
781 | * Fri Dec 19 2008 Adam Williamson <awilliamson@mandriva.org> 2.1.0-1mdv2009.1 |
---|
782 | + Revision: 316019 |
---|
783 | - adjust initscript and dkms.conf for the fact that there's now two necessary |
---|
784 | kernel modules for the master: vboxdrv and vboxnetflt |
---|
785 | - drop mdvconfig.patch: this stub does nothing useful, and breaks the build |
---|
786 | (see fcrozat's mail on Cooker) |
---|
787 | - VBoxAddIF and VBoxDeleteIF are now obsolete and not provided |
---|
788 | |
---|
789 | + Frederic Crozat <fcrozat@mandriva.com> |
---|
790 | - Release 2.1.0 |
---|
791 | - Regenerate patch1 |
---|
792 | - update buildrequires |
---|
793 | |
---|
794 | * Sun Nov 30 2008 Frederik Himpe <fhimpe@mandriva.org> 2.0.6-2mdv2009.1 |
---|
795 | + Revision: 308552 |
---|
796 | - Rebuild mouse and display drivers for xserver 1.5 |
---|
797 | |
---|
798 | * Wed Nov 26 2008 Funda Wang <fundawang@mandriva.org> 2.0.6-1mdv2009.1 |
---|
799 | + Revision: 306865 |
---|
800 | - New version 2.0.6 |
---|
801 | |
---|
802 | * Mon Nov 03 2008 Funda Wang <fundawang@mandriva.org> 2.0.4-1mdv2009.1 |
---|
803 | + Revision: 299348 |
---|
804 | - New version 2.0.4 |
---|
805 | |
---|
806 | * Mon Sep 15 2008 Frederic Crozat <fcrozat@mandriva.com> 2.0.2-2mdv2009.0 |
---|
807 | + Revision: 284854 |
---|
808 | - Patch8: disable version check at startup |
---|
809 | |
---|
810 | * Sat Sep 13 2008 Frederik Himpe <fhimpe@mandriva.org> 2.0.2-1mdv2009.0 |
---|
811 | + Revision: 284544 |
---|
812 | - Update to bugfix update 2.0.2 |
---|
813 | |
---|
814 | * Tue Sep 09 2008 Olivier Blin <oblin@mandriva.com> 2.0.0-3mdv2009.0 |
---|
815 | + Revision: 283015 |
---|
816 | - build guest additions on x86_64 too (#43593) |
---|
817 | |
---|
818 | + Frederic Crozat <fcrozat@mandriva.com> |
---|
819 | - Patch7: fix QT4 detection on x86-64 on Mandriva 2008.1 |
---|
820 | |
---|
821 | * Thu Sep 04 2008 Frederic Crozat <fcrozat@mandriva.com> 2.0.0-1mdv2009.0 |
---|
822 | + Revision: 280850 |
---|
823 | - Fix BuildRequires |
---|
824 | - Release 2.0.0 |
---|
825 | - Remove patches 3, 7 (merged upstream) |
---|
826 | |
---|
827 | * Mon Sep 01 2008 Herton Ronaldo Krzesinski <herton@mandriva.com.br> 1.6.4-4mdv2009.0 |
---|
828 | + Revision: 278071 |
---|
829 | - Added patch to allow VirtualBox kernel module to build with |
---|
830 | Linux 2.6.27 |
---|
831 | |
---|
832 | + Pixel <pixel@mandriva.com> |
---|
833 | - increase release number |
---|
834 | - use gcc4.2 to build the recompiler (not ported to gcc 4.3 yet) |
---|
835 | |
---|
836 | * Wed Aug 06 2008 Olivier Blin <oblin@mandriva.com> 1.6.4-2mdv2009.0 |
---|
837 | + Revision: 264273 |
---|
838 | - create /var/run/VirtualBox (#41963) |
---|
839 | - use tunctl from the tunctl package while VBoxTunctl does not build |
---|
840 | |
---|
841 | * Tue Aug 05 2008 Olivier Blin <oblin@mandriva.com> 1.6.4-1mdv2009.0 |
---|
842 | + Revision: 264016 |
---|
843 | - do not include VBoxTunctl for now (build is broken in upstream tarball) |
---|
844 | - rediff misc_register patch (the register part has been implemented upstream, I should submit the deregister hunks) |
---|
845 | - fix 1.6.4 build by not building tunctl (some Makefile.kmk are missing) |
---|
846 | - 1.6.4 |
---|
847 | |
---|
848 | * Tue Jul 29 2008 Frederic Crozat <fcrozat@mandriva.com> 1.6.2-2mdv2009.0 |
---|
849 | + Revision: 252777 |
---|
850 | - Don't use gcc 3.3 for build on 2008.1 or earlier |
---|
851 | |
---|
852 | * Wed Jul 09 2008 Olivier Blin <oblin@mandriva.com> 1.6.2-1mdv2009.0 |
---|
853 | + Revision: 232889 |
---|
854 | - set again linux sources path in configure |
---|
855 | - use gcc 3.3 to build the recompiler (not ported to gcc 4.3 yet) |
---|
856 | - use kernel-devel-latest instead of kernel-source-latest |
---|
857 | - use a prepared copy of the linux tree (for linux/bounds.h) |
---|
858 | |
---|
859 | + Frederic Crozat <fcrozat@mandriva.com> |
---|
860 | - Release 1.6.2 |
---|
861 | - Regenerate patch5 |
---|
862 | - Fix duplicated line in specfile |
---|
863 | |
---|
864 | + Pixel <pixel@mandriva.com> |
---|
865 | - rpm filetriggers deprecates update_menus/update_scrollkeeper/update_mime_database/update_icon_cache/update_desktop_database/post_install_gconf_schemas |
---|
866 | |
---|
867 | * Fri May 16 2008 Frederic Crozat <fcrozat@mandriva.com> 1.6.0-4mdv2009.0 |
---|
868 | + Revision: 208160 |
---|
869 | - Fix seamless mode in guest additions subpackage |
---|
870 | |
---|
871 | * Thu May 15 2008 Anssi Hannula <anssi@mandriva.org> 1.6.0-3mdv2009.0 |
---|
872 | + Revision: 207692 |
---|
873 | - rename VBoxAddIF.sh and VBoxDeleteIF.sh to VBoxAddIF and VBoxDeleteIF |
---|
874 | to match original names and documentation |
---|
875 | |
---|
876 | * Wed May 14 2008 Frederic Crozat <fcrozat@mandriva.com> 1.6.0-2mdv2009.0 |
---|
877 | + Revision: 207235 |
---|
878 | - Replace source1 with patch 6 (use up to date VBox.sh script) |
---|
879 | - Ensure VBoxAddIF/VBoxDeleteIF scripts are packaged, as well as VBoxTunctl (Mdv bug #40769) |
---|
880 | - package VBoxHeadless (Mdv bug #40771) |
---|
881 | |
---|
882 | * Fri May 09 2008 Olivier Blin <oblin@mandriva.com> 1.6.0-1mdv2009.0 |
---|
883 | + Revision: 205313 |
---|
884 | - try harder to disable additions on x86_64 |
---|
885 | - buildrequire libxslt-devel |
---|
886 | - adapt to vboxadd-xclient being renamed as VBoxClient |
---|
887 | - rediff futex patch |
---|
888 | - rediff misc_register patch |
---|
889 | - 1.6.0 |
---|
890 | - revert BUILT_MODULE_NAME addition, the bug is fixed in dkms |
---|
891 | |
---|
892 | + Anssi Hannula <anssi@mandriva.org> |
---|
893 | - add BUILT_MODULE_NAME to dkms.conf of vboxadd and vboxvfs (fixes DKMS |
---|
894 | error) |
---|
895 | |
---|
896 | * Tue Feb 26 2008 Olivier Blin <oblin@mandriva.com> 1.5.6-1mdv2008.1 |
---|
897 | + Revision: 175619 |
---|
898 | - 1.5.6 |
---|
899 | - rediff KERNELRELEASE patch |
---|
900 | |
---|
901 | * Tue Feb 26 2008 Olivier Blin <oblin@mandriva.com> 1.5.4-5mdv2008.1 |
---|
902 | + Revision: 175610 |
---|
903 | - try to start dkms instead of vboxadd in vboxadd-timesync service (since modules are loaded from modprobe.preload.d, #36728) |
---|
904 | |
---|
905 | * Fri Feb 08 2008 Thierry Vignaud <tvignaud@mandriva.com> 1.5.4-4mdv2008.1 |
---|
906 | + Revision: 163970 |
---|
907 | - drop old menu |
---|
908 | |
---|
909 | + Frederic Crozat <fcrozat@mandriva.com> |
---|
910 | - Really disable pulseaudio support on 2008.0 or older |
---|
911 | |
---|
912 | * Thu Jan 10 2008 Frederic Crozat <fcrozat@mandriva.com> 1.5.4-3mdv2008.1 |
---|
913 | + Revision: 147602 |
---|
914 | - Use correct version of x11 mouse and video additional driver when used on 2008.1 (xorg 1.4) and 2008.0 |
---|
915 | - Only build pulseaudio support for 2008.1 |
---|
916 | |
---|
917 | * Wed Jan 09 2008 Olivier Blin <oblin@mandriva.com> 1.5.4-2mdv2008.1 |
---|
918 | + Revision: 147006 |
---|
919 | - fix dkms build for kernels different from running kernel |
---|
920 | |
---|
921 | * Thu Jan 03 2008 Olivier Blin <oblin@mandriva.com> 1.5.4-1mdv2008.1 |
---|
922 | + Revision: 142711 |
---|
923 | - buildrequire pulseaudio-devel |
---|
924 | - rediff libpath patch |
---|
925 | - remove 2.6.24 build fix, fixed upstream |
---|
926 | - 1.5.4 |
---|
927 | - restore BuildRoot |
---|
928 | |
---|
929 | + Pascal Terjan <pterjan@mandriva.org> |
---|
930 | - Switch to Debian patch for 2.6.24 |
---|
931 | - Re-create the 2.6.24 patch, some bits got lost |
---|
932 | |
---|
933 | + Thierry Vignaud <tvignaud@mandriva.com> |
---|
934 | - kill re-definition of %%buildroot on Pixel's request |
---|
935 | - kill explicit icon extension |
---|
936 | |
---|
937 | + Giuseppe Ghibò <ghibo@mandriva.com> |
---|
938 | - Use kernel-source-latest in BuildRequires as conditional. |
---|
939 | - Add conditional build flags for older release. |
---|
940 | - Let Patch5 conditional. |
---|
941 | |
---|
942 | * Fri Nov 30 2007 Pascal Terjan <pterjan@mandriva.org> 1.5.2-3mdv2008.1 |
---|
943 | + Revision: 114076 |
---|
944 | - Improve 2.6.24 patch so that it should still build with older kernels |
---|
945 | |
---|
946 | * Fri Nov 30 2007 Pascal Terjan <pterjan@mandriva.org> 1.5.2-2mdv2008.1 |
---|
947 | + Revision: 114047 |
---|
948 | - Fix other parts to build with 2.6.24 |
---|
949 | - Fix vboxdrv for 2.6.24 |
---|
950 | |
---|
951 | * Tue Nov 13 2007 Olivier Blin <oblin@mandriva.com> 1.5.2-1mdv2008.1 |
---|
952 | + Revision: 108363 |
---|
953 | - remove keyboards patch (was from upstream svn) |
---|
954 | - rediff kernelrelease patch |
---|
955 | - rediff libpath patch |
---|
956 | - 1.5.2 |
---|
957 | |
---|
958 | * Thu Oct 04 2007 Olivier Blin <oblin@mandriva.com> 1.5.0-6mdv2008.0 |
---|
959 | + Revision: 95447 |
---|
960 | - really apply misc_register patch (so that vboxadd devices are automatically created) |
---|
961 | - add release in dkms PACKAGE_VERSION to ease upgrades |
---|
962 | |
---|
963 | * Sat Sep 29 2007 Olivier Blin <oblin@mandriva.com> 1.5.0-5mdv2008.0 |
---|
964 | + Revision: 93837 |
---|
965 | - require kmod(vboxdrv) instead of dkms package |
---|
966 | - do not mark initscript as config file |
---|
967 | - move initscripts and udev rules out of dkms package (so that it works when using dkms prebuilt modules) |
---|
968 | |
---|
969 | * Sat Sep 29 2007 Olivier Blin <oblin@mandriva.com> 1.5.0-4mdv2008.0 |
---|
970 | + Revision: 93812 |
---|
971 | - add vboxadd-timesync service |
---|
972 | - add pam_console perms file to assign vboxadd device to console user |
---|
973 | - use misc_register() to register vboxadd device so that /dev/vboxadd gets created automatically by udev |
---|
974 | |
---|
975 | * Fri Sep 28 2007 Olivier Blin <oblin@mandriva.com> 1.5.0-3mdv2008.0 |
---|
976 | + Revision: 93770 |
---|
977 | - add vboxadd-xclient xinit.d script |
---|
978 | - release new additions, but we still need to fix mknod for vboxadd |
---|
979 | (or use device_create() in kernel module), set console perms for |
---|
980 | vboxadd in console.perms.d, and add timesync initscript |
---|
981 | - make guest additions package require X11 drivers |
---|
982 | - make x11 driver packages suggest virtualbox-guest-additions |
---|
983 | - add virtualbox-guest-additions package (with xclient, timesync, mount.vboxsf) |
---|
984 | - add dkms-vboxadd and dkms-vboxvfs packages |
---|
985 | |
---|
986 | * Fri Sep 28 2007 Olivier Blin <oblin@mandriva.com> 1.5.0-2mdv2008.0 |
---|
987 | + Revision: 93534 |
---|
988 | - build additions on ix86 only |
---|
989 | - fix support for Brazilian, Belgian, US intl and US dvorak keyboards and add support for multimedia keys (from upstream SVN) |
---|
990 | - buildrequire libstdc++-static-devel |
---|
991 | - buildrequire libxt-devel |
---|
992 | - buildrequire kernel-source-latest, since iurt/urpmi don't install latest kernel-source automatically |
---|
993 | - buildrequire kernel-source |
---|
994 | - package mouse guest addition in x11-driver-input-vboxmouse |
---|
995 | - package video guest addition in x11-driver-video-vboxvideo |
---|
996 | - build VirtualBox additions |
---|
997 | |
---|
998 | * Mon Sep 03 2007 Olivier Blin <oblin@mandriva.com> 1.5.0-1mdv2008.0 |
---|
999 | + Revision: 78607 |
---|
1000 | - drop libstdc++5 BuildRequires |
---|
1001 | - drop unapplied x86_64 NMI watchdog disabling patch (merged upstream) |
---|
1002 | - 1.5.0 |
---|
1003 | - rediff mdvconfig patch |
---|
1004 | |
---|
1005 | + Thierry Vignaud <tvignaud@mandriva.com> |
---|
1006 | - kill desktop-file-validate's 'warning: key "Encoding" in group "Desktop Entry" is deprecated' |
---|
1007 | |
---|
1008 | * Fri Jun 08 2007 Per Øyvind Karlsen <peroyvind@mandriva.org> 1.4.0-1mdv2008.0 |
---|
1009 | + Revision: 37085 |
---|
1010 | - from Jos?\195?\169 Melo <mmodem00@gmail.com>: |
---|
1011 | o 1.4.0 |
---|
1012 | o update patch:2 since is needed to load (modprobe) vbox driver in kernel-2.6.17 |
---|
1013 | 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 |
---|
1014 | o add missing buildrequire hal-devel |
---|
1015 | |
---|
1016 | |
---|
1017 | * Thu Mar 15 2007 Gwenole Beauchesne <gbeauchesne@mandriva.com> 1.3.8-1mdv2007.1 |
---|
1018 | + Revision: 144313 |
---|
1019 | - add should-start: dkms to initscript (#29523) |
---|
1020 | - 1.3.8 |
---|
1021 | * hard reset network device on reboot |
---|
1022 | * fix issues with IBM JVM 1.4.2 in Linux guests |
---|
1023 | * add support for X.org 7.2.x in Linux guest additions |
---|
1024 | |
---|
1025 | * Fri Mar 02 2007 Gwenole Beauchesne <gbeauchesne@mandriva.com> 1.3.6-1mdv2007.1 |
---|
1026 | + Revision: 131492 |
---|
1027 | - disable NMIs on Core 2 platforms too |
---|
1028 | - 1.3.6 |
---|
1029 | * fix some GUI issues |
---|
1030 | * fix OpenBSD 4.0 support |
---|
1031 | * fix CD/DVD-ROM detection in Windows Vista guests |
---|
1032 | * fix networking issues with Windows NT 4.0 guests |
---|
1033 | * fix some ALSA problems that could cause system reboots |
---|
1034 | |
---|
1035 | * Mon Feb 12 2007 Gwenole Beauchesne <gbeauchesne@mandriva.com> 1.3.4-1mdv2007.1 |
---|
1036 | + Revision: 119895 |
---|
1037 | - 1.3.4 |
---|
1038 | |
---|
1039 | * Mon Feb 12 2007 Gwenole Beauchesne <gbeauchesne@mandriva.com> 1.3.3.20070209-1mdv2007.1 |
---|
1040 | + Revision: 119017 |
---|
1041 | - SVN updates (2007/02/09): |
---|
1042 | * additional 64-bit fixes |
---|
1043 | * asynchronous packets transmission in NIC code |
---|
1044 | |
---|
1045 | * Sat Feb 03 2007 Gwenole Beauchesne <gbeauchesne@mandriva.com> 1.3.3.20070202-1mdv2007.1 |
---|
1046 | + Revision: 116064 |
---|
1047 | - various 64-bit fixes |
---|
1048 | - updates from SVN (2007/02/02): |
---|
1049 | * initial 64-bit host support |
---|
1050 | * fix IDE for Open Solaris 10 |
---|
1051 | * add VDI compacting to the GUI |
---|
1052 | |
---|
1053 | * Sat Jan 27 2007 Gwenole Beauchesne <gbeauchesne@mandriva.com> 1.3.3-1mdv2007.1 |
---|
1054 | + Revision: 114276 |
---|
1055 | - initial mandriva linux package |
---|
1056 | |
---|