diff --git a/hardware/virtualization/virtualbox/files/005-gsoap-build.patch b/hardware/virtualization/virtualbox/files/005-gsoap-build.patch
index 267be96853..bba4f0ec75 100644
--- a/hardware/virtualization/virtualbox/files/005-gsoap-build.patch
+++ b/hardware/virtualization/virtualbox/files/005-gsoap-build.patch
@@ -1,11 +1,11 @@
--- a/src/VBox/Main/webservice/Makefile.kmk 2013-11-21 19:00:46.812761628 +0100
-+++ b/src/VBox/Main/webservice/Makefile.kmk 2014-01-04 04:37:05.803599026 +0100
-@@ -683,7 +683,7 @@
- : $(VBOXWEB_GSOAPH_FROM_GSOAP) $(VBOXWEB_GSOAPH_FROM_XSLT) $(VBOX_NSMAP) $(RECOMPILE_ON_MAKEFILE_CURRENT) | $$(dir $$@)
++++ b/src/VBox/Main/webservice/Makefile.kmk 2016-08-18 15:16:05.803599026 +0100
+@@ -724,7 +724,7 @@ $(VBOXWEB_OUT_DIR)/gsoap_generate_all_ts \
+ $(RECOMPILE_ON_MAKEFILE_CURRENT) | $$(dir $$@)
$(call MSG_GENERATE,,lots of files,$(GSOAPH_RELEVANT))
$(RM) -f $@
- $(REDIRECT) -C $(VBOXWEB_OUT_DIR) -- $(VBOX_SOAPCPP2) $(VBOXWEB_SOAPCPP2_SKIP_FILES) -L -2 -w -I$(VBOX_PATH_GSOAP_IMPORT) $(GSOAPH_RELEVANT)
+ $(REDIRECT) -C $(VBOXWEB_OUT_DIR) -- $(VBOX_SOAPCPP2) $(VBOXWEB_SOAPCPP2_SKIP_FILES) -z1 -L -2 -w -I$(VBOX_PATH_GSOAP_IMPORT) $(GSOAPH_RELEVANT)
- $(APPEND) $@ done
-
- # copy the generated headers and stuff. This has to be a separate rule if we
+ ifeq ($(KBUILD_TARGET),win) # MSC -Wall workaround.
+ $(CP) -f "$(VBOXWEB_SOAP_CLIENT_H)" "$(VBOXWEB_SOAP_CLIENT_H).tmp"
+ $(SED) -f $(VBOX_PATH_WEBSERVICE)/stdsoap2.sed --output "$(VBOXWEB_SOAP_CLIENT_H)" "$(VBOXWEB_SOAP_CLIENT_H).tmp"
diff --git a/hardware/virtualization/virtualbox/files/008-no-vboxvideo.patch b/hardware/virtualization/virtualbox/files/008-no-vboxvideo.patch
new file mode 100644
index 0000000000..60b721a8c2
--- /dev/null
+++ b/hardware/virtualization/virtualbox/files/008-no-vboxvideo.patch
@@ -0,0 +1,12 @@
+Fix FTBFS by not compile X.org-1.19 drv, we don't use it, just need in el <= 7
+--- ./src/VBox/Additions/x11/vboxvideo/Makefile.kmk.orig 2016-10-11 02:49:23.184986182 +0100
++++ ./src/VBox/Additions/x11/vboxvideo/Makefile.kmk 2016-10-11 02:49:39.879176964 +0100
+@@ -376,7 +376,7 @@ vboxvideo_drv_118_SOURCES := $(vboxvideo
+
+ ifdef VBOX_USE_SYSTEM_XORG_HEADERS
+ # Build using local X.Org headers. We assume X.Org Server 1.7 or later.
+- DLLS := $(filter-out vboxvideo_drv_%,$(DLLS)) vboxvideo_drv_system
++ DLLS := $(filter-out vboxvideo_drv_%,$(DLLS))
+ SYSMODS := $(filter-out vboxvideo_drv%,$(SYSMODS))
+ vboxvideo_drv_system_TEMPLATE = VBOXGUESTR3XORGMOD
+ vboxvideo_drv_system_CFLAGS := \
diff --git a/hardware/virtualization/virtualbox/pspec.xml b/hardware/virtualization/virtualbox/pspec.xml
index 9f7caad70c..5e2666d3f9 100644
--- a/hardware/virtualization/virtualbox/pspec.xml
+++ b/hardware/virtualization/virtualbox/pspec.xml
@@ -12,7 +12,7 @@
app:gui
A powerful virtualization program
VirtualBox is a family of powerful x86 virtualization products for enterprise as well as home use. This is the Open Source Edition which lacks USB support and some other things.
- http://download.virtualbox.org/virtualbox/5.2.2/VirtualBox-5.2.2.tar.bz2
+ http://download.virtualbox.org/virtualbox/5.2.8/VirtualBox-5.2.8.tar.bz2
dev86
cdrkit
@@ -58,10 +58,12 @@
wrapper.patch
002-dri-driver-path.patch
003-ogl-include-new.patch
+ 005-gsoap-build.patch
+ 006-rdesktop-vrdp-keymap-path.patch
008-root-window.patch
python.patch
-
+ 008-no-vboxvideo.patch
@@ -151,6 +153,13 @@
+
+ 2018-03-03
+ 5.2.8
+ Version bump.
+ Mustafa Cinasal
+ muscnsl@gmail.com
+
2017-11-25
5.2.2