forked from pool/virtualbox
Accepting request 923318 from Virtualization
OBS-URL: https://build.opensuse.org/request/show/923318 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/virtualbox?expand=0&rev=224
This commit is contained in:
commit
c96bcca990
@ -1,7 +1,7 @@
|
|||||||
Index: VirtualBox-6.1.24/src/VBox/HostDrivers/VBoxNetFlt/linux/VBoxNetFlt-linux.c
|
Index: VirtualBox-6.1.26/src/VBox/HostDrivers/VBoxNetFlt/linux/VBoxNetFlt-linux.c
|
||||||
===================================================================
|
===================================================================
|
||||||
--- VirtualBox-6.1.24.orig/src/VBox/HostDrivers/VBoxNetFlt/linux/VBoxNetFlt-linux.c
|
--- VirtualBox-6.1.26.orig/src/VBox/HostDrivers/VBoxNetFlt/linux/VBoxNetFlt-linux.c
|
||||||
+++ VirtualBox-6.1.24/src/VBox/HostDrivers/VBoxNetFlt/linux/VBoxNetFlt-linux.c
|
+++ VirtualBox-6.1.26/src/VBox/HostDrivers/VBoxNetFlt/linux/VBoxNetFlt-linux.c
|
||||||
@@ -76,6 +76,10 @@
|
@@ -76,6 +76,10 @@
|
||||||
#define VBOXNETFLT_OS_SPECFIC 1
|
#define VBOXNETFLT_OS_SPECFIC 1
|
||||||
#include "../VBoxNetFltInternal.h"
|
#include "../VBoxNetFltInternal.h"
|
||||||
@ -13,10 +13,10 @@ Index: VirtualBox-6.1.24/src/VBox/HostDrivers/VBoxNetFlt/linux/VBoxNetFlt-linux.
|
|||||||
typedef struct VBOXNETFLTNOTIFIER {
|
typedef struct VBOXNETFLTNOTIFIER {
|
||||||
struct notifier_block Notifier;
|
struct notifier_block Notifier;
|
||||||
PVBOXNETFLTINS pThis;
|
PVBOXNETFLTINS pThis;
|
||||||
Index: VirtualBox-6.1.24/src/VBox/Additions/linux/drm/vbox_drv.c
|
Index: VirtualBox-6.1.26/src/VBox/Additions/linux/drm/vbox_drv.c
|
||||||
===================================================================
|
===================================================================
|
||||||
--- VirtualBox-6.1.24.orig/src/VBox/Additions/linux/drm/vbox_drv.c
|
--- VirtualBox-6.1.26.orig/src/VBox/Additions/linux/drm/vbox_drv.c
|
||||||
+++ VirtualBox-6.1.24/src/VBox/Additions/linux/drm/vbox_drv.c
|
+++ VirtualBox-6.1.26/src/VBox/Additions/linux/drm/vbox_drv.c
|
||||||
@@ -310,12 +310,15 @@ static void vbox_master_drop(struct drm_
|
@@ -310,12 +310,15 @@ static void vbox_master_drop(struct drm_
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -36,11 +36,11 @@ Index: VirtualBox-6.1.24/src/VBox/Additions/linux/drm/vbox_drv.c
|
|||||||
#else /* >= 5.4.0 && RHEL >= 8.3 && SLES >= 15-SP3 */
|
#else /* >= 5.4.0 && RHEL >= 8.3 && SLES >= 15-SP3 */
|
||||||
.driver_features = DRIVER_MODESET | DRIVER_GEM | DRIVER_HAVE_IRQ,
|
.driver_features = DRIVER_MODESET | DRIVER_GEM | DRIVER_HAVE_IRQ,
|
||||||
#endif /* < 5.4.0 */
|
#endif /* < 5.4.0 */
|
||||||
Index: VirtualBox-6.1.24/src/VBox/Additions/linux/drm/vbox_main.c
|
Index: VirtualBox-6.1.26/src/VBox/Additions/linux/drm/vbox_main.c
|
||||||
===================================================================
|
===================================================================
|
||||||
--- VirtualBox-6.1.24.orig/src/VBox/Additions/linux/drm/vbox_main.c
|
--- VirtualBox-6.1.26.orig/src/VBox/Additions/linux/drm/vbox_main.c
|
||||||
+++ VirtualBox-6.1.24/src/VBox/Additions/linux/drm/vbox_main.c
|
+++ VirtualBox-6.1.26/src/VBox/Additions/linux/drm/vbox_main.c
|
||||||
@@ -640,8 +640,12 @@ static inline u64 vbox_bo_mmap_offset(st
|
@@ -638,8 +638,12 @@ static inline u64 vbox_bo_mmap_offset(st
|
||||||
#elif RTLNX_VER_MAX(3,12,0) && !RTLNX_RHEL_MAJ_PREREQ(7,0)
|
#elif RTLNX_VER_MAX(3,12,0) && !RTLNX_RHEL_MAJ_PREREQ(7,0)
|
||||||
return bo->bo.addr_space_offset;
|
return bo->bo.addr_space_offset;
|
||||||
#else
|
#else
|
||||||
@ -53,10 +53,10 @@ Index: VirtualBox-6.1.24/src/VBox/Additions/linux/drm/vbox_main.c
|
|||||||
}
|
}
|
||||||
|
|
||||||
int
|
int
|
||||||
Index: VirtualBox-6.1.24/include/iprt/cdefs.h
|
Index: VirtualBox-6.1.26/include/iprt/cdefs.h
|
||||||
===================================================================
|
===================================================================
|
||||||
--- VirtualBox-6.1.24.orig/include/iprt/cdefs.h
|
--- VirtualBox-6.1.26.orig/include/iprt/cdefs.h
|
||||||
+++ VirtualBox-6.1.24/include/iprt/cdefs.h
|
+++ VirtualBox-6.1.26/include/iprt/cdefs.h
|
||||||
@@ -1184,14 +1184,15 @@
|
@@ -1184,14 +1184,15 @@
|
||||||
* Tell the compiler that we're falling through to the next case in a switch.
|
* Tell the compiler that we're falling through to the next case in a switch.
|
||||||
* @sa RT_FALL_THRU */
|
* @sa RT_FALL_THRU */
|
||||||
@ -76,3 +76,138 @@ Index: VirtualBox-6.1.24/include/iprt/cdefs.h
|
|||||||
|
|
||||||
|
|
||||||
/** @def RT_IPRT_FORMAT_ATTR
|
/** @def RT_IPRT_FORMAT_ATTR
|
||||||
|
Index: VirtualBox-6.1.26/kBuild/header.kmk
|
||||||
|
===================================================================
|
||||||
|
--- VirtualBox-6.1.26.orig/kBuild/header.kmk
|
||||||
|
+++ VirtualBox-6.1.26/kBuild/header.kmk
|
||||||
|
@@ -754,7 +754,7 @@ RMDIR_EXT := $(KBUILD_BIN_PATH)/kmk_rm
|
||||||
|
RMDIR_INT := kmk_builtin_rmdir
|
||||||
|
RMDIR := $(RMDIR_INT)
|
||||||
|
|
||||||
|
-SED_EXT := $(KBUILD_BIN_PATH)/kmk_sed$(HOSTSUFF_EXE)
|
||||||
|
+SED_EXT := /usr/bin/kmk_sed$(HOSTSUFF_EXE)
|
||||||
|
SED_INT := $(SED_EXT)
|
||||||
|
SED := $(SED_EXT)
|
||||||
|
|
||||||
|
Index: VirtualBox-6.1.26/configure
|
||||||
|
===================================================================
|
||||||
|
--- VirtualBox-6.1.26.orig/configure
|
||||||
|
+++ VirtualBox-6.1.26/configure
|
||||||
|
@@ -1881,7 +1881,7 @@ check_kbuild()
|
||||||
|
fi
|
||||||
|
echo "export PATH" >> $ENV
|
||||||
|
echo "unset path_kbuild_bin path_dev_bin" >> $ENV
|
||||||
|
- KBUILD_SED="$KBUILDDIR_BIN/kmk_sed"
|
||||||
|
+ KBUILD_SED="/usr/bin/kmk_sed"
|
||||||
|
elif [ "$OS.$BUILD_MACHINE" = "darwin.amd64" ]; then
|
||||||
|
# Currently there are no amd64 kBuild bins. So use the x86 variant in any case.
|
||||||
|
KBUILDDIR_BIN="$KBUILDDIR/bin/$OS.x86"
|
||||||
|
@@ -1897,10 +1897,10 @@ check_kbuild()
|
||||||
|
echo "echo \"\$PATH\" | grep -q \"\$path_dev_bin\" || PATH=\"\$path_dev_bin:\$PATH\"" >> $ENV
|
||||||
|
echo "export PATH" >> $ENV
|
||||||
|
echo "unset path_kbuild_bin path_dev_bin" >> $ENV
|
||||||
|
- KBUILD_SED="$KBUILDDIR_BIN/kmk_sed"
|
||||||
|
+ KBUILD_SED="/usr/bin/kmk_sed"
|
||||||
|
elif check_avail "kmk" KBUILDDIR really; then
|
||||||
|
# check for installed kBuild
|
||||||
|
- KBUILD_SED="`which_wrapper kmk_sed`"
|
||||||
|
+ KBUILD_SED="/usr/bin/kmk_sed"
|
||||||
|
else
|
||||||
|
fail
|
||||||
|
fi
|
||||||
|
Index: VirtualBox-6.1.26/tools/bin/backport-commit.sh
|
||||||
|
===================================================================
|
||||||
|
--- VirtualBox-6.1.26.orig/tools/bin/backport-commit.sh
|
||||||
|
+++ VirtualBox-6.1.26/tools/bin/backport-commit.sh
|
||||||
|
@@ -19,7 +19,7 @@
|
||||||
|
#
|
||||||
|
# Determin script dir so we can source the common bits.
|
||||||
|
#
|
||||||
|
-MY_SED=kmk_sed
|
||||||
|
+MY_SED=/usr/bin/kmk_sed
|
||||||
|
MY_SCRIPT_DIR=`echo "$0" | "${MY_SED}" -e 's|\\\|/|g' -e 's|^\(.*\)/[^/][^/]*$|\1|'` # \ -> / is for windows.
|
||||||
|
if test "${MY_SCRIPT_DIR}" = "$0"; then
|
||||||
|
MY_SCRIPT_DIR=`pwd -L`
|
||||||
|
Index: VirtualBox-6.1.26/tools/bin/backport-common.sh
|
||||||
|
===================================================================
|
||||||
|
--- VirtualBox-6.1.26.orig/tools/bin/backport-common.sh
|
||||||
|
+++ VirtualBox-6.1.26/tools/bin/backport-common.sh
|
||||||
|
@@ -1,4 +1,4 @@
|
||||||
|
-# $Id: backport-common.sh $
|
||||||
|
+ $Id: backport-common.sh $
|
||||||
|
## @file
|
||||||
|
# Common backport script bits.
|
||||||
|
#
|
||||||
|
@@ -23,7 +23,7 @@
|
||||||
|
MY_PRINTF=kmk_printf
|
||||||
|
MY_RM=kmk_rm
|
||||||
|
MY_SVN=svn
|
||||||
|
- MY_SED=kmk_sed
|
||||||
|
+ MY_SED=/usr/bin/kmk_sed
|
||||||
|
|
||||||
|
#
|
||||||
|
# Functions.
|
||||||
|
Index: VirtualBox-6.1.26/tools/bin/backport-merge-and-commit.sh
|
||||||
|
===================================================================
|
||||||
|
--- VirtualBox-6.1.26.orig/tools/bin/backport-merge-and-commit.sh
|
||||||
|
+++ VirtualBox-6.1.26/tools/bin/backport-merge-and-commit.sh
|
||||||
|
@@ -19,7 +19,7 @@
|
||||||
|
#
|
||||||
|
# Determin script dir so we can invoke the two worker scripts.
|
||||||
|
#
|
||||||
|
-MY_SED=kmk_sed
|
||||||
|
+MY_SED=/usr/bin/kmk_sed
|
||||||
|
MY_SCRIPT_DIR=`echo "$0" | "${MY_SED}" -e 's|\\\|/|g' -e 's|^\(.*\)/[^/][^/]*$|\1|'` # \ -> / is for windows.
|
||||||
|
if test "${MY_SCRIPT_DIR}" = "$0"; then
|
||||||
|
MY_SCRIPT_DIR=`pwd -L`
|
||||||
|
Index: VirtualBox-6.1.26/tools/bin/backport-merge.sh
|
||||||
|
===================================================================
|
||||||
|
--- VirtualBox-6.1.26.orig/tools/bin/backport-merge.sh
|
||||||
|
+++ VirtualBox-6.1.26/tools/bin/backport-merge.sh
|
||||||
|
@@ -19,7 +19,7 @@
|
||||||
|
#
|
||||||
|
# Determin script dir so we can source the common bits.
|
||||||
|
#
|
||||||
|
-MY_SED=kmk_sed
|
||||||
|
+MY_SED=/usr/bin/kmk_sed
|
||||||
|
MY_SCRIPT_DIR=`echo "$0" | "${MY_SED}" -e 's|\\\|/|g' -e 's|^\(.*\)/[^/][^/]*$|\1|'` # \ -> / is for windows.
|
||||||
|
if test "${MY_SCRIPT_DIR}" = "$0"; then
|
||||||
|
MY_SCRIPT_DIR=`pwd -L`
|
||||||
|
Index: VirtualBox-6.1.26/tools/bin/gen-slickedit-workspace.sh
|
||||||
|
===================================================================
|
||||||
|
--- VirtualBox-6.1.26.orig/tools/bin/gen-slickedit-workspace.sh
|
||||||
|
+++ VirtualBox-6.1.26/tools/bin/gen-slickedit-workspace.sh
|
||||||
|
@@ -23,7 +23,7 @@ MY_CAT="kmk_cat"
|
||||||
|
MY_CP="kmk_cp"
|
||||||
|
MY_MKDIR="kmk_mkdir"
|
||||||
|
MY_MV="kmk_mv"
|
||||||
|
-MY_SED="kmk_sed"
|
||||||
|
+MY_SED="/usr/bin/kmk_sed"
|
||||||
|
MY_RM="kmk_rm"
|
||||||
|
MY_SLEEP="kmk_sleep"
|
||||||
|
MY_EXPR="kmk_expr"
|
||||||
|
Index: VirtualBox-6.1.26/src/VBox/Main/Makefile.kmk
|
||||||
|
===================================================================
|
||||||
|
--- VirtualBox-6.1.26.orig/src/VBox/Main/Makefile.kmk
|
||||||
|
+++ VirtualBox-6.1.26/src/VBox/Main/Makefile.kmk
|
||||||
|
@@ -235,7 +235,7 @@ $(VBOX_XIDL_FILE).ts +| $(VBOX_XIDL_FILE
|
||||||
|
| $$(dir $$@)
|
||||||
|
$(call KB_FN_AUTO_CMD_DEPS_COMMANDS)
|
||||||
|
$(QUIET)$(VBOX_XSLTPROC) -o $(VBOX_XIDL_FILE).ts-tmp $(VBOX_PATH_MAIN_SRC)/idl/docstrip.xsl $(VBOX_XIDL_FILE_SRC)
|
||||||
|
- $(QUIET)$(SED) -e 's/ *$(DOLLAR)//g' -e '/^$(DOLLAR)/d' --output $(VBOX_XIDL_FILE).ts $(VBOX_XIDL_FILE).ts-tmp
|
||||||
|
+ /usr/bin/kmk_sed -e 's/ *$(DOLLAR)//g' -e '/^$(DOLLAR)/d' --output $(VBOX_XIDL_FILE).ts $(VBOX_XIDL_FILE).ts-tmp
|
||||||
|
$(QUIET)$(RM) -- $(VBOX_XIDL_FILE).ts-tmp
|
||||||
|
$(QUIET)$(CP) --changed -fv -- $(VBOX_XIDL_FILE).ts $(VBOX_XIDL_FILE)
|
||||||
|
|
||||||
|
Index: VirtualBox-6.1.26/src/VBox/Runtime/Makefile.kmk
|
||||||
|
===================================================================
|
||||||
|
--- VirtualBox-6.1.26.orig/src/VBox/Runtime/Makefile.kmk
|
||||||
|
+++ VirtualBox-6.1.26/src/VBox/Runtime/Makefile.kmk
|
||||||
|
@@ -3662,6 +3662,7 @@ $(foreach lib,RuntimeR3 RuntimeBldProg V
|
||||||
|
#
|
||||||
|
# Generate the status code data.
|
||||||
|
#
|
||||||
|
+SED = "/usr/bin/kmk_sed"
|
||||||
|
$(IPRT_OUT_DIR)/errmsgdata.h: \
|
||||||
|
$(VBOX_PATH_RUNTIME_SRC)/common/err/errmsg.sed \
|
||||||
|
$(PATH_ROOT)/include/iprt/err.h \
|
||||||
|
@ -27,10 +27,10 @@
|
|||||||
# Description: VirtualBox Linux kernel module
|
# Description: VirtualBox Linux kernel module
|
||||||
### END INIT INFO
|
### END INIT INFO
|
||||||
|
|
||||||
PATH=/sbin:/bin:/usr/sbin:/usr/bin:$PATH
|
PATH=/usr/sbin:/usr/bin:$PATH
|
||||||
DEVICE=/dev/vboxdrv
|
DEVICE=/dev/vboxdrv
|
||||||
LOG="/var/log/vbox-install.log"
|
LOG="/var/log/vbox-install.log"
|
||||||
MODPROBE=/sbin/modprobe
|
MODPROBE=/usr/sbin/modprobe
|
||||||
SCRIPTNAME=vboxdrv.sh
|
SCRIPTNAME=vboxdrv.sh
|
||||||
INSTALL_DIR=/usr/lib/virtualbox
|
INSTALL_DIR=/usr/lib/virtualbox
|
||||||
|
|
||||||
@ -210,7 +210,7 @@ start_drv()
|
|||||||
failure "Cannot remove $DEVICE"
|
failure "Cannot remove $DEVICE"
|
||||||
fi
|
fi
|
||||||
if ! $MODPROBE vboxdrv > /dev/null 2>&1; then
|
if ! $MODPROBE vboxdrv > /dev/null 2>&1; then
|
||||||
/sbin/vboxconfig
|
/usr/sbin/vboxconfig
|
||||||
if ! $MODPROBE vboxdrv > /dev/null 2>&1; then
|
if ! $MODPROBE vboxdrv > /dev/null 2>&1; then
|
||||||
failure "modprobe vboxdrv failed. Please use 'dmesg' to find out why"
|
failure "modprobe vboxdrv failed. Please use 'dmesg' to find out why"
|
||||||
fi
|
fi
|
||||||
@ -302,7 +302,7 @@ cleanup_vb()
|
|||||||
setup_vb()
|
setup_vb()
|
||||||
{
|
{
|
||||||
# Try to build the host kernel modules in case prepackaging has failed
|
# Try to build the host kernel modules in case prepackaging has failed
|
||||||
/sbin/vboxconfig
|
/usr/sbin/vboxconfig
|
||||||
}
|
}
|
||||||
|
|
||||||
dmnstatus()
|
dmnstatus()
|
||||||
|
@ -1,3 +1,23 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Oct 5 15:46:41 UTC 2021 - Hans-Peter Jansen <hpj@urpla.net>
|
||||||
|
|
||||||
|
- Fix ldconfig invocation in scriptlets
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Oct 2 22:59:48 UTC 2021 - Hans-Peter Jansen <hpj@urpla.net>
|
||||||
|
|
||||||
|
- Remove vbox-fix-usb-rules.sh from qt package to avoid file conflict
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Oct 2 16:55:07 UTC 2021 - Larry Finger <Larry.Finger@gmail.com>
|
||||||
|
|
||||||
|
- Fix build failures in Leap 15.1 and Leap 15.2 due to kmk_sed issues.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Sep 29 19:24:28 UTC 2021 - Larry Finger <Larry.Finger@gmail.com>
|
||||||
|
|
||||||
|
- Finish UsrMerge for VirtualBox components (boo#1191104).
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Sep 8 04:54:25 UTC 2021 - Larry Finger <Larry.Finger@gmail.com>
|
Wed Sep 8 04:54:25 UTC 2021 - Larry Finger <Larry.Finger@gmail.com>
|
||||||
|
|
||||||
|
@ -55,7 +55,7 @@ python3 -O -c "import sys, os, compileall; br='%{buildroot}'; compileall.compile
|
|||||||
# For 64-bit builds, no memory limit is reached when more jobs are run, but the builds crash with strange errors.
|
# For 64-bit builds, no memory limit is reached when more jobs are run, but the builds crash with strange errors.
|
||||||
# For the above reasons, limit the number of jobs to 2.
|
# For the above reasons, limit the number of jobs to 2.
|
||||||
%define _smp_mflags -j2
|
%define _smp_mflags -j2
|
||||||
%define _vbox_instdir %{_prefix}/lib/virtualbox
|
%define _vbox_instdir %{_prefix}/lib/virtualbox
|
||||||
%define _udevrulesdir %{_prefix}/lib/udev/rules.d
|
%define _udevrulesdir %{_prefix}/lib/udev/rules.d
|
||||||
%endif
|
%endif
|
||||||
# ********* If the VB version exceeds 6.1.x, notify the libvirt maintainer!!
|
# ********* If the VB version exceeds 6.1.x, notify the libvirt maintainer!!
|
||||||
@ -63,8 +63,8 @@ Name: virtualbox%{?dash}%{?name_suffix}
|
|||||||
Version: 6.1.26
|
Version: 6.1.26
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: %{package_summary}
|
Summary: %{package_summary}
|
||||||
License: GPL-2.0-or-later
|
|
||||||
# FIXME: use correct group or remove it, see "https://en.opensuse.org/openSUSE:Package_group_guidelines"
|
# FIXME: use correct group or remove it, see "https://en.opensuse.org/openSUSE:Package_group_guidelines"
|
||||||
|
License: GPL-2.0-or-later
|
||||||
Group: %{package_group}
|
Group: %{package_group}
|
||||||
URL: https://www.virtualbox.org/
|
URL: https://www.virtualbox.org/
|
||||||
#
|
#
|
||||||
@ -288,8 +288,6 @@ Requires(pre): net-tools-deprecated
|
|||||||
%if %{kmp_package}
|
%if %{kmp_package}
|
||||||
BuildRequires: libxml2-devel
|
BuildRequires: libxml2-devel
|
||||||
Requires: openSUSE-signkey-cert
|
Requires: openSUSE-signkey-cert
|
||||||
Obsoletes: virtualbox-guest-kmp
|
|
||||||
Obsoletes: virtualbox-host-kmp
|
|
||||||
%kernel_module_package -p %{SOURCE7} -n virtualbox -f %{SOURCE5} -x kdump um xen pae xenpae pv
|
%kernel_module_package -p %{SOURCE7} -n virtualbox -f %{SOURCE5} -x kdump um xen pae xenpae pv
|
||||||
# end of kmp_package
|
# end of kmp_package
|
||||||
%endif
|
%endif
|
||||||
@ -304,12 +302,6 @@ hardware. VirtualBox is freely available as Open Source Software under
|
|||||||
the terms of the GNU Public License (GPL).
|
the terms of the GNU Public License (GPL).
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
##########################################
|
##########################################
|
||||||
|
|
||||||
%package qt
|
%package qt
|
||||||
@ -320,7 +312,7 @@ Requires(pre): permissions
|
|||||||
Provides: %{name}-gui = %{version}
|
Provides: %{name}-gui = %{version}
|
||||||
#this is needed during update to trigger installing qt subpackage
|
#this is needed during update to trigger installing qt subpackage
|
||||||
#http://en.opensuse.org/openSUSE:Upgrade_dependencies_explanation#Splitting_and_Merging
|
#http://en.opensuse.org/openSUSE:Upgrade_dependencies_explanation#Splitting_and_Merging
|
||||||
Provides: %{name}-ose:%{_prefix}/lib/virtualbox/VirtualBox.so
|
Provides: %{name}-ose:%{_vbox_instdir}/VirtualBox.so
|
||||||
#rename from "ose" version:
|
#rename from "ose" version:
|
||||||
Provides: %{name}-ose-qt = %{version}
|
Provides: %{name}-ose-qt = %{version}
|
||||||
Obsoletes: %{name}-ose-qt < %{version}
|
Obsoletes: %{name}-ose-qt < %{version}
|
||||||
@ -329,12 +321,6 @@ Obsoletes: %{name}-ose-qt < %{version}
|
|||||||
This package contains the code for the GUI used to control VMs.
|
This package contains the code for the GUI used to control VMs.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#########################################
|
#########################################
|
||||||
|
|
||||||
%package websrv
|
%package websrv
|
||||||
@ -342,18 +328,12 @@ Summary: WebService GUI part for %{name}
|
|||||||
Group: System/Emulators/PC
|
Group: System/Emulators/PC
|
||||||
Requires: %{name} = %{version}
|
Requires: %{name} = %{version}
|
||||||
Provides: %{name}-gui = %{version}
|
Provides: %{name}-gui = %{version}
|
||||||
Obsoletes: %{name}-vboxwebsrv
|
Obsoletes: %{name}-vboxwebsrv < %{version}
|
||||||
|
|
||||||
%description websrv
|
%description websrv
|
||||||
The VirtualBox web server is used to control headless VMs using a browser.
|
The VirtualBox web server is used to control headless VMs using a browser.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#########################################
|
#########################################
|
||||||
|
|
||||||
%package guest-x11
|
%package guest-x11
|
||||||
@ -369,12 +349,6 @@ Obsoletes: xorg-x11-driver-virtualbox-ose < %{version}
|
|||||||
This package contains X11 guest utilities and X11 guest mouse and video drivers
|
This package contains X11 guest utilities and X11 guest mouse and video drivers
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
###########################################
|
###########################################
|
||||||
|
|
||||||
%package guest-tools
|
%package guest-tools
|
||||||
@ -395,12 +369,6 @@ Requires(pre): net-tools-deprecated
|
|||||||
VirtualBox guest addition tools.
|
VirtualBox guest addition tools.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
###########################################
|
###########################################
|
||||||
|
|
||||||
%package -n python3-%{name}
|
%package -n python3-%{name}
|
||||||
@ -421,12 +389,6 @@ Obsoletes: python3-%{name}-ose < %{version}
|
|||||||
Python XPCOM bindings to %{name}. Used e.g. by vboxgtk package.
|
Python XPCOM bindings to %{name}. Used e.g. by vboxgtk package.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
###########################################
|
###########################################
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
@ -442,12 +404,6 @@ Obsoletes: %{name}-ose-devel < %{version}
|
|||||||
Development file for %{name}
|
Development file for %{name}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
###########################################
|
###########################################
|
||||||
|
|
||||||
%package host-source
|
%package host-source
|
||||||
@ -463,7 +419,7 @@ BuildArch: noarch
|
|||||||
%description host-source
|
%description host-source
|
||||||
Source files for %{name} host kernel modules
|
Source files for %{name} host kernel modules
|
||||||
These can be built for custom kernels using
|
These can be built for custom kernels using
|
||||||
sudo /sbin/vboxconfig
|
sudo /usr/sbin/vboxconfig
|
||||||
|
|
||||||
%package guest-source
|
%package guest-source
|
||||||
Summary: Source files for %{name} guest kernel modules
|
Summary: Source files for %{name} guest kernel modules
|
||||||
@ -477,12 +433,7 @@ BuildArch: noarch
|
|||||||
%description guest-source
|
%description guest-source
|
||||||
Source files for %{name} guest kernel modules
|
Source files for %{name} guest kernel modules
|
||||||
These can be built for custom kernels using
|
These can be built for custom kernels using
|
||||||
sudo /sbin/vboxguestconfig
|
sudo /usr/sbin/vboxguestconfig
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -500,11 +451,6 @@ This package contains icons for guest desktop files that were created on the des
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
###########################################
|
###########################################
|
||||||
|
|
||||||
%package vnc
|
%package vnc
|
||||||
@ -607,7 +553,7 @@ cp %{SOURCE20} README.autostart
|
|||||||
#instead of kmk_sed use /usr/bin/sed because of bug http://svn.netlabs.org/kbuild/ticket/112,
|
#instead of kmk_sed use /usr/bin/sed because of bug http://svn.netlabs.org/kbuild/ticket/112,
|
||||||
#but we have to create wrapper which will handle --append and --output options which are not provided by /usr/bin/sed
|
#but we have to create wrapper which will handle --append and --output options which are not provided by /usr/bin/sed
|
||||||
cat >> kmk_sed <<EOF
|
cat >> kmk_sed <<EOF
|
||||||
#!/bin/bash
|
#!/usr/bin/bash
|
||||||
while [ "\$#" != "0" ]; do
|
while [ "\$#" != "0" ]; do
|
||||||
pass=\${pass}" \$1"
|
pass=\${pass}" \$1"
|
||||||
[ "\$1" == "-e" ] && shift && pass=\${pass}" '\$1'"
|
[ "\$1" == "-e" ] && shift && pass=\${pass}" '\$1'"
|
||||||
@ -642,7 +588,7 @@ rm -rf src/libs/{libpng-*,libxml2-*,libxslt-*,zlib-*,boost-*}
|
|||||||
--disable-java \
|
--disable-java \
|
||||||
--disable-docs \
|
--disable-docs \
|
||||||
--enable-webservice \
|
--enable-webservice \
|
||||||
--with-makeself=/bin/true
|
--with-makeself=/usr/bin/true
|
||||||
|
|
||||||
# configure actually warns we should source env.sh (which seems like it could influence the build...)
|
# configure actually warns we should source env.sh (which seems like it could influence the build...)
|
||||||
source ./env.sh
|
source ./env.sh
|
||||||
@ -670,8 +616,8 @@ kmk -C src/VBox/ExtPacks/VNC packing
|
|||||||
#################################
|
#################################
|
||||||
echo "create directory structure"
|
echo "create directory structure"
|
||||||
#################################
|
#################################
|
||||||
install -d -m 755 %{buildroot}/sbin
|
install -d -m 755 %{buildroot}/usr/sbin
|
||||||
install -d -m 755 %{buildroot}/lib
|
install -d -m 755 %{buildroot}/usr/lib
|
||||||
install -d -m 755 %{buildroot}%{_bindir}
|
install -d -m 755 %{buildroot}%{_bindir}
|
||||||
install -d -m 755 %{buildroot}%{_sbindir}
|
install -d -m 755 %{buildroot}%{_sbindir}
|
||||||
install -d -m 755 %{buildroot}%{_datadir}/virtualbox/nls
|
install -d -m 755 %{buildroot}%{_datadir}/virtualbox/nls
|
||||||
@ -696,7 +642,7 @@ echo "entering guest-tools install section"
|
|||||||
###########################################
|
###########################################
|
||||||
install -m 755 out/linux.*/release/bin/additions/VBoxControl %{buildroot}%{_bindir}/VBoxControl
|
install -m 755 out/linux.*/release/bin/additions/VBoxControl %{buildroot}%{_bindir}/VBoxControl
|
||||||
install -m 755 out/linux.*/release/bin/additions/VBoxService %{buildroot}%{_sbindir}/VBoxService
|
install -m 755 out/linux.*/release/bin/additions/VBoxService %{buildroot}%{_sbindir}/VBoxService
|
||||||
install -m 755 out/linux.*/release/bin/additions/mount.vboxsf %{buildroot}/sbin/mount.vboxsf
|
install -m 755 out/linux.*/release/bin/additions/mount.vboxsf %{buildroot}/usr/sbin/mount.vboxsf
|
||||||
install -m 744 src/VBox/Additions/linux/installer/vboxadd-service.sh %{buildroot}%{_vbox_instdir}/vboxadd-service
|
install -m 744 src/VBox/Additions/linux/installer/vboxadd-service.sh %{buildroot}%{_vbox_instdir}/vboxadd-service
|
||||||
# udev rule for guest (virtualbox-guest-tools)
|
# udev rule for guest (virtualbox-guest-tools)
|
||||||
install -m 644 %{SOURCE3} %{buildroot}%{_udevrulesdir}/60-vboxguest.rules
|
install -m 644 %{SOURCE3} %{buildroot}%{_udevrulesdir}/60-vboxguest.rules
|
||||||
@ -800,9 +746,9 @@ install -m 644 %{SOURCE8} %{buildroot}%{_bindir}/update-extpack.sh
|
|||||||
install -m 0644 %{SOURCE14} %{buildroot}%{_unitdir}/vboxdrv.service
|
install -m 0644 %{SOURCE14} %{buildroot}%{_unitdir}/vboxdrv.service
|
||||||
ln -s -f %{_sbindir}/service %{buildroot}%{_sbindir}/rcvboxdrv
|
ln -s -f %{_sbindir}/service %{buildroot}%{_sbindir}/rcvboxdrv
|
||||||
install -m 0644 %{SOURCE15} %{buildroot}%{_unitdir}/vboxadd-service.service
|
install -m 0644 %{SOURCE15} %{buildroot}%{_unitdir}/vboxadd-service.service
|
||||||
install -m 0755 %{SOURCE16} %{buildroot}/sbin/vboxconfig
|
install -m 0755 %{SOURCE16} %{buildroot}/usr/sbin/vboxconfig
|
||||||
install -m 0755 %{SOURCE17} %{buildroot}/sbin/vboxguestconfig
|
install -m 0755 %{SOURCE17} %{buildroot}/usr/sbin/vboxguestconfig
|
||||||
install -m 0755 %{SOURCE18} %{buildroot}/sbin/vbox-fix-usb-rules.sh
|
install -m 0755 %{SOURCE18} %{buildroot}/usr/sbin/vbox-fix-usb-rules.sh
|
||||||
install -m 0755 %{SOURCE19} %{buildroot}%{_vbox_instdir}/vboxdrv.sh
|
install -m 0755 %{SOURCE19} %{buildroot}%{_vbox_instdir}/vboxdrv.sh
|
||||||
install -m 0644 %{SOURCE21} %{buildroot}%{_unitdir}/vboxweb-service.service
|
install -m 0644 %{SOURCE21} %{buildroot}%{_unitdir}/vboxweb-service.service
|
||||||
install -m 0755 %{SOURCE22} %{buildroot}%{_vbox_instdir}/vboxweb-service.sh
|
install -m 0755 %{SOURCE22} %{buildroot}%{_vbox_instdir}/vboxweb-service.sh
|
||||||
@ -816,7 +762,7 @@ ln -sf %{_unitdir}/vboxautostart-service.service %{buildroot}%{_unitdir}/
|
|||||||
|
|
||||||
# config file for vboxdrv and vboxweb
|
# config file for vboxdrv and vboxweb
|
||||||
install -d -m 755 %{buildroot}%{_sysconfdir}/vbox
|
install -d -m 755 %{buildroot}%{_sysconfdir}/vbox
|
||||||
install -d -m 775 %{buildroot}%{_sysconfdir}/vbox/autostart.d
|
# install -d -m 775 %{buildroot}%{_sysconfdir}/vbox/autostart.d
|
||||||
echo -e "#settings for vboxwebsrn\nVBOXWEB_USER=root" > %{buildroot}%{_sysconfdir}/vbox/vbox.cfg
|
echo -e "#settings for vboxwebsrn\nVBOXWEB_USER=root" > %{buildroot}%{_sysconfdir}/vbox/vbox.cfg
|
||||||
# config file for vboxautostart
|
# config file for vboxautostart
|
||||||
cat > %{buildroot}%{_sysconfdir}/vbox/autostart.cfg << EOF
|
cat > %{buildroot}%{_sysconfdir}/vbox/autostart.cfg << EOF
|
||||||
@ -1072,7 +1018,9 @@ export DISABLE_RESTART_ON_UPDATE=yes
|
|||||||
%{_unitdir}/multi-user.target.wants/vboxautostart-service.service
|
%{_unitdir}/multi-user.target.wants/vboxautostart-service.service
|
||||||
%{_sbindir}/rcvboxdrv
|
%{_sbindir}/rcvboxdrv
|
||||||
%{_sbindir}/rcvboxautostart
|
%{_sbindir}/rcvboxautostart
|
||||||
/sbin/vboxconfig
|
/usr/sbin/vboxconfig
|
||||||
|
#rules fixing script is in /usr/sbin
|
||||||
|
%attr(0755,root,root) /usr/sbin/vbox-fix-usb-rules.sh
|
||||||
%{_vbox_instdir}/VBoxCreateUSBNode.sh
|
%{_vbox_instdir}/VBoxCreateUSBNode.sh
|
||||||
%verify(not mode) %attr(0755,root,vboxusers) %{_vbox_instdir}/VBoxNetNAT
|
%verify(not mode) %attr(0755,root,vboxusers) %{_vbox_instdir}/VBoxNetNAT
|
||||||
%verify(not mode) %attr(0755,root,vboxusers) %{_vbox_instdir}/VBoxNetDHCP
|
%verify(not mode) %attr(0755,root,vboxusers) %{_vbox_instdir}/VBoxNetDHCP
|
||||||
@ -1096,8 +1044,6 @@ export DISABLE_RESTART_ON_UPDATE=yes
|
|||||||
#wrapper script is in bindir
|
#wrapper script is in bindir
|
||||||
%attr(0755,root,root) %{_bindir}/VirtualBox
|
%attr(0755,root,root) %{_bindir}/VirtualBox
|
||||||
%attr(0755,root,root) %{_bindir}/update-extpack.sh
|
%attr(0755,root,root) %{_bindir}/update-extpack.sh
|
||||||
#rules fixing script is in /sbin
|
|
||||||
%attr(0755,root,root) /sbin/vbox-fix-usb-rules.sh
|
|
||||||
#ldd shows libQt* dependency
|
#ldd shows libQt* dependency
|
||||||
%{_vbox_instdir}/VBoxTestOGL
|
%{_vbox_instdir}/VBoxTestOGL
|
||||||
#qm's translations
|
#qm's translations
|
||||||
@ -1126,8 +1072,8 @@ export DISABLE_RESTART_ON_UPDATE=yes
|
|||||||
%files guest-tools
|
%files guest-tools
|
||||||
%{_bindir}/VBoxControl
|
%{_bindir}/VBoxControl
|
||||||
%{_sbindir}/VBoxService
|
%{_sbindir}/VBoxService
|
||||||
/sbin/vboxguestconfig
|
/usr/sbin/vboxguestconfig
|
||||||
/sbin/mount.vboxsf
|
/usr/sbin/mount.vboxsf
|
||||||
%{_udevrulesdir}/60-vboxguest.rules
|
%{_udevrulesdir}/60-vboxguest.rules
|
||||||
%{_vbox_instdir}/vboxadd-service
|
%{_vbox_instdir}/vboxadd-service
|
||||||
%{_unitdir}/vboxadd-service.service
|
%{_unitdir}/vboxadd-service.service
|
||||||
|
Loading…
Reference in New Issue
Block a user