%global __provides_exclude_from %{_libdir}/VBoxGuestAdditions # Standard compiler flags, without: # -Wall -- VirtualBox takes care of reasonable warnings very well # -m32, -m64 -- 32bit code is built besides 64bit on x86_64 # -fexceptions -- R0 code doesn't link against C++ library, no __gxx_personality_v0 #global optflags %%(rpm --eval %%optflags |sed 's/-Wall//;s/-m[0-9][0-9]//;s/-fexceptions//') # fix for error: code model kernel does not support PIC mode #global optflags %%(echo %%{optflags} -fno-pic) #global optflags %%(echo %%{optflags} | sed 's/-specs=.*cc1 //') # In prerelease builds (such as betas), this package has the same # major version number, while the kernel module abi is not guaranteed # to be stable. This is so that we force the module update in sync with # userspace. #global prerel 106108 %global prereltag %{?prerel:-%(awk 'BEGIN {print toupper("%{prerel}")}')} %ifarch x86_64 %bcond_without webservice %else %bcond_with webservice %endif # el7 doesn't have all texlive requirements %if 0%{?rhel} %bcond_with docs %else %bcond_without docs %endif %bcond_with vnc %bcond_with legacy_vboxvideo_drv Name: VirtualBox Version: 5.2.8 #Release: 1%%{?prerel:.%%{prerel}}%%{?dist} Release: 2%{?dist} Summary: A general-purpose full virtualizer for PC hardware License: GPLv2 or (GPLv2 and CDDL) URL: http://www.virtualbox.org/wiki/VirtualBox ExclusiveArch: i686 x86_64 Group: System/Emulators/PC Requires: %{name}-server%{?isa} = %{version} Obsoletes: %{name}-qt Source0: https://download.virtualbox.org/virtualbox/%{version}%{?prereltag}/VirtualBox-%{version}%{?prereltag}.tar.bz2 Source3: VirtualBox-60-vboxdrv.rules Source4: VirtualBox.modules Source5: VirtualBox-60-vboxguest.rules Source6: VirtualBox-guest.modules Source7: vboxservice.service Source8: 96-vbox.preset Source9: VBoxOGLRun.sh Source10: vboxweb.service Source20: os_mageia.png Source21: os_mageia_64.png Patch1: VirtualBox-OSE-4.1.4-noupdate.patch Patch2: VirtualBox-5.1.0-strings.patch Patch18: VirtualBox-OSE-4.0.2-aiobug.patch Patch23: VirtualBox-5.0.18-xserver_guest.patch Patch27: VirtualBox-gcc.patch # from Debian Patch28: 02-gsoap-build-fix.patch # from Mageia Patch50: VirtualBox-5.1.0-add-Mageia-support.patch Patch51: VirtualBox-5.1.0-revert-VBox.sh.patch Patch60: VirtualBox-5.2.6-xclient.patch Patch61: 0001-VBoxServiceAutoMount-Change-Linux-mount-code-to-use-.patch BuildRequires: kBuild >= 0.1.9998.r3093 BuildRequires: SDL-devel BuildRequires: openssl-devel BuildRequires: libcurl-devel BuildRequires: iasl BuildRequires: libxslt-devel BuildRequires: xalan-c-devel BuildRequires: xerces-c-devel BuildRequires: libIDL-devel BuildRequires: yasm BuildRequires: pulseaudio-libs-devel BuildRequires: python2-devel BuildRequires: desktop-file-utils BuildRequires: libcap-devel BuildRequires: qt5-qtbase-devel BuildRequires: qt5-qtx11extras-devel BuildRequires: qt5-linguist %if %{with webservice} BuildRequires: gsoap-devel %endif BuildRequires: pam-devel BuildRequires: mkisofs BuildRequires: java-devel >= 1.6 %if %{with docs} BuildRequires: /usr/bin/pdflatex BuildRequires: docbook-dtds BuildRequires: docbook-style-xsl BuildRequires: doxygen-latex BuildRequires: texlive-collection-fontsrecommended BuildRequires: texlive-ec BuildRequires: texlive-ucs BuildRequires: texlive-tabulary BuildRequires: texlive-fancybox %endif BuildRequires: boost-devel #BuildRequires: liblzf-devel BuildRequires: libxml2-devel BuildRequires: libpng-devel BuildRequires: zlib-devel BuildRequires: device-mapper-devel BuildRequires: libvpx-devel BuildRequires: makeself # for 32bit on 64 %ifarch x86_64 BuildRequires: glibc-devel(x86-32) BuildRequires: libgcc(x86-32) BuildRequires: libstdc++-static(x86-32) BuildRequires: libstdc++-static(x86-64) %else BuildRequires: libstdc++-static %endif # For the X11 module #BuildRequires: libdrm-devel #BuildRequires: libpciaccess-devel #BuildRequires: pixman-devel #BuildRequires: xorg-x11-proto-devel #BuildRequires: xorg-x11-server-devel BuildRequires: libXcomposite-devel BuildRequires: libXcursor-devel BuildRequires: libXinerama-devel BuildRequires: libXmu-devel BuildRequires: libXrandr-devel BuildRequires: libXt-devel BuildRequires: mesa-libEGL-devel BuildRequires: mesa-libGL-devel BuildRequires: mesa-libGLU-devel #BuildRequires: mesa-libOSMesa-devel %if %{with vnc} BuildRequires: libvncserver-devel %endif %{?systemd_requires} BuildRequires: systemd %description VirtualBox is a powerful x86 and AMD64/Intel64 virtualization product for enterprise as well as home use. Not only is VirtualBox an extremely feature rich, high performance product for enterprise customers, it is also the only professional solution that is freely available as Open Source Software under the terms of the GNU General Public License (GPL) version 2. Presently, VirtualBox runs on Windows, Linux, Macintosh, and Solaris hosts and supports a large number of guest operating systems including but not limited to Windows (NT 4.0, 2000, XP, Server 2003, Vista, Windows 7, Windows 8, Windows 10), DOS/Windows 3.x, Linux (2.4, 2.6, 3.x and 4.x), Solaris and OpenSolaris, OS/2, and OpenBSD. %package server Summary: core part (host server) for %{name} Group: Development/Tools Requires: %{name}-kmod = %{version} Requires: hicolor-icon-theme Provides: %{name}-kmod-common = %{version}-%{release} %description server %{name} without Qt GUI part. %if %{with webservice} %package webservice Summary: WebService GUI part for %{name} Group: System/Emulators/PC Requires: %{name}-server%{?isa} = %{version} %description webservice webservice GUI part for %{name}. %endif %package devel Summary: %{name} SDK Group: Development/Libraries Requires: %{name}-server%{?isa} = %{version}-%{release} Requires: python-%{name}%{?isa} = %{version}-%{release} %description devel %{name} Software Development Kit. %package -n python-%{name} Summary: Python bindings for %{name} Group: Development/Libraries Requires: %{name}-server%{?_isa} = %{version}-%{release} %{?python_provide:%python_provide python2-%{srcname}} %description -n python-%{name} Python XPCOM bindings to %{name}. %package guest-additions Summary: %{name} Guest Additions Group: System Environment/Base Requires: %{name}-kmod = %{version} Provides: %{name}-kmod-common = %{version}-%{release} Requires: xorg-x11-server-Xorg Requires: xorg-x11-xinit Provides: %{name}-guest = %{version}-%{release} Obsoletes: %{name}-guest < %{version}-%{release} %if "%(xserver-sdk-abi-requires 2>/dev/null)" Requires: %(xserver-sdk-abi-requires ansic) Requires: %(xserver-sdk-abi-requires videodrv) Requires: %(xserver-sdk-abi-requires xinput) %endif %description guest-additions This subpackage is like the VirtualBox Guest Additions but just for Fedora, therefore it should be installed only in a Fedora guest system. This subpackage provides tools that use kernel modules for supporting integration with the Host, including file sharing, clipboard sharing, X.org X11 video and mouse driver, USB and webcam proxy and Seamless mode. To use OpenGL pass-through mode run apps using "VBoxOGLRun foo -opt1 -opt2". %package kmodsrc Summary: %{name} kernel module source code Group: System Environment/Kernel BuildArch: noarch %description kmodsrc Source tree used for building kernel module packages (%{name}-kmod) which is generated during the build of main package. %prep %setup -q # add Mageia images cp -a %{SOURCE20} %{SOURCE21} src/VBox/Frontends/VirtualBox/images/ # Remove prebuilt binary tools find -name '*.py[co]' -delete rm -r kBuild/ rm -r tools/ # Remove bundle X11 sources and some lib sources, before patching. rm -r src/VBox/Additions/x11/x11include/ rm -r src/VBox/Additions/x11/x11stubs/ rm include/VBox/HostServices/glext.h rm include/VBox/HostServices/glxext.h # wglext.h has typedefs for Windows-specific extensions #rm include/VBox/HostServices/wglext.h # src/VBox/GuestHost/OpenGL/include/GL/glext.h have VBOX definitions #rm -r src/VBox/GuestHost/OpenGL/include/GL #rm -rf src/libs/liblzf-3.4/ rm -r src/libs/libxml2-2.9.*/ rm -r src/libs/libpng-1.2.*/ rm -r src/libs/zlib-1.2.8/ %patch1 -p1 -b .noupdates %patch2 -p1 -b .strings %patch18 -p1 -b .aiobug %patch23 -p1 -b .xserver_guest %patch27 -p1 -b .gcc %if 0%{?fedora} > 20 %patch28 -p1 -b .gsoap2 %endif %patch50 -p1 -b .mageia-support %patch51 -p1 -b .revert-VBox.sh %patch60 -p1 -b .xclient %patch61 -p1 -b .automount # CRLF->LF sed -i 's/\r//' COPYING %build ./configure --disable-kmods \ %if %{with webservice} --enable-webservice \ %endif %if %{with vnc} --enable-vnc \ %endif %if !%{with docs} --disable-docs \ %endif #--enable-vde #--build-headless --build-libxml2 #--disable-java #--disable-xpcom . ./env.sh umask 0022 #TODO fix publisher in copr %global publisher _%{?vendor:%(echo "%{vendor}" | \ sed -e 's/[^[:alnum:]]//g; s/FedoraProject//' | cut -c -9)}%{?!vendor:custom} # VirtualBox build system installs and builds in the same step, # not always looking for the installed files in places they have # really been installed to. Therefore we do not override any of # the installation paths, but install the tree with the default # layout under 'obj' and shuffle files around in %%install. kmk %{_smp_mflags} \ KBUILD_VERBOSE=2 \ PATH_OUT="$PWD/obj" \ TOOL_YASM_AS=yasm \ VBOX_PATH_APP_PRIVATE=%{_libdir}/virtualbox \ VBOX_PATH_APP_DOCS=%{_docdir}/VirtualBox \ VBOX_WITH_TESTCASES= \ VBOX_WITH_VALIDATIONKIT= \ VBOX_WITH_EXTPACK_VBOXDTRACE= \ VBOX_WITH_VBOX_IMG=1 \ VBOX_WITH_SYSFS_BY_DEFAULT=1 \ VBOX_XCURSOR_LIBS="Xcursor Xext X11 GL" \ VBOX_USE_SYSTEM_XORG_HEADERS=1 \ VBOX_USE_SYSTEM_GL_HEADERS=1 \ %{!?legacy_vboxvideo_drv: VBOX_NO_LEGACY_XORG_X11=1 } \ SDK_VBOX_LIBPNG_INCS=/usr/include/libpng16 \ SDK_VBOX_LIBXML2_INCS=/usr/include/libxml2 \ SDK_VBOX_OPENSSL_INCS= \ SDK_VBOX_OPENSSL_LIBS="ssl crypto" \ SDK_VBOX_ZLIB_INCS= \ %if %{with docs} VBOX_WITH_DOCS=1 \ # doc/manual/fr_FR/ missing man_VBoxManage-debugvm.xml and man_VBoxManage-extpack.xml # VBOX_WITH_DOCS_TRANSLATIONS=1 \ # we can't build CHM DOCS we need hhc.exe which is not in source and we need # also install wine: # wine: cannot find # '/builddir/build/BUILD/VirtualBox-5.1.6/tools/win.x86/HTML_Help_Workshop/v1.3//hhc.exe' # VBOX_WITH_DOCS_CHM=1 \ %endif VBOX_PATH_DOCBOOK_DTD=/usr/share/sgml/docbook/xml-dtd-4.5/ \ VBOX_PATH_DOCBOOK=/usr/share/sgml/docbook/xsl-stylesheets/ \ VBOX_JAVA_HOME=%{_prefix}/lib/jvm/java \ VBOX_BUILD_PUBLISHER=%{publisher} # VBOX_WITH_ADDITION_DRIVERS = \ # VBOX_WITH_INSTALLER = 1 \ # VBOX_WITH_LINUX_ADDITIONS = 1 \ # VBOX_WITH_X11_ADDITIONS = 1 \ #VBOX_WITH_LIGHTDM_GREETER=1 \ %install # The directory layout created below attempts to mimic the one of # the commercially supported version to minimize confusion # Directory structure install -d %{buildroot}%{_bindir} install -d %{buildroot}%{_sbindir} install -d %{buildroot}%{_libdir} install -d %{buildroot}%{_libdir}/virtualbox install -d %{buildroot}%{_libdir}/virtualbox/components install -d %{buildroot}%{_libdir}/virtualbox/nls install -d %{buildroot}%{_libdir}/virtualbox/ExtensionPacks install -d %{buildroot}%{_libdir}/virtualbox/sdk install -d %{buildroot}%{_datadir}/pixmaps install -d %{buildroot}%{_datadir}/mime/packages install -d %{buildroot}%{_datadir}/icons install -d %{buildroot}%{_prefix}/src/%{name}-kmod-%{version} install -d %{buildroot}%{python2_sitelib}/virtualbox # Libs install -p -m 0755 -t %{buildroot}%{_libdir}/virtualbox \ obj/bin/*.so install -p -m 0644 -t %{buildroot}%{_libdir}/virtualbox \ obj/bin/VBoxEFI*.fd \ obj/bin/*.rc \ obj/bin/*.r0 # Binaries install -p -m 0755 obj/bin/VBox.sh %{buildroot}%{_bindir}/VBox install -p -m 0755 -t %{buildroot}%{_bindir} \ obj/bin/VBoxTunctl # Executables install -p -m 0755 -t %{buildroot}%{_libdir}/virtualbox \ obj/bin/VirtualBox \ obj/bin/VBoxHeadless \ obj/bin/VBoxNetDHCP \ obj/bin/VBoxNetNAT \ obj/bin/VBoxNetAdpCtl \ obj/bin/VBoxVolInfo \ obj/bin/VBoxSDL \ obj/bin/SUPInstall \ obj/bin/SUPLoggerCtl \ obj/bin/SUPUninstall \ obj/bin/VBoxAutostart \ obj/bin/VBoxBalloonCtrl \ obj/bin/VBoxExtPackHelperApp \ obj/bin/VBoxManage \ obj/bin/VBoxSVC \ obj/bin/VBoxTestOGL \ obj/bin/VBoxVMMPreload \ obj/bin/VBoxXPCOMIPCD \ obj/bin/VBoxSysInfo.sh \ obj/bin/vboxshell.py \ obj/bin/vbox-img \ obj/bin/VBoxDTrace \ %if %{with webservice} obj/bin/vboxwebsrv \ obj/bin/webtest \ %endif # Wrapper with Launchers ln -s VBox %{buildroot}%{_bindir}/VirtualBox ln -s VBox %{buildroot}%{_bindir}/virtualbox ln -s VBox %{buildroot}%{_bindir}/VBoxManage ln -s VBox %{buildroot}%{_bindir}/vboxmanage ln -s VBox %{buildroot}%{_bindir}/VBoxSDL ln -s VBox %{buildroot}%{_bindir}/vboxsdl ln -s VBox %{buildroot}%{_bindir}/VBoxVRDP ln -s VBox %{buildroot}%{_bindir}/VBoxHeadless ln -s VBox %{buildroot}%{_bindir}/vboxheadless ln -s VBox %{buildroot}%{_bindir}/VBoxDTrace ln -s VBox %{buildroot}%{_bindir}/vboxdtrace ln -s VBox %{buildroot}%{_bindir}/VBoxBugReport ln -s VBox %{buildroot}%{_bindir}/vboxbugreport ln -s VBox %{buildroot}%{_bindir}/VBoxBalloonCtrl ln -s VBox %{buildroot}%{_bindir}/vboxballoonctrl ln -s VBox %{buildroot}%{_bindir}/VBoxAutostart ln -s VBox %{buildroot}%{_bindir}/vboxautostart %if %{with webservice} ln -s VBox %{buildroot}%{_bindir}/vboxwebsrv %endif ln -s ../..%{_libdir}/virtualbox/vbox-img %{buildroot}%{_bindir}/vbox-img # Components, preserve symlinks cp -a obj/bin/components/* %{buildroot}%{_libdir}/virtualbox/components/ # Language files install -p -m 0755 -t %{buildroot}%{_libdir}/virtualbox/nls \ obj/bin/nls/* # SDK pushd obj/bin/sdk/installer VBOX_INSTALL_PATH=%{_libdir}/virtualbox \ python vboxapisetup.py install --prefix %{_prefix} --root %{buildroot} popd cp -rp obj/bin/sdk/. %{buildroot}%{_libdir}/virtualbox/sdk rm -rf %{buildroot}%{_libdir}/virtualbox/sdk/installer # Icons install -p -m 0644 -t %{buildroot}%{_datadir}/pixmaps \ obj/bin/VBox.png for S in obj/bin/icons/* do SIZE=$(basename $S) install -d %{buildroot}%{_datadir}/icons/hicolor/$SIZE/{mimetypes,apps} install -p -m 0644 $S/* %{buildroot}%{_datadir}/icons/hicolor/$SIZE/mimetypes [ -f %{buildroot}%{_datadir}/icons/hicolor/$SIZE/mimetypes/virtualbox.png ] && mv \ %{buildroot}%{_datadir}/icons/hicolor/$SIZE/mimetypes/virtualbox.png \ %{buildroot}%{_datadir}/icons/hicolor/$SIZE/apps/virtualbox.png done install -p -m 0644 obj/bin/virtualbox.xml %{buildroot}%{_datadir}/mime/packages # Guest X.Org drivers mkdir -p %{buildroot}%{_libdir}/security mkdir -p %{buildroot}%{_libdir}/VBoxGuestAdditions # Michael Thayer from Oracle wrote: I have applied the patch [1] I posted so that you # can build with VBOX_USE_SYSTEM_XORG_HEADERS=1 set in future to only # build the X.Org drivers against the installed system headers. # also wrote: # As vboxmouse_drv is not needed at all for X.Org Server 1.7 and later do not # build it in this case. # and # Build using local X.Org headers. We assume X.Org Server 1.7 or later. # # [1] https://www.virtualbox.org/changeset/43588/vbox %if %{with legacy_vboxvideo_drv} install -m 0755 -D obj/bin/additions/vboxvideo_drv_system.so \ %{buildroot}%{_libdir}/xorg/modules/drivers/vboxvideo_drv.so %endif # Guest-additions tools install -m 0755 -t %{buildroot}%{_sbindir} \ obj/bin/additions/VBoxService \ obj/bin/additions/mount.vboxsf install -m 0755 -t %{buildroot}%{_bindir} \ obj/bin/additions/VBoxClient \ obj/bin/additions/VBoxControl # Guest libraries install -m 0755 -t %{buildroot}%{_libdir}/security \ obj/bin/additions/pam_vbox.so install -m 0755 -t %{buildroot}%{_libdir}/VBoxGuestAdditions \ obj/bin/additions/VBoxOGL*.so ln -s VBoxOGL.so %{buildroot}%{_libdir}/VBoxGuestAdditions/libGL.so.1 # init/vboxadd-x11 code near call the function install_x11_startup_app install -p -m 0755 -D src/VBox/Additions/x11/Installer/98vboxadd-xclient \ %{buildroot}%{_sysconfdir}/X11/xinit/xinitrc.d/98vboxadd-xclient.sh ln -s ../..%{_sysconfdir}/X11/xinit/xinitrc.d/98vboxadd-xclient.sh \ %{buildroot}%{_bindir}/VBoxClient-all desktop-file-install --dir=%{buildroot}%{_sysconfdir}/xdg/autostart/ \ --remove-key=Encoding src/VBox/Additions/x11/Installer/vboxclient.desktop desktop-file-validate \ %{buildroot}%{_sysconfdir}/xdg/autostart/vboxclient.desktop install -p -m 0644 -D %{SOURCE7} %{buildroot}%{_unitdir}/vboxservice.service install -p -m 0644 -D %{SOURCE8} %{buildroot}%{_presetdir}/96-vbox.preset install -p -m 0644 -D %{SOURCE5} %{buildroot}%{_udevrulesdir}/60-vboxguest.rules install -p -m 0755 -D %{SOURCE9} %{buildroot}%{_bindir}/VBoxOGLRun install -p -m 0644 -D %{SOURCE6} %{buildroot}%{_prefix}/lib/modules-load.d/%{name}-guest.conf %if 0%{?fedora} #sed -i s/vboxvideo/d %{buildroot}%{_prefix}/lib/modules-load.d/%{name}-guest.conf sed -i 's/vboxvideo/#vboxvideo/' %{buildroot}%{_prefix}/lib/modules-load.d/%{name}-guest.conf %endif %if 0%{?fedora} > 27 #sed -i s/vboxguest/d %{buildroot}%{_prefix}/lib/modules-load.d/%{name}-guest.conf sed -i 's/vboxguest/#vboxguest/' %{buildroot}%{_prefix}/lib/modules-load.d/%{name}-guest.conf %endif # Module Source Code mkdir -p %{name}-kmod-%{version} cp -al obj/bin/src/vbox* obj/bin/additions/src/vbox* %{name}-kmod-%{version} install -d %{buildroot}%{_datadir}/%{name}-kmod-%{version} tar --use-compress-program xz -cf %{buildroot}%{_datadir}/%{name}-kmod-%{version}/%{name}-kmod-%{version}.tar.xz \ %{name}-kmod-%{version} %if %{with webservice} install -m 0644 -D %{SOURCE10} \ %{buildroot}%{_unitdir}/vboxweb.service %endif # Installation root configuration install -d %{buildroot}%{_sysconfdir}/vbox echo 'INSTALL_DIR=%{_libdir}/virtualbox' > %{buildroot}%{_sysconfdir}/vbox/vbox.cfg # Install udev rules install -p -m 0755 -D obj/bin/VBoxCreateUSBNode.sh %{buildroot}%{_prefix}/lib/udev/VBoxCreateUSBNode.sh install -p -m 0644 -D %{SOURCE3} %{buildroot}%{_udevrulesdir}/60-vboxdrv.rules # Install modules load script install -p -m 0644 -D %{SOURCE4} %{buildroot}%{_prefix}/lib/modules-load.d/%{name}.conf # Menu entry desktop-file-install --dir=%{buildroot}%{_datadir}/applications \ --remove-key=Encoding obj/bin/virtualbox.desktop desktop-file-validate %{buildroot}%{_datadir}/applications/virtualbox.desktop # --remove-key=DocPath # to review: #if [ -d ExtensionPacks/VNC ]; then # install -m 755 -d $RPM_BUILD_ROOT/usr/lib/virtualbox/ExtensionPacks # mv ExtensionPacks/VNC $RPM_BUILD_ROOT/usr/lib/virtualbox/ExtensionPacks #fi #set_selinux_permissions /usr/lib/virtualbox /usr/share/virtualbox #for i in rdesktop-vrdp.tar.gz rdesktop-vrdp-keymaps; do # mv $i $RPM_BUILD_ROOT/usr/share/virtualbox; done #mv rdesktop-vrdp $RPM_BUILD_ROOT/usr/bin # # vboxautostart-service %pre # Group for USB devices getent group vboxusers >/dev/null || groupadd -r vboxusers %post # Icon Cache /bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || : # mimeinfo F23 only /bin/touch --no-create %{_datadir}/mime/packages &>/dev/null || : # Desktop databases F23 and F24 only /usr/bin/update-desktop-database &> /dev/null || : # Assign USB devices if /sbin/udevadm control --reload-rules >/dev/null 2>&1 then /sbin/udevadm trigger --subsystem-match=usb --action=add >/dev/null 2>&1 || : /sbin/udevadm settle >/dev/null 2>&1 || : fi # should be in kmod package, not here /bin/systemctl restart systemd-modules-load.service >/dev/null 2>&1 || : %if %{with webservice} %post webservice %systemd_post vboxweb-httpd.service %endif %if %{with webservice} %preun webservice %systemd_preun vboxweb.service %endif %postun if [ $1 -eq 0 ] ; then # Package upgrade, not uninstall # Icon Cache /bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null /usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : # mimeinfo F23 only /usr/bin/update-mime-database %{_datadir}/mime &> /dev/null || : fi %if %{with webservice} %postun webservice %systemd_postun_with_restart vboxweb.service %endif # Desktop databases F23 and F24 only /usr/bin/update-desktop-database &> /dev/null || : %posttrans # Icon Cache /usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : # mimeinfo F23 only /usr/bin/update-mime-database %{?fedora:-n} %{_datadir}/mime &> /dev/null || : %pre guest-additions # Add a group "vboxsf" for Shared Folders access # All users which want to access the auto-mounted Shared Folders have to # be added to this group. getent group vboxsf >/dev/null || groupadd -r vboxsf 2>&1 getent passwd vboxadd >/dev/null || \ useradd -r -g 1 -d /var/run/vboxadd -s /sbin/nologin vboxadd 2>&1 # Guest additions install %post guest-additions /sbin/ldconfig # should be in kmod package, not here, but we need modules loaded to start # vboxservice /bin/systemctl restart systemd-modules-load.service >/dev/null 2>&1 || : %systemd_post vboxservice.service #chcon -u system_u -t mount_exec_t "$lib_path/$PACKAGE/mount.vboxsf" > /dev/null 2>&1 # for i in "$lib_path"/*.so # do # restorecon "$i" >/dev/null # done # ;; #chcon -u system_u -t lib_t "$lib_dir"/*.so # Our logging code generates some glue code on 32-bit systems. At least F10 # needs a rule to allow this. Send all output to /dev/null in case this is # completely irrelevant on the target system. #chcon -t unconfined_execmem_exec_t '/usr/bin/VBoxClient' > /dev/null 2>&1 #semanage fcontext -a -t unconfined_execmem_exec_t '/usr/bin/VBoxClient' > /dev/null 2>&1 %preun guest-additions %systemd_preun vboxservice.service %postun guest-additions /sbin/ldconfig %systemd_postun_with_restart vboxservice.service %files server %doc doc/*cpp doc/VMM %if %{with docs} %doc obj/bin/UserManual*.pdf %endif %license COPYING* %{_bindir}/VBoxManage %{_bindir}/vboxmanage %{_bindir}/VBoxSDL %{_bindir}/vboxsdl %{_bindir}/VBox %{_bindir}/VBoxVRDP %{_bindir}/vboxheadless %{_bindir}/VBoxHeadless %{_bindir}/VBoxDTrace %{_bindir}/vboxdtrace %{_bindir}/VBoxBugReport %{_bindir}/vboxbugreport %{_bindir}/VBoxBalloonCtrl %{_bindir}/vboxballoonctrl %{_bindir}/VBoxAutostart %{_bindir}/vboxautostart %{_bindir}/vbox-img %{_bindir}/VBoxTunctl %dir %{_libdir}/virtualbox %{_libdir}/virtualbox/*.[^p]* %exclude %{_libdir}/virtualbox/VirtualBox.so %exclude %{_libdir}/virtualbox/VBoxDbg.so %exclude %{_libdir}/virtualbox/VBoxPython2_7.so %{_libdir}/virtualbox/components %{_libdir}/virtualbox/VBoxExtPackHelperApp %{_libdir}/virtualbox/VBoxManage %{_libdir}/virtualbox/VBoxSVC %{_libdir}/virtualbox/VBoxXPCOMIPCD %{_libdir}/virtualbox/VBoxBalloonCtrl %{_libdir}/virtualbox/SUPInstall %{_libdir}/virtualbox/SUPLoggerCtl %{_libdir}/virtualbox/SUPUninstall %{_libdir}/virtualbox/VBoxAutostart %{_libdir}/virtualbox/VBoxVMMPreload %{_libdir}/virtualbox/VBoxDTrace %{_libdir}/virtualbox/vbox-img # This permissions have to be here, before generator of debuginfo need # permissions to read this files %attr(4511,root,root) %{_libdir}/virtualbox/VBoxNetNAT %attr(4511,root,root) %{_libdir}/virtualbox/VBoxVolInfo %attr(4511,root,root) %{_libdir}/virtualbox/VBoxHeadless %attr(4511,root,root) %{_libdir}/virtualbox/VBoxSDL %attr(4511,root,root) %{_libdir}/virtualbox/VBoxNetDHCP %attr(4511,root,root) %{_libdir}/virtualbox/VBoxNetAdpCtl %attr(4511,root,root) %{_libdir}/virtualbox/VirtualBox %{_datadir}/icons/hicolor/*/apps/*.png %{_datadir}/icons/hicolor/*/mimetypes/*.png %{_datadir}/icons/hicolor/scalable/mimetypes/virtualbox.svg %{_datadir}/mime/* %dir %{_sysconfdir}/vbox %config %{_sysconfdir}/vbox/vbox.cfg %{_udevrulesdir}/60-vboxdrv.rules %{_prefix}/lib/modules-load.d/%{name}.conf %{_prefix}/lib/udev/VBoxCreateUSBNode.sh %files %{_bindir}/VirtualBox %{_bindir}/virtualbox %{_libdir}/virtualbox/VBoxTestOGL %{_libdir}/virtualbox/VirtualBox.so %{_libdir}/virtualbox/VBoxDbg.so %{_libdir}/virtualbox/nls %{_datadir}/pixmaps/*.png %{_datadir}/applications/*.desktop %if %{with webservice} %files webservice %{_bindir}/vboxwebsrv %{_unitdir}/vboxweb.service %{_libdir}/virtualbox/vboxwebsrv %{_libdir}/virtualbox/webtest %endif %files devel %{_libdir}/virtualbox/sdk %exclude %{_libdir}/virtualbox/sdk/bindings/xpcom/python %files -n python-%{name} %{_libdir}/virtualbox/*.py* %{python2_sitelib}/virtualbox %{python2_sitelib}/vboxapi* %{_libdir}/virtualbox/VBoxPython2_7.so %{_libdir}/virtualbox/sdk/bindings/xpcom/python %files guest-additions %license COPYING* %{_bindir}/VBoxClient %{_bindir}/VBoxControl %{_bindir}/VBoxClient-all %{_bindir}/VBoxOGLRun %{_sbindir}/VBoxService %{_sbindir}/mount.vboxsf %{_libdir}/security/pam_vbox.so %if %{with legacy_vboxvideo_drv} %{_libdir}/xorg/modules/drivers/* %endif %{_libdir}/VBoxGuestAdditions %{_sysconfdir}/X11/xinit/xinitrc.d/98vboxadd-xclient.sh %{_sysconfdir}/xdg/autostart/vboxclient.desktop %{_udevrulesdir}/60-vboxguest.rules %{_prefix}/lib/modules-load.d/%{name}-guest.conf %{_unitdir}/vboxservice.service %{_presetdir}/96-vbox.preset %files kmodsrc %{_datadir}/%{name}-kmod-%{version} %changelog * Wed Mar 07 2018 Sérgio Basto - 5.2.8-2 - Fix minor spelling mistakes - Remove Conflicts between subpackages server and guest-additions * Thu Mar 01 2018 Sérgio Basto - 5.2.8-1 - Update VBox to 5.2.8 - Review the new kmk configurations, drop some patches and sent VirtualBox-5.0.18-xserver_guest.patch to upstream - Update the required version of kbuild * Wed Feb 28 2018 RPM Fusion Release Engineering - 5.2.6-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Wed Feb 28 2018 RPM Fusion Release Engineering - 5.2.6-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Sat Feb 03 2018 Sérgio Basto - 5.2.6-3 - Enable GCC 8 support * Fri Feb 02 2018 Leigh Scott - Rebuild for boost-1.66 * Fri Jan 19 2018 Sérgio Basto - 5.2.6-2 - Make sub-package VirtualBox-kmodsrc noarch * Wed Jan 17 2018 Sérgio Basto - 5.2.6-1 - Update VBox to 5.2.6 * Mon Jan 15 2018 Sérgio Basto - 5.2.4-1 - Update VBox to 5.2.4 * Wed Nov 08 2017 Sérgio Basto - 5.1.30-2 - Restore kmk configurations VBOX_PATH_APP_PRIVATE and VBOX_PATH_APP_DOCS rfbz(#4701) * Fri Oct 27 2017 Sérgio Basto - 5.1.30-1 - Update VBox to 5.1.30 - Some updates on VirtualBox-guest-addition based on VirtualBox-guest-addition.spec in review rhbz #1481630, with proper fix for VirtualBox-5.0.22-guest_soname.patch - TODO check python3 and clean obsoleted scriptlets * Sat Sep 16 2017 Sérgio Basto - 5.1.28-2 - Epel 7 with X 1.19 don't need vboxvideo_drv https://forums.virtualbox.org/viewtopic.php?f=15&t=84201 * Thu Sep 14 2017 Sérgio Basto - 5.1.28-1 - Update VBox to 5.1.28 * Sun Aug 06 2017 Sérgio Basto - 5.1.26-2 - Some improvements based on new virtualbox-guest-additions for Fedora rhbz #1481630 and rfbz #4617 - Drop VirtualBox-4.3.0-no-bundles.patch, set make variables instead - Remove VMSVGA3D from Config.kmk is windows only - VBOX_WITH_EXTPACK_VBOXDTRACE fails to build with glibc >= 2.26-2.fc27 * Thu Jul 27 2017 Sérgio Basto - 5.1.26-1 - Update VBox to 5.1.26 * Tue Jul 18 2017 Sérgio Basto - 5.1.24-1 - Update VBox to 5.1.24 * Wed Jun 14 2017 Sérgio Basto - 5.1.22-1 - Update VBox to 5.1.22 * Sun Apr 23 2017 Sérgio Basto - 5.1.20-3 - Build pdf doc on f26+ * Sat Apr 22 2017 Sérgio Basto - 5.1.20-2 - Fix owning /usr/share/icons (rfbz#4509), thanks to Vasiliy N. Glazov * Wed Apr 19 2017 Sérgio Basto - 5.1.20-1 - Update VBox to 5.1.20, security fixes * Sat Mar 18 2017 RPM Fusion Release Engineering - 5.1.18-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Thu Mar 16 2017 Sérgio Basto - 5.1.18-1 - Update VirtualBox to 5.1.18 * Wed Mar 08 2017 Sérgio Basto - 5.1.16-1 - Update VBox to 5.1.16 * Mon Jan 23 2017 Sérgio Basto - 5.1.14-2 - Drop VirtualBox-OSE-4.1.12-gsoap.patch, was for Fedora 15 * Tue Jan 17 2017 Sérgio Basto - 5.1.14-1 - Update VBox to 5.1.14 * Tue Nov 22 2016 Sérgio Basto - 5.1.10-1 - New upstream release, 5.1.10 * Wed Oct 19 2016 Sérgio Basto - 5.1.8-2 - Fixes for EL7 and X.org-1.19 * Tue Oct 18 2016 Sérgio Basto - 5.1.8-1 - Update VBox to 5.1.8 * Sat Oct 15 2016 Sérgio Basto - 5.1.6-6 - Minor issues * Thu Oct 13 2016 Sérgio Basto - 5.1.6-5 - Add more one ifdef in VirtualBox-5.0.18-xserver_guest.patch * Wed Oct 12 2016 Sérgio Basto - 5.1.6-4 - Some fixes: Add full description on %{name} package. Fix requires on sub-packages to %{name}-server. Add %{?_isa}. Do not provide %{name}-gui, we don't use it and it is ambiguous. - Refactor the patch VirtualBox-5.0.18-xserver_guest.patch using VBOX_USE_SYSTEM_XORG_HEADERS instead drop and replace code, for include upstream, also add MIT License. * Sat Oct 08 2016 Sérgio Basto - 5.1.6-3 - rfbz#1169 v2, use another sub-package schema. Core sub-package now is called server and main package is Qt part (as end user expect). Also is more simple deal with dependencies. - Add vboxpci to rmmod instructions. - Remove one line that belongs to akmods process. - Just building kernel driver for X.Org Server fix building with X.Org Server 1.19 (guest-additions). * Thu Sep 15 2016 Sérgio Basto - 5.1.6-2 - Packaging:Scriptlets review Systemd, Icon Cache, mimeinfo and desktop-database - Add back RPMFusion strings to VBox.sh it is used on /usr/bin/VBox - Create VirtualBox-qt sub-package rfbz#1169 - Create VirtualBox-webservice in a sub-package - Add python things to python sub-package - Upstream rules: 60-vboxguest.rules change user to vboxadd security reasons Add a group "vboxsf" for Shared Folders access - Add Mageia fix revert-VBox.sh.patch - Add Mageia support - Update descriptions - Review Scriptlets for starting vboxservice.service in guest-additions https://fedoraproject.org/wiki/Starting_services_by_default - Adjust vboxdrv.rules and move to 60-vboxdrv.rules as has upstream. - Remove Encoding key on .desktop files, Encoding key is deprecated. - Add a new launcher, VBoxBugReport and reorder launchers as upstream spec - Move more files to sub-packages. * Tue Sep 13 2016 Sérgio Basto - 5.1.6-1 - Update VBox to 5.1.6 * Sat Sep 10 2016 Sérgio Basto - 5.1.4-4 - Fix for kernel 4.8.0-rc5 * Wed Sep 07 2016 Sérgio Basto - 5.1.4-3 - Fixes for linux kernel-4.8-rc4, fixes from openSUSE https://build.opensuse.org/package/show/Virtualization/virtualbox * Tue Sep 06 2016 Sérgio Basto - 5.1.4-2 - Enable webservice with fix of patch 02-gsoap-build-fix, add patch to allow gcc-6.2 and add patch 29-fix-ftbfs-as-needed from Debian * Sun Sep 04 2016 Sérgio Basto - 5.1.4-1 - Update VBox to 5.1.4 - Sat Jul 16 2016 Rok Mandeljc - Fixed the 64-bit lib suffix in /usr/bin/VirtualBox so that it finds the VirtualBox installation instead of ending up in infinite call loop - Update VirtualBox to 5.1.0 - Drop upstream patches, rebase the rest - Add Qt5 dependencies * Sun Sep 04 2016 Leigh Scott - 5.0.26-2 - Rebuild for new libvpx version * Mon Jul 18 2016 Sérgio Basto - 5.0.26-1 - Update to 5.0.26 * Tue Jun 28 2016 Sérgio Basto - 5.0.24-1 - Update VirtualBox to 5.0.24 * Fri Jun 24 2016 Sérgio Basto - 5.0.22-2 - Add VirtualBox-5.0.22-guest_soname.patch, do not hack SONAME for VBoxOGL and VBoxEGL in guest-additions. * Fri Jun 24 2016 Sérgio Basto - 5.0.22-1 - Update VirtualBox to 5.0.22 * Thu Apr 28 2016 Sérgio Basto - 5.0.20-1 - Update VirtualBox to 5.0.20 * Sun Apr 24 2016 Sérgio Basto - 5.0.18-3 - Fix Documentation * Sat Apr 23 2016 Sérgio Basto - 5.0.18-2 - Fixed VirtualBox-kmod.spec.tmpl - And rename package guest to guest-additions as Mageia distro is a better, name, imo. * Tue Apr 19 2016 Sérgio Basto - 5.0.18-1 - Update to 5.0.18 - Update python packaging. * Mon Apr 04 2016 Sérgio Basto - 5.0.17-6.106108 - More guest improvements and fixes * Fri Apr 01 2016 Sérgio Basto - 5.0.17-5.106108 - Do not install vboxvideo_drv.so, instead vboxvideo.ko. * Wed Mar 30 2016 Sérgio Basto - 5.0.17-4.106108 - Remove vboxvideo.ko for VirtualBox-guest r106140 * Thu Mar 24 2016 Sérgio Basto - 5.0.17-3.106108 - Use upstream patch VirtualBox-5.0.17-r106108-r106140.patch * Mon Mar 21 2016 Sérgio Basto - 5.0.17-2.106108 - Add one upstream patch VirtualBox-5.0.17-r106108-r106114.patch * Sat Mar 19 2016 Sérgio Basto - 5.0.17-1.106108 - Building new Guest Additions for Linux guests. * Sat Mar 12 2016 Sérgio Basto - 5.0.16-3 - Package review with upstream RPM, better organization. - Delete source8 not in use since 2009. - Fix some errors: VBoxNetNAT permissions, preserve components symlinks - vnc don't have snippet to install, disable it (to fix later). - Add notes to add service vboxautostart and to install rdesktop-vrdp. * Fri Mar 11 2016 Sérgio Basto - 5.0.16-2 - Add GCC6 fixes to compile on F24, still doesn't build on rawhide because glibc https://www.virtualbox.org/ticket/15205#comment:8 - Use bcond_with and bcond_without macros (see details and how it works on /lib/rpm/macros) - Update help strings to use dnf and akmods. * Fri Mar 04 2016 Sérgio Basto - 5.0.16-1 - Update VirtualBox to 5.0.16 * Wed Jan 20 2016 Sérgio Basto - 5.0.14-1 - Update VirtualBox to 5.0.14 * Mon Dec 21 2015 Sérgio Basto - 5.0.12-1 - Update VirtualBox to 5.0.12 - Silent warning: Macro expanded in comment. - Fix VirtualBox-4.3.0-no-bundles.patch and VirtualBox-5.0.12-strings.patch * Thu Nov 12 2015 Sérgio Basto - 5.0.10-1 - Update VirtualBox to 5.0.10 * Thu Oct 22 2015 Sérgio Basto - 5.0.8-1 - Update to 5.0.8 - Refactor no-bundles.patch and strings.patch * Mon Oct 05 2015 Sérgio Basto - 5.0.6-1 - Update to VirtualBox-5.0.6, without strings patch (need be rebased) * Wed Sep 30 2015 Sérgio Basto - 5.0.4-2.4 - enabled doc, vnc, and webservices - Drop beramono patch * Tue Sep 29 2015 Sérgio Basto - 5.0.4-2 - Drop 32bits patch * Wed Jul 15 2015 Sérgio Basto - 4.3.30-1 - Update to 4.3.30 * Wed May 13 2015 Sérgio Basto - 4.3.28-1 - Update to 4.3.28 . - Drop diff_smap_4.patch . * Mon May 04 2015 Sérgio Basto - 4.3.26-3 - Added diff_smap_4.patch from https://www.virtualbox.org/ticket/13961 , may fix problems for kernel >= 3.19, I still need to disable 3D to run plasma 5 ( https://forums.virtualbox.org/viewtopic.php?f=6&t=64452&start=15#p320557 ) * Mon May 04 2015 Sérgio Basto - 4.3.26-2 - Rebuilt for F22 new xorg ABI - Allow build with gcc 5.1 * Tue Mar 24 2015 Leigh Scott - 4.3.26-1 - New upstream release . * Fri Dec 26 2014 Sérgio Basto - 4.3.20-3 - Improved strings.patch asking to install kmods VirtualBox and also instructions for devel versions. - Improved description of VirtualBox-guest, alerting to not install on Host, one conclusion on rfbz #3425 . * Sun Dec 21 2014 Sérgio Basto - 4.3.20-2 - Moved files from /etc/modules-load.d/ to /usr/lib/modules-load.d/, fix rfbz #3469 . - Also moved files from /etc/udev/rules.d/ to /usr/lib/udev/rules.d/ and removed %config directive . - s/$RPM_BUILD_ROOT/%{buildroot}/g - Added %{_prefix} to /lib/udev/ . - Moved pam_vbox.so from %{_lib}/security/ to %{_libdir}/security/ . * Sun Nov 23 2014 Sérgio Basto - 4.3.20-1 - New upstream release . * Sat Oct 11 2014 Sérgio Basto - 4.3.18-1 - New upstream release . - Removed trailing whitespaces . - Refactor VirtualBox-4.3.0-VBoxGuestLib.patch to try upstreaming . * Wed Sep 10 2014 Sérgio Basto - 4.3.16-1 - New upstream release . - Fixed VirtualBox-4.3.0-VBoxGuestLib.patch . * Sat Aug 23 2014 Sérgio Basto - 4.3.14-2 - Rebuild for new gcc https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Tue Jul 15 2014 Sérgio Basto - 4.3.14-1 - New upstream release . - Unbundle kBuild, since KBuild from fedora is working again. * Fri May 16 2014 Sérgio Basto - 4.3.12-1 - New upstream release . - Rename and split X11 and mesa (for guest) patches . * Fri May 02 2014 Sérgio Basto - 4.3.10-2 - Rebuild for new x11-xorg-server * Mon Mar 31 2014 Sérgio Basto - 4.3.10-1 - In vboxvideo guest drive, don't patch the source code of Mesa part that use glapi and use bundled x11include/mesa-7.2 headers of Mesa, which btw rawhide doesn't have it, F20 have glapi in xorg-x11-server-source, but by what I saw, seems is not correct use it. - New upstream release - Drop upstream patch "39-fix-wrong-vboxvideo_drv-source.patch" * Sun Mar 16 2014 Sérgio Basto - 4.3.8-2 - some cleanups and improvements. * Thu Mar 13 2014 Sérgio Basto - 4.3.8-1 - Update to 4.3.8, need an upstream patch 39-fix-wrong-vboxvideo_drv-source.patch - No need patch Config.kmk in VirtualBox-4.3.6-mesa.patch - small adjustments in others patches. * Wed Dec 25 2013 Sérgio Basto - 4.3.6-4 - Update VirtualBox-4.3-mesa.patch, for guest drives and for Xorg-x11-server-1.14.99 in rawhide, glx internals "fixes" completely removed, eliminating BuildRequires of xorg-x11-server-source. Also add to VBoxOGL_LIBS libXcomposite, libXdamage etc of the system. - Disable webservice for rawhide, problems reported upstream with new gsoap version. * Sat Dec 21 2013 Nicolas Chauvet - 4.3.6-3 - Rebuilt after branching * Sat Dec 21 2013 Nicolas Chauvet - 4.3.6-2 - Rebuilt after branching * Wed Dec 18 2013 Sérgio Basto - 4.3.6-1 - New upstream release, a maintenance release of VirtualBox 4.3 which improves stability and fixes regressions. * Sat Nov 30 2013 Sérgio Basto - 4.3.4-1 - New upstream release, a maintenance release of VirtualBox 4.3 which improves stability and fixes regressions. * Sat Nov 02 2013 Sérgio Basto - 4.3.2-1 - New upstream release, bugfix release. * Mon Oct 28 2013 Sérgio Basto - 4.3.0-1 - New upstream release. - Refactor patches VirtualBox-4.3.0-32bit.patch, VirtualBox-4.3.0-libcxx.patch, VirtualBox-4.3.0-mesa.patch, VirtualBox-4.3.0-no-bundles.patch, VirtualBox-4.3.0-testmangle.patch and VirtualBox-4.3.0-VBoxGuestLib.patch - Took the opportunity to do a review: add some new binaries, need to review it again . * Sun Sep 29 2013 Sérgio Basto - 4.2.18-2 - Additions/linux: fix shared folders for Linux 3.11 * Fri Sep 20 2013 Sérgio Basto - 4.2.18-1 - New upstream release. * Sun Sep 01 2013 Sérgio Basto - 4.2.16-2 - fixes for Kernel 3.11: https://www.virtualbox.org/changeset/47484/vbox/trunk and https://www.virtualbox.org/changeset/47588/vbox/trunk * Fri Jul 05 2013 Sérgio Basto - 4.2.16-1 - New upstream release. * Sun Jun 30 2013 Sérgio Basto - 4.2.14-2 - Bugfix, forgot rename *.modules to *.conf, as defined in modules-load.d(5) . * Sat Jun 29 2013 Sérgio Basto - 4.2.14-1 - Change strings instructions to load modules. - New upstream release. - Drop gcc-4.8 patch. * Sun May 12 2013 Sérgio Basto - 4.2.12-2 - drop some Buildrequires as documented in https://www.virtualbox.org/wiki/Linux%20build%20instructions - Use systemd-modules-load.service instead fedora-loadmodules.service ( Load legacy module configuration ). * Mon Apr 15 2013 Sérgio Basto - 4.2.12-1 - New upstream release. * Sat Mar 16 2013 Sérgio Basto - 4.2.10-1 - New upstream release. - Drop 00-vboxvideo.conf on guest X configuration, because this is fixed a long time ago, but we keep commented just in case. - Drop upstreamed patch VirtualBox-4.2.8-Linux_3.9.0_rc0_compile_fix.patch . - Modified noupdate.patch as reflection on bug rfbz #2722, to check updates one time a week and ask for updates of extensions pack and VBoxGuestAdditions. We should also review strings for better dialogs. * Thu Mar 07 2013 Sérgio Basto - 4.2.8-2 - Added upstreamed patch for kernels 3.9, "That fix will be part of the next maintenance release". * Sat Mar 02 2013 Sérgio Basto - 4.2.8-1 - New upstream release. - Small fix on VirtualBox-4.2.0-mesa.patch . * Sat Feb 23 2013 Sérgio Basto - 4.2.6-6 - Enable build with gcc 4.8 . * Mon Feb 11 2013 Sérgio Basto - 4.2.6-5 - Remove if clause in Patch10, may make different src.rpms, my fault, rfbz #2679 . * Sat Feb 02 2013 Sérgio Basto - 4.2.6-4 - Back to old udev commands, systemctl just does the same devadm commands but doesn't help much. - and add --action=add to udevadm trigger --subsystem-match=usb . - vboxweb.service fixes. * Sat Jan 26 2013 Sérgio Basto - 4.2.6-3 - fix for rfbz #2662, systemd of F18 changed names of udev services. * Tue Jan 15 2013 Sérgio Basto - 4.2.6-2 - Re enable_docs after add some BuildRequires of new texlive. - VBoxGuestLib is not need for new X11-xorg, so no compile instead patch source to build with system sources. - Delete source bundles before patching sources and adjustments on the corresponding patches. - VirtualBox-4.2.0-libcxx.patch minor improvements. * Mon Dec 24 2012 Sérgio Basto - 4.2.6-1 - New upstream release. - Fix some changelog dates. * Sun Dec 02 2012 Sérgio Basto - 4.2.4-3 - Use global variables enable_webservice and enable_docs to deal better with enable and disable that. - Include fr UserManual.pdf and put this docs in /usr/share/docs (the right place) . - Unbundle sources that aren't used. * Mon Oct 29 2012 Sérgio Basto - 4.2.4-2 - Try load new vbox modules right after install or upgrade. - Try better reload of vboxservice.service when as guest system. - Minor improves on systemd upgrade. * Sat Oct 27 2012 Sérgio Basto - 4.2.4-1 - New upstream release. - Drop patch VirtualBox-4.2.0-xorg17.patch and add VBOX_USE_SYSTEM_XORG_HEADERS=1. Changeset r43588, https://www.virtualbox.org/changeset/43588/vbox, allow compile vboxvideo with system headers, and "As vboxmouse_drv is not needed at all for X.Org Server 1.7 and later do not build it". - enable-webservice on F17 and lower (stables) and disable-docs on F18 and rawhide, can't build it on F18 and rawhide, new libxslt and new pdflatex problems. * Sun Sep 30 2012 Sérgio Basto - 4.2.0-4 - On F16, need add one xorg header for xorg-x11-server 1.11.x * Sun Sep 23 2012 Sérgio Basto - 4.2.0-3 - Another clean X11 bundle sources (src/VBox/Additions/x11/x11stubs), minor improve on VirtualBox-4.2.0-xorg17.patch and split VBoxGuestLib part into VirtualBox-4.2.0-VBoxGuestLib.patch * Sat Sep 15 2012 Sérgio Basto - 4.2.0-2 - Disable websrv because fails to build on rawhide, temporarily I hope. * Thu Sep 13 2012 Sérgio Basto - 4.2.0-1 - 4.2.0 released - Rebase and rework VirtualBox-4.2.0-xorg17.patch, add 2 new Definitions: XSERVER_LIBPCIACCESS XORG_VERSION_CURRENT=101300000 - Rename and rework VirtualBox-OSE-4.1.10-mesa.patch - Reorganize last 2 patches. - Revert attempt to remove 32-bits patch. * Thu Sep 13 2012 Sérgio Basto - 4.2.0-0.7.RC4 - Another try to compile with 32-bits support on x86_64. * Sun Sep 09 2012 Sérgio Basto - 4.2.0-0.6.RC4 - Update to RC4. - Rename 32-bits patch to VirtualBox-4.2.0-32bit.patch - Drop patch23 to fix ABI/API breakages in X11 1.13, appears fixed in RC4 ! - Compile VBoxGuestLib with X11 sources from system and fix VBoxGuestR3LibRuntimeXF86.cpp. - Removes X11 includes from sources (src/VBox/Additions/x11/x11include). * Fri Sep 07 2012 Sérgio Basto - 4.2.0-0.5.RC3 - not drop 32-bit patch, on x86_64 as quick resolution of not have glic-devel.i686 on x86_64. * Fri Sep 07 2012 Sérgio Basto - 4.2.0-0.4.RC3 - Also Compile guest drives vboxvideo_drv and vboxmouse_drv with X11 sources from system. - Fix ABI/API breakages in X11 1.13. * Mon Sep 03 2012 Sérgio Basto - 4.2.0-0.3.RC3 - fix requires kmod, with version with prereleases. * Mon Sep 03 2012 Sérgio Basto - 4.2.0-0.2.RC3 - vim :retab, reformat all tabs. - add BR # libstdc++.i686 and libc-devel.i686 for 32-bits BuildRequires: /usr/lib/libc.so BuildRequires: /usr/lib/libstdc++.so.6 /lib/libc.so.6 - drop 32-bit patch and testmangle patch, no fails. - rename and remove some patches cvs diff: VirtualBox-4.1.20-libcxx.patch was removed, no comparison available cvs diff: VirtualBox-4.1.20-x113.patch is a new entry, no comparison available cvs diff: VirtualBox-4.2.0-libcxx.patch is a new entry, no comparison available cvs diff: VirtualBox-4.2.0-xorg17.patch is a new entry, no comparison available cvs diff: VirtualBox-OSE-3.2.0-visibility.patch was removed, no comparison available cvs diff: VirtualBox-OSE-4.0.0-32bit.patch was removed, no comparison available cvs diff: VirtualBox-OSE-4.1.2-testmangle.patch was removed, no comparison available cvs diff: VirtualBox-OSE-4.1.2-usblib.patch was removed, no comparison available cvs diff: VirtualBox-OSE-4.1.4-xorg17.patch was removed, no comparison available * Mon Sep 03 2012 Sérgio Basto - 4.2.0-0.1.RC3 - New major release, devel release of rpms . - rebase patches VirtualBox-4.1.20-libcxx.patch, VirtualBox-OSE-4.1.4-xorg17.patch and VirtualBox-OSE-4.0.0-32bit.patch * Sat Sep 01 2012 Sérgio Basto - 4.1.20-1 - New upstream release. - Redo VirtualBox-4.1.20-libcxx.patch - Patch9 (VirtualBox-OSE-3.2.4-optflags.patch) integrated in Patch3 (VirtualBox-4.1.20-libcxx.patch). - drop Patch12 (VirtualBox-OSE-3.2.10-noansi.patch) no need anymore. - drop Patch11 (VirtualBox-OSE-3.2.0-visibility.patch) no need anymore. - fix rfbz #2416 - /bin/mount.vboxsf must be moved to /sbin/mount.vboxsf - move files VirtualBox-OSE .rules .modules .desktop and .conf to VirtualBox * Mon Jul 09 2012 Sérgio Basto 4.1.18-2 - Improve some strings suggest on rfbz #1826 * Thu Jun 21 2012 Sérgio Basto - 4.1.18-1 - New upstream release. * Sat Jun 16 2012 Sérgio Basto - 4.1.16-5 - Kernel patches just for rawhide, so we don't need recompile kmods. - Update strings. * Wed Jun 13 2012 Sérgio Basto - 4.1.16-4 - Upstreamed patches to fix compiles with 3.5 kernels, kindly alerted by virtualbox team. * Sat Jun 09 2012 Sérgio Basto - 4.1.16-3 - From Packaging Guidelines, https://fedoraproject.org/wiki/Packaging:Systemd, Packages with systemd unit files must put them into %{_unitdir}. - Install VBoxCreateUSBNode.sh in /lib/udev, and udev rules from upstream. * Wed May 23 2012 Sérgio Basto - 4.1.16-2 - Obsolete also VirtualBox-OSE-kmodsrc. * Tue May 22 2012 Sérgio Basto - 4.1.16-1 - New upstream release. * Mon May 21 2012 Sérgio Basto - 4.1.14-7 - Customize VBOX_VERSION_STRING. * Wed May 16 2012 Sérgio Basto - 4.1.14-6 - Bump a release, to build a new tag, one more try. * Wed May 16 2012 Sérgio Basto - 4.1.14-5 - Bump a release, to build a new tag. * Wed May 16 2012 Sérgio Basto - 4.1.14-4 - Rename to VirtualBox, rfbz #1826 * Tue May 1 2012 Sérgio Basto - 4.1.14-3 - Review spec with fedora-review - Remove requirement for hal for F15 - .desktop, .service and xorg.conf.d/vboxvideo.conf are text files, put chmod 644 - don't try start vboxservice.service, because vboxservice.service depends on kmods, maybe start when modules are loaded. * Sun Apr 29 2012 Sérgio Basto - 4.1.14-2 - Migrating vboxweb-service to a systemd unit file from a SysV initscript - Add vboxservice.service systemd unit file in guest package, rfbz #2274. * Thu Apr 26 2012 Sérgio Basto - 4.1.14-1 - new release - mesa patch only for F17 or higher * Fri Apr 13 2012 Sérgio Basto - 4.1.12-3 - F17 mesa patch, fix compile fakedri and unbundle part of mesa sources, unbundle mesa source must be tested. * Fri Apr 13 2012 Sérgio Basto - 4.1.12-2 - F15 patch gsoap 2.7 which pkg-config gsoapssl++ --libs don't have -lssl -lcrypto - F17 kBuild workaround, but still not build in F17, https://bugs.freedesktop.org/show_bug.cgi?id=47971 . * Tue Apr 3 2012 Sérgio Basto - 4.1.12-1 - New release. - drop buildroot - drop the backported patch. * Fri Mar 23 2012 Sérgio Basto - 4.1.10-1 - New release. - Upstream says that java stuff is fixed, https://www.virtualbox.org/ticket/9848#comment:5 - Upstream says that have compile fixes for kernel 3.3-rc1 (in changelog). - backport fix for web-service with newer versions of GSOAP, Changeset 40476 and 40477 in vbox, kindly fixed from Frank Mehnert "The real fix can be found in r40476 and r40477. You should be able to apply these fixes to VBox 4.1.10 as well." and add -lssl and -lcrypto by my self. - drop Patch to allow to build with GCC 4.7 * Sun Jan 15 2012 Sérgio Basto - 4.1.8-4 - Patch to allow to build with GCC 4.7 - Try fix usb/udev problem on updates without reboot computer. - Improves on xorg17 patch, which is the xorg on guest part, we try build with our sources!. Currently broken on rawhide with xorg-x11-server-1.11.99.901-2.20120103.fc17. As mentioned on https://bugs.freedesktop.org/show_bug.cgi?id=43235, it fix on git, so I hope that will be fix on next build of xorg-x11-server. * Sun Jan 01 2012 Nicolas Chauvet - 4.1.8-3 - Fix vboxweb-service installation * Sat Dec 24 2011 Sérgio Basto - 4.1.8-2 - merge spec 4.0.4 from Lubomir Rintel , which re-add BuildRequires: hal-devel on F-15 * Fri Dec 23 2011 Sérgio Basto - 4.1.8-1 - New release. - remove backported patch, compile_fixes, for reference https://www.virtualbox.org/ticket/9743. * Mon Dec 12 2011 Sérgio Basto - 4.1.6-7 - complete list of commands of VBox command line based on src/VBox/Installer/linux/rpm/VirtualBox.tmpl.spec, revert some cleanups. - add source vboxweb-service to package. * Sun Dec 11 2011 Sérgio Basto - 4.1.6-6 - added compile fixes for kernel 3.2, although guest client still not start with X, now I got a segfault, but will help who want try guest client with rawhide. * Mon Dec 5 2011 Sérgio Basto - 4.1.6-5 - Now rawhide needs explicit BuildRequires libpng-devel * Mon Dec 5 2011 Sérgio Basto - 4.1.6-4 - revert change for "bug #1468, conflict symbols have been fixed upstream". * Sat Dec 3 2011 Sérgio Basto - 4.1.6-3 - increase one release number to override my external link. * Sat Dec 3 2011 Sérgio Basto - 4.1.6-2 - bug #1468, conflict symbols have been fixed upstream. - bug #2052, drop requirement of HAL in Fedora >= 16. - bug #2040, is also fixed (update to 4.1.6). * Fri Dec 2 2011 Sérgio Basto - 4.1.6-1 - New release - drop up streamed patch VirtualBox-OSE-4.1.2-vboxpci.patch - fix strings patch - add VirtualBox-OSE-add-VBoxExtPackHelperApp.patch bz #1656 - redo xorg17 patch (still need some improvements, I will wait for a new change that break the patch) - redo noupdate patch. - disable java binding seems non maintained. - some cleanups. * Wed Sep 21 2011 Lubomir Rintel - 4.1.2-1 - New release - Assign USB devices to vboxusers - Add a web service - Install MIME types for disk images * Sun Apr 03 2011 Lubomir Rintel - 4.0.4-1 - New release - Add requires for particular server ABIs * Tue Feb 08 2011 Lubomir Rintel - 4.0.2-2 - Fix build with GCC 4.6 * Fri Feb 04 2011 Lubomir Rintel - 4.0.2-1 - New release * Thu Feb 03 2011 Lubomir Rintel - 4.0.0-1 - New release * Fri Nov 12 2010 Lubomir Rintel - 3.2.10-1 - New release * Sun Aug 8 2010 Lubomir Rintel - 3.2.8-1 - New release * Tue Jul 13 2010 Lubomir Rintel - 3.2.6-2 - Ship with Xorg configuration * Mon Jul 12 2010 Lubomir Rintel - 3.2.6-1 - New release, fix build - Fix compile with GCC 4.5 - Fix acpi compilation with newer iasl * Thu Jun 17 2010 Lubomir Rintel - 3.2.4-1 - New release - Do not use /usr/bin/xargs in module script (Piergiorgio Sartor, #1256) - No longer blacklist KVM (Nicolas Chauvet, #1280) - Hypervisor conflicts with guest (Henrique Martins, #1239) * Wed May 19 2010 Lubomir Rintel - 3.2.0-1 - Release * Fri May 14 2010 Lubomir Rintel - 3.2.0-0.2.beta3 - Beta 3 - Add a release status tag into kernel abi dependency * Mon May 10 2010 Lubomir Rintel - 3.2.0-0.2.beta2 - 3.2.0 beta2 - Move pdf documentation to libdir, so that UI can find it * Wed Apr 28 2010 Lubomir Rintel - 3.2.0-0.1.beta1 - 3.2.0 beta - Build i686 on el6 * Fri Mar 26 2010 Lubomir Rintel - 3.1.6-1 - New upstream release - Workaround trouble linking with new linker - modprobe configuration files into right directory (LI Rui Bin) - Own /etc/vbox (LI Rui Bin) - Use parallel build - Attempt to address #1083 by insmodding instead of modprobe * Tue Feb 16 2010 Lubomir Rintel - 3.1.4-1 - New upstream, new release :) * Tue Jan 26 2010 Lubomir Rintel - 3.1.2-1 - New upstream release * Mon Nov 30 2009 Lubomir Rintel - 3.1.0-1 - Upstream release (they do that quite often, huh?) * Sat Nov 21 2009 Lubomir Rintel - 3.1.0-0.1.beta2 - Another upstream beta * Thu Nov 12 2009 Lubomir Rintel - 3.1.0-0.1.beta1 - Upstream beta release * Sun Nov 01 2009 Lubomir Rintel - 3.0.10-1 - Update to newer upstream release - Fix mixed up source files (Tony Nelson, #881) * Wed Oct 07 2009 Lubomir Rintel - 3.0.8-1 - Update to newer upstream - Fixes SunSolve #268188 security issue * Thu Sep 10 2009 Lubomir Rintel - 3.0.6-1 - Bring hardening back, stupid Lubomir - Update to recent upstream release - Drop upstreamed patches for Fedora 12 Alpha support * Sat Aug 22 2009 Lubomir Rintel - 3.0.4-7 - Correct the path in udev rule and adjust for non-hardening - Fix build with recent x86_64 glibc * Thu Aug 20 2009 Lubomir Rintel - 3.0.4-6 - No exceptions in R0 code, should fix unresolved symbol problem * Sun Aug 16 2009 Lubomir Rintel - 3.0.4-5 - Enable debuginfo package - Correctly use compiler flags - Make it possible to blacklist our modules - Blacklist KVM * Sat Aug 15 2009 Lubomir Rintel - 3.0.4-4 - Exchange hardening for filesystem capabilities - Enable web services * Sat Aug 08 2009 Lubomir Rintel - 3.0.4-3 - Include VBoxRandR - Add dri module to guest - Resize attempts in GDM make SELinux unhappy - Fix HAL policy file location * Sat Aug 08 2009 Lubomir Rintel - 3.0.4-2 - Don't quote INSTALL_DIR in vbox.cfg so that we don't confuse vboxgtk - Add python- subpackage - Correct permissions on SDK directories (#754) * Sat Aug 08 2009 Lubomir Rintel - 3.0.4-1 - Update to later upstream release - Re-enable DRI again, fix drm_release crash * Tue Aug 04 2009 Lubomir Rintel - 3.0.2-4 - Build for i686 - Fix build with newer PulseAudio - Don't bundle static libc++, fix build with newer one - Build Xorg 1.7 drivers, and only them - Adjust Mouse driver for XInput 2 - Temporarily disable DRI * Tue Aug 04 2009 Lubomir Rintel - 3.0.2-3 - Add netadp bmodule (Vlastimil Holer, #744) * Mon Jul 20 2009 Lubomir Rintel - 3.0.2-2 - Properly replace the xorg driver package * Sun Jul 12 2009 Lubomir Rintel - 3.0.2-1 - New upstream release - Dropping the upstreamed netfreeze patch * Fri Jul 10 2009 Lubomir Rintel - 3.0.0-3 - Fix freeze of guests on network load (upstream ticket/4343) * Wed Jul 08 2009 Lubomir Rintel - 3.0.0-2 - Tidy up the filelist check - Libs need to be executable for the dep generator (#698) * Fri Jul 03 2009 Jonathan Dieter - 3.0.0-1 - New upstream release * Thu Jul 02 2009 Lubomir Rintel - 2.2.4-3 - Enable resize for the login window - Add the guest udev rules - Actually install documentation * Mon Jun 29 2009 Lubomir Rintel - 2.2.4-2 - They left for beer too early, dicks, so we fix up wbox now - Make guest additions just work - Merge xorg stuff with rest of guest additions * Sun May 31 2009 Lubomir Rintel - 2.2.4-1 - New upstream release * Sun May 03 2009 Lubomir Rintel - 2.2.2-1 - Damnit, another new upstream release! :) - Improved packaging checks - Upstream fixed libcap detection, drop patch - Drop gcc44 patch, upstream supports it now * Sat Apr 25 2009 Lubomir Rintel - 2.2.0-1 - New upstream release - Allow for disabling of hardening to allow group-based vboxdrv control - Disable automatic updates * Fri Apr 24 2009 Lubomir Rintel - 2.1.4-4 - Adjust architecture list for plague * Sun Apr 12 2009 Lubomir Rintel - 2.1.4-3 - Fix SDK permissions - Fix SDK requires * Mon Mar 30 2009 Lubomir Rintel - 2.1.4-2 - Fix the swab fix so that we don't break pre-2.6.29 build * Sat Mar 14 2009 Lubomir Rintel - 2.1.4-1 - Update to 2.1.4 - Pack and compress the module source code - Drop vendor from desktop entry * Sat Mar 14 2009 Lubomir Rintel - 2.1.2-3 - Fix build with GCC 4.4 * Thu Feb 05 2009 Lubomir Rintel - 2.1.2-2 - Fix Fedora build, don't attempt to use compat gcc * Sat Jan 24 2009 Lubomir Rintel - 2.1.2-1 - New upstream release * Sun Jan 11 2009 Lubomir Rintel - 2.1.0-2 - Fix EL-5 panic - Build on x86_64 (w/o 32bit toolchain) * Mon Dec 29 2008 Lubomir Rintel - 2.1.0-1 - New upstream release - Add guest additions subpackage - Build QT4 frontend in Fedora * Mon Sep 29 2008 Lubomir Rintel - 2.0.2-2 - Fix locales path * Sat Sep 20 2008 Lubomir Rintel - 2.0.2-1 - Update to 2.0.2 - Fix vditool library path * Thu Sep 04 2008 Lubomir Rintel - 1.6.4-3 - Do the previous change correctly - Replace occurrences of 'vboxdrv setup' * Wed Sep 03 2008 Lubomir Rintel - 1.6.4-2 - Move the VboxDD* libs to a less wrong place * Tue Sep 02 2008 Lubomir Rintel - 1.6.4-1 - Remove selinux subpackage - Pack the generated source tree for kernel module - Split off SDK - Install to more-or-less FHS compliant tree * Sat Mar 08 2008 Till Maas - 1.5.6-5 - update group management to match the current guidelines * Sat Mar 08 2008 Till Maas - 1.5.6-4 - remove bogus %%post script for kernel module removing and loading. It worked with dkms, but maybe it was bad anyway. * Sat Mar 08 2008 Till Maas - 1.5.6-3 - add requires/provides to be used with kmod package * Sun Feb 24 2008 Lubomir Kundrak - 1.5.6-2 - SDL-static not needed, as well as the SDL patch - do not patch configure for kernel sources, use command line switch * Sun Feb 24 2008 Till Maas - 1.5.6-1 - update to new version - add BR: pulseaudio-libs-devel - remove unneeded recompiler patch - remove dkms subpackage (it is now a standalone package) * Sat Feb 16 2008 Lubomir Kundrak - 1.5.2-3 - Hacks to build with gcc43, on F8 * Tue Oct 30 2007 Till Maas - 1.5.2-2 - add support for x86_64 * Tue Oct 30 2007 Till Maas - 1.5.2-1 - Update to new version * Wed Oct 03 2007 Till Maas - 1.5.2-0.2.20071003svn5134 - update to devel Version * Wed Sep 19 2007 Till Maas - 1.5.2-0.1.20070919svn4897 - Update to devel Version that may support Fedora as Guest again - Make /dev/vboxdrv owned by root instead of vboxusers, because only the group is needed * Mon Sep 03 2007 Till Maas - 1.5.0-1 - update to new version - update License Tag * Wed Jun 27 2007 Till Maas - 1.4.0-1 - Update to new version - Adapt to new kBuild version, which seems to be needed * Sat Apr 21 2007 Till Maas - 1.3.8-2 - minor bugfixes in the wrapper script - rename to VirtualBox-OSE * Wed Apr 11 2007 Till Maas - 1.3.8-1 - version bump - add mkdir $RPM_BUILD_ROOT to %%install to prevent racing condition - start VBoxSVC with --daemonize - change source directory in %%prep - add vditool to wrapper script - fix path: s/sysconf/sysconfig/ for .modules file - send rmmod output to /dev/null - add selinux support - do not unload the kernel module in preun * Sun Mar 11 2007 Till Maas - 1.3.6-3 - new wrapper script, include VBoxSDL - Use vbox.cfg - load module in dkms package automatically with sysconfig/modules/virtualbox.modules - move udev rule to -dkms package - remove vboxdrv module when deinstalling -dkms package - add LocalConfig.kmk to make it honour at least some rpm optflags * Sat Mar 10 2007 Till Maas - 1.3.6-2 - add COPYING.LIB - CRLF to LF in COPYING - add xorg-x11-drv-virtualbox package * Fri Mar 09 2007 Till Maas - 1.3.6-1 - Initial release for Fedora, inspired by OpenSuSE spec