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