[5301] | 1 | %define version 4.1.8 |
---|
[5419] | 2 | %define release 2%{?_dist_release} |
---|
[521] | 3 | |
---|
| 4 | %define kname vboxdrv |
---|
| 5 | %define oname VirtualBox |
---|
[3866] | 6 | %define srcname %{oname}-%{version} |
---|
[521] | 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 |
---|
[3866] | 15 | %define build_doc 0 |
---|
[521] | 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 | |
---|
[5111] | 28 | %if %{?_dist_release} >= "vl7" |
---|
| 29 | %define xserverabi 111 |
---|
| 30 | %endif |
---|
| 31 | %if %{?_dist_release} == "vl6" |
---|
[4011] | 32 | %define xserverabi 110 |
---|
[5111] | 33 | %endif |
---|
| 34 | %if %{?_dist_release} == "vl5" |
---|
[4011] | 35 | %define xserverabi 16 |
---|
| 36 | %endif |
---|
| 37 | |
---|
[521] | 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 |
---|
[927] | 48 | Source2: virtualbox.init.vine |
---|
[2500] | 49 | Source3: vboxadd-timesync.vine |
---|
[521] | 50 | Source4: 60-vboxadd.perms |
---|
| 51 | Source10: VirtualBox.png |
---|
[3866] | 52 | Patch2: VirtualBox-4.0.6-kernelrelease.patch |
---|
[521] | 53 | Patch4: VirtualBox-1.6.0_OSE-futex.patch |
---|
[859] | 54 | Patch5: virtualbox-fix-vboxadd-req.patch |
---|
[521] | 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) |
---|
[1062] | 60 | Patch12: 16-no-update.patch |
---|
[3866] | 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 |
---|
[859] | 65 | |
---|
[4526] | 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 | |
---|
[521] | 70 | # vine |
---|
| 71 | Patch100: VirtualBox-2.2.2-buildfix.patch |
---|
[4649] | 72 | Patch101: VirtualBox-4.1.2-vboxpci-build.patch |
---|
[1190] | 73 | Patch110: VirtualBox-3.2.4-vine.patch |
---|
[521] | 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 |
---|
[5301] | 90 | BuildRequires: libstdc++-devel |
---|
| 91 | %if %{?_dist_release} >= "vl7" |
---|
| 92 | BuildRequires: libstdc++-static |
---|
| 93 | %endif |
---|
[521] | 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 |
---|
[4649] | 104 | BuildRequires: kBuild >= 0.1.999 |
---|
[521] | 105 | BuildRequires: yasm |
---|
| 106 | BuildRequires: qt4-designer |
---|
[2276] | 107 | BuildRequires: pam-devel |
---|
[521] | 108 | %ifarch x86_64 |
---|
| 109 | BuildRequires: compat32-glibc-devel |
---|
| 110 | %endif |
---|
[3866] | 111 | BuildRequires: java-1.6.0-openjdk-devel |
---|
| 112 | %if %{build_doc} |
---|
| 113 | BuildRequires: task-texlive |
---|
| 114 | BuildRequires: texlive-collection-fontsextra |
---|
| 115 | %endif |
---|
[521] | 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} |
---|
[4864] | 146 | #Requires: xorg-x11-drv-vboxmouse |
---|
[521] | 147 | Requires: xorg-x11-drv-vboxvideo |
---|
| 148 | Requires: xorg-x11-server-utils |
---|
[4864] | 149 | Obsoletes: xorg-x11-drv-vboxmouse < 4.1.4 |
---|
[521] | 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} |
---|
[1062] | 170 | Provides: dkms-vboxsf = %{version}-%{release} |
---|
| 171 | Obsoletes: dkms-vboxsf < %{version}-%{release} |
---|
[521] | 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 | |
---|
[4864] | 181 | %if 0 |
---|
[521] | 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 マウスドライバです。 |
---|
[4864] | 193 | %endif |
---|
[521] | 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 -n %{distname} |
---|
| 211 | %patch2 -p1 -b .kernelrelease |
---|
| 212 | %patch4 -p1 -b .futex |
---|
[859] | 213 | %patch5 -p1 -b .fix-timesync-req |
---|
[521] | 214 | %patch6 -p1 -b .initscriptname |
---|
| 215 | %patch10 -p1 -b .kernel-headers-2.6.29 |
---|
[5301] | 216 | #%patch12 -p1 -b .disable-update |
---|
[3866] | 217 | %patch18 -p1 -b .mkisofs-makeself |
---|
[4649] | 218 | #%patch50 -p1 -b .fix_panic |
---|
[521] | 219 | %patch100 -p1 -b .buildfix |
---|
[5111] | 220 | #%patch101 -p1 -b .vboxpci-build |
---|
[1190] | 221 | %patch110 -p1 -b .vine |
---|
[521] | 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} |
---|
[1062] | 231 | VBOX_WITH_TESTCASES:= |
---|
[521] | 232 | VBOX_WITH_TESTSUITE:= |
---|
[3866] | 233 | VBOX_JAVA_HOME := %{_prefix}/lib/jvm/java-openjdk/ |
---|
| 234 | VBOX_WITHOUT_ADDITIONS_ISO := 1 |
---|
[521] | 235 | EOF |
---|
| 236 | |
---|
| 237 | %build |
---|
| 238 | |
---|
[3866] | 239 | ./configure \ |
---|
| 240 | --with-linux=$PWD/fake-linux \ |
---|
| 241 | --disable-kmods \ |
---|
| 242 | %if ! %{build_doc} |
---|
| 243 | --disable-docs |
---|
| 244 | %endif |
---|
| 245 | |
---|
[521] | 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 |
---|
[859] | 252 | kmk KBUILD_VERBOSE=2 \ |
---|
| 253 | TOOL_YASM_AS=yasm \ |
---|
[521] | 254 | VBOX_WITH_REGISTRATION_REQUEST= \ |
---|
[5419] | 255 | VBOX_WITH_UPDATE_REQUEST= \ |
---|
[859] | 256 | %{?_smp_mflags} all |
---|
[521] | 257 | |
---|
| 258 | %install |
---|
| 259 | rm -rf %{buildroot} |
---|
| 260 | |
---|
| 261 | # install vbox components |
---|
| 262 | mkdir -p %{buildroot}%{vboxlibdir} %{buildroot}%{vboxdatadir} |
---|
| 263 | |
---|
[859] | 264 | (cd out/%{vbox_platform}/release/bin && tar cf - --exclude=additions .) | \ |
---|
[521] | 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 |
---|
[859] | 285 | #ln -s %{vboxdatadir}/VBox.sh %{buildroot}%{_bindir}/vboxwebsrv |
---|
[521] | 286 | |
---|
[859] | 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 |
---|
[521] | 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 |
---|
[859] | 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 |
---|
[521] | 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 |
---|
[859] | 317 | DEST_MODULE_LOCATION[2]=/kernel/3rdparty/vbox |
---|
| 318 | BUILT_MODULE_LOCATION[2]=vboxnetadp/ |
---|
| 319 | BUILT_MODULE_NAME[2]=vboxnetadp |
---|
[521] | 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 |
---|
[859] | 328 | cat > %{buildroot}%{_sysconfdir}/udev/rules.d/vbox-additions.rules << EOF |
---|
[3866] | 329 | KERNEL=="vboxguest", NAME="vboxguest", OWNER="root", MODE="0660" |
---|
| 330 | KERNEL=="vboxuser", NAME="vboxuser", OWNER="root", MODE="0666" |
---|
[859] | 331 | EOF |
---|
[521] | 332 | |
---|
| 333 | # install additions |
---|
| 334 | %if %{build_additions} |
---|
| 335 | mkdir -p %{buildroot}%{_datadir}/hal/fdi/policy/20thirdparty |
---|
[2500] | 336 | install -m755 %SOURCE3 %{buildroot}%{_initrddir}/vboxadd-timesync |
---|
[521] | 337 | |
---|
[4864] | 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/ |
---|
[3866] | 349 | |
---|
[5081] | 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 |
---|
[521] | 352 | |
---|
[859] | 353 | pushd out/%{vbox_platform}/release/bin/additions |
---|
[521] | 354 | install -d %{buildroot}/sbin %{buildroot}%{_sbindir} %{buildroot}/%{_libdir}/dri |
---|
[859] | 355 | install -m755 mount.vboxsf %{buildroot}/sbin/mount.vboxsf |
---|
| 356 | install -m755 VBoxService %{buildroot}%{_sbindir} |
---|
[521] | 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 | |
---|
[859] | 367 | install -d %{buildroot}%{_sysconfdir}/modprobe.preload.d |
---|
| 368 | cat > %{buildroot}%{_sysconfdir}/modprobe.preload.d/vbox-guest-additions << EOF |
---|
| 369 | vboxadd |
---|
| 370 | EOF |
---|
| 371 | |
---|
[521] | 372 | install -d %{buildroot}%{_libdir}/xorg/modules/{input,drivers} |
---|
[4864] | 373 | #install vboxmouse_drv_%{xserverabi}.so %{buildroot}%{_libdir}/xorg/modules/input/vboxmouse_drv.so |
---|
[4011] | 374 | install vboxvideo_drv_%{xserverabi}.so %{buildroot}%{_libdir}/xorg/modules/drivers/vboxvideo_drv.so |
---|
[859] | 375 | |
---|
[521] | 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} |
---|
[859] | 380 | MAKE[0]="make -C \$kernel_source_dir M=\$dkms_tree/\$module/\$module_version/build/vboxguest && |
---|
[1062] | 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 && |
---|
[521] | 385 | make -C \$kernel_source_dir M=\$dkms_tree/\$module/\$module_version/build/vboxvideo" |
---|
| 386 | EOF |
---|
[859] | 387 | |
---|
[521] | 388 | i=0 |
---|
[1062] | 389 | for kmod in vboxguest vboxsf vboxvideo; do |
---|
[521] | 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 |
---|
[859] | 400 | CLEAN="make -C \$kernel_source_dir M=\$dkms_tree/\$module/\$module_version/build/vboxguest clean && |
---|
[1062] | 401 | make -C \$kernel_source_dir M=\$dkms_tree/\$module/\$module_version/build/vboxsf clean && |
---|
[521] | 402 | make -C \$kernel_source_dir M=\$dkms_tree/\$module/\$module_version/build/vboxvideo clean " |
---|
| 403 | AUTOINSTALL=yes |
---|
| 404 | EOF |
---|
| 405 | popd |
---|
[1062] | 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 |
---|
[521] | 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} |
---|
[859] | 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 | |
---|
[521] | 480 | %preun guest-additions |
---|
| 481 | if [ $1 = 0 ]; then |
---|
[859] | 482 | service vboxadd-timesync stop > /dev/null 2>&1 ||: |
---|
| 483 | /sbin/chkconfig --del vboxadd-timesync |
---|
[521] | 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 |
---|
[859] | 508 | %{_bindir}/VBoxNetAdpCtl |
---|
| 509 | %{_bindir}/VBoxNetDHCP |
---|
| 510 | #%{_bindir}/vboxwebsrv |
---|
[521] | 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 |
---|
[859] | 536 | %{_initrddir}/vboxadd-timesync |
---|
| 537 | %{_sbindir}/VBoxService |
---|
[521] | 538 | %{_bindir}/VBoxClient |
---|
| 539 | %{_bindir}/VBoxControl |
---|
| 540 | %{_sysconfdir}/security/console.perms.d/60-vboxadd.perms |
---|
[859] | 541 | %{_sysconfdir}/udev/rules.d/vbox-additions.rules |
---|
[5081] | 542 | %{_sysconfdir}/X11/xinit/xinitrc.d/98vboxadd-xclient |
---|
[859] | 543 | %{_sysconfdir}/modprobe.preload.d/vbox-guest-additions |
---|
[521] | 544 | |
---|
[4864] | 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 |
---|
[521] | 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 |
---|
[5419] | 568 | * Mon Jan 16 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 4.1.8-2 |
---|
| 569 | - remove VBOX_VERSION_STRING=... from kmk command line |
---|
| 570 | - add VBOX_WITH_UPDATE_REQUEST= to kmk command line |
---|
| 571 | |
---|
[5301] | 572 | * Wed Dec 21 2011 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 4.1.8-1 |
---|
| 573 | - new upstream release |
---|
| 574 | - drop Patch12 (merged into upstream) |
---|
| 575 | |
---|
[5111] | 576 | * Sat Nov 5 2011 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 4.1.6-2 |
---|
| 577 | - explicitly specify xserverabi for vl5, vl6, vl7 (and up) |
---|
| 578 | |
---|
| 579 | * Sat Nov 5 2011 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 4.1.6-1 |
---|
| 580 | - new upstream release |
---|
| 581 | - drop Patch101 (merged into upstream) |
---|
| 582 | |
---|
[5081] | 583 | * Mon Oct 31 2011 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 4.1.4-2 |
---|
[5111] | 584 | - fix the path 98vboxadd-xclient script should be installed |
---|
[5081] | 585 | (s|/etc/X11/xinit.d|/etc/X11/xinit/xinitrc.d|) |
---|
| 586 | |
---|
[4864] | 587 | * Tue Oct 4 2011 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 4.1.4-1 |
---|
| 588 | - new upstream release |
---|
| 589 | - use the kernel mouse driver for all setups where we previously |
---|
| 590 | autoloaded vboxmouse (see: https://www.virtualbox.org/changeset/38784) |
---|
| 591 | |
---|
[4649] | 592 | * Wed Aug 24 2011 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 4.1.2-1 |
---|
| 593 | - new upstream release |
---|
| 594 | - drop Patch50; fix Patch12 & Patch101 |
---|
| 595 | - specify VBOX_VERSION_STRING on kmk to declare third-party (VINE) build |
---|
| 596 | see: http://www.virtualbox.org/wiki/Editions |
---|
| 597 | |
---|
[4526] | 598 | * Tue Aug 9 2011 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 4.1.0-2 |
---|
| 599 | - add Patch50 to fix random kernel panic during shutdown on some environments |
---|
| 600 | (see: http://www.virtualbox.org/ticket/9305) |
---|
| 601 | |
---|
[4364] | 602 | * Wed Jul 20 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 4.1.0-1 |
---|
| 603 | - update to 4.1.0 |
---|
| 604 | |
---|
| 605 | * Fri Jul 08 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 4.0.10-1 |
---|
| 606 | - update to 4.0.10 |
---|
| 607 | |
---|
[4011] | 608 | * Sun May 29 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 4.0.8-1 |
---|
| 609 | - update to 4.0.8 |
---|
| 610 | - include xserver 1.10 drivers |
---|
| 611 | |
---|
[3866] | 612 | * Fri May 13 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 4.0.6-1 |
---|
| 613 | - update to 4.0.6 |
---|
| 614 | - add BR: java-1.6.0-openjdk-devel |
---|
| 615 | |
---|
[2500] | 616 | * Fri Jan 14 2011 Shu KONNO <owa@bg.wakwak.com> 3.2.12-3 |
---|
| 617 | - rebuilt with openssl-1.0.0c |
---|
| 618 | - added vboxadd-timesync.vine instead of vboxadd-service.sh |
---|
| 619 | |
---|
[2276] | 620 | * Sat Dec 04 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 3.2.12-2 |
---|
| 621 | - add BR: pam-devel |
---|
| 622 | - rebuild with python-2.6 |
---|
| 623 | |
---|
[2273] | 624 | * Fri Dec 03 2010 Shu KONNO <owa@bg.wakwak.com> 3.2.12-1 |
---|
| 625 | - updated VirtualBox to 3.2.12-OSE |
---|
| 626 | |
---|
[1675] | 627 | * Mon Aug 23 2010 Shu KONNO <owa@bg.wakwak.com> 3.2.8-1 |
---|
| 628 | - new upstream release |
---|
| 629 | |
---|
[1190] | 630 | * Sat Jun 12 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 3.2.4-2 |
---|
| 631 | - add patch110 to fix vboxadd-timesync script |
---|
| 632 | |
---|
[1181] | 633 | * Thu Jun 10 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 3.2.4-1 |
---|
| 634 | - new upstream release |
---|
| 635 | |
---|
[1062] | 636 | * Sat May 22 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 3.2.0-1 |
---|
| 637 | - new upstream release |
---|
| 638 | - drop wined3d patch as the Windows guest additions provide |
---|
| 639 | Direct3D acceleration. |
---|
| 640 | - add xorg.conf snippet for new xserver |
---|
| 641 | - vboxvfs renamed to vboxsf |
---|
| 642 | |
---|
[927] | 643 | * Mon Apr 19 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 3.1.6-2 |
---|
| 644 | - fix initscript |
---|
| 645 | |
---|
[859] | 646 | * Sun Apr 18 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 3.1.6-1 |
---|
| 647 | - new upstream release |
---|
| 648 | |
---|
[521] | 649 | * Tue Nov 17 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 3.0.10-1 |
---|
| 650 | - new upstream release |
---|
| 651 | - add missing BR: |
---|
| 652 | |
---|
| 653 | * Mon Sep 21 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 3.0.6-1 |
---|
| 654 | - new upstream release |
---|
| 655 | |
---|
| 656 | * Wed Aug 05 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 3.0.4-1 |
---|
| 657 | - new upstream release |
---|
| 658 | - add translated summaries and descriptions |
---|
| 659 | |
---|
| 660 | * Mon Jul 13 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 3.0.2-1 |
---|
| 661 | - new upstream release |
---|
| 662 | |
---|
| 663 | * Wed Jul 01 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 3.0.0-1 |
---|
| 664 | - new upstream release |
---|
| 665 | |
---|
| 666 | * Tue Jun 09 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.4-3 |
---|
| 667 | - change Group: of dkms-VirtualBox to System Environment/Kernel |
---|
| 668 | |
---|
| 669 | * Tue Jun 02 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.4-2 |
---|
| 670 | - remove modprobe.d/vbox-guest-additions |
---|
| 671 | |
---|
| 672 | * Sun May 31 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.4-1 |
---|
| 673 | - update to 2.2.4 |
---|
| 674 | |
---|
| 675 | * Sun May 31 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.2-1 |
---|
| 676 | - initial build for Vine Linux |
---|
| 677 | - update to 2.2.2 |
---|
| 678 | |
---|
| 679 | * Wed Apr 22 2009 Pascal Terjan <pterjan@mandriva.org> 2.2.0-4mdv2009.1 |
---|
| 680 | + Revision: 368679 |
---|
| 681 | - Fix mkrpm template |
---|
| 682 | |
---|
| 683 | * Tue Apr 21 2009 Pascal Terjan <pterjan@mandriva.org> 2.2.0-3mdv2009.1 |
---|
| 684 | + Revision: 368502 |
---|
| 685 | - BuildRequires:dkms-minimal |
---|
| 686 | - Obsolete -latest dkms binary packages |
---|
| 687 | |
---|
| 688 | * Wed Apr 15 2009 Frederic Crozat <fcrozat@mandriva.com> 2.2.0-2mdv2009.1 |
---|
| 689 | + Revision: 367571 |
---|
| 690 | - Patch15: kill vboxclient if leftover from previous X11 session |
---|
| 691 | - Patch14 (Sun): fix OpenGL support for Linux Guest additions |
---|
| 692 | - improve packaging to be more LSB compliant |
---|
| 693 | |
---|
| 694 | * Fri Apr 10 2009 Frederic Crozat <fcrozat@mandriva.com> 2.2.0-1mdv2009.1 |
---|
| 695 | + Revision: 365828 |
---|
| 696 | - Release 2.2.0 |
---|
| 697 | - enable OpenGL pass-through. Caveat : Linux guest support is not working when building guest additions with Open source edition (under investigation) |
---|
| 698 | - move location of fdi file (fix mouse integration support when using HAL) |
---|
| 699 | - merge all guest additions kernel module in one single DKMS (pterjan) |
---|
| 700 | - Enable webservice |
---|
| 701 | - Remove patch9, no longer needed (when using kernel 2.6.29.x, you MUST use kernel 2.6.29.1 or later) |
---|
| 702 | - Regenerate patches 8, 10 |
---|
| 703 | - Patch11: add Wine Direct3D guest additions option (Debian) |
---|
| 704 | - Patch12: disable update notification (Debian) |
---|
| 705 | - Patch13: make network settings more intuitive (Debian) |
---|
| 706 | - Add missing dependencies in guest additions package |
---|
| 707 | - No longer use gcc 4.2, build fine with latest gcc 4.3 |
---|
| 708 | - Replace source3 with upstream version |
---|
| 709 | - Update source4 to change permissions on both guest additions devices |
---|
| 710 | - Fix permissions on non .so files |
---|
| 711 | |
---|
| 712 | * Mon Mar 09 2009 Pascal Terjan <pterjan@mandriva.org> 2.1.4-5mdv2009.1 |
---|
| 713 | + Revision: 353280 |
---|
| 714 | - vboxvfs needs vboxadd |
---|
| 715 | |
---|
| 716 | * Wed Mar 04 2009 Frederic Crozat <fcrozat@mandriva.com> 2.1.4-4mdv2009.1 |
---|
| 717 | + Revision: 348336 |
---|
| 718 | - Force rebuild of dkms modules |
---|
| 719 | |
---|
| 720 | * Wed Feb 25 2009 Herton Ronaldo Krzesinski <herton@mandriva.com.br> 2.1.4-3mdv2009.1 |
---|
| 721 | + Revision: 344966 |
---|
| 722 | - Copy Module.symvers for vboxnetflt dkms build, needed with |
---|
| 723 | CONFIG_MODVERSIONS enabled in latest cooker kernels. |
---|
| 724 | |
---|
| 725 | * Wed Feb 25 2009 Herton Ronaldo Krzesinski <herton@mandriva.com.br> 2.1.4-2mdv2009.1 |
---|
| 726 | + Revision: 344896 |
---|
| 727 | - Apply fix for VM load failure with kernels 2.6.29-rc5 or later |
---|
| 728 | (#48096, http://www.virtualbox.org/ticket/3403). |
---|
| 729 | - Fix building with kernel-headers-2.6.29* |
---|
| 730 | |
---|
| 731 | * Tue Feb 17 2009 Frederik Himpe <fhimpe@mandriva.org> 2.1.4-1mdv2009.1 |
---|
| 732 | + Revision: 342236 |
---|
| 733 | - Update to new version 2.1.4 |
---|
| 734 | - Fix source URL |
---|
| 735 | |
---|
| 736 | * Thu Jan 22 2009 Frederic Crozat <fcrozat@mandriva.com> 2.1.2-2mdv2009.1 |
---|
| 737 | + Revision: 332593 |
---|
| 738 | - Use xorg 1.6 drivers when building cooker guest addition packages |
---|
| 739 | |
---|
| 740 | * Thu Jan 22 2009 Funda Wang <fundawang@mandriva.org> 2.1.2-1mdv2009.1 |
---|
| 741 | + Revision: 332404 |
---|
| 742 | - specify CC4.2 |
---|
| 743 | - New version 2.1.2 |
---|
| 744 | - rediff libpath patch |
---|
| 745 | |
---|
| 746 | * Sun Jan 04 2009 Colin Guthrie <cguthrie@mandriva.org> 2.1.0-5mdv2009.1 |
---|
| 747 | + Revision: 324525 |
---|
| 748 | - Rebuild mouse and display drivers for xserver 1.6 |
---|
| 749 | |
---|
| 750 | * Thu Dec 25 2008 Michael Scherer <misc@mandriva.org> 2.1.0-4mdv2009.1 |
---|
| 751 | + Revision: 318540 |
---|
| 752 | - rebuild for new python |
---|
| 753 | |
---|
| 754 | * Fri Dec 19 2008 Frederic Crozat <fcrozat@mandriva.com> 2.1.0-3mdv2009.1 |
---|
| 755 | + Revision: 316288 |
---|
| 756 | - Fix guest additions for cooker, we ship Xorg 1.5 now |
---|
| 757 | - Ship fdi file for vboxmouse |
---|
| 758 | |
---|
| 759 | * Fri Dec 19 2008 Adam Williamson <awilliamson@mandriva.org> 2.1.0-2mdv2009.1 |
---|
| 760 | + Revision: 316021 |
---|
| 761 | - oops, finish fixing up initscript |
---|
| 762 | |
---|
| 763 | * Fri Dec 19 2008 Adam Williamson <awilliamson@mandriva.org> 2.1.0-1mdv2009.1 |
---|
| 764 | + Revision: 316019 |
---|
| 765 | - adjust initscript and dkms.conf for the fact that there's now two necessary |
---|
| 766 | kernel modules for the master: vboxdrv and vboxnetflt |
---|
| 767 | - drop mdvconfig.patch: this stub does nothing useful, and breaks the build |
---|
| 768 | (see fcrozat's mail on Cooker) |
---|
| 769 | - VBoxAddIF and VBoxDeleteIF are now obsolete and not provided |
---|
| 770 | |
---|
| 771 | + Frederic Crozat <fcrozat@mandriva.com> |
---|
| 772 | - Release 2.1.0 |
---|
| 773 | - Regenerate patch1 |
---|
| 774 | - update buildrequires |
---|
| 775 | |
---|
| 776 | * Sun Nov 30 2008 Frederik Himpe <fhimpe@mandriva.org> 2.0.6-2mdv2009.1 |
---|
| 777 | + Revision: 308552 |
---|
| 778 | - Rebuild mouse and display drivers for xserver 1.5 |
---|
| 779 | |
---|
| 780 | * Wed Nov 26 2008 Funda Wang <fundawang@mandriva.org> 2.0.6-1mdv2009.1 |
---|
| 781 | + Revision: 306865 |
---|
| 782 | - New version 2.0.6 |
---|
| 783 | |
---|
| 784 | * Mon Nov 03 2008 Funda Wang <fundawang@mandriva.org> 2.0.4-1mdv2009.1 |
---|
| 785 | + Revision: 299348 |
---|
| 786 | - New version 2.0.4 |
---|
| 787 | |
---|
| 788 | * Mon Sep 15 2008 Frederic Crozat <fcrozat@mandriva.com> 2.0.2-2mdv2009.0 |
---|
| 789 | + Revision: 284854 |
---|
| 790 | - Patch8: disable version check at startup |
---|
| 791 | |
---|
| 792 | * Sat Sep 13 2008 Frederik Himpe <fhimpe@mandriva.org> 2.0.2-1mdv2009.0 |
---|
| 793 | + Revision: 284544 |
---|
| 794 | - Update to bugfix update 2.0.2 |
---|
| 795 | |
---|
| 796 | * Tue Sep 09 2008 Olivier Blin <oblin@mandriva.com> 2.0.0-3mdv2009.0 |
---|
| 797 | + Revision: 283015 |
---|
| 798 | - build guest additions on x86_64 too (#43593) |
---|
| 799 | |
---|
| 800 | + Frederic Crozat <fcrozat@mandriva.com> |
---|
| 801 | - Patch7: fix QT4 detection on x86-64 on Mandriva 2008.1 |
---|
| 802 | |
---|
| 803 | * Thu Sep 04 2008 Frederic Crozat <fcrozat@mandriva.com> 2.0.0-1mdv2009.0 |
---|
| 804 | + Revision: 280850 |
---|
| 805 | - Fix BuildRequires |
---|
| 806 | - Release 2.0.0 |
---|
| 807 | - Remove patches 3, 7 (merged upstream) |
---|
| 808 | |
---|
| 809 | * Mon Sep 01 2008 Herton Ronaldo Krzesinski <herton@mandriva.com.br> 1.6.4-4mdv2009.0 |
---|
| 810 | + Revision: 278071 |
---|
| 811 | - Added patch to allow VirtualBox kernel module to build with |
---|
| 812 | Linux 2.6.27 |
---|
| 813 | |
---|
| 814 | + Pixel <pixel@mandriva.com> |
---|
| 815 | - increase release number |
---|
| 816 | - use gcc4.2 to build the recompiler (not ported to gcc 4.3 yet) |
---|
| 817 | |
---|
| 818 | * Wed Aug 06 2008 Olivier Blin <oblin@mandriva.com> 1.6.4-2mdv2009.0 |
---|
| 819 | + Revision: 264273 |
---|
| 820 | - create /var/run/VirtualBox (#41963) |
---|
| 821 | - use tunctl from the tunctl package while VBoxTunctl does not build |
---|
| 822 | |
---|
| 823 | * Tue Aug 05 2008 Olivier Blin <oblin@mandriva.com> 1.6.4-1mdv2009.0 |
---|
| 824 | + Revision: 264016 |
---|
| 825 | - do not include VBoxTunctl for now (build is broken in upstream tarball) |
---|
| 826 | - rediff misc_register patch (the register part has been implemented upstream, I should submit the deregister hunks) |
---|
| 827 | - fix 1.6.4 build by not building tunctl (some Makefile.kmk are missing) |
---|
| 828 | - 1.6.4 |
---|
| 829 | |
---|
| 830 | * Tue Jul 29 2008 Frederic Crozat <fcrozat@mandriva.com> 1.6.2-2mdv2009.0 |
---|
| 831 | + Revision: 252777 |
---|
| 832 | - Don't use gcc 3.3 for build on 2008.1 or earlier |
---|
| 833 | |
---|
| 834 | * Wed Jul 09 2008 Olivier Blin <oblin@mandriva.com> 1.6.2-1mdv2009.0 |
---|
| 835 | + Revision: 232889 |
---|
| 836 | - set again linux sources path in configure |
---|
| 837 | - use gcc 3.3 to build the recompiler (not ported to gcc 4.3 yet) |
---|
| 838 | - use kernel-devel-latest instead of kernel-source-latest |
---|
| 839 | - use a prepared copy of the linux tree (for linux/bounds.h) |
---|
| 840 | |
---|
| 841 | + Frederic Crozat <fcrozat@mandriva.com> |
---|
| 842 | - Release 1.6.2 |
---|
| 843 | - Regenerate patch5 |
---|
| 844 | - Fix duplicated line in specfile |
---|
| 845 | |
---|
| 846 | + Pixel <pixel@mandriva.com> |
---|
| 847 | - rpm filetriggers deprecates update_menus/update_scrollkeeper/update_mime_database/update_icon_cache/update_desktop_database/post_install_gconf_schemas |
---|
| 848 | |
---|
| 849 | * Fri May 16 2008 Frederic Crozat <fcrozat@mandriva.com> 1.6.0-4mdv2009.0 |
---|
| 850 | + Revision: 208160 |
---|
| 851 | - Fix seamless mode in guest additions subpackage |
---|
| 852 | |
---|
| 853 | * Thu May 15 2008 Anssi Hannula <anssi@mandriva.org> 1.6.0-3mdv2009.0 |
---|
| 854 | + Revision: 207692 |
---|
| 855 | - rename VBoxAddIF.sh and VBoxDeleteIF.sh to VBoxAddIF and VBoxDeleteIF |
---|
| 856 | to match original names and documentation |
---|
| 857 | |
---|
| 858 | * Wed May 14 2008 Frederic Crozat <fcrozat@mandriva.com> 1.6.0-2mdv2009.0 |
---|
| 859 | + Revision: 207235 |
---|
| 860 | - Replace source1 with patch 6 (use up to date VBox.sh script) |
---|
| 861 | - Ensure VBoxAddIF/VBoxDeleteIF scripts are packaged, as well as VBoxTunctl (Mdv bug #40769) |
---|
| 862 | - package VBoxHeadless (Mdv bug #40771) |
---|
| 863 | |
---|
| 864 | * Fri May 09 2008 Olivier Blin <oblin@mandriva.com> 1.6.0-1mdv2009.0 |
---|
| 865 | + Revision: 205313 |
---|
| 866 | - try harder to disable additions on x86_64 |
---|
| 867 | - buildrequire libxslt-devel |
---|
| 868 | - adapt to vboxadd-xclient being renamed as VBoxClient |
---|
| 869 | - rediff futex patch |
---|
| 870 | - rediff misc_register patch |
---|
| 871 | - 1.6.0 |
---|
| 872 | - revert BUILT_MODULE_NAME addition, the bug is fixed in dkms |
---|
| 873 | |
---|
| 874 | + Anssi Hannula <anssi@mandriva.org> |
---|
| 875 | - add BUILT_MODULE_NAME to dkms.conf of vboxadd and vboxvfs (fixes DKMS |
---|
| 876 | error) |
---|
| 877 | |
---|
| 878 | * Tue Feb 26 2008 Olivier Blin <oblin@mandriva.com> 1.5.6-1mdv2008.1 |
---|
| 879 | + Revision: 175619 |
---|
| 880 | - 1.5.6 |
---|
| 881 | - rediff KERNELRELEASE patch |
---|
| 882 | |
---|
| 883 | * Tue Feb 26 2008 Olivier Blin <oblin@mandriva.com> 1.5.4-5mdv2008.1 |
---|
| 884 | + Revision: 175610 |
---|
| 885 | - try to start dkms instead of vboxadd in vboxadd-timesync service (since modules are loaded from modprobe.preload.d, #36728) |
---|
| 886 | |
---|
| 887 | * Fri Feb 08 2008 Thierry Vignaud <tvignaud@mandriva.com> 1.5.4-4mdv2008.1 |
---|
| 888 | + Revision: 163970 |
---|
| 889 | - drop old menu |
---|
| 890 | |
---|
| 891 | + Frederic Crozat <fcrozat@mandriva.com> |
---|
| 892 | - Really disable pulseaudio support on 2008.0 or older |
---|
| 893 | |
---|
| 894 | * Thu Jan 10 2008 Frederic Crozat <fcrozat@mandriva.com> 1.5.4-3mdv2008.1 |
---|
| 895 | + Revision: 147602 |
---|
| 896 | - Use correct version of x11 mouse and video additional driver when used on 2008.1 (xorg 1.4) and 2008.0 |
---|
| 897 | - Only build pulseaudio support for 2008.1 |
---|
| 898 | |
---|
| 899 | * Wed Jan 09 2008 Olivier Blin <oblin@mandriva.com> 1.5.4-2mdv2008.1 |
---|
| 900 | + Revision: 147006 |
---|
| 901 | - fix dkms build for kernels different from running kernel |
---|
| 902 | |
---|
| 903 | * Thu Jan 03 2008 Olivier Blin <oblin@mandriva.com> 1.5.4-1mdv2008.1 |
---|
| 904 | + Revision: 142711 |
---|
| 905 | - buildrequire pulseaudio-devel |
---|
| 906 | - rediff libpath patch |
---|
| 907 | - remove 2.6.24 build fix, fixed upstream |
---|
| 908 | - 1.5.4 |
---|
| 909 | - restore BuildRoot |
---|
| 910 | |
---|
| 911 | + Pascal Terjan <pterjan@mandriva.org> |
---|
| 912 | - Switch to Debian patch for 2.6.24 |
---|
| 913 | - Re-create the 2.6.24 patch, some bits got lost |
---|
| 914 | |
---|
| 915 | + Thierry Vignaud <tvignaud@mandriva.com> |
---|
| 916 | - kill re-definition of %%buildroot on Pixel's request |
---|
| 917 | - kill explicit icon extension |
---|
| 918 | |
---|
| 919 | + Giuseppe Ghibò <ghibo@mandriva.com> |
---|
| 920 | - Use kernel-source-latest in BuildRequires as conditional. |
---|
| 921 | - Add conditional build flags for older release. |
---|
| 922 | - Let Patch5 conditional. |
---|
| 923 | |
---|
| 924 | * Fri Nov 30 2007 Pascal Terjan <pterjan@mandriva.org> 1.5.2-3mdv2008.1 |
---|
| 925 | + Revision: 114076 |
---|
| 926 | - Improve 2.6.24 patch so that it should still build with older kernels |
---|
| 927 | |
---|
| 928 | * Fri Nov 30 2007 Pascal Terjan <pterjan@mandriva.org> 1.5.2-2mdv2008.1 |
---|
| 929 | + Revision: 114047 |
---|
| 930 | - Fix other parts to build with 2.6.24 |
---|
| 931 | - Fix vboxdrv for 2.6.24 |
---|
| 932 | |
---|
| 933 | * Tue Nov 13 2007 Olivier Blin <oblin@mandriva.com> 1.5.2-1mdv2008.1 |
---|
| 934 | + Revision: 108363 |
---|
| 935 | - remove keyboards patch (was from upstream svn) |
---|
| 936 | - rediff kernelrelease patch |
---|
| 937 | - rediff libpath patch |
---|
| 938 | - 1.5.2 |
---|
| 939 | |
---|
| 940 | * Thu Oct 04 2007 Olivier Blin <oblin@mandriva.com> 1.5.0-6mdv2008.0 |
---|
| 941 | + Revision: 95447 |
---|
| 942 | - really apply misc_register patch (so that vboxadd devices are automatically created) |
---|
| 943 | - add release in dkms PACKAGE_VERSION to ease upgrades |
---|
| 944 | |
---|
| 945 | * Sat Sep 29 2007 Olivier Blin <oblin@mandriva.com> 1.5.0-5mdv2008.0 |
---|
| 946 | + Revision: 93837 |
---|
| 947 | - require kmod(vboxdrv) instead of dkms package |
---|
| 948 | - do not mark initscript as config file |
---|
| 949 | - move initscripts and udev rules out of dkms package (so that it works when using dkms prebuilt modules) |
---|
| 950 | |
---|
| 951 | * Sat Sep 29 2007 Olivier Blin <oblin@mandriva.com> 1.5.0-4mdv2008.0 |
---|
| 952 | + Revision: 93812 |
---|
| 953 | - add vboxadd-timesync service |
---|
| 954 | - add pam_console perms file to assign vboxadd device to console user |
---|
| 955 | - use misc_register() to register vboxadd device so that /dev/vboxadd gets created automatically by udev |
---|
| 956 | |
---|
| 957 | * Fri Sep 28 2007 Olivier Blin <oblin@mandriva.com> 1.5.0-3mdv2008.0 |
---|
| 958 | + Revision: 93770 |
---|
| 959 | - add vboxadd-xclient xinit.d script |
---|
| 960 | - release new additions, but we still need to fix mknod for vboxadd |
---|
| 961 | (or use device_create() in kernel module), set console perms for |
---|
| 962 | vboxadd in console.perms.d, and add timesync initscript |
---|
| 963 | - make guest additions package require X11 drivers |
---|
| 964 | - make x11 driver packages suggest virtualbox-guest-additions |
---|
| 965 | - add virtualbox-guest-additions package (with xclient, timesync, mount.vboxsf) |
---|
| 966 | - add dkms-vboxadd and dkms-vboxvfs packages |
---|
| 967 | |
---|
| 968 | * Fri Sep 28 2007 Olivier Blin <oblin@mandriva.com> 1.5.0-2mdv2008.0 |
---|
| 969 | + Revision: 93534 |
---|
| 970 | - build additions on ix86 only |
---|
| 971 | - fix support for Brazilian, Belgian, US intl and US dvorak keyboards and add support for multimedia keys (from upstream SVN) |
---|
| 972 | - buildrequire libstdc++-static-devel |
---|
| 973 | - buildrequire libxt-devel |
---|
| 974 | - buildrequire kernel-source-latest, since iurt/urpmi don't install latest kernel-source automatically |
---|
| 975 | - buildrequire kernel-source |
---|
| 976 | - package mouse guest addition in x11-driver-input-vboxmouse |
---|
| 977 | - package video guest addition in x11-driver-video-vboxvideo |
---|
| 978 | - build VirtualBox additions |
---|
| 979 | |
---|
| 980 | * Mon Sep 03 2007 Olivier Blin <oblin@mandriva.com> 1.5.0-1mdv2008.0 |
---|
| 981 | + Revision: 78607 |
---|
| 982 | - drop libstdc++5 BuildRequires |
---|
| 983 | - drop unapplied x86_64 NMI watchdog disabling patch (merged upstream) |
---|
| 984 | - 1.5.0 |
---|
| 985 | - rediff mdvconfig patch |
---|
| 986 | |
---|
| 987 | + Thierry Vignaud <tvignaud@mandriva.com> |
---|
| 988 | - kill desktop-file-validate's 'warning: key "Encoding" in group "Desktop Entry" is deprecated' |
---|
| 989 | |
---|
| 990 | * Fri Jun 08 2007 Per Øyvind Karlsen <peroyvind@mandriva.org> 1.4.0-1mdv2008.0 |
---|
| 991 | + Revision: 37085 |
---|
| 992 | - from Jos?\195?\169 Melo <mmodem00@gmail.com>: |
---|
| 993 | o 1.4.0 |
---|
| 994 | o update patch:2 since is needed to load (modprobe) vbox driver in kernel-2.6.17 |
---|
| 995 | 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 |
---|
| 996 | o add missing buildrequire hal-devel |
---|
| 997 | |
---|
| 998 | |
---|
| 999 | * Thu Mar 15 2007 Gwenole Beauchesne <gbeauchesne@mandriva.com> 1.3.8-1mdv2007.1 |
---|
| 1000 | + Revision: 144313 |
---|
| 1001 | - add should-start: dkms to initscript (#29523) |
---|
| 1002 | - 1.3.8 |
---|
| 1003 | * hard reset network device on reboot |
---|
| 1004 | * fix issues with IBM JVM 1.4.2 in Linux guests |
---|
| 1005 | * add support for X.org 7.2.x in Linux guest additions |
---|
| 1006 | |
---|
| 1007 | * Fri Mar 02 2007 Gwenole Beauchesne <gbeauchesne@mandriva.com> 1.3.6-1mdv2007.1 |
---|
| 1008 | + Revision: 131492 |
---|
| 1009 | - disable NMIs on Core 2 platforms too |
---|
| 1010 | - 1.3.6 |
---|
| 1011 | * fix some GUI issues |
---|
| 1012 | * fix OpenBSD 4.0 support |
---|
| 1013 | * fix CD/DVD-ROM detection in Windows Vista guests |
---|
| 1014 | * fix networking issues with Windows NT 4.0 guests |
---|
| 1015 | * fix some ALSA problems that could cause system reboots |
---|
| 1016 | |
---|
| 1017 | * Mon Feb 12 2007 Gwenole Beauchesne <gbeauchesne@mandriva.com> 1.3.4-1mdv2007.1 |
---|
| 1018 | + Revision: 119895 |
---|
| 1019 | - 1.3.4 |
---|
| 1020 | |
---|
| 1021 | * Mon Feb 12 2007 Gwenole Beauchesne <gbeauchesne@mandriva.com> 1.3.3.20070209-1mdv2007.1 |
---|
| 1022 | + Revision: 119017 |
---|
| 1023 | - SVN updates (2007/02/09): |
---|
| 1024 | * additional 64-bit fixes |
---|
| 1025 | * asynchronous packets transmission in NIC code |
---|
| 1026 | |
---|
| 1027 | * Sat Feb 03 2007 Gwenole Beauchesne <gbeauchesne@mandriva.com> 1.3.3.20070202-1mdv2007.1 |
---|
| 1028 | + Revision: 116064 |
---|
| 1029 | - various 64-bit fixes |
---|
| 1030 | - updates from SVN (2007/02/02): |
---|
| 1031 | * initial 64-bit host support |
---|
| 1032 | * fix IDE for Open Solaris 10 |
---|
| 1033 | * add VDI compacting to the GUI |
---|
| 1034 | |
---|
| 1035 | * Sat Jan 27 2007 Gwenole Beauchesne <gbeauchesne@mandriva.com> 1.3.3-1mdv2007.1 |
---|
| 1036 | + Revision: 114276 |
---|
| 1037 | - initial mandriva linux package |
---|
| 1038 | |
---|