forked from pool/virtualbox
Accepting request 318788 from Virtualization
Automatic submission by obs-autosubmit OBS-URL: https://build.opensuse.org/request/show/318788 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/virtualbox?expand=0&rev=103
This commit is contained in:
commit
25d00023be
@ -1,3 +1,3 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
version https://git-lfs.github.com/spec/v1
|
||||||
oid sha256:8756f3cfdc4b3e0d5eb10c13271d62e0489a5fc3beecbf31084b73ad66c6a2cc
|
oid sha256:26951845eebbee76a4a62b28687e74ad318ba1e790d1d8486cb8b37cf04d3cd0
|
||||||
size 6314596
|
size 3446131
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:460211302e71885b376338b2cffb61f5fc274b681424b9a7427eaa6836d7d9a9
|
|
||||||
size 74638986
|
|
3
VirtualBox-5.0.0-patched.tar.bz2
Normal file
3
VirtualBox-5.0.0-patched.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:a9de1c7b7a4a0dc28aa61960e3f15c3f094d9a0e7c86c7fb5c0bb3baf81cf9fa
|
||||||
|
size 75420734
|
@ -1,22 +1,19 @@
|
|||||||
---
|
diff -urN VirtualBox-5.0.0.old/Config.kmk VirtualBox-5.0.0/Config.kmk
|
||||||
Config.kmk | 2 +-
|
--- VirtualBox-5.0.0.old/Config.kmk 2015-07-11 13:17:27.273698360 +0200
|
||||||
configure | 9 +++++++--
|
+++ VirtualBox-5.0.0/Config.kmk 2015-07-11 13:36:31.958812088 +0200
|
||||||
2 files changed, 8 insertions(+), 3 deletions(-)
|
@@ -2344,7 +2344,7 @@
|
||||||
|
|
||||||
--- a/Config.kmk
|
|
||||||
+++ b/Config.kmk
|
|
||||||
@@ -2292,7 +2292,7 @@ else
|
|
||||||
# The reason for this hack is that the windows kmk_ash cannot deal with $((1+1)).
|
# The reason for this hack is that the windows kmk_ash cannot deal with $((1+1)).
|
||||||
# Some versions of gcc (e.g. openSUSE11) return only major.minor on `gcc -dumpversion`.
|
# Some versions of gcc (e.g. openSUSE11) return only major.minor on `gcc -dumpversion`.
|
||||||
VBOX_GCC_VERSION = $(shell \
|
VBOX_GCC_VERSION = $(shell \
|
||||||
- $(1) -dumpversion | $(SED_EXT) 's|\([0-9]\)\.\([0-9]\)\.\{0,1\}\([0-9]\{0,1\}\).*|$$(int-add $$(int-mul 10000, \1), $$(int-mul 100, \2), $$(firstword \3 0))|' )
|
- $(1) -dumpversion | $(SED_EXT) 's|\([0-9]\)\.\([0-9]\)\.\{0,1\}\([0-9]\{0,1\}\).*|$$(int-add $$(int-mul 10000, \1), $$(int-mul 100, \2), $$(firstword \3 0))|' )
|
||||||
+ $(1) -dumpversion | $(SED_EXT) 's|\([0-9]\)\.\{0,1\}\([0-9]\{0,1\}\)\.\{0,1\}\([0-9]\{0,1\}\).*|$$(int-add $$(int-mul 10000, \1), $$(int-mul 100, $$(firstword \2 0)), $$(firstword \3 0))|' )
|
+ $(1) -dumpversion | $(SED_EXT) 's|\([0-9]\)\.\{0,1\}\([0-9]\{0,1\}\)\.\{0,1\}\([0-9]\{0,1\}\).*|$$(int-add $$(int-mul 10000, \1), $$(int-mul 100, $$(firstword \2 0)), $$(firstword \3 0))|' )
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# Find MinGW cross compilers for EFI on non-windows systems. We need to probe
|
# Find MinGW cross compilers for EFI on non-windows systems. We need to probe
|
||||||
--- a/configure
|
diff -urN VirtualBox-5.0.0.old/configure VirtualBox-5.0.0/configure
|
||||||
+++ b/configure
|
--- VirtualBox-5.0.0.old/configure 2015-07-11 13:17:27.273698360 +0200
|
||||||
@@ -409,8 +409,13 @@ check_gcc()
|
+++ VirtualBox-5.0.0/configure 2015-07-11 13:37:30.457915488 +0200
|
||||||
|
@@ -410,8 +410,13 @@
|
||||||
log_failure "cannot execute '$CXX -dumpversion'"
|
log_failure "cannot execute '$CXX -dumpversion'"
|
||||||
fail really
|
fail really
|
||||||
fi
|
fi
|
||||||
|
@ -1,16 +0,0 @@
|
|||||||
Index: configure
|
|
||||||
===================================================================
|
|
||||||
--- configure (revision 55371)
|
|
||||||
+++ configure (revision 55372)
|
|
||||||
@@ -422,8 +422,9 @@
|
|
||||||
-o \( $cc_maj -eq 3 -a $cc_min -lt 2 \) \
|
|
||||||
-o \( $cc_maj -eq 4 -a $cc_min -lt 1 -a "$OS" != "darwin" \) \
|
|
||||||
-o \( $cc_maj -eq 4 -a $cc_min -gt 9 \) \
|
|
||||||
- -o $cc_maj -gt 4 ]; then
|
|
||||||
- log_failure "gcc version $cc_ver found, expected gcc 3.x with x>1 or gcc 4.x with 0<x<10"
|
|
||||||
+ -o \( $cc_maj -eq 5 -a $cc_min -gt 0 \) \
|
|
||||||
+ -o $cc_maj -gt 5 ]; then
|
|
||||||
+ log_failure "gcc version $cc_maj.$cc_min found, expected gcc 3.x with x>1 or gcc 4.x with 0<x<10 or gcc 5.0"
|
|
||||||
fail really
|
|
||||||
else
|
|
||||||
log_success "found version $cc_ver"
|
|
@ -1,16 +0,0 @@
|
|||||||
Index: configure
|
|
||||||
===================================================================
|
|
||||||
--- configure (revision 55388)
|
|
||||||
+++ configure (revision 55389)
|
|
||||||
@@ -422,9 +422,9 @@
|
|
||||||
-o \( $cc_maj -eq 3 -a $cc_min -lt 2 \) \
|
|
||||||
-o \( $cc_maj -eq 4 -a $cc_min -lt 1 -a "$OS" != "darwin" \) \
|
|
||||||
-o \( $cc_maj -eq 4 -a $cc_min -gt 9 \) \
|
|
||||||
- -o \( $cc_maj -eq 5 -a $cc_min -gt 0 \) \
|
|
||||||
+ -o \( $cc_maj -eq 5 -a $cc_min -gt 1 \) \
|
|
||||||
-o $cc_maj -gt 5 ]; then
|
|
||||||
- log_failure "gcc version $cc_maj.$cc_min found, expected gcc 3.x with x>1 or gcc 4.x with 0<x<10 or gcc 5.0"
|
|
||||||
+ log_failure "gcc version $cc_maj.$cc_min found, expected gcc 3.x with x>1 or gcc 4.x with 0<x<10 or gcc 5.1"
|
|
||||||
fail really
|
|
||||||
else
|
|
||||||
log_success "found version $cc_ver"
|
|
@ -1,8 +1,7 @@
|
|||||||
Index: src/VBox/Frontends/VirtualBox/src/settings/global/UIGlobalSettingsUpdate.cpp
|
diff -urN VirtualBox-5.0.0.old/src/VBox/Frontends/VirtualBox/src/settings/global/UIGlobalSettingsUpdate.cpp VirtualBox-5.0.0/src/VBox/Frontends/VirtualBox/src/settings/global/UIGlobalSettingsUpdate.cpp
|
||||||
===================================================================
|
--- VirtualBox-5.0.0.old/src/VBox/Frontends/VirtualBox/src/settings/global/UIGlobalSettingsUpdate.cpp 2015-07-11 13:17:27.885699492 +0200
|
||||||
--- src/VBox/Frontends/VirtualBox/src/settings/global/UIGlobalSettingsUpdate.cpp.orig
|
+++ VirtualBox-5.0.0/src/VBox/Frontends/VirtualBox/src/settings/global/UIGlobalSettingsUpdate.cpp 2015-07-11 13:21:56.912197474 +0200
|
||||||
+++ src/VBox/Frontends/VirtualBox/src/settings/global/UIGlobalSettingsUpdate.cpp
|
@@ -68,7 +68,7 @@
|
||||||
@@ -62,7 +62,7 @@ void UIGlobalSettingsUpdate::loadToCache
|
|
||||||
void UIGlobalSettingsUpdate::getFromCache()
|
void UIGlobalSettingsUpdate::getFromCache()
|
||||||
{
|
{
|
||||||
/* Apply internal variables data to QWidget(s): */
|
/* Apply internal variables data to QWidget(s): */
|
||||||
@ -11,27 +10,27 @@ Index: src/VBox/Frontends/VirtualBox/src/settings/global/UIGlobalSettingsUpdate.
|
|||||||
if (m_pCheckBoxUpdate->isChecked())
|
if (m_pCheckBoxUpdate->isChecked())
|
||||||
{
|
{
|
||||||
m_pComboBoxUpdatePeriod->setCurrentIndex(m_cache.m_periodIndex);
|
m_pComboBoxUpdatePeriod->setCurrentIndex(m_cache.m_periodIndex);
|
||||||
Index: src/VBox/Frontends/VirtualBox/src/settings/UISettingsDialogSpecific.cpp
|
diff -urN VirtualBox-5.0.0.old/src/VBox/Frontends/VirtualBox/src/settings/UISettingsDialogSpecific.cpp VirtualBox-5.0.0/src/VBox/Frontends/VirtualBox/src/settings/UISettingsDialogSpecific.cpp
|
||||||
===================================================================
|
--- VirtualBox-5.0.0.old/src/VBox/Frontends/VirtualBox/src/settings/UISettingsDialogSpecific.cpp 2015-07-11 13:17:27.885699492 +0200
|
||||||
--- src/VBox/Frontends/VirtualBox/src/settings/UISettingsDialogSpecific.cpp.orig
|
+++ VirtualBox-5.0.0/src/VBox/Frontends/VirtualBox/src/settings/UISettingsDialogSpecific.cpp 2015-07-11 13:23:13.230338850 +0200
|
||||||
+++ src/VBox/Frontends/VirtualBox/src/settings/UISettingsDialogSpecific.cpp
|
@@ -106,16 +106,6 @@
|
||||||
@@ -359,15 +359,6 @@ UISettingsDialogGlobal::UISettingsDialog
|
iPageIndex, "#input", pSettingsPage);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
#ifdef VBOX_GUI_WITH_NETWORK_MANAGER
|
-#ifdef VBOX_GUI_WITH_NETWORK_MANAGER
|
||||||
- /* Update page: */
|
- /* Update page: */
|
||||||
- case GlobalSettingsPageType_Update:
|
- case GlobalSettingsPageType_Update:
|
||||||
- {
|
- {
|
||||||
- pSettingsPage = new UIGlobalSettingsUpdate;
|
- pSettingsPage = new UIGlobalSettingsUpdate;
|
||||||
- addItem(":/refresh_32px.png", ":/refresh_disabled_32px.png",
|
- addItem(":/refresh_32px.png", ":/refresh_24px.png", ":/refresh_16px.png",
|
||||||
- ":/refresh_16px.png", ":/refresh_disabled_16px.png",
|
|
||||||
- iPageIndex, "#update", pSettingsPage);
|
- iPageIndex, "#update", pSettingsPage);
|
||||||
- break;
|
- break;
|
||||||
- }
|
- }
|
||||||
#endif /* VBOX_GUI_WITH_NETWORK_MANAGER */
|
-#endif /* VBOX_GUI_WITH_NETWORK_MANAGER */
|
||||||
/* Language page: */
|
/* Language page: */
|
||||||
case GlobalSettingsPageType_Language:
|
case GlobalSettingsPageType_Language:
|
||||||
@@ -498,8 +489,6 @@ void UISettingsDialogGlobal::retranslate
|
{
|
||||||
|
@@ -254,8 +244,6 @@
|
||||||
m_pSelector->setItemText(GlobalSettingsPageType_Input, tr("Input"));
|
m_pSelector->setItemText(GlobalSettingsPageType_Input, tr("Input"));
|
||||||
|
|
||||||
#ifdef VBOX_GUI_WITH_NETWORK_MANAGER
|
#ifdef VBOX_GUI_WITH_NETWORK_MANAGER
|
||||||
|
12
virtualbox-sed-params.patch
Normal file
12
virtualbox-sed-params.patch
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
diff -urN VirtualBox-5.0.0.old/src/VBox/Main/Makefile.kmk VirtualBox-5.0.0/src/VBox/Main/Makefile.kmk
|
||||||
|
--- VirtualBox-5.0.0.old/src/VBox/Main/Makefile.kmk 2015-07-11 13:17:27.573698915 +0200
|
||||||
|
+++ VirtualBox-5.0.0/src/VBox/Main/Makefile.kmk 2015-07-11 14:34:21.357349819 +0200
|
||||||
|
@@ -1199,7 +1199,7 @@
|
||||||
|
$(QUIET)$(VBOX_XSLTPROC) --stringparam KBUILD_HOST $(KBUILD_HOST) \
|
||||||
|
--stringparam generating "dtrace-probes" \
|
||||||
|
-o "$@" $(VBoxAPIWrap_VBOX_XSLT) $<
|
||||||
|
- $(QUIET)$(SED) -e '' -o "$@.tmp" \
|
||||||
|
+ $(QUIET)$(SED) -e '' --output "$@.tmp" \
|
||||||
|
"$(VBOX_PATH_MAIN_SRC)/src-all/VBoxAPI-start.d" \
|
||||||
|
"$@" \
|
||||||
|
"$(VBOX_PATH_MAIN_SRC)/src-all/VBoxAPI-end.d"
|
27
virtualbox-snpritnf-buffer-overflow.patch
Normal file
27
virtualbox-snpritnf-buffer-overflow.patch
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
diff -urN VirtualBox-5.0.0.old/src/VBox/ExtPacks/VBoxDTrace/onnv/lib/libdtrace/common/dt_printf.c VirtualBox-5.0.0/src/VBox/ExtPacks/VBoxDTrace/onnv/lib/libdtrace/common/dt_printf.c
|
||||||
|
--- VirtualBox-5.0.0.old/src/VBox/ExtPacks/VBoxDTrace/onnv/lib/libdtrace/common/dt_printf.c 2015-07-14 20:53:12.121479325 +0200
|
||||||
|
+++ VirtualBox-5.0.0/src/VBox/ExtPacks/VBoxDTrace/onnv/lib/libdtrace/common/dt_printf.c 2015-07-19 17:11:11.677617929 +0200
|
||||||
|
@@ -1568,10 +1568,10 @@
|
||||||
|
width = 0;
|
||||||
|
|
||||||
|
if (width != 0)
|
||||||
|
- f += snprintf(f, sizeof (format), "%d", ABS(width));
|
||||||
|
+ f += snprintf(f, sizeof (f), "%d", ABS(width));
|
||||||
|
|
||||||
|
if (prec > 0)
|
||||||
|
- f += snprintf(f, sizeof (format), ".%d", prec);
|
||||||
|
+ f += snprintf(f, sizeof (f), ".%d", prec);
|
||||||
|
|
||||||
|
(void) strcpy(f, pfd->pfd_fmt);
|
||||||
|
pfd->pfd_rec = rec;
|
||||||
|
diff -urN VirtualBox-5.0.0.old/src/VBox/ExtPacks/VBoxDTrace/onnv/lib/libdtrace/common/dt_subr.c VirtualBox-5.0.0/src/VBox/ExtPacks/VBoxDTrace/onnv/lib/libdtrace/common/dt_subr.c
|
||||||
|
--- VirtualBox-5.0.0.old/src/VBox/ExtPacks/VBoxDTrace/onnv/lib/libdtrace/common/dt_subr.c 2015-07-14 20:53:12.120479323 +0200
|
||||||
|
+++ VirtualBox-5.0.0/src/VBox/ExtPacks/VBoxDTrace/onnv/lib/libdtrace/common/dt_subr.c 2015-07-19 17:12:35.554945664 +0200
|
||||||
|
@@ -866,6 +866,7 @@
|
||||||
|
x = x + (x >> 32);
|
||||||
|
return (x & 0x7F);
|
||||||
|
#endif
|
||||||
|
+ return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
@ -1,24 +1,7 @@
|
|||||||
Description: Build the X.Org driver only for the selected system X Server version.
|
diff -urN VirtualBox-5.0.0.old/src/VBox/Additions/common/crOpenGL/Makefile.kmk VirtualBox-5.0.0/src/VBox/Additions/common/crOpenGL/Makefile.kmk
|
||||||
Author: Michael Meskes <meskes@debian.org>, Felix Geyer <fgeyer@debian.org>
|
--- VirtualBox-5.0.0.old/src/VBox/Additions/common/crOpenGL/Makefile.kmk 2015-07-11 13:17:27.581698930 +0200
|
||||||
|
+++ VirtualBox-5.0.0/src/VBox/Additions/common/crOpenGL/Makefile.kmk 2015-07-11 13:19:09.146886862 +0200
|
||||||
Index: virtualbox/src/VBox/Additions/common/VBoxGuestLib/Makefile.kmk
|
@@ -67,18 +67,12 @@
|
||||||
===================================================================
|
|
||||||
--- virtualbox.orig/src/VBox/Additions/common/VBoxGuestLib/Makefile.kmk 2013-11-19 04:35:17.181627034 -0500
|
|
||||||
+++ virtualbox/src/VBox/Additions/common/VBoxGuestLib/Makefile.kmk 2013-11-19 04:36:33.913630598 -0500
|
|
||||||
@@ -40,8 +40,6 @@
|
|
||||||
VBoxGuestR3LibShared
|
|
||||||
ifndef VBOX_ONLY_TESTSUITE
|
|
||||||
if1of ($(KBUILD_TARGET), freebsd linux netbsd openbsd)
|
|
||||||
- LIBRARIES += \
|
|
||||||
- VBoxGuestR3LibXFree86
|
|
||||||
endif
|
|
||||||
if1of ($(KBUILD_TARGET), freebsd linux netbsd openbsd solaris)
|
|
||||||
LIBRARIES += \
|
|
||||||
Index: virtualbox/src/VBox/Additions/common/crOpenGL/Makefile.kmk
|
|
||||||
===================================================================
|
|
||||||
--- virtualbox.orig/src/VBox/Additions/common/crOpenGL/Makefile.kmk 2013-11-19 04:35:17.181627034 -0500
|
|
||||||
+++ virtualbox/src/VBox/Additions/common/crOpenGL/Makefile.kmk 2013-11-19 04:35:17.181627034 -0500
|
|
||||||
@@ -74,18 +74,12 @@
|
|
||||||
VBoxOGL_INCS = .
|
VBoxOGL_INCS = .
|
||||||
if1of ($(KBUILD_TARGET), linux solaris freebsd)
|
if1of ($(KBUILD_TARGET), linux solaris freebsd)
|
||||||
VBoxOGL_INCS += \
|
VBoxOGL_INCS += \
|
||||||
@ -42,8 +25,8 @@ Index: virtualbox/src/VBox/Additions/common/crOpenGL/Makefile.kmk
|
|||||||
VBoxOGL_DEFS += VBOX_NO_NATIVEGL
|
VBoxOGL_DEFS += VBOX_NO_NATIVEGL
|
||||||
endif
|
endif
|
||||||
|
|
||||||
@@ -215,10 +209,10 @@
|
@@ -213,10 +207,10 @@
|
||||||
$(PATH_STAGE_LIB)/additions/VBoxOGLspuload$(VBOX_SUFF_LIB)
|
|
||||||
if1of ($(KBUILD_TARGET), linux solaris freebsd)
|
if1of ($(KBUILD_TARGET), linux solaris freebsd)
|
||||||
VBoxOGL_LIBS += \
|
VBoxOGL_LIBS += \
|
||||||
- $(PATH_STAGE_LIB)/libXcomposite.so \
|
- $(PATH_STAGE_LIB)/libXcomposite.so \
|
||||||
@ -57,3 +40,15 @@ Index: virtualbox/src/VBox/Additions/common/crOpenGL/Makefile.kmk
|
|||||||
ifdef VBoxOGL_FAKEDRI
|
ifdef VBoxOGL_FAKEDRI
|
||||||
ifeq ($(KBUILD_TARGET), freebsd)
|
ifeq ($(KBUILD_TARGET), freebsd)
|
||||||
VBoxOGL_LIBS += \
|
VBoxOGL_LIBS += \
|
||||||
|
diff -urN VirtualBox-5.0.0.old/src/VBox/Additions/common/VBoxGuestLib/Makefile.kmk VirtualBox-5.0.0/src/VBox/Additions/common/VBoxGuestLib/Makefile.kmk
|
||||||
|
--- VirtualBox-5.0.0.old/src/VBox/Additions/common/VBoxGuestLib/Makefile.kmk 2015-07-11 13:17:27.580698928 +0200
|
||||||
|
+++ VirtualBox-5.0.0/src/VBox/Additions/common/VBoxGuestLib/Makefile.kmk 2015-07-11 13:19:09.146886862 +0200
|
||||||
|
@@ -40,8 +40,6 @@
|
||||||
|
VBoxGuestR3LibShared
|
||||||
|
ifndef VBOX_ONLY_VALIDATIONKIT
|
||||||
|
if1of ($(KBUILD_TARGET), freebsd linux netbsd openbsd)
|
||||||
|
- LIBRARIES += \
|
||||||
|
- VBoxGuestR3LibXFree86
|
||||||
|
endif
|
||||||
|
if1of ($(KBUILD_TARGET), freebsd linux netbsd openbsd solaris)
|
||||||
|
LIBRARIES += \
|
||||||
|
@ -1,3 +1,35 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jul 15 18:41:47 UTC 2015 - tchvatal@suse.com
|
||||||
|
|
||||||
|
- Install more binaries that were in bin generated folder
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jul 14 19:13:46 UTC 2015 - tchvatal@suse.com
|
||||||
|
|
||||||
|
- Fix buffer overflow on dtrace lib:
|
||||||
|
* virtualbox-snpritnf-buffer-overflow.patch
|
||||||
|
- Note: still does not respect cxxflags
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Jul 11 12:46:51 UTC 2015 - tchvatal@suse.com
|
||||||
|
|
||||||
|
- Fix vbox build by replacing non-existent sed parameter:
|
||||||
|
* virtualbox-sed-params.patch
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Jul 11 11:41:26 UTC 2015 - tchvatal@suse.com
|
||||||
|
|
||||||
|
- Version bump to 5.0.0:
|
||||||
|
* Major bump from 4 series with tons of changes.
|
||||||
|
* Read upstream changelog for in-depth informations
|
||||||
|
- Obsoleted patches:
|
||||||
|
* gcc5-support.patch
|
||||||
|
* gcc51-support.patch
|
||||||
|
- Refreshed patches:
|
||||||
|
* gcc5-real-support.patch
|
||||||
|
* vbox-disable-updates.diff
|
||||||
|
* virtualbox-system-x.patch
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Jul 6 09:19:54 UTC 2015 - alarrosa@suse.com
|
Mon Jul 6 09:19:54 UTC 2015 - alarrosa@suse.com
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package virtualbox
|
# spec file for package virtualbox
|
||||||
#
|
#
|
||||||
# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -19,7 +19,7 @@
|
|||||||
%define _vbox_instdir %{_libexecdir}/virtualbox
|
%define _vbox_instdir %{_libexecdir}/virtualbox
|
||||||
%define _udevrulesdir %{_libexecdir}/udev/rules.d
|
%define _udevrulesdir %{_libexecdir}/udev/rules.d
|
||||||
Name: virtualbox
|
Name: virtualbox
|
||||||
Version: 4.3.28
|
Version: 5.0.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: VirtualBox is an Emulator
|
Summary: VirtualBox is an Emulator
|
||||||
License: GPL-2.0+
|
License: GPL-2.0+
|
||||||
@ -75,9 +75,12 @@ Patch103: vbox-disable-updates.diff
|
|||||||
Patch104: vbox-fpie.diff
|
Patch104: vbox-fpie.diff
|
||||||
#smap issues on Haswell or Broadwell (boo#931461)
|
#smap issues on Haswell or Broadwell (boo#931461)
|
||||||
Patch105: smap.diff
|
Patch105: smap.diff
|
||||||
Patch106: gcc5-support.patch
|
# Patch to build with Factory gcc5
|
||||||
Patch107: gcc51-support.patch
|
Patch106: gcc5-real-support.patch
|
||||||
Patch108: gcc5-real-support.patch
|
# Patch to build with gnu sed correctly
|
||||||
|
Patch107: virtualbox-sed-params.patch
|
||||||
|
# Patch to use snprintf correcty and not overflow dst buffer
|
||||||
|
Patch108: virtualbox-snpritnf-buffer-overflow.patch
|
||||||
BuildRequires: LibVNCServer-devel
|
BuildRequires: LibVNCServer-devel
|
||||||
BuildRequires: SDL-devel
|
BuildRequires: SDL-devel
|
||||||
BuildRequires: acpica
|
BuildRequires: acpica
|
||||||
@ -298,11 +301,11 @@ This package contains icons for guest desktop files that were created on the des
|
|||||||
%patch99 -p1
|
%patch99 -p1
|
||||||
%patch100
|
%patch100
|
||||||
%patch101 -p1
|
%patch101 -p1
|
||||||
%patch103
|
%patch103 -p1
|
||||||
%patch104 -p1
|
%patch104 -p1
|
||||||
%patch105 -p1
|
%patch105 -p1
|
||||||
%patch106
|
%patch106 -p1
|
||||||
%patch107
|
%patch107 -p1
|
||||||
%patch108 -p1
|
%patch108 -p1
|
||||||
#copy user manual
|
#copy user manual
|
||||||
cp %{SOURCE1} UserManual.pdf
|
cp %{SOURCE1} UserManual.pdf
|
||||||
@ -475,6 +478,13 @@ install -m 755 VBoxManage %{buildroot}%{_vbox_instdir}
|
|||||||
install -m 755 VBoxHeadless %{buildroot}%{_vbox_instdir}
|
install -m 755 VBoxHeadless %{buildroot}%{_vbox_instdir}
|
||||||
install -m 755 VBoxSDL %{buildroot}%{_vbox_instdir}
|
install -m 755 VBoxSDL %{buildroot}%{_vbox_instdir}
|
||||||
install -m 755 VBoxTunctl %{buildroot}%{_vbox_instdir}
|
install -m 755 VBoxTunctl %{buildroot}%{_vbox_instdir}
|
||||||
|
install -m 755 VBoxNetNAT %{buildroot}%{_vbox_instdir}
|
||||||
|
install -m 755 VBoxAutostart %{buildroot}%{_vbox_instdir}
|
||||||
|
install -m 755 VBoxVolInfo %{buildroot}%{_vbox_instdir}
|
||||||
|
install -m 755 vboxshell.py %{buildroot}%{_vbox_instdir}
|
||||||
|
install -m 755 VBoxBalloonCtrl %{buildroot}%{_vbox_instdir}
|
||||||
|
install -m 755 webtest %{buildroot}%{_vbox_instdir}
|
||||||
|
install -m 755 VBoxDTrace %{buildroot}%{_vbox_instdir}
|
||||||
# create links to vbox tools in PATH - they could be usefull for controlling vbox from command line
|
# create links to vbox tools in PATH - they could be usefull for controlling vbox from command line
|
||||||
ln -s %{_vbox_instdir}/VBoxManage %{buildroot}%{_bindir}/VBoxManage
|
ln -s %{_vbox_instdir}/VBoxManage %{buildroot}%{_bindir}/VBoxManage
|
||||||
ln -s %{_vbox_instdir}/VBoxHeadless %{buildroot}%{_bindir}/VBoxHeadless
|
ln -s %{_vbox_instdir}/VBoxHeadless %{buildroot}%{_bindir}/VBoxHeadless
|
||||||
@ -491,7 +501,7 @@ install -m 755 VirtualBox %{buildroot}%{_vbox_instdir}
|
|||||||
install -m 755 VBoxEFI*.fd %{buildroot}%{_vbox_instdir}
|
install -m 755 VBoxEFI*.fd %{buildroot}%{_vbox_instdir}
|
||||||
install -m 755 VBoxSysInfo.sh %{buildroot}%{_vbox_instdir}
|
install -m 755 VBoxSysInfo.sh %{buildroot}%{_vbox_instdir}
|
||||||
install -m 644 *.so %{buildroot}%{_vbox_instdir}
|
install -m 644 *.so %{buildroot}%{_vbox_instdir}
|
||||||
install -m 644 V*.gc %{buildroot}%{_vbox_instdir}
|
install -m 644 *.rc %{buildroot}%{_vbox_instdir}
|
||||||
install -m 644 *.r0 %{buildroot}%{_vbox_instdir}
|
install -m 644 *.r0 %{buildroot}%{_vbox_instdir}
|
||||||
install -m 644 components/* %{buildroot}%{_vbox_instdir}/components/
|
install -m 644 components/* %{buildroot}%{_vbox_instdir}/components/
|
||||||
# install languages
|
# install languages
|
||||||
@ -550,7 +560,6 @@ cp -r out/linux.*/release/bin/sdk/bindings/auth %{buildroot}%{_vbox_instdir}/sdk
|
|||||||
pushd out/linux.*/release/bin/sdk/bindings/xpcom
|
pushd out/linux.*/release/bin/sdk/bindings/xpcom
|
||||||
cp -r include %{buildroot}%{_vbox_instdir}/sdk/bindings/xpcom
|
cp -r include %{buildroot}%{_vbox_instdir}/sdk/bindings/xpcom
|
||||||
cp -r idl %{buildroot}%{_vbox_instdir}/sdk/bindings/xpcom
|
cp -r idl %{buildroot}%{_vbox_instdir}/sdk/bindings/xpcom
|
||||||
cp -r cbinding %{buildroot}%{_vbox_instdir}/sdk/bindings/xpcom
|
|
||||||
cp -r samples %{buildroot}%{_vbox_instdir}/sdk/bindings/xpcom
|
cp -r samples %{buildroot}%{_vbox_instdir}/sdk/bindings/xpcom
|
||||||
popd
|
popd
|
||||||
|
|
||||||
@ -678,6 +687,12 @@ exit 0
|
|||||||
%{_bindir}/VBoxSDL
|
%{_bindir}/VBoxSDL
|
||||||
%{_bindir}/VBoxTunctl
|
%{_bindir}/VBoxTunctl
|
||||||
%dir %{_vbox_instdir}
|
%dir %{_vbox_instdir}
|
||||||
|
%{_vbox_instdir}/VBoxAutostart
|
||||||
|
%{_vbox_instdir}/VBoxBalloonCtrl
|
||||||
|
%{_vbox_instdir}/VBoxDTrace
|
||||||
|
%{_vbox_instdir}/VBoxNetNAT
|
||||||
|
%{_vbox_instdir}/VBoxVolInfo
|
||||||
|
%{_vbox_instdir}/vboxshell.py
|
||||||
%{_vbox_instdir}/VBoxSysInfo.sh
|
%{_vbox_instdir}/VBoxSysInfo.sh
|
||||||
%{_vbox_instdir}/VBoxDD2.so
|
%{_vbox_instdir}/VBoxDD2.so
|
||||||
%{_vbox_instdir}/VBoxDD.so
|
%{_vbox_instdir}/VBoxDD.so
|
||||||
@ -700,9 +715,10 @@ exit 0
|
|||||||
%{_vbox_instdir}/VBoxVMM.so
|
%{_vbox_instdir}/VBoxVMM.so
|
||||||
%{_vbox_instdir}/VBoxXPCOMC.so
|
%{_vbox_instdir}/VBoxXPCOMC.so
|
||||||
%{_vbox_instdir}/VBoxXPCOM.so
|
%{_vbox_instdir}/VBoxXPCOM.so
|
||||||
%{_vbox_instdir}/VBox*.gc
|
%{_vbox_instdir}/VBoxDD2RC.rc
|
||||||
|
%{_vbox_instdir}/VBoxDDRC.rc
|
||||||
|
%{_vbox_instdir}/VMMRC.rc
|
||||||
%{_vbox_instdir}/VBox*.r0
|
%{_vbox_instdir}/VBox*.r0
|
||||||
%{_vbox_instdir}/VMMGC.gc
|
|
||||||
%{_vbox_instdir}/VMMR0.r0
|
%{_vbox_instdir}/VMMR0.r0
|
||||||
%{_vbox_instdir}/VBoxEFI*.fd
|
%{_vbox_instdir}/VBoxEFI*.fd
|
||||||
%{_vbox_instdir}/VBoxManage
|
%{_vbox_instdir}/VBoxManage
|
||||||
@ -710,7 +726,7 @@ exit 0
|
|||||||
%{_vbox_instdir}/VBoxTunctl
|
%{_vbox_instdir}/VBoxTunctl
|
||||||
%{_vbox_instdir}/VBoxXPCOMIPCD
|
%{_vbox_instdir}/VBoxXPCOMIPCD
|
||||||
%{_vbox_instdir}/VBoxExtPackHelperApp
|
%{_vbox_instdir}/VBoxExtPackHelperApp
|
||||||
%{_vbox_instdir}/DBGCPlugInDiggers.so
|
%{_vbox_instdir}/DbgPlugInDiggers.so
|
||||||
%{_vbox_instdir}/VBoxAuth.so
|
%{_vbox_instdir}/VBoxAuth.so
|
||||||
%{_vbox_instdir}/VBoxAuthSimple.so
|
%{_vbox_instdir}/VBoxAuthSimple.so
|
||||||
%{_vbox_instdir}/VBoxDbg.so
|
%{_vbox_instdir}/VBoxDbg.so
|
||||||
@ -785,7 +801,6 @@ exit 0
|
|||||||
%dir %{_vbox_instdir}/sdk/bindings
|
%dir %{_vbox_instdir}/sdk/bindings
|
||||||
%dir %{_vbox_instdir}/sdk/bindings/xpcom
|
%dir %{_vbox_instdir}/sdk/bindings/xpcom
|
||||||
%{_vbox_instdir}/sdk/bindings/VirtualBox.xidl
|
%{_vbox_instdir}/sdk/bindings/VirtualBox.xidl
|
||||||
%{_vbox_instdir}/sdk/bindings/xpcom/cbinding
|
|
||||||
%{_vbox_instdir}/sdk/bindings/xpcom/idl
|
%{_vbox_instdir}/sdk/bindings/xpcom/idl
|
||||||
%{_vbox_instdir}/sdk/bindings/xpcom/include
|
%{_vbox_instdir}/sdk/bindings/xpcom/include
|
||||||
%{_vbox_instdir}/sdk/bindings/xpcom/samples
|
%{_vbox_instdir}/sdk/bindings/xpcom/samples
|
||||||
|
Loading…
Reference in New Issue
Block a user