[arch-commits] Commit in virtualbox/repos (96 files)
Christian Hesse
eworm at archlinux.org
Tue Jul 18 12:18:29 UTC 2017
Date: Tuesday, July 18, 2017 @ 12:18:28
Author: eworm
Revision: 245543
archrelease: copy trunk to community-i686, community-x86_64
Added:
virtualbox/repos/community-i686/002-dri-driver-path.patch
(from rev 245542, virtualbox/trunk/002-dri-driver-path.patch)
virtualbox/repos/community-i686/003-ogl-include-path.patch
(from rev 245542, virtualbox/trunk/003-ogl-include-path.patch)
virtualbox/repos/community-i686/005-gsoap-build.patch
(from rev 245542, virtualbox/trunk/005-gsoap-build.patch)
virtualbox/repos/community-i686/006-rdesktop-vrdp-keymap-path.patch
(from rev 245542, virtualbox/trunk/006-rdesktop-vrdp-keymap-path.patch)
virtualbox/repos/community-i686/007-python2-path.patch
(from rev 245542, virtualbox/trunk/007-python2-path.patch)
virtualbox/repos/community-i686/008-no-vboxvideo.patch
(from rev 245542, virtualbox/trunk/008-no-vboxvideo.patch)
virtualbox/repos/community-i686/60-vboxdrv.rules
(from rev 245542, virtualbox/trunk/60-vboxdrv.rules)
virtualbox/repos/community-i686/60-vboxguest.rules
(from rev 245542, virtualbox/trunk/60-vboxguest.rules)
virtualbox/repos/community-i686/LocalConfig.kmk
(from rev 245542, virtualbox/trunk/LocalConfig.kmk)
virtualbox/repos/community-i686/PKGBUILD
(from rev 245542, virtualbox/trunk/PKGBUILD)
virtualbox/repos/community-i686/build.sh
(from rev 245542, virtualbox/trunk/build.sh)
virtualbox/repos/community-i686/vboxreload
(from rev 245542, virtualbox/trunk/vboxreload)
virtualbox/repos/community-i686/vboxservice-nox.service
(from rev 245542, virtualbox/trunk/vboxservice-nox.service)
virtualbox/repos/community-i686/vboxservice.service
(from rev 245542, virtualbox/trunk/vboxservice.service)
virtualbox/repos/community-i686/vboxweb.service
(from rev 245542, virtualbox/trunk/vboxweb.service)
virtualbox/repos/community-i686/virtualbox-ext-vnc.install
(from rev 245542, virtualbox/trunk/virtualbox-ext-vnc.install)
virtualbox/repos/community-i686/virtualbox-guest-dkms.conf
(from rev 245542, virtualbox/trunk/virtualbox-guest-dkms.conf)
virtualbox/repos/community-i686/virtualbox-guest-dkms.install
(from rev 245542, virtualbox/trunk/virtualbox-guest-dkms.install)
virtualbox/repos/community-i686/virtualbox-guest-utils.sysusers
(from rev 245542, virtualbox/trunk/virtualbox-guest-utils.sysusers)
virtualbox/repos/community-i686/virtualbox-host-dkms.conf
(from rev 245542, virtualbox/trunk/virtualbox-host-dkms.conf)
virtualbox/repos/community-i686/virtualbox-host-dkms.install
(from rev 245542, virtualbox/trunk/virtualbox-host-dkms.install)
virtualbox/repos/community-i686/virtualbox.install
(from rev 245542, virtualbox/trunk/virtualbox.install)
virtualbox/repos/community-i686/virtualbox.sysusers
(from rev 245542, virtualbox/trunk/virtualbox.sysusers)
virtualbox/repos/community-x86_64/002-dri-driver-path.patch
(from rev 245542, virtualbox/trunk/002-dri-driver-path.patch)
virtualbox/repos/community-x86_64/003-ogl-include-path.patch
(from rev 245542, virtualbox/trunk/003-ogl-include-path.patch)
virtualbox/repos/community-x86_64/005-gsoap-build.patch
(from rev 245542, virtualbox/trunk/005-gsoap-build.patch)
virtualbox/repos/community-x86_64/006-rdesktop-vrdp-keymap-path.patch
(from rev 245542, virtualbox/trunk/006-rdesktop-vrdp-keymap-path.patch)
virtualbox/repos/community-x86_64/007-python2-path.patch
(from rev 245542, virtualbox/trunk/007-python2-path.patch)
virtualbox/repos/community-x86_64/008-no-vboxvideo.patch
(from rev 245542, virtualbox/trunk/008-no-vboxvideo.patch)
virtualbox/repos/community-x86_64/60-vboxdrv.rules
(from rev 245542, virtualbox/trunk/60-vboxdrv.rules)
virtualbox/repos/community-x86_64/60-vboxguest.rules
(from rev 245542, virtualbox/trunk/60-vboxguest.rules)
virtualbox/repos/community-x86_64/LocalConfig.kmk
(from rev 245542, virtualbox/trunk/LocalConfig.kmk)
virtualbox/repos/community-x86_64/PKGBUILD
(from rev 245542, virtualbox/trunk/PKGBUILD)
virtualbox/repos/community-x86_64/build.sh
(from rev 245542, virtualbox/trunk/build.sh)
virtualbox/repos/community-x86_64/vboxreload
(from rev 245542, virtualbox/trunk/vboxreload)
virtualbox/repos/community-x86_64/vboxservice-nox.service
(from rev 245542, virtualbox/trunk/vboxservice-nox.service)
virtualbox/repos/community-x86_64/vboxservice.service
(from rev 245542, virtualbox/trunk/vboxservice.service)
virtualbox/repos/community-x86_64/vboxweb.service
(from rev 245542, virtualbox/trunk/vboxweb.service)
virtualbox/repos/community-x86_64/virtualbox-ext-vnc.install
(from rev 245542, virtualbox/trunk/virtualbox-ext-vnc.install)
virtualbox/repos/community-x86_64/virtualbox-guest-dkms.conf
(from rev 245542, virtualbox/trunk/virtualbox-guest-dkms.conf)
virtualbox/repos/community-x86_64/virtualbox-guest-dkms.install
(from rev 245542, virtualbox/trunk/virtualbox-guest-dkms.install)
virtualbox/repos/community-x86_64/virtualbox-guest-utils.sysusers
(from rev 245542, virtualbox/trunk/virtualbox-guest-utils.sysusers)
virtualbox/repos/community-x86_64/virtualbox-host-dkms.conf
(from rev 245542, virtualbox/trunk/virtualbox-host-dkms.conf)
virtualbox/repos/community-x86_64/virtualbox-host-dkms.install
(from rev 245542, virtualbox/trunk/virtualbox-host-dkms.install)
virtualbox/repos/community-x86_64/virtualbox.install
(from rev 245542, virtualbox/trunk/virtualbox.install)
virtualbox/repos/community-x86_64/virtualbox.sysusers
(from rev 245542, virtualbox/trunk/virtualbox.sysusers)
Deleted:
virtualbox/repos/community-i686/002-dri-driver-path.patch
virtualbox/repos/community-i686/003-ogl-include-path.patch
virtualbox/repos/community-i686/005-gsoap-build.patch
virtualbox/repos/community-i686/006-rdesktop-vrdp-keymap-path.patch
virtualbox/repos/community-i686/007-python2-path.patch
virtualbox/repos/community-i686/008-no-vboxvideo.patch
virtualbox/repos/community-i686/009-gcc-7.patch
virtualbox/repos/community-i686/010-linux-4.12.patch
virtualbox/repos/community-i686/60-vboxdrv.rules
virtualbox/repos/community-i686/60-vboxguest.rules
virtualbox/repos/community-i686/LocalConfig.kmk
virtualbox/repos/community-i686/PKGBUILD
virtualbox/repos/community-i686/build.sh
virtualbox/repos/community-i686/vboxreload
virtualbox/repos/community-i686/vboxservice-nox.service
virtualbox/repos/community-i686/vboxservice.service
virtualbox/repos/community-i686/vboxweb.service
virtualbox/repos/community-i686/virtualbox-ext-vnc.install
virtualbox/repos/community-i686/virtualbox-guest-dkms.conf
virtualbox/repos/community-i686/virtualbox-guest-dkms.install
virtualbox/repos/community-i686/virtualbox-guest-utils.sysusers
virtualbox/repos/community-i686/virtualbox-host-dkms.conf
virtualbox/repos/community-i686/virtualbox-host-dkms.install
virtualbox/repos/community-i686/virtualbox.install
virtualbox/repos/community-i686/virtualbox.sysusers
virtualbox/repos/community-x86_64/002-dri-driver-path.patch
virtualbox/repos/community-x86_64/003-ogl-include-path.patch
virtualbox/repos/community-x86_64/005-gsoap-build.patch
virtualbox/repos/community-x86_64/006-rdesktop-vrdp-keymap-path.patch
virtualbox/repos/community-x86_64/007-python2-path.patch
virtualbox/repos/community-x86_64/008-no-vboxvideo.patch
virtualbox/repos/community-x86_64/009-gcc-7.patch
virtualbox/repos/community-x86_64/010-linux-4.12.patch
virtualbox/repos/community-x86_64/60-vboxdrv.rules
virtualbox/repos/community-x86_64/60-vboxguest.rules
virtualbox/repos/community-x86_64/LocalConfig.kmk
virtualbox/repos/community-x86_64/PKGBUILD
virtualbox/repos/community-x86_64/build.sh
virtualbox/repos/community-x86_64/vboxreload
virtualbox/repos/community-x86_64/vboxservice-nox.service
virtualbox/repos/community-x86_64/vboxservice.service
virtualbox/repos/community-x86_64/vboxweb.service
virtualbox/repos/community-x86_64/virtualbox-ext-vnc.install
virtualbox/repos/community-x86_64/virtualbox-guest-dkms.conf
virtualbox/repos/community-x86_64/virtualbox-guest-dkms.install
virtualbox/repos/community-x86_64/virtualbox-guest-utils.sysusers
virtualbox/repos/community-x86_64/virtualbox-host-dkms.conf
virtualbox/repos/community-x86_64/virtualbox-host-dkms.install
virtualbox/repos/community-x86_64/virtualbox.install
virtualbox/repos/community-x86_64/virtualbox.sysusers
------------------------------------------------------+
/002-dri-driver-path.patch | 56 +
/003-ogl-include-path.patch | 86 +
/005-gsoap-build.patch | 22
/006-rdesktop-vrdp-keymap-path.patch | 24
/007-python2-path.patch | 18
/008-no-vboxvideo.patch | 24
/60-vboxdrv.rules | 16
/60-vboxguest.rules | 4
/LocalConfig.kmk | 64 +
/PKGBUILD | 758 +++++++++++++++++
/build.sh | 6
/vboxreload | 74 +
/vboxservice-nox.service | 22
/vboxservice.service | 24
/vboxweb.service | 22
/virtualbox-ext-vnc.install | 54 +
/virtualbox-guest-dkms.conf | 62 +
/virtualbox-guest-dkms.install | 24
/virtualbox-guest-utils.sysusers | 2
/virtualbox-host-dkms.conf | 70 +
/virtualbox-host-dkms.install | 24
/virtualbox.install | 24
/virtualbox.sysusers | 2
community-i686/002-dri-driver-path.patch | 28
community-i686/003-ogl-include-path.patch | 43
community-i686/005-gsoap-build.patch | 11
community-i686/006-rdesktop-vrdp-keymap-path.patch | 12
community-i686/007-python2-path.patch | 9
community-i686/008-no-vboxvideo.patch | 12
community-i686/009-gcc-7.patch | 303 ------
community-i686/010-linux-4.12.patch | 108 --
community-i686/60-vboxdrv.rules | 8
community-i686/60-vboxguest.rules | 2
community-i686/LocalConfig.kmk | 32
community-i686/PKGBUILD | 383 --------
community-i686/build.sh | 3
community-i686/vboxreload | 37
community-i686/vboxservice-nox.service | 11
community-i686/vboxservice.service | 12
community-i686/vboxweb.service | 11
community-i686/virtualbox-ext-vnc.install | 27
community-i686/virtualbox-guest-dkms.conf | 31
community-i686/virtualbox-guest-dkms.install | 12
community-i686/virtualbox-guest-utils.sysusers | 1
community-i686/virtualbox-host-dkms.conf | 35
community-i686/virtualbox-host-dkms.install | 12
community-i686/virtualbox.install | 12
community-i686/virtualbox.sysusers | 1
community-x86_64/002-dri-driver-path.patch | 28
community-x86_64/003-ogl-include-path.patch | 43
community-x86_64/005-gsoap-build.patch | 11
community-x86_64/006-rdesktop-vrdp-keymap-path.patch | 12
community-x86_64/007-python2-path.patch | 9
community-x86_64/008-no-vboxvideo.patch | 12
community-x86_64/009-gcc-7.patch | 303 ------
community-x86_64/010-linux-4.12.patch | 108 --
community-x86_64/60-vboxdrv.rules | 8
community-x86_64/60-vboxguest.rules | 2
community-x86_64/LocalConfig.kmk | 32
community-x86_64/PKGBUILD | 383 --------
community-x86_64/build.sh | 3
community-x86_64/vboxreload | 37
community-x86_64/vboxservice-nox.service | 11
community-x86_64/vboxservice.service | 12
community-x86_64/vboxweb.service | 11
community-x86_64/virtualbox-ext-vnc.install | 27
community-x86_64/virtualbox-guest-dkms.conf | 31
community-x86_64/virtualbox-guest-dkms.install | 12
community-x86_64/virtualbox-guest-utils.sysusers | 1
community-x86_64/virtualbox-host-dkms.conf | 35
community-x86_64/virtualbox-host-dkms.install | 12
community-x86_64/virtualbox.install | 12
community-x86_64/virtualbox.sysusers | 1
73 files changed, 1482 insertions(+), 2312 deletions(-)
Deleted: community-i686/002-dri-driver-path.patch
===================================================================
--- community-i686/002-dri-driver-path.patch 2017-07-18 12:18:14 UTC (rev 245542)
+++ community-i686/002-dri-driver-path.patch 2017-07-18 12:18:28 UTC (rev 245543)
@@ -1,28 +0,0 @@
-# 2013 © Sébastien Luttringer
---- a/src/VBox/Additions/common/crOpenGL/fakedri_drv.c 2013-09-04 21:03:47.040743507 +0200
-+++ b/src/VBox/Additions/common/crOpenGL/fakedri_drv.c 2013-10-20 23:23:49.705371815 +0200
-@@ -58,23 +58,8 @@
- //#define DEBUG_DRI_CALLS
-
- //@todo this could be different...
--#ifdef RT_ARCH_AMD64
--# ifdef RT_OS_FREEBSD
--# define DRI_DEFAULT_DRIVER_DIR "/usr/local/lib/dri"
--# define DRI_XORG_DRV_DIR "/usr/local/lib/xorg/modules/drivers/"
--# else
--# define DRI_DEFAULT_DRIVER_DIR "/usr/lib64/dri:/usr/lib/dri:/usr/lib/x86_64-linux-gnu/dri:/usr/lib/xorg/modules/dri"
-+# define DRI_DEFAULT_DRIVER_DIR "/usr/lib/xorg/modules/dri"
- # define DRI_XORG_DRV_DIR "/usr/lib/xorg/modules/drivers/"
--# endif
--#else
--# ifdef RT_OS_FREEBSD
--# define DRI_DEFAULT_DRIVER_DIR "/usr/local/lib/dri"
--# define DRI_XORG_DRV_DIR "/usr/local/lib/xorg/modules/drivers/"
--# else
--# define DRI_DEFAULT_DRIVER_DIR "/usr/lib/dri:/usr/lib/i386-linux-gnu/dri:/usr/lib/xorg/modules/dri"
--# define DRI_XORG_DRV_DIR "/usr/lib/xorg/modules/drivers/"
--# endif
--#endif
-
- #ifdef DEBUG_DRI_CALLS
- #define SWDRI_SHOWNAME(pext, func) \
Copied: virtualbox/repos/community-i686/002-dri-driver-path.patch (from rev 245542, virtualbox/trunk/002-dri-driver-path.patch)
===================================================================
--- community-i686/002-dri-driver-path.patch (rev 0)
+++ community-i686/002-dri-driver-path.patch 2017-07-18 12:18:28 UTC (rev 245543)
@@ -0,0 +1,28 @@
+# 2013 © Sébastien Luttringer
+--- a/src/VBox/Additions/common/crOpenGL/fakedri_drv.c 2013-09-04 21:03:47.040743507 +0200
++++ b/src/VBox/Additions/common/crOpenGL/fakedri_drv.c 2013-10-20 23:23:49.705371815 +0200
+@@ -58,23 +58,8 @@
+ //#define DEBUG_DRI_CALLS
+
+ //@todo this could be different...
+-#ifdef RT_ARCH_AMD64
+-# ifdef RT_OS_FREEBSD
+-# define DRI_DEFAULT_DRIVER_DIR "/usr/local/lib/dri"
+-# define DRI_XORG_DRV_DIR "/usr/local/lib/xorg/modules/drivers/"
+-# else
+-# define DRI_DEFAULT_DRIVER_DIR "/usr/lib64/dri:/usr/lib/dri:/usr/lib/x86_64-linux-gnu/dri:/usr/lib/xorg/modules/dri"
++# define DRI_DEFAULT_DRIVER_DIR "/usr/lib/xorg/modules/dri"
+ # define DRI_XORG_DRV_DIR "/usr/lib/xorg/modules/drivers/"
+-# endif
+-#else
+-# ifdef RT_OS_FREEBSD
+-# define DRI_DEFAULT_DRIVER_DIR "/usr/local/lib/dri"
+-# define DRI_XORG_DRV_DIR "/usr/local/lib/xorg/modules/drivers/"
+-# else
+-# define DRI_DEFAULT_DRIVER_DIR "/usr/lib/dri:/usr/lib/i386-linux-gnu/dri:/usr/lib/xorg/modules/dri"
+-# define DRI_XORG_DRV_DIR "/usr/lib/xorg/modules/drivers/"
+-# endif
+-#endif
+
+ #ifdef DEBUG_DRI_CALLS
+ #define SWDRI_SHOWNAME(pext, func) \
Deleted: community-i686/003-ogl-include-path.patch
===================================================================
--- community-i686/003-ogl-include-path.patch 2017-07-18 12:18:14 UTC (rev 245542)
+++ community-i686/003-ogl-include-path.patch 2017-07-18 12:18:28 UTC (rev 245543)
@@ -1,43 +0,0 @@
-Index: virtualbox/src/VBox/Additions/common/crOpenGL/Makefile.kmk
-===================================================================
---- virtualbox.orig/src/VBox/Additions/common/crOpenGL/Makefile.kmk 2015-04-02 15:44:24.955670965 +0200
-+++ virtualbox/src/VBox/Additions/common/crOpenGL/Makefile.kmk 2015-04-02 15:44:24.955670965 +0200
-@@ -67,18 +67,12 @@
- VBoxOGL_INCS = .
- if1of ($(KBUILD_TARGET), linux solaris freebsd)
- VBoxOGL_INCS += \
-- $(VBOX_PATH_X11_ROOT)/libXdamage-1.1 \
-- $(VBOX_PATH_X11_ROOT)/libXcomposite-0.4.0 \
-- $(VBOX_PATH_X11_ROOT)/libXext-1.3.1 \
-- $(VBOX_PATH_X11_ROOT)/libXfixes-4.0.3 \
-- $(VBOX_PATH_X11_ROOT)/damageproto-1.1.0 \
-- $(VBOX_PATH_X11_ROOT)/compositeproto-0.4 \
-- $(VBOX_PATH_X11_ROOT)/fixesproto-4.0 \
-- $(VBOX_PATH_X11_ROOT)/libx11-1.1.5-other \
-- $(VBOX_PATH_X11_ROOT)/xextproto-7.1.1 \
-- $(VBOX_PATH_X11_ROOT)/xproto-7.0.18 \
-+ /usr/include/x11 \
-+ /usr/include/xorg \
-+ /usr/include/pixman-1 \
- $(VBOX_MESA_INCS) \
-- $(PATH_ROOT)/src/VBox/Additions/x11/x11include/libdrm-2.4.13
-+ /usr/include/drm \
-+ /usr/include/libdrm
- VBoxOGL_DEFS += VBOX_NO_NATIVEGL
- endif
-
-@@ -213,10 +207,10 @@
-
- if1of ($(KBUILD_TARGET), linux solaris freebsd)
- VBoxOGL_LIBS += \
-- $(PATH_STAGE_LIB)/libXcomposite.so \
-- $(PATH_STAGE_LIB)/libXdamage.so \
-- $(PATH_STAGE_LIB)/libXfixes.so \
-- $(PATH_STAGE_LIB)/libXext.so
-+ Xcomposite \
-+ Xdamage \
-+ Xfixes \
-+ Xext
- ifdef VBoxOGL_FAKEDRI
- ifeq ($(KBUILD_TARGET), freebsd)
- VBoxOGL_LIBS += \
Copied: virtualbox/repos/community-i686/003-ogl-include-path.patch (from rev 245542, virtualbox/trunk/003-ogl-include-path.patch)
===================================================================
--- community-i686/003-ogl-include-path.patch (rev 0)
+++ community-i686/003-ogl-include-path.patch 2017-07-18 12:18:28 UTC (rev 245543)
@@ -0,0 +1,43 @@
+Index: virtualbox/src/VBox/Additions/common/crOpenGL/Makefile.kmk
+===================================================================
+--- virtualbox.orig/src/VBox/Additions/common/crOpenGL/Makefile.kmk 2015-04-02 15:44:24.955670965 +0200
++++ virtualbox/src/VBox/Additions/common/crOpenGL/Makefile.kmk 2015-04-02 15:44:24.955670965 +0200
+@@ -67,18 +67,12 @@
+ VBoxOGL_INCS = .
+ if1of ($(KBUILD_TARGET), linux solaris freebsd)
+ VBoxOGL_INCS += \
+- $(VBOX_PATH_X11_ROOT)/libXdamage-1.1 \
+- $(VBOX_PATH_X11_ROOT)/libXcomposite-0.4.0 \
+- $(VBOX_PATH_X11_ROOT)/libXext-1.3.1 \
+- $(VBOX_PATH_X11_ROOT)/libXfixes-4.0.3 \
+- $(VBOX_PATH_X11_ROOT)/damageproto-1.1.0 \
+- $(VBOX_PATH_X11_ROOT)/compositeproto-0.4 \
+- $(VBOX_PATH_X11_ROOT)/fixesproto-4.0 \
+- $(VBOX_PATH_X11_ROOT)/libx11-1.1.5-other \
+- $(VBOX_PATH_X11_ROOT)/xextproto-7.1.1 \
+- $(VBOX_PATH_X11_ROOT)/xproto-7.0.18 \
++ /usr/include/x11 \
++ /usr/include/xorg \
++ /usr/include/pixman-1 \
+ $(VBOX_MESA_INCS) \
+- $(PATH_ROOT)/src/VBox/Additions/x11/x11include/libdrm-2.4.13
++ /usr/include/drm \
++ /usr/include/libdrm
+ VBoxOGL_DEFS += VBOX_NO_NATIVEGL
+ endif
+
+@@ -213,10 +207,10 @@
+
+ if1of ($(KBUILD_TARGET), linux solaris freebsd)
+ VBoxOGL_LIBS += \
+- $(PATH_STAGE_LIB)/libXcomposite.so \
+- $(PATH_STAGE_LIB)/libXdamage.so \
+- $(PATH_STAGE_LIB)/libXfixes.so \
+- $(PATH_STAGE_LIB)/libXext.so
++ Xcomposite \
++ Xdamage \
++ Xfixes \
++ Xext
+ ifdef VBoxOGL_FAKEDRI
+ ifeq ($(KBUILD_TARGET), freebsd)
+ VBoxOGL_LIBS += \
Deleted: community-i686/005-gsoap-build.patch
===================================================================
--- community-i686/005-gsoap-build.patch 2017-07-18 12:18:14 UTC (rev 245542)
+++ community-i686/005-gsoap-build.patch 2017-07-18 12:18:28 UTC (rev 245543)
@@ -1,11 +0,0 @@
---- a/src/VBox/Main/webservice/Makefile.kmk 2013-11-21 19:00:46.812761628 +0100
-+++ 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)
- 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"
Copied: virtualbox/repos/community-i686/005-gsoap-build.patch (from rev 245542, virtualbox/trunk/005-gsoap-build.patch)
===================================================================
--- community-i686/005-gsoap-build.patch (rev 0)
+++ community-i686/005-gsoap-build.patch 2017-07-18 12:18:28 UTC (rev 245543)
@@ -0,0 +1,11 @@
+--- a/src/VBox/Main/webservice/Makefile.kmk 2013-11-21 19:00:46.812761628 +0100
++++ 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)
+ 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"
Deleted: community-i686/006-rdesktop-vrdp-keymap-path.patch
===================================================================
--- community-i686/006-rdesktop-vrdp-keymap-path.patch 2017-07-18 12:18:14 UTC (rev 245542)
+++ community-i686/006-rdesktop-vrdp-keymap-path.patch 2017-07-18 12:18:28 UTC (rev 245543)
@@ -1,12 +0,0 @@
-# 2015 © Sébastien Luttringer
---- a/src/VBox/RDP/client-1.8.3/Makefile.kmk 2013-02-19 23:12:20.207464901 +0100
-+++ b/src/VBox/RDP/client-1.8.3/Makefile.kmk 2014-01-04 04:17:26.700618600 +0100
-@@ -41,7 +41,7 @@
- EGD_SOCKET=\"/var/run/egd-pool\" WITH_RDPSND=1 HAVE_DIRENT_H=1 \
- HAVE_ICONV=1 HAVE_SYS_STATVFS_H=1 \
- HAVE_SYS_PARAM_H=1 HAVE_SYS_MOUNT_H=1 HAVE_STRUCT_STATVFS_F_NAMEMAX=1 \
-- KEYMAP_PATH=$(if $(findstring RTPATH_APP_PRIVATE,$(CDEFS)),RTPATH_APP_PRIVATE,\"/opt/VirtualBox\")\"/rdesktop-vrdp-keymaps\" \
-+ KEYMAP_PATH=$(if $(findstring RTPATH_APP_PRIVATE,$(CDEFS)),RTPATH_APP_PRIVATE,\"/usr/share/virtualbox\")\"/rdesktop-vrdp-keymaps\" \
- RDESKTOP=1
- ifdef WITH_BIRD_VD_HACKS
- rdesktop-vrdp_DEFS += WITH_BIRD_VD_HACKS
Copied: virtualbox/repos/community-i686/006-rdesktop-vrdp-keymap-path.patch (from rev 245542, virtualbox/trunk/006-rdesktop-vrdp-keymap-path.patch)
===================================================================
--- community-i686/006-rdesktop-vrdp-keymap-path.patch (rev 0)
+++ community-i686/006-rdesktop-vrdp-keymap-path.patch 2017-07-18 12:18:28 UTC (rev 245543)
@@ -0,0 +1,12 @@
+# 2015 © Sébastien Luttringer
+--- a/src/VBox/RDP/client-1.8.3/Makefile.kmk 2013-02-19 23:12:20.207464901 +0100
++++ b/src/VBox/RDP/client-1.8.3/Makefile.kmk 2014-01-04 04:17:26.700618600 +0100
+@@ -41,7 +41,7 @@
+ EGD_SOCKET=\"/var/run/egd-pool\" WITH_RDPSND=1 HAVE_DIRENT_H=1 \
+ HAVE_ICONV=1 HAVE_SYS_STATVFS_H=1 \
+ HAVE_SYS_PARAM_H=1 HAVE_SYS_MOUNT_H=1 HAVE_STRUCT_STATVFS_F_NAMEMAX=1 \
+- KEYMAP_PATH=$(if $(findstring RTPATH_APP_PRIVATE,$(CDEFS)),RTPATH_APP_PRIVATE,\"/opt/VirtualBox\")\"/rdesktop-vrdp-keymaps\" \
++ KEYMAP_PATH=$(if $(findstring RTPATH_APP_PRIVATE,$(CDEFS)),RTPATH_APP_PRIVATE,\"/usr/share/virtualbox\")\"/rdesktop-vrdp-keymaps\" \
+ RDESKTOP=1
+ ifdef WITH_BIRD_VD_HACKS
+ rdesktop-vrdp_DEFS += WITH_BIRD_VD_HACKS
Deleted: community-i686/007-python2-path.patch
===================================================================
--- community-i686/007-python2-path.patch 2017-07-18 12:18:14 UTC (rev 245542)
+++ community-i686/007-python2-path.patch 2017-07-18 12:18:28 UTC (rev 245543)
@@ -1,9 +0,0 @@
-# 2013 © Sébastien Luttringer
---- a/src/VBox/Frontends/VBoxShell/vboxshell.py 2014-01-03 01:38:41.831615590 +0100
-+++ b/src/VBox/Frontends/VBoxShell/vboxshell.py 2014-01-04 04:23:33.884544420 +0100
-@@ -1,4 +1,4 @@
--#!/usr/bin/env python
-+#!/usr/bin/python2
- # -*- coding: utf-8 -*-
- # $Id: vboxshell.py 49841 2013-12-09 13:32:33Z vboxsync $
- """
Copied: virtualbox/repos/community-i686/007-python2-path.patch (from rev 245542, virtualbox/trunk/007-python2-path.patch)
===================================================================
--- community-i686/007-python2-path.patch (rev 0)
+++ community-i686/007-python2-path.patch 2017-07-18 12:18:28 UTC (rev 245543)
@@ -0,0 +1,9 @@
+# 2013 © Sébastien Luttringer
+--- a/src/VBox/Frontends/VBoxShell/vboxshell.py 2014-01-03 01:38:41.831615590 +0100
++++ b/src/VBox/Frontends/VBoxShell/vboxshell.py 2014-01-04 04:23:33.884544420 +0100
+@@ -1,4 +1,4 @@
+-#!/usr/bin/env python
++#!/usr/bin/python2
+ # -*- coding: utf-8 -*-
+ # $Id: vboxshell.py 49841 2013-12-09 13:32:33Z vboxsync $
+ """
Deleted: community-i686/008-no-vboxvideo.patch
===================================================================
--- community-i686/008-no-vboxvideo.patch 2017-07-18 12:18:14 UTC (rev 245542)
+++ community-i686/008-no-vboxvideo.patch 2017-07-18 12:18:28 UTC (rev 245543)
@@ -1,12 +0,0 @@
-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 := \
Copied: virtualbox/repos/community-i686/008-no-vboxvideo.patch (from rev 245542, virtualbox/trunk/008-no-vboxvideo.patch)
===================================================================
--- community-i686/008-no-vboxvideo.patch (rev 0)
+++ community-i686/008-no-vboxvideo.patch 2017-07-18 12:18:28 UTC (rev 245543)
@@ -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 := \
Deleted: community-i686/009-gcc-7.patch
===================================================================
--- community-i686/009-gcc-7.patch 2017-07-18 12:18:14 UTC (rev 245542)
+++ community-i686/009-gcc-7.patch 2017-07-18 12:18:28 UTC (rev 245543)
@@ -1,303 +0,0 @@
-Index: trunk/src/recompiler/Makefile.kmk
-===================================================================
---- trunk/src/recompiler/Makefile.kmk (revision 67289)
-+++ trunk/src/recompiler/Makefile.kmk (revision 67298)
-@@ -320,7 +320,8 @@
-
- $$(VBoxREMImp_0_OUTDIR)/VBoxREMRes.o: $(VBOX_PATH_RECOMPILER_SRC)/VBoxREM.rc $(MAKEFILE_CURRENT) $(VBOX_VERSION_MK) | $$(dir $$@)
- $(call MSG_GENERATE,,$@)
-- $(QUIET)$(REDIRECT) -E 'COMSPEC=$(VBOX_GOOD_COMSPEC_BS)' -- $(TOOL_MINGWW64_PREFIX)windres \
-+ $(QUIET)$(REDIRECT) -E 'COMSPEC=$(VBOX_GOOD_COMSPEC_BS)' \
-+ -- $(TOOL_$(VBoxRemPrimary_TOOL.win.$(KBUILD_TARGET_ARCH))_PREFIX)windres \
- $(addprefix -I,$(INCS) $(PATH_SDK_$(VBOX_WINPSDK)_INC) $(PATH_TOOL_$(VBOX_VCC_TOOL)_INC)) \
- -DVBOX_SVN_REV=$(VBOX_SVN_REV) \
- -DVBOX_SVN_REV_MOD_5K=$(expr $(VBOX_SVN_REV) % 50000) \
-Index: trunk/src/VBox/Runtime/common/math/gcc/udivmoddi4.c
-===================================================================
---- trunk/src/VBox/Runtime/common/math/gcc/udivmoddi4.c (nonexistent)
-+++ trunk/src/VBox/Runtime/common/math/gcc/udivmoddi4.c (revision 67298)
-@@ -0,0 +1,53 @@
-+/* $Id$ */
-+/** @file
-+ * IPRT - __udivmoddi4 implementation
-+ */
-+
-+/*
-+ * Copyright (C) 2006-2016 Oracle Corporation
-+ *
-+ * This file is part of VirtualBox Open Source Edition (OSE), as
-+ * available from http://www.virtualbox.org. This file is free software;
-+ * you can redistribute it and/or modify it under the terms of the GNU
-+ * General Public License (GPL) as published by the Free Software
-+ * Foundation, in version 2 as it comes in the "COPYING" file of the
-+ * VirtualBox OSE distribution. VirtualBox OSE is distributed in the
-+ * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
-+ *
-+ * The contents of this file may alternatively be used under the terms
-+ * of the Common Development and Distribution License Version 1.0
-+ * (CDDL) only, as it comes in the "COPYING.CDDL" file of the
-+ * VirtualBox OSE distribution, in which case the provisions of the
-+ * CDDL are applicable instead of those of the GPL.
-+ *
-+ * You may elect to license modified versions of this file under the
-+ * terms and conditions of either the GPL or the CDDL or both.
-+ */
-+
-+#include <iprt/stdint.h>
-+#include <iprt/uint64.h>
-+
-+uint64_t __udivmoddi4(uint64_t u64A, uint64_t u64B, uint64_t *pu64R);
-+
-+/**
-+ * __udivmoddi4() implementation to satisfy external references from 32-bit
-+ * code generated by gcc-7 or later.
-+ *
-+ * @param u64A The divident value.
-+ * @param u64B The divisor value.
-+ * @param pu64R A pointer to the reminder. May be NULL.
-+ * @returns u64A / u64B
-+ */
-+uint64_t __udivmoddi4(uint64_t u64A, uint64_t u64B, uint64_t *pu64R)
-+{
-+ RTUINT64U Divident;
-+ RTUINT64U Divisor;
-+ RTUINT64U Quotient;
-+ RTUINT64U Reminder;
-+ Divident.u = u64A;
-+ Divisor.u = u64B;
-+ RTUInt64DivRem(&Quotient, &Reminder, &Divident, &Divisor);
-+ if (pu64R)
-+ *pu64R = Reminder.u;
-+ return Quotient.u;
-+}
-
-Property changes on: trunk/src/VBox/Runtime/common/math/gcc/udivmoddi4.c
-___________________________________________________________________
-Added: svn:eol-style
-## -0,0 +1 ##
-+native
-\ No newline at end of property
-Added: svn:keywords
-## -0,0 +1 ##
-+Author Date Id Revision
-\ No newline at end of property
-Index: trunk/src/VBox/Runtime/Makefile.kmk
-===================================================================
---- trunk/src/VBox/Runtime/Makefile.kmk (revision 67289)
-+++ trunk/src/VBox/Runtime/Makefile.kmk (revision 67298)
-@@ -1850,6 +1850,7 @@
- common/math/gcc/subdi3.c \
- common/math/gcc/ucmpdi2.c \
- common/math/gcc/udivdi3.c \
-+ common/math/gcc/udivmoddi4.c \
- common/math/gcc/umoddi3.c \
- common/math/gcc/xordi3.c
-
-@@ -1942,6 +1943,7 @@
- common/math/gcc/subdi3.c \
- common/math/gcc/ucmpdi2.c \
- common/math/gcc/udivdi3.c \
-+ common/math/gcc/udivmoddi4.c \
- common/math/gcc/umoddi3.c \
- common/math/gcc/xordi3.c
- endif
-@@ -2675,6 +2677,7 @@
- common/math/gcc/subdi3.c \
- common/math/gcc/ucmpdi2.c \
- common/math/gcc/udivdi3.c \
-+ common/math/gcc/udivmoddi4.c \
- common/math/gcc/umoddi3.c \
- common/math/gcc/xordi3.c
- endif
-Index: trunk/src/VBox/HostDrivers/VBoxNetAdp/linux/files_vboxnetadp
-===================================================================
---- trunk/src/VBox/HostDrivers/VBoxNetAdp/linux/files_vboxnetadp (revision 67289)
-+++ trunk/src/VBox/HostDrivers/VBoxNetAdp/linux/files_vboxnetadp (revision 67298)
-@@ -49,6 +49,7 @@
- ${PATH_ROOT}/include/iprt/time.h=>include/iprt/time.h \
- ${PATH_ROOT}/include/iprt/timer.h=>include/iprt/timer.h \
- ${PATH_ROOT}/include/iprt/types.h=>include/iprt/types.h \
-+ ${PATH_ROOT}/include/iprt/uint64.h=>include/iprt/uint64.h \
- ${PATH_ROOT}/include/iprt/uni.h=>include/iprt/uni.h \
- ${PATH_ROOT}/include/iprt/utf16.h=>include/iprt/utf16.h \
- ${PATH_ROOT}/include/iprt/uuid.h=>include/iprt/uuid.h \
-@@ -70,6 +71,7 @@
- ${PATH_ROOT}/src/VBox/Runtime/common/math/gcc/qdivrem.c=>math/gcc/qdivrem.c \
- ${PATH_ROOT}/src/VBox/Runtime/common/math/gcc/quad.h=>math/gcc/quad.h \
- ${PATH_ROOT}/src/VBox/Runtime/common/math/gcc/udivdi3.c=>math/gcc/udivdi3.c \
-+ ${PATH_ROOT}/src/VBox/Runtime/common/math/gcc/udivmoddi4.c=>math/gcc/udivmoddi4.c \
- ${PATH_ROOT}/src/VBox/Runtime/common/math/gcc/umoddi3.c=>math/gcc/umoddi3.c \
- ${PATH_ROOT}/src/VBox/Runtime/common/string/strformat.cpp=>common/string/strformat.c \
- ${PATH_ROOT}/src/VBox/Runtime/common/string/strformatrt.cpp=>common/string/strformatrt.c \
-Index: trunk/src/VBox/HostDrivers/VBoxNetAdp/linux/Makefile
-===================================================================
---- trunk/src/VBox/HostDrivers/VBoxNetAdp/linux/Makefile (revision 67289)
-+++ trunk/src/VBox/HostDrivers/VBoxNetAdp/linux/Makefile (revision 67298)
-@@ -72,6 +72,7 @@
- math/gcc/moddi3.o \
- math/gcc/qdivrem.o \
- math/gcc/udivdi3.o \
-+ math/gcc/udivmoddi4.o \
- math/gcc/divdi3.o \
- math/gcc/umoddi3.o
- endif
-Index: trunk/src/VBox/HostDrivers/VBoxPci/linux/files_vboxpci
-===================================================================
---- trunk/src/VBox/HostDrivers/VBoxPci/linux/files_vboxpci (revision 67289)
-+++ trunk/src/VBox/HostDrivers/VBoxPci/linux/files_vboxpci (revision 67298)
-@@ -48,6 +48,7 @@
- ${PATH_ROOT}/include/iprt/time.h=>include/iprt/time.h \
- ${PATH_ROOT}/include/iprt/timer.h=>include/iprt/timer.h \
- ${PATH_ROOT}/include/iprt/types.h=>include/iprt/types.h \
-+ ${PATH_ROOT}/include/iprt/uint64.h=>include/iprt/uint64.h \
- ${PATH_ROOT}/include/iprt/uni.h=>include/iprt/uni.h \
- ${PATH_ROOT}/include/iprt/utf16.h=>include/iprt/utf16.h \
- ${PATH_ROOT}/include/iprt/uuid.h=>include/iprt/uuid.h \
-@@ -75,6 +76,7 @@
- ${PATH_ROOT}/src/VBox/Runtime/common/math/gcc/qdivrem.c=>math/gcc/qdivrem.c \
- ${PATH_ROOT}/src/VBox/Runtime/common/math/gcc/quad.h=>math/gcc/quad.h \
- ${PATH_ROOT}/src/VBox/Runtime/common/math/gcc/udivdi3.c=>math/gcc/udivdi3.c \
-+ ${PATH_ROOT}/src/VBox/Runtime/common/math/gcc/udivmoddi4.c=>math/gcc/udivmoddi4.c \
- ${PATH_ROOT}/src/VBox/Runtime/common/math/gcc/umoddi3.c=>math/gcc/umoddi3.c \
- ${PATH_ROOT}/src/VBox/Runtime/r0drv/linux/the-linux-kernel.h=>r0drv/linux/the-linux-kernel.h \
- ${PATH_OUT}/version-generated.h=>version-generated.h \
-Index: trunk/src/VBox/HostDrivers/VBoxPci/linux/Makefile
-===================================================================
---- trunk/src/VBox/HostDrivers/VBoxPci/linux/Makefile (revision 67289)
-+++ trunk/src/VBox/HostDrivers/VBoxPci/linux/Makefile (revision 67298)
-@@ -76,6 +76,7 @@
- math/gcc/moddi3.o \
- math/gcc/qdivrem.o \
- math/gcc/udivdi3.o \
-+ math/gcc/udivmoddi4.o \
- math/gcc/divdi3.o \
- math/gcc/umoddi3.o
- endif
-Index: trunk/src/VBox/HostDrivers/VBoxNetFlt/linux/Makefile
-===================================================================
---- trunk/src/VBox/HostDrivers/VBoxNetFlt/linux/Makefile (revision 67289)
-+++ trunk/src/VBox/HostDrivers/VBoxNetFlt/linux/Makefile (revision 67298)
-@@ -76,6 +76,7 @@
- math/gcc/moddi3.o \
- math/gcc/qdivrem.o \
- math/gcc/udivdi3.o \
-+ math/gcc/udivmoddi4.o \
- math/gcc/divdi3.o \
- math/gcc/umoddi3.o
- endif
-Index: trunk/src/VBox/HostDrivers/VBoxNetFlt/linux/files_vboxnetflt
-===================================================================
---- trunk/src/VBox/HostDrivers/VBoxNetFlt/linux/files_vboxnetflt (revision 67289)
-+++ trunk/src/VBox/HostDrivers/VBoxNetFlt/linux/files_vboxnetflt (revision 67298)
-@@ -49,6 +49,7 @@
- ${PATH_ROOT}/include/iprt/time.h=>include/iprt/time.h \
- ${PATH_ROOT}/include/iprt/timer.h=>include/iprt/timer.h \
- ${PATH_ROOT}/include/iprt/types.h=>include/iprt/types.h \
-+ ${PATH_ROOT}/include/iprt/uint64.h=>include/iprt/uint64.h \
- ${PATH_ROOT}/include/iprt/uni.h=>include/iprt/uni.h \
- ${PATH_ROOT}/include/iprt/utf16.h=>include/iprt/utf16.h \
- ${PATH_ROOT}/include/iprt/uuid.h=>include/iprt/uuid.h \
-@@ -77,6 +78,7 @@
- ${PATH_ROOT}/src/VBox/Runtime/common/math/gcc/qdivrem.c=>math/gcc/qdivrem.c \
- ${PATH_ROOT}/src/VBox/Runtime/common/math/gcc/quad.h=>math/gcc/quad.h \
- ${PATH_ROOT}/src/VBox/Runtime/common/math/gcc/udivdi3.c=>math/gcc/udivdi3.c \
-+ ${PATH_ROOT}/src/VBox/Runtime/common/math/gcc/udivmoddi4.c=>math/gcc/udivmoddi4.c \
- ${PATH_ROOT}/src/VBox/Runtime/common/math/gcc/umoddi3.c=>math/gcc/umoddi3.c \
- ${PATH_ROOT}/src/VBox/Runtime/r0drv/linux/the-linux-kernel.h=>r0drv/linux/the-linux-kernel.h \
- ${PATH_OUT}/version-generated.h=>version-generated.h \
-Index: trunk/src/VBox/HostDrivers/Support/linux/files_vboxdrv
-===================================================================
---- trunk/src/VBox/HostDrivers/Support/linux/files_vboxdrv (revision 67289)
-+++ trunk/src/VBox/HostDrivers/Support/linux/files_vboxdrv (revision 67298)
-@@ -65,6 +65,7 @@
- ${PATH_ROOT}/include/iprt/timer.h=>include/iprt/timer.h \
- ${PATH_ROOT}/include/iprt/types.h=>include/iprt/types.h \
- ${PATH_ROOT}/include/iprt/uint128.h=>include/iprt/uint128.h \
-+ ${PATH_ROOT}/include/iprt/uint64.h=>include/iprt/uint64.h \
- ${PATH_ROOT}/include/iprt/uni.h=>include/iprt/uni.h \
- ${PATH_ROOT}/include/iprt/utf16.h=>include/iprt/utf16.h \
- ${PATH_ROOT}/include/iprt/uuid.h=>include/iprt/uuid.h \
-@@ -108,6 +109,7 @@
- ${PATH_ROOT}/src/VBox/Runtime/common/math/gcc/qdivrem.c=>math/gcc/qdivrem.c \
- ${PATH_ROOT}/src/VBox/Runtime/common/math/gcc/quad.h=>math/gcc/quad.h \
- ${PATH_ROOT}/src/VBox/Runtime/common/math/gcc/udivdi3.c=>math/gcc/udivdi3.c \
-+ ${PATH_ROOT}/src/VBox/Runtime/common/math/gcc/udivmoddi4.c=>math/gcc/udivmoddi4.c \
- ${PATH_ROOT}/src/VBox/Runtime/common/math/gcc/umoddi3.c=>math/gcc/umoddi3.c \
- ${PATH_ROOT}/src/VBox/Runtime/common/misc/RTAssertMsg1Weak.cpp=>common/misc/RTAssertMsg1Weak.c \
- ${PATH_ROOT}/src/VBox/Runtime/common/misc/RTAssertMsg2.cpp=>common/misc/RTAssertMsg2.c \
-Index: trunk/src/VBox/HostDrivers/Support/linux/Makefile
-===================================================================
---- trunk/src/VBox/HostDrivers/Support/linux/Makefile (revision 67289)
-+++ trunk/src/VBox/HostDrivers/Support/linux/Makefile (revision 67298)
-@@ -162,6 +162,7 @@
- math/gcc/moddi3.o \
- math/gcc/qdivrem.o \
- math/gcc/udivdi3.o \
-+ math/gcc/udivmoddi4.o \
- math/gcc/divdi3.o \
- math/gcc/umoddi3.o
- endif
-Index: trunk/src/VBox/Additions/linux/sharedfolders/Makefile.module
-===================================================================
---- trunk/src/VBox/Additions/linux/sharedfolders/Makefile.module (revision 67289)
-+++ trunk/src/VBox/Additions/linux/sharedfolders/Makefile.module (revision 67298)
-@@ -38,6 +38,7 @@
- divdi3.o \
- moddi3.o \
- udivdi3.o \
-+ udivmoddi4.o \
- umoddi3.o \
- qdivrem.o
- endif
-Index: trunk/src/VBox/Additions/linux/sharedfolders/files_vboxsf
-===================================================================
---- trunk/src/VBox/Additions/linux/sharedfolders/files_vboxsf (revision 67289)
-+++ trunk/src/VBox/Additions/linux/sharedfolders/files_vboxsf (revision 67298)
-@@ -38,6 +38,7 @@
- ${PATH_ROOT}/include/iprt/string.h=>include/iprt/string.h \
- ${PATH_ROOT}/include/iprt/time.h=>include/iprt/time.h \
- ${PATH_ROOT}/include/iprt/types.h=>include/iprt/types.h \
-+ ${PATH_ROOT}/include/iprt/uint64.h=>include/iprt/uint64.h \
- ${PATH_ROOT}/include/iprt/uni.h=>include/iprt/uni.h \
- ${PATH_ROOT}/include/iprt/utf16.h=>include/iprt/utf16.h \
- ${PATH_ROOT}/include/VBox/cdefs.h=>include/VBox/cdefs.h \
-@@ -73,6 +74,7 @@
- ${PATH_ROOT}/src/VBox/Runtime/common/math/gcc/qdivrem.c=>qdivrem.c \
- ${PATH_ROOT}/src/VBox/Runtime/common/math/gcc/quad.h=>quad.h \
- ${PATH_ROOT}/src/VBox/Runtime/common/math/gcc/udivdi3.c=>udivdi3.c \
-+ ${PATH_ROOT}/src/VBox/Runtime/common/math/gcc/udivmoddi4.c=>udivmoddi4.c \
- ${PATH_ROOT}/src/VBox/Runtime/common/math/gcc/umoddi3.c=>umoddi3.c \
- ${PATH_ROOT}/src/VBox/Runtime/r0drv/linux/the-linux-kernel.h=>r0drv/linux/the-linux-kernel.h \
- ${PATH_ROOT}/src/VBox/Additions/linux/sharedfolders/Makefile.module=>Makefile \
-Index: trunk/src/VBox/Additions/common/VBoxGuest/linux/files_vboxguest
-===================================================================
---- trunk/src/VBox/Additions/common/VBoxGuest/linux/files_vboxguest (revision 67289)
-+++ trunk/src/VBox/Additions/common/VBoxGuest/linux/files_vboxguest (revision 67298)
-@@ -54,6 +54,7 @@
- ${PATH_ROOT}/include/iprt/time.h=>include/iprt/time.h \
- ${PATH_ROOT}/include/iprt/timer.h=>include/iprt/timer.h \
- ${PATH_ROOT}/include/iprt/types.h=>include/iprt/types.h \
-+ ${PATH_ROOT}/include/iprt/uint64.h=>include/iprt/uint64.h \
- ${PATH_ROOT}/include/iprt/uni.h=>include/iprt/uni.h \
- ${PATH_ROOT}/include/iprt/utf16.h=>include/iprt/utf16.h \
- ${PATH_ROOT}/include/iprt/x86.h=>include/iprt/x86.h \
-@@ -113,6 +114,7 @@
- ${PATH_ROOT}/src/VBox/Runtime/common/math/gcc/qdivrem.c=>common/math/gcc/qdivrem.c \
- ${PATH_ROOT}/src/VBox/Runtime/common/math/gcc/quad.h=>common/math/gcc/quad.h \
- ${PATH_ROOT}/src/VBox/Runtime/common/math/gcc/udivdi3.c=>common/math/gcc/udivdi3.c \
-+ ${PATH_ROOT}/src/VBox/Runtime/common/math/gcc/udivmoddi4.c=>common/math/gcc/udivmoddi4.c \
- ${PATH_ROOT}/src/VBox/Runtime/common/math/gcc/umoddi3.c=>common/math/gcc/umoddi3.c \
- ${PATH_ROOT}/src/VBox/Runtime/common/misc/RTAssertMsg1Weak.cpp=>common/misc/RTAssertMsg1Weak.c \
- ${PATH_ROOT}/src/VBox/Runtime/common/misc/RTAssertMsg2.cpp=>common/misc/RTAssertMsg2.c \
-Index: trunk/src/VBox/Additions/common/VBoxGuest/linux/Makefile
-===================================================================
---- trunk/src/VBox/Additions/common/VBoxGuest/linux/Makefile (revision 67289)
-+++ trunk/src/VBox/Additions/common/VBoxGuest/linux/Makefile (revision 67298)
-@@ -100,6 +100,7 @@
- common/math/gcc/divdi3.o \
- common/math/gcc/moddi3.o \
- common/math/gcc/udivdi3.o \
-+ common/math/gcc/udivmoddi4.o \
- common/math/gcc/umoddi3.o \
- common/math/gcc/qdivrem.o
- endif
Deleted: community-i686/010-linux-4.12.patch
===================================================================
--- community-i686/010-linux-4.12.patch 2017-07-18 12:18:14 UTC (rev 245542)
+++ community-i686/010-linux-4.12.patch 2017-07-18 12:18:28 UTC (rev 245543)
@@ -1,108 +0,0 @@
-diff --git a/src/VBox/HostDrivers/Support/linux/SUPDrv-linux.c b/src/VBox/HostDrivers/Support/linux/SUPDrv-linux.c
-index 0beb736..20cae7c 100644
---- a/src/VBox/HostDrivers/Support/linux/SUPDrv-linux.c
-+++ b/src/VBox/HostDrivers/Support/linux/SUPDrv-linux.c
-@@ -1397,7 +1397,7 @@ RTDECL(int) SUPR0Printf(const char *pszFormat, ...)
- SUPR0DECL(uint32_t) SUPR0GetKernelFeatures(void)
- {
- uint32_t fFlags = 0;
--#ifdef CONFIG_PAX_KERNEXEC
-+#if defined(CONFIG_PAX_KERNEXEC) || LINUX_VERSION_CODE >= KERNEL_VERSION(4, 12, 0)
- fFlags |= SUPKERNELFEATURES_GDT_READ_ONLY;
- #endif
- #if defined(VBOX_STRICT) || defined(VBOX_WITH_EFLAGS_AC_SET_IN_VBOXDRV)
-diff --git a/src/VBox/Runtime/r0drv/linux/alloc-r0drv-linux.c b/src/VBox/Runtime/r0drv/linux/alloc-r0drv-linux.c
-index e011867..4576a74 100644
---- a/src/VBox/Runtime/r0drv/linux/alloc-r0drv-linux.c
-+++ b/src/VBox/Runtime/r0drv/linux/alloc-r0drv-linux.c
-@@ -35,6 +35,9 @@
- #include <iprt/assert.h>
- #include <iprt/err.h>
- #include "r0drv/alloc-r0drv.h"
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 12, 0)
-+#include <asm/set_memory.h>
-+#endif
-
-
- #if (defined(RT_ARCH_AMD64) || defined(DOXYGEN_RUNNING)) && !defined(RTMEMALLOC_EXEC_HEAP)
-diff --git a/src/VBox/Runtime/r0drv/linux/memobj-r0drv-linux.c b/src/VBox/Runtime/r0drv/linux/memobj-r0drv-linux.c
-index 4bc2a9b..2b5af61 100644
---- a/src/VBox/Runtime/r0drv/linux/memobj-r0drv-linux.c
-+++ b/src/VBox/Runtime/r0drv/linux/memobj-r0drv-linux.c
-@@ -899,6 +899,9 @@ static struct page *rtR0MemObjLinuxVirtToPage(void *pv)
- unsigned long pfn;
- struct page *pPage;
- pte_t *pEntry;
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 12, 0)
-+ p4d_t p4d;
-+#endif
- union
- {
- pgd_t Global;
-@@ -917,9 +920,18 @@ static struct page *rtR0MemObjLinuxVirtToPage(void *pv)
- u.Global = *pgd_offset(current->active_mm, ulAddr);
- if (RT_UNLIKELY(pgd_none(u.Global)))
- return NULL;
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 12, 0)
-+ p4d = *p4d_offset(&u.Global, ulAddr);
-+ if (RT_UNLIKELY(p4d_none(p4d) || p4d_large(p4d) || !p4d_present(p4d)))
-+ return NULL;
-+#endif
-
- #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 11)
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 12, 0)
-+ u.Upper = *pud_offset(&p4d, ulAddr);
-+#else
- u.Upper = *pud_offset(&u.Global, ulAddr);
-+#endif
- if (RT_UNLIKELY(pud_none(u.Upper)))
- return NULL;
- # if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 25)
-@@ -1463,13 +1475,23 @@ static int rtR0MemObjLinuxFixPte(struct mm_struct *mm, unsigned long ulAddr, RTH
- {
- int rc = -ENOMEM;
- pgd_t *pgd;
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 12, 0)
-+ p4d_t *p4d;
-+#endif
-
- spin_lock(&mm->page_table_lock);
-
- pgd = pgd_offset(mm, ulAddr);
- if (!pgd_none(*pgd) && !pgd_bad(*pgd))
- {
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 12, 0)
-+ p4d = p4d_offset(*pgd, ulAddr);
-+ if (p4d_none(*p4d))
-+ goto exit;
-+ pmd_t *pmd = pmd_offset(p4d, ulAddr);
-+#else
- pmd_t *pmd = pmd_offset(pgd, ulAddr);
-+#endif
- if (!pmd_none(*pmd))
- {
- pte_t *ptep = pte_offset_map(pmd, ulAddr);
-@@ -1487,6 +1509,9 @@ static int rtR0MemObjLinuxFixPte(struct mm_struct *mm, unsigned long ulAddr, RTH
- }
- }
-
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 12, 0)
-+exit:
-+#endif
- spin_unlock(&mm->page_table_lock);
- return rc;
- }
-diff --git a/src/VBox/Runtime/r0drv/linux/the-linux-kernel.h b/src/VBox/Runtime/r0drv/linux/the-linux-kernel.h
-index 5a7ccb2..a07a22a 100644
---- a/src/VBox/Runtime/r0drv/linux/the-linux-kernel.h
-+++ b/src/VBox/Runtime/r0drv/linux/the-linux-kernel.h
-@@ -320,6 +320,9 @@ DECLINLINE(unsigned long) msecs_to_jiffies(unsigned int cMillies)
- #endif
-
- #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 25)
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 12, 0)
-+#include <asm/cacheflush.h>
-+#endif
- # define MY_SET_PAGES_EXEC(pPages, cPages) set_pages_x(pPages, cPages)
- # define MY_SET_PAGES_NOEXEC(pPages, cPages) set_pages_nx(pPages, cPages)
- #else
Deleted: community-i686/60-vboxdrv.rules
===================================================================
--- community-i686/60-vboxdrv.rules 2017-07-18 12:18:14 UTC (rev 245542)
+++ community-i686/60-vboxdrv.rules 2017-07-18 12:18:28 UTC (rev 245543)
@@ -1,8 +0,0 @@
-KERNEL=="vboxdrv", NAME="vboxdrv", OWNER="root", GROUP="root", MODE="0600"
-KERNEL=="vboxdrvu", NAME="vboxdrvu", OWNER="root", GROUP="root", MODE="0666"
-KERNEL=="vboxnetctl", NAME="vboxnetctl", OWNER="root", GROUP="root", MODE="0600"
-
-SUBSYSTEM=="usb_device", ACTION=="add", RUN+="/usr/share/virtualbox/VBoxCreateUSBNode.sh $major $minor $attr{bDeviceClass} vboxusers"
-SUBSYSTEM=="usb", ACTION=="add", ENV{DEVTYPE}=="usb_device", RUN+="/usr/share/virtualbox/VBoxCreateUSBNode.sh $major $minor $attr{bDeviceClass} vboxusers"
-SUBSYSTEM=="usb_device", ACTION=="remove", RUN+="/usr/share/virtualbox/VBoxCreateUSBNode.sh --remove $major $minor"
-SUBSYSTEM=="usb", ACTION=="remove", ENV{DEVTYPE}=="usb_device", RUN+="/usr/share/virtualbox/VBoxCreateUSBNode.sh --remove $major $minor"
Copied: virtualbox/repos/community-i686/60-vboxdrv.rules (from rev 245542, virtualbox/trunk/60-vboxdrv.rules)
===================================================================
--- community-i686/60-vboxdrv.rules (rev 0)
+++ community-i686/60-vboxdrv.rules 2017-07-18 12:18:28 UTC (rev 245543)
@@ -0,0 +1,8 @@
+KERNEL=="vboxdrv", NAME="vboxdrv", OWNER="root", GROUP="root", MODE="0600"
+KERNEL=="vboxdrvu", NAME="vboxdrvu", OWNER="root", GROUP="root", MODE="0666"
+KERNEL=="vboxnetctl", NAME="vboxnetctl", OWNER="root", GROUP="root", MODE="0600"
+
+SUBSYSTEM=="usb_device", ACTION=="add", RUN+="/usr/share/virtualbox/VBoxCreateUSBNode.sh $major $minor $attr{bDeviceClass} vboxusers"
+SUBSYSTEM=="usb", ACTION=="add", ENV{DEVTYPE}=="usb_device", RUN+="/usr/share/virtualbox/VBoxCreateUSBNode.sh $major $minor $attr{bDeviceClass} vboxusers"
+SUBSYSTEM=="usb_device", ACTION=="remove", RUN+="/usr/share/virtualbox/VBoxCreateUSBNode.sh --remove $major $minor"
+SUBSYSTEM=="usb", ACTION=="remove", ENV{DEVTYPE}=="usb_device", RUN+="/usr/share/virtualbox/VBoxCreateUSBNode.sh --remove $major $minor"
Deleted: community-i686/60-vboxguest.rules
===================================================================
--- community-i686/60-vboxguest.rules 2017-07-18 12:18:14 UTC (rev 245542)
+++ community-i686/60-vboxguest.rules 2017-07-18 12:18:28 UTC (rev 245543)
@@ -1,2 +0,0 @@
-ACTION=="add", KERNEL=="vboxguest", SUBSYSTEM=="misc", OWNER="root", MODE="0600"
-ACTION=="add", KERNEL=="vboxuser", SUBSYSTEM=="misc", OWNER="root", MODE="0666"
Copied: virtualbox/repos/community-i686/60-vboxguest.rules (from rev 245542, virtualbox/trunk/60-vboxguest.rules)
===================================================================
--- community-i686/60-vboxguest.rules (rev 0)
+++ community-i686/60-vboxguest.rules 2017-07-18 12:18:28 UTC (rev 245543)
@@ -0,0 +1,2 @@
+ACTION=="add", KERNEL=="vboxguest", SUBSYSTEM=="misc", OWNER="root", MODE="0600"
+ACTION=="add", KERNEL=="vboxuser", SUBSYSTEM=="misc", OWNER="root", MODE="0666"
Deleted: community-i686/LocalConfig.kmk
===================================================================
--- community-i686/LocalConfig.kmk 2017-07-18 12:18:14 UTC (rev 245542)
+++ community-i686/LocalConfig.kmk 2017-07-18 12:18:28 UTC (rev 245543)
@@ -1,32 +0,0 @@
-# do not build test cases
-VBOX_WITH_TESTCASES :=
-VBOX_WITH_TESTSUITE :=
-VBOX_WITH_VALIDATIONKIT :=
-
-# no legacy X.org - use KMS
-VBOX_USE_SYSTEM_XORG_HEADERS = 1
-VBOX_NO_LEGACY_XORG_X11 = 1
-
-# archlinux path
-VBOX_WITH_ORIGIN :=
-VBOX_PATH_APP_PRIVATE_ARCH := /usr/lib/virtualbox
-VBOX_PATH_SHARED_LIBS := $(VBOX_PATH_APP_PRIVATE_ARCH)
-VBOX_WITH_RUNPATH := $(VBOX_PATH_APP_PRIVATE_ARCH)
-VBOX_PATH_APP_PRIVATE := /usr/share/virtualbox
-VBOX_PATH_APP_DOCS := /usr/share/doc/virtualbox
-VBOX_PATH_PACKAGE_DOCS := $(VBOX_PATH_APP_DOCS)
-VBOX_BLD_PYTHON = python2
-VBOX_JAVA_HOME = /usr/lib/jvm/java-7-openjdk
-
-# do not fail on warning
-VBOX_GCC_WERR =
-VBOX_GCC_WARN =
-
-# fix gsoap missing zlib include and produce errors with --as-needed
-VBOX_GSOAP_CXX_LIBS := gsoapssl++ z
-
-# use system xorg
-VBOX_USE_SYSTEM_XORG_HEADERS = 1
-
-# no update request. update are handled via pacman
-VBOX_WITH_UPDATE_REQUEST := 0
Copied: virtualbox/repos/community-i686/LocalConfig.kmk (from rev 245542, virtualbox/trunk/LocalConfig.kmk)
===================================================================
--- community-i686/LocalConfig.kmk (rev 0)
+++ community-i686/LocalConfig.kmk 2017-07-18 12:18:28 UTC (rev 245543)
@@ -0,0 +1,32 @@
+# do not build test cases
+VBOX_WITH_TESTCASES :=
+VBOX_WITH_TESTSUITE :=
+VBOX_WITH_VALIDATIONKIT :=
+
+# no legacy X.org - use KMS
+VBOX_USE_SYSTEM_XORG_HEADERS = 1
+VBOX_NO_LEGACY_XORG_X11 = 1
+
+# archlinux path
+VBOX_WITH_ORIGIN :=
+VBOX_PATH_APP_PRIVATE_ARCH := /usr/lib/virtualbox
+VBOX_PATH_SHARED_LIBS := $(VBOX_PATH_APP_PRIVATE_ARCH)
+VBOX_WITH_RUNPATH := $(VBOX_PATH_APP_PRIVATE_ARCH)
+VBOX_PATH_APP_PRIVATE := /usr/share/virtualbox
+VBOX_PATH_APP_DOCS := /usr/share/doc/virtualbox
+VBOX_PATH_PACKAGE_DOCS := $(VBOX_PATH_APP_DOCS)
+VBOX_BLD_PYTHON = python2
+VBOX_JAVA_HOME = /usr/lib/jvm/java-7-openjdk
+
+# do not fail on warning
+VBOX_GCC_WERR =
+VBOX_GCC_WARN =
+
+# fix gsoap missing zlib include and produce errors with --as-needed
+VBOX_GSOAP_CXX_LIBS := gsoapssl++ z
+
+# use system xorg
+VBOX_USE_SYSTEM_XORG_HEADERS = 1
+
+# no update request. update are handled via pacman
+VBOX_WITH_UPDATE_REQUEST := 0
Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD 2017-07-18 12:18:14 UTC (rev 245542)
+++ community-i686/PKGBUILD 2017-07-18 12:18:28 UTC (rev 245543)
@@ -1,383 +0,0 @@
-# $Id$
-# Maintainer: Sébastien "Seblu" Luttringer
-# Contributor: Ionut Biru <ibiru at archlinux.org>
-
-pkgbase=virtualbox
-pkgname=('virtualbox'
- 'virtualbox-host-dkms'
- 'virtualbox-guest-dkms'
- 'virtualbox-sdk'
- 'virtualbox-guest-utils'
- 'virtualbox-guest-utils-nox'
- 'virtualbox-ext-vnc')
-pkgver=5.1.22
-pkgrel=5
-arch=('i686' 'x86_64')
-url='http://virtualbox.org'
-license=('GPL' 'custom')
-makedepends=('alsa-lib'
- 'bin86'
- 'cdrkit'
- 'curl'
- 'dev86'
- 'device-mapper'
- 'glu'
- 'gsoap'
- 'iasl'
- 'jdk7-openjdk'
- 'libidl2'
- 'libpulse'
- 'libstdc++5'
- 'libvncserver'
- 'libvpx'
- 'libxcomposite'
- 'libxcursor'
- 'libxinerama'
- 'libxml2'
- 'libxmu'
- 'libxrandr'
- 'libxslt'
- 'libxtst'
- 'linux-headers'
- 'mesa'
- 'python2'
- 'qt5-base'
- 'qt5-x11extras'
- 'qt5-tools'
- 'sdl'
- 'sdl_ttf'
- 'sed'
- 'vde2'
- 'xalan-c'
- 'xf86driproto'
- 'xorg-server-devel')
-makedepends_x86_64=('gcc-multilib' 'lib32-glibc')
-source=("http://download.virtualbox.org/virtualbox/${pkgver}/VirtualBox-${pkgver}.tar.bz2"
- 'virtualbox-host-dkms.conf'
- 'virtualbox-guest-dkms.conf'
- 'virtualbox.sysusers'
- 'virtualbox-guest-utils.sysusers'
- '60-vboxdrv.rules'
- '60-vboxguest.rules'
- 'LocalConfig.kmk'
- 'vboxservice.service'
- 'vboxservice-nox.service'
- 'vboxweb.service'
- 'vboxreload'
- '002-dri-driver-path.patch'
- '003-ogl-include-path.patch'
- '005-gsoap-build.patch'
- '006-rdesktop-vrdp-keymap-path.patch'
- '007-python2-path.patch'
- '008-no-vboxvideo.patch'
- '009-gcc-7.patch'
- '010-linux-4.12.patch'
- )
-sha256sums=('fcc918000b8c5ece553541ec10a9182410a742b7266257c76dda895dcd389899'
- 'deb03efa7ad0376aa55a087f2e882afe00935f10b0e7aa853ba9147090d341ec'
- '113f9b92141b85df01f1e74d22f01d1f1aa81650eb79b89ceefc3cae20afe2e2'
- '2101ebb58233bbfadf3aa74381f22f7e7e508559d2b46387114bc2d8e308554c'
- 'da4c49f6ca94e047e196cdbcba2c321199f4760056ea66e0fbc659353e128c9e'
- '9c5238183019f9ebc7d92a8582cad232f471eab9d3278786225abc1a1c7bf66e'
- '033c597e0f5285d2ddb0490868e5b6f945f45c7b1b1152a02a9e6fea438b2c95'
- '0105ce26b79dbe533085423decf042ac0f5e6aa28edb5e6a9bc713cca2ab04c5'
- '94a808f46909a51b2d0cf2c6e0a6c9dea792034943e6413bf9649a036c921b21'
- '01dbb921bd57a852919cc78be5b73580a564f28ebab2fe8d6c9b8301265cbfce'
- 'e6e875ef186578b53106d7f6af48e426cdaf1b4e86834f01696b8ef1c685787f'
- '2a9d7748dc58f9d091f791da06b733a696943114f7c0d580fa00a0752eb1d2ac'
- 'ee54fe188e27b6e80e2044ea9ba1874db2ca2c026ad04f393be1be69c18d440d'
- '188014070bce4f6fb9b2535bcd64d066119e182e848c521407ea891ab41a995b'
- '7d2da8fe10a90f76bbfc80ad1f55df4414f118cd10e10abfb76070326abebd46'
- '5d5af2de5b1f1c61ec793503350f2440661cf8fd640f11b8a86f10bce499c0dc'
- '6bdb017459532537199c399eefd3d84d8dc7f1786e79997caebd3b6eb5c75d9f'
- '8b7f241107863f82a5b0ae336aead0b3366a40103ff72dbebf33f54b512a0cbc'
- '0f5cb04362be022bba71295867aac9eaddf9ece0d3ce82c083d70829564ec8d2'
- 'a2f7e23f9956ac28783061d75b4854492c6a015acc42328cee951e9165f9a505'
- )
-
-prepare() {
- cd "VirtualBox-$pkgver"
-
- # apply patch from the source array (should be a pacman feature)
- local filename
- for filename in "${source[@]}"; do
- if [[ "$filename" =~ \.patch$ ]]; then
- msg2 "Applying patch ${filename##*/}"
- patch -p1 -N -i "$srcdir/${filename##*/}"
- fi
- done
-
- msg2 'Applying local config'
- cp "$srcdir/LocalConfig.kmk" .
-
- msg2 'Use our CFLAGS'
- echo "VBOX_GCC_OPT=$CXXFLAGS" >> LocalConfig.kmk
-
- msg2 'Remove gcc version censorship'
- sed -i 's/^check_gcc$/#check_gcc/' configure
-}
-
-build() {
- cd "VirtualBox-$pkgver"
-
- msg2 'Build virtualbox'
- ./configure \
- --disable-docs \
- --enable-webservice \
- --enable-vde \
- --enable-vnc \
- --disable-kmods \
- --with-makeself=/usr/bin/echo
- # fake makeself binary to compile without nofatal
- # makeself is used by linux installer. we don't need it.
- source ./env.sh
- kmk
-
- msg2 'Build rdesktop-vrdp'
- kmk -C src/VBox/RDP/client-1.8.3
-
- msg2 'Build VNC extension pack'
- kmk -C src/VBox/ExtPacks/VNC packing
-}
-
-package_virtualbox() {
- pkgdesc='Powerful x86 virtualization for enterprise as well as home use'
- depends=('glibc' 'openssl' 'curl' 'gcc-libs' 'libpng' 'python2' 'sdl'
- 'libvpx' 'libxml2' 'procps-ng' 'shared-mime-info' 'zlib'
- 'libxcursor' 'libxinerama' 'libx11' 'libxext' 'libxmu' 'libxt'
- 'qt5-base' 'qt5-x11extras' 'VIRTUALBOX-HOST-MODULES')
- optdepends=('vde2: Virtual Distributed Ethernet support'
- 'net-tools: Host-only or bridged networking support'
- 'virtualbox-guest-iso: Guest Additions CD image'
- 'virtualbox-ext-vnc: VNC server support'
- 'virtualbox-sdk: Developer kit')
- backup=('etc/vbox/vbox.cfg')
- replaces=('virtualbox-ose')
- conflicts=('virtualbox-ose')
- install=virtualbox.install
-
- source "VirtualBox-$pkgver/env.sh"
- cd "VirtualBox-$pkgver/out/linux.$BUILD_PLATFORM_ARCH/release/bin"
-
- # binaries
- install -dm755 "$pkgdir/usr/bin"
- install -m755 VBox.sh "$pkgdir/usr/bin/VBox"
- for i in VBoxHeadless VBoxManage VBoxSDL VirtualBox vboxwebsrv VBoxBalloonCtrl; do
- ln -sf VBox "$pkgdir/usr/bin/$i"
- ln -sf VBox "$pkgdir/usr/bin/${i,,}"
- done
- install -m755 VBoxTunctl "$pkgdir/usr/bin"
- install -m755 rdesktop-vrdp "$pkgdir/usr/bin"
-
- # libraries
- install -dm755 "$pkgdir/usr/lib/virtualbox"
- install -m755 *.so "$pkgdir/usr/lib/virtualbox"
- install -m644 *.rc *.r0 VBoxEFI*.fd "$pkgdir/usr/lib/virtualbox"
- ## setuid root binaries
- install -m4755 VBoxSDL VirtualBox VBoxHeadless VBoxNetDHCP VBoxNetAdpCtl VBoxNetNAT -t "$pkgdir/usr/lib/virtualbox"
- ## other binaries
- install -m755 VBoxManage VBoxSVC VBoxExtPackHelperApp VBoxXPCOMIPCD VBoxTestOGL VBoxBalloonCtrl vboxwebsrv webtest -t "$pkgdir/usr/lib/virtualbox"
-
- # components
- install -dm755 "$pkgdir/usr/lib/virtualbox/components"
- install -m755 components/* -t "$pkgdir/usr/lib/virtualbox/components"
-
- # extensions packs
- ## as virtualbox install itself stuff in this directory, move it to /var and
- ## trick it with a symlink
- ## FIXME: trick is disabled for now
- #install -dm755 "$pkgdir/var/lib/virtualbox/extensions"
- #install -dm755 "$pkgdir/usr/share/virtualbox/extensions"
- #ln -s ../../../var/lib/virtualbox/extensions "$pkgdir/usr/lib/virtualbox/ExtensionPacks"
- install -dm755 "$pkgdir/usr/lib/virtualbox/ExtensionPacks"
-
- # languages
- install -dm755 "$pkgdir/usr/share/virtualbox/nls"
- install -m755 nls/*.qm -t "$pkgdir/usr/share/virtualbox/nls"
-
- # rdesktop keymaps
- install -dm755 "$pkgdir/usr/share/virtualbox/rdesktop-vrdp-keymaps"
- install -m644 rdesktop-vrdp-keymaps/* "$pkgdir/usr/share/virtualbox/rdesktop-vrdp-keymaps"
-
- # useless scripts
- install -m755 VBoxCreateUSBNode.sh VBoxSysInfo.sh -t "$pkgdir/usr/share/virtualbox"
-
- # icons
- install -Dm644 VBox.png "$pkgdir/usr/share/pixmaps/VBox.png"
-
- pushd icons >/dev/null
- for i in *; do
- install -d "$pkgdir/usr/share/icons/hicolor/$i/mimetypes"
- cp $i/* "$pkgdir/usr/share/icons/hicolor/$i/mimetypes"
- done
- popd >/dev/null
-
- #desktop
- install -Dm644 virtualbox.desktop "$pkgdir/usr/share/applications/virtualbox.desktop"
- install -Dm644 virtualbox.xml "$pkgdir/usr/share/mime/packages/virtualbox.xml"
-
- #install configuration
- install -dm755 "$pkgdir/etc/vbox"
- echo 'INSTALL_DIR=/usr/lib/virtualbox' > "$pkgdir/etc/vbox/vbox.cfg"
-
- # back to srcdir
- cd "$srcdir"
-
- #licence
- install -Dm644 VirtualBox-$pkgver/COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-
- # install systemd stuff
- install -Dm644 60-vboxdrv.rules "$pkgdir/usr/lib/udev/rules.d/60-vboxdrv.rules"
- install -Dm644 vboxweb.service "$pkgdir/usr/lib/systemd/system/vboxweb.service"
- install -Dm644 virtualbox.sysusers "$pkgdir/usr/lib/sysusers.d/virtualbox.conf"
-
- # install module reloading shortcut (with a symlink with default helper)
- install -Dm755 vboxreload "$pkgdir/usr/bin"
- ln -s vboxreload "$pkgdir/usr/bin/rcvboxdrv"
-}
-
-package_virtualbox-sdk() {
- pkgdesc='VirtualBox Software Developer Kit (SDK)'
- depends=('python2')
-
- install -dm755 "$pkgdir/usr/lib/virtualbox"
-
- source "VirtualBox-$pkgver/env.sh"
- cd "VirtualBox-$pkgver/out/linux.$BUILD_PLATFORM_ARCH/release/bin"
-
- install -Dm755 vboxshell.py "$pkgdir/usr/lib/virtualbox/vboxshell.py"
- # python sdk
- pushd sdk/installer
- VBOX_INSTALL_PATH="/usr/lib/virtualbox" python2 vboxapisetup.py install --root "$pkgdir"
- popd
- rm -rf sdk/installer
- cp -r sdk "$pkgdir/usr/lib/virtualbox"
- # licence
- install -Dm644 "$srcdir/VirtualBox-$pkgver/COPYING" \
- "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}
-
-package_virtualbox-host-dkms() {
- pkgdesc='VirtualBox Host kernel modules sources'
- depends=('dkms' 'gcc' 'make')
- replaces=('virtualbox-source'
- 'virtualbox-host-source'
- 'virtualbox-host-modules-lts')
- conflicts=('virtualbox-source' 'virtualbox-host-source')
- provides=('VIRTUALBOX-HOST-MODULES')
- optdepends=('linux-headers: build modules against Arch kernel'
- 'linux-lts-headers: build modules against LTS kernel'
- 'linux-zen-headers: build modules against ZEN kernel')
- install=virtualbox-host-dkms.install
-
- install -dm755 "$pkgdir/usr/src"
- source "VirtualBox-$pkgver/env.sh"
- cd "VirtualBox-$pkgver/out/linux.$BUILD_PLATFORM_ARCH/release/bin"
- cp -r src "$pkgdir/usr/src/vboxhost-${pkgver}_OSE"
- # licence
- install -Dm644 "$srcdir/VirtualBox-$pkgver/COPYING" \
- "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
- # module loading
- local _p="$pkgdir/usr/lib/modules-load.d/$pkgname.conf"
- install -Dm644 /dev/null "$_p"
- printf "vboxdrv\nvboxpci\nvboxnetadp\nvboxnetflt\n" > "$_p"
- # starting vbox 5.1, dkms.conf file was dropped
- local _p="$pkgdir/usr/src/vboxhost-${pkgver}_OSE/dkms.conf"
- install -Dm644 "$srcdir/$pkgname.conf" "$_p"
- sed -i "s, at VERSION@,$pkgver," "$_p"
-}
-
-package_virtualbox-guest-dkms() {
- pkgdesc='VirtualBox Guest kernel modules sources'
- depends=('dkms' 'gcc' 'make')
- replaces=('virtualbox-archlinux-source'
- 'virtualbox-guest-source'
- 'virtualbox-guest-modules-lts')
- provides=('VIRTUALBOX-GUEST-MODULES')
- conflicts=('virtualbox-archlinux-source' 'virtualbox-guest-source')
- optdepends=('linux-headers: build modules against Arch kernel'
- 'linux-lts-headers: build modules against LTS kernel'
- 'linux-zen-headers: build modules against ZEN kernel')
- install=virtualbox-guest-dkms.install
-
- install -dm755 "$pkgdir/usr/src"
- source "VirtualBox-$pkgver/env.sh"
- cd "VirtualBox-$pkgver/out/linux.$BUILD_PLATFORM_ARCH/release/bin/additions"
- cp -r src "$pkgdir/usr/src/vboxguest-${pkgver}_OSE"
- # licence
- install -Dm644 "$srcdir/VirtualBox-$pkgver/COPYING" \
- "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
- # module loading
- local _p="$pkgdir/usr/lib/modules-load.d/$pkgname.conf"
- install -Dm644 /dev/null "$_p"
- printf "vboxguest\nvboxsf\nvboxvideo\n" > "$_p"
- # starting vbox 5.1, dkms.conf file was dropped
- local _p="$pkgdir/usr/src/vboxguest-${pkgver}_OSE/dkms.conf"
- install -Dm644 "$srcdir/$pkgname.conf" "$_p"
- sed -i "s, at VERSION@,$pkgver," "$_p"
-}
-
-package_virtualbox-guest-utils() {
- pkgdesc='VirtualBox Guest userspace utilities'
- depends=('glibc' 'pam' 'libx11' 'libxcomposite'
- 'libxdamage' 'libxext' 'libxfixes' 'libxmu' 'libxt' 'xorg-xrandr'
- 'VIRTUALBOX-GUEST-MODULES')
- replaces=('virtualbox-archlinux-additions' 'virtualbox-guest-additions')
- conflicts=('virtualbox-archlinux-additions' 'virtualbox-guest-additions' 'virtualbox-guest-utils-nox')
-
- source "VirtualBox-$pkgver/env.sh"
- pushd "VirtualBox-$pkgver/out/linux.$BUILD_PLATFORM_ARCH/release/bin/additions"
- install -d "$pkgdir/usr/bin"
- install -m755 VBoxClient VBoxControl VBoxService mount.vboxsf "$pkgdir/usr/bin"
- install -m755 -D "$srcdir"/VirtualBox-$pkgver/src/VBox/Additions/x11/Installer/98vboxadd-xclient \
- "$pkgdir"/usr/bin/VBoxClient-all
- install -m644 -D "$srcdir"/VirtualBox-$pkgver/src/VBox/Additions/x11/Installer/vboxclient.desktop \
- "$pkgdir"/etc/xdg/autostart/vboxclient.desktop
- install -d "$pkgdir/usr/lib/xorg/modules/dri"
- install -m755 VBoxOGL*.so "$pkgdir/usr/lib"
- ln -s /usr/lib/VBoxOGL.so "$pkgdir/usr/lib/xorg/modules/dri/vboxvideo_dri.so"
- install -m755 -D pam_vbox.so "$pkgdir/usr/lib/security/pam_vbox.so"
- popd
- # systemd stuff
- install -Dm644 60-vboxguest.rules "$pkgdir/usr/lib/udev/rules.d/60-vboxguest.rules"
- install -Dm644 vboxservice.service "$pkgdir/usr/lib/systemd/system/vboxservice.service"
- install -Dm644 virtualbox-guest-utils.sysusers "$pkgdir/usr/lib/sysusers.d/virtualbox-guest-utils.conf"
- # licence
- install -Dm644 VirtualBox-$pkgver/COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}
-
-package_virtualbox-guest-utils-nox() {
- pkgdesc='VirtualBox Guest userspace utilities without X support'
- depends=('glibc' 'pam' 'VIRTUALBOX-GUEST-MODULES')
- conflicts=('virtualbox-guest-utils')
-
- source "VirtualBox-$pkgver/env.sh"
- pushd "VirtualBox-$pkgver/out/linux.$BUILD_PLATFORM_ARCH/release/bin/additions"
- install -d "$pkgdir/usr/bin"
- install -m755 VBoxControl VBoxService mount.vboxsf "$pkgdir/usr/bin"
- install -m755 -D pam_vbox.so "$pkgdir/usr/lib/security/pam_vbox.so"
- popd
- # systemd stuff
- install -Dm644 60-vboxguest.rules "$pkgdir/usr/lib/udev/rules.d/60-vboxguest.rules"
- install -Dm644 vboxservice-nox.service "$pkgdir/usr/lib/systemd/system/vboxservice.service"
- install -Dm644 virtualbox-guest-utils.sysusers "$pkgdir/usr/lib/sysusers.d/virtualbox-guest-utils.conf"
- # licence
- install -Dm644 "$srcdir/VirtualBox-$pkgver/COPYING" \
- "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}
-
-package_virtualbox-ext-vnc() {
- pkgdesc='VirtualBox VNC extension pack'
- depends=('virtualbox' 'libvncserver')
- optdepends=('tigervnc: vnc client')
- install=virtualbox-ext-vnc.install
-
- source "VirtualBox-$pkgver/env.sh"
- cd "VirtualBox-$pkgver/out/linux.$BUILD_PLATFORM_ARCH/release/packages"
- install -Dm644 VNC-*.vbox-extpack "$pkgdir/usr/share/virtualbox/extensions/VNC-${pkgver}.vbox-extpack"
- # licence
- install -Dm644 "$srcdir/VirtualBox-$pkgver/COPYING" \
- "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}
-
-# vim:set ts=4 sw=4 et:
Copied: virtualbox/repos/community-i686/PKGBUILD (from rev 245542, virtualbox/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2017-07-18 12:18:28 UTC (rev 245543)
@@ -0,0 +1,379 @@
+# $Id$
+# Maintainer: Sébastien "Seblu" Luttringer
+# Contributor: Ionut Biru <ibiru at archlinux.org>
+
+pkgbase=virtualbox
+pkgname=('virtualbox'
+ 'virtualbox-host-dkms'
+ 'virtualbox-guest-dkms'
+ 'virtualbox-sdk'
+ 'virtualbox-guest-utils'
+ 'virtualbox-guest-utils-nox'
+ 'virtualbox-ext-vnc')
+pkgver=5.1.24
+pkgrel=1
+arch=('i686' 'x86_64')
+url='http://virtualbox.org'
+license=('GPL' 'custom')
+makedepends=('alsa-lib'
+ 'bin86'
+ 'cdrkit'
+ 'curl'
+ 'dev86'
+ 'device-mapper'
+ 'glu'
+ 'gsoap'
+ 'iasl'
+ 'jdk7-openjdk'
+ 'libidl2'
+ 'libpulse'
+ 'libstdc++5'
+ 'libvncserver'
+ 'libvpx'
+ 'libxcomposite'
+ 'libxcursor'
+ 'libxinerama'
+ 'libxml2'
+ 'libxmu'
+ 'libxrandr'
+ 'libxslt'
+ 'libxtst'
+ 'linux-headers'
+ 'mesa'
+ 'python2'
+ 'qt5-base'
+ 'qt5-x11extras'
+ 'qt5-tools'
+ 'sdl'
+ 'sdl_ttf'
+ 'sed'
+ 'vde2'
+ 'xalan-c'
+ 'xf86driproto'
+ 'xorg-server-devel')
+makedepends_x86_64=('gcc-multilib' 'lib32-glibc')
+source=("http://download.virtualbox.org/virtualbox/${pkgver}/VirtualBox-${pkgver}.tar.bz2"
+ 'virtualbox-host-dkms.conf'
+ 'virtualbox-guest-dkms.conf'
+ 'virtualbox.sysusers'
+ 'virtualbox-guest-utils.sysusers'
+ '60-vboxdrv.rules'
+ '60-vboxguest.rules'
+ 'LocalConfig.kmk'
+ 'vboxservice.service'
+ 'vboxservice-nox.service'
+ 'vboxweb.service'
+ 'vboxreload'
+ '002-dri-driver-path.patch'
+ '003-ogl-include-path.patch'
+ '005-gsoap-build.patch'
+ '006-rdesktop-vrdp-keymap-path.patch'
+ '007-python2-path.patch'
+ '008-no-vboxvideo.patch'
+ )
+sha256sums=('ee2db169a322bf0db3c3b6d8b84aa39236f36cbf37d0a4c10ab65902a396bb60'
+ 'deb03efa7ad0376aa55a087f2e882afe00935f10b0e7aa853ba9147090d341ec'
+ '113f9b92141b85df01f1e74d22f01d1f1aa81650eb79b89ceefc3cae20afe2e2'
+ '2101ebb58233bbfadf3aa74381f22f7e7e508559d2b46387114bc2d8e308554c'
+ 'da4c49f6ca94e047e196cdbcba2c321199f4760056ea66e0fbc659353e128c9e'
+ '9c5238183019f9ebc7d92a8582cad232f471eab9d3278786225abc1a1c7bf66e'
+ '033c597e0f5285d2ddb0490868e5b6f945f45c7b1b1152a02a9e6fea438b2c95'
+ '0105ce26b79dbe533085423decf042ac0f5e6aa28edb5e6a9bc713cca2ab04c5'
+ '94a808f46909a51b2d0cf2c6e0a6c9dea792034943e6413bf9649a036c921b21'
+ '01dbb921bd57a852919cc78be5b73580a564f28ebab2fe8d6c9b8301265cbfce'
+ 'e6e875ef186578b53106d7f6af48e426cdaf1b4e86834f01696b8ef1c685787f'
+ '2a9d7748dc58f9d091f791da06b733a696943114f7c0d580fa00a0752eb1d2ac'
+ 'ee54fe188e27b6e80e2044ea9ba1874db2ca2c026ad04f393be1be69c18d440d'
+ '188014070bce4f6fb9b2535bcd64d066119e182e848c521407ea891ab41a995b'
+ '7d2da8fe10a90f76bbfc80ad1f55df4414f118cd10e10abfb76070326abebd46'
+ '5d5af2de5b1f1c61ec793503350f2440661cf8fd640f11b8a86f10bce499c0dc'
+ '6bdb017459532537199c399eefd3d84d8dc7f1786e79997caebd3b6eb5c75d9f'
+ '8b7f241107863f82a5b0ae336aead0b3366a40103ff72dbebf33f54b512a0cbc'
+ )
+
+prepare() {
+ cd "VirtualBox-$pkgver"
+
+ # apply patch from the source array (should be a pacman feature)
+ local filename
+ for filename in "${source[@]}"; do
+ if [[ "$filename" =~ \.patch$ ]]; then
+ msg2 "Applying patch ${filename##*/}"
+ patch -p1 -N -i "$srcdir/${filename##*/}"
+ fi
+ done
+
+ msg2 'Applying local config'
+ cp "$srcdir/LocalConfig.kmk" .
+
+ msg2 'Use our CFLAGS'
+ echo "VBOX_GCC_OPT=$CXXFLAGS" >> LocalConfig.kmk
+
+ msg2 'Remove gcc version censorship'
+ sed -i 's/^check_gcc$/#check_gcc/' configure
+}
+
+build() {
+ cd "VirtualBox-$pkgver"
+
+ msg2 'Build virtualbox'
+ ./configure \
+ --disable-docs \
+ --enable-webservice \
+ --enable-vde \
+ --enable-vnc \
+ --disable-kmods \
+ --with-makeself=/usr/bin/echo
+ # fake makeself binary to compile without nofatal
+ # makeself is used by linux installer. we don't need it.
+ source ./env.sh
+ kmk
+
+ msg2 'Build rdesktop-vrdp'
+ kmk -C src/VBox/RDP/client-1.8.3
+
+ msg2 'Build VNC extension pack'
+ kmk -C src/VBox/ExtPacks/VNC packing
+}
+
+package_virtualbox() {
+ pkgdesc='Powerful x86 virtualization for enterprise as well as home use'
+ depends=('glibc' 'openssl' 'curl' 'gcc-libs' 'libpng' 'python2' 'sdl'
+ 'libvpx' 'libxml2' 'procps-ng' 'shared-mime-info' 'zlib'
+ 'libxcursor' 'libxinerama' 'libx11' 'libxext' 'libxmu' 'libxt'
+ 'qt5-base' 'qt5-x11extras' 'VIRTUALBOX-HOST-MODULES')
+ optdepends=('vde2: Virtual Distributed Ethernet support'
+ 'net-tools: Host-only or bridged networking support'
+ 'virtualbox-guest-iso: Guest Additions CD image'
+ 'virtualbox-ext-vnc: VNC server support'
+ 'virtualbox-sdk: Developer kit')
+ backup=('etc/vbox/vbox.cfg')
+ replaces=('virtualbox-ose')
+ conflicts=('virtualbox-ose')
+ install=virtualbox.install
+
+ source "VirtualBox-$pkgver/env.sh"
+ cd "VirtualBox-$pkgver/out/linux.$BUILD_PLATFORM_ARCH/release/bin"
+
+ # binaries
+ install -dm755 "$pkgdir/usr/bin"
+ install -m755 VBox.sh "$pkgdir/usr/bin/VBox"
+ for i in VBoxHeadless VBoxManage VBoxSDL VirtualBox vboxwebsrv VBoxBalloonCtrl; do
+ ln -sf VBox "$pkgdir/usr/bin/$i"
+ ln -sf VBox "$pkgdir/usr/bin/${i,,}"
+ done
+ install -m755 VBoxTunctl "$pkgdir/usr/bin"
+ install -m755 rdesktop-vrdp "$pkgdir/usr/bin"
+
+ # libraries
+ install -dm755 "$pkgdir/usr/lib/virtualbox"
+ install -m755 *.so "$pkgdir/usr/lib/virtualbox"
+ install -m644 *.rc *.r0 VBoxEFI*.fd "$pkgdir/usr/lib/virtualbox"
+ ## setuid root binaries
+ install -m4755 VBoxSDL VirtualBox VBoxHeadless VBoxNetDHCP VBoxNetAdpCtl VBoxNetNAT -t "$pkgdir/usr/lib/virtualbox"
+ ## other binaries
+ install -m755 VBoxManage VBoxSVC VBoxExtPackHelperApp VBoxXPCOMIPCD VBoxTestOGL VBoxBalloonCtrl vboxwebsrv webtest -t "$pkgdir/usr/lib/virtualbox"
+
+ # components
+ install -dm755 "$pkgdir/usr/lib/virtualbox/components"
+ install -m755 components/* -t "$pkgdir/usr/lib/virtualbox/components"
+
+ # extensions packs
+ ## as virtualbox install itself stuff in this directory, move it to /var and
+ ## trick it with a symlink
+ ## FIXME: trick is disabled for now
+ #install -dm755 "$pkgdir/var/lib/virtualbox/extensions"
+ #install -dm755 "$pkgdir/usr/share/virtualbox/extensions"
+ #ln -s ../../../var/lib/virtualbox/extensions "$pkgdir/usr/lib/virtualbox/ExtensionPacks"
+ install -dm755 "$pkgdir/usr/lib/virtualbox/ExtensionPacks"
+
+ # languages
+ install -dm755 "$pkgdir/usr/share/virtualbox/nls"
+ install -m755 nls/*.qm -t "$pkgdir/usr/share/virtualbox/nls"
+
+ # rdesktop keymaps
+ install -dm755 "$pkgdir/usr/share/virtualbox/rdesktop-vrdp-keymaps"
+ install -m644 rdesktop-vrdp-keymaps/* "$pkgdir/usr/share/virtualbox/rdesktop-vrdp-keymaps"
+
+ # useless scripts
+ install -m755 VBoxCreateUSBNode.sh VBoxSysInfo.sh -t "$pkgdir/usr/share/virtualbox"
+
+ # icons
+ install -Dm644 VBox.png "$pkgdir/usr/share/pixmaps/VBox.png"
+
+ pushd icons >/dev/null
+ for i in *; do
+ install -d "$pkgdir/usr/share/icons/hicolor/$i/mimetypes"
+ cp $i/* "$pkgdir/usr/share/icons/hicolor/$i/mimetypes"
+ done
+ popd >/dev/null
+
+ #desktop
+ install -Dm644 virtualbox.desktop "$pkgdir/usr/share/applications/virtualbox.desktop"
+ install -Dm644 virtualbox.xml "$pkgdir/usr/share/mime/packages/virtualbox.xml"
+
+ #install configuration
+ install -dm755 "$pkgdir/etc/vbox"
+ echo 'INSTALL_DIR=/usr/lib/virtualbox' > "$pkgdir/etc/vbox/vbox.cfg"
+
+ # back to srcdir
+ cd "$srcdir"
+
+ #licence
+ install -Dm644 VirtualBox-$pkgver/COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+
+ # install systemd stuff
+ install -Dm644 60-vboxdrv.rules "$pkgdir/usr/lib/udev/rules.d/60-vboxdrv.rules"
+ install -Dm644 vboxweb.service "$pkgdir/usr/lib/systemd/system/vboxweb.service"
+ install -Dm644 virtualbox.sysusers "$pkgdir/usr/lib/sysusers.d/virtualbox.conf"
+
+ # install module reloading shortcut (with a symlink with default helper)
+ install -Dm755 vboxreload "$pkgdir/usr/bin"
+ ln -s vboxreload "$pkgdir/usr/bin/rcvboxdrv"
+}
+
+package_virtualbox-sdk() {
+ pkgdesc='VirtualBox Software Developer Kit (SDK)'
+ depends=('python2')
+
+ install -dm755 "$pkgdir/usr/lib/virtualbox"
+
+ source "VirtualBox-$pkgver/env.sh"
+ cd "VirtualBox-$pkgver/out/linux.$BUILD_PLATFORM_ARCH/release/bin"
+
+ install -Dm755 vboxshell.py "$pkgdir/usr/lib/virtualbox/vboxshell.py"
+ # python sdk
+ pushd sdk/installer
+ VBOX_INSTALL_PATH="/usr/lib/virtualbox" python2 vboxapisetup.py install --root "$pkgdir"
+ popd
+ rm -rf sdk/installer
+ cp -r sdk "$pkgdir/usr/lib/virtualbox"
+ # licence
+ install -Dm644 "$srcdir/VirtualBox-$pkgver/COPYING" \
+ "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+package_virtualbox-host-dkms() {
+ pkgdesc='VirtualBox Host kernel modules sources'
+ depends=('dkms' 'gcc' 'make')
+ replaces=('virtualbox-source'
+ 'virtualbox-host-source'
+ 'virtualbox-host-modules-lts')
+ conflicts=('virtualbox-source' 'virtualbox-host-source')
+ provides=('VIRTUALBOX-HOST-MODULES')
+ optdepends=('linux-headers: build modules against Arch kernel'
+ 'linux-lts-headers: build modules against LTS kernel'
+ 'linux-zen-headers: build modules against ZEN kernel')
+ install=virtualbox-host-dkms.install
+
+ install -dm755 "$pkgdir/usr/src"
+ source "VirtualBox-$pkgver/env.sh"
+ cd "VirtualBox-$pkgver/out/linux.$BUILD_PLATFORM_ARCH/release/bin"
+ cp -r src "$pkgdir/usr/src/vboxhost-${pkgver}_OSE"
+ # licence
+ install -Dm644 "$srcdir/VirtualBox-$pkgver/COPYING" \
+ "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+ # module loading
+ local _p="$pkgdir/usr/lib/modules-load.d/$pkgname.conf"
+ install -Dm644 /dev/null "$_p"
+ printf "vboxdrv\nvboxpci\nvboxnetadp\nvboxnetflt\n" > "$_p"
+ # starting vbox 5.1, dkms.conf file was dropped
+ local _p="$pkgdir/usr/src/vboxhost-${pkgver}_OSE/dkms.conf"
+ install -Dm644 "$srcdir/$pkgname.conf" "$_p"
+ sed -i "s, at VERSION@,$pkgver," "$_p"
+}
+
+package_virtualbox-guest-dkms() {
+ pkgdesc='VirtualBox Guest kernel modules sources'
+ depends=('dkms' 'gcc' 'make')
+ replaces=('virtualbox-archlinux-source'
+ 'virtualbox-guest-source'
+ 'virtualbox-guest-modules-lts')
+ provides=('VIRTUALBOX-GUEST-MODULES')
+ conflicts=('virtualbox-archlinux-source' 'virtualbox-guest-source')
+ optdepends=('linux-headers: build modules against Arch kernel'
+ 'linux-lts-headers: build modules against LTS kernel'
+ 'linux-zen-headers: build modules against ZEN kernel')
+ install=virtualbox-guest-dkms.install
+
+ install -dm755 "$pkgdir/usr/src"
+ source "VirtualBox-$pkgver/env.sh"
+ cd "VirtualBox-$pkgver/out/linux.$BUILD_PLATFORM_ARCH/release/bin/additions"
+ cp -r src "$pkgdir/usr/src/vboxguest-${pkgver}_OSE"
+ # licence
+ install -Dm644 "$srcdir/VirtualBox-$pkgver/COPYING" \
+ "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+ # module loading
+ local _p="$pkgdir/usr/lib/modules-load.d/$pkgname.conf"
+ install -Dm644 /dev/null "$_p"
+ printf "vboxguest\nvboxsf\nvboxvideo\n" > "$_p"
+ # starting vbox 5.1, dkms.conf file was dropped
+ local _p="$pkgdir/usr/src/vboxguest-${pkgver}_OSE/dkms.conf"
+ install -Dm644 "$srcdir/$pkgname.conf" "$_p"
+ sed -i "s, at VERSION@,$pkgver," "$_p"
+}
+
+package_virtualbox-guest-utils() {
+ pkgdesc='VirtualBox Guest userspace utilities'
+ depends=('glibc' 'pam' 'libx11' 'libxcomposite'
+ 'libxdamage' 'libxext' 'libxfixes' 'libxmu' 'libxt' 'xorg-xrandr'
+ 'VIRTUALBOX-GUEST-MODULES')
+ replaces=('virtualbox-archlinux-additions' 'virtualbox-guest-additions')
+ conflicts=('virtualbox-archlinux-additions' 'virtualbox-guest-additions' 'virtualbox-guest-utils-nox')
+
+ source "VirtualBox-$pkgver/env.sh"
+ pushd "VirtualBox-$pkgver/out/linux.$BUILD_PLATFORM_ARCH/release/bin/additions"
+ install -d "$pkgdir/usr/bin"
+ install -m755 VBoxClient VBoxControl VBoxService mount.vboxsf "$pkgdir/usr/bin"
+ install -m755 -D "$srcdir"/VirtualBox-$pkgver/src/VBox/Additions/x11/Installer/98vboxadd-xclient \
+ "$pkgdir"/usr/bin/VBoxClient-all
+ install -m644 -D "$srcdir"/VirtualBox-$pkgver/src/VBox/Additions/x11/Installer/vboxclient.desktop \
+ "$pkgdir"/etc/xdg/autostart/vboxclient.desktop
+ install -d "$pkgdir/usr/lib/xorg/modules/dri"
+ install -m755 VBoxOGL*.so "$pkgdir/usr/lib"
+ ln -s /usr/lib/VBoxOGL.so "$pkgdir/usr/lib/xorg/modules/dri/vboxvideo_dri.so"
+ install -m755 -D pam_vbox.so "$pkgdir/usr/lib/security/pam_vbox.so"
+ popd
+ # systemd stuff
+ install -Dm644 60-vboxguest.rules "$pkgdir/usr/lib/udev/rules.d/60-vboxguest.rules"
+ install -Dm644 vboxservice.service "$pkgdir/usr/lib/systemd/system/vboxservice.service"
+ install -Dm644 virtualbox-guest-utils.sysusers "$pkgdir/usr/lib/sysusers.d/virtualbox-guest-utils.conf"
+ # licence
+ install -Dm644 VirtualBox-$pkgver/COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+package_virtualbox-guest-utils-nox() {
+ pkgdesc='VirtualBox Guest userspace utilities without X support'
+ depends=('glibc' 'pam' 'VIRTUALBOX-GUEST-MODULES')
+ conflicts=('virtualbox-guest-utils')
+
+ source "VirtualBox-$pkgver/env.sh"
+ pushd "VirtualBox-$pkgver/out/linux.$BUILD_PLATFORM_ARCH/release/bin/additions"
+ install -d "$pkgdir/usr/bin"
+ install -m755 VBoxControl VBoxService mount.vboxsf "$pkgdir/usr/bin"
+ install -m755 -D pam_vbox.so "$pkgdir/usr/lib/security/pam_vbox.so"
+ popd
+ # systemd stuff
+ install -Dm644 60-vboxguest.rules "$pkgdir/usr/lib/udev/rules.d/60-vboxguest.rules"
+ install -Dm644 vboxservice-nox.service "$pkgdir/usr/lib/systemd/system/vboxservice.service"
+ install -Dm644 virtualbox-guest-utils.sysusers "$pkgdir/usr/lib/sysusers.d/virtualbox-guest-utils.conf"
+ # licence
+ install -Dm644 "$srcdir/VirtualBox-$pkgver/COPYING" \
+ "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+package_virtualbox-ext-vnc() {
+ pkgdesc='VirtualBox VNC extension pack'
+ depends=('virtualbox' 'libvncserver')
+ optdepends=('tigervnc: vnc client')
+ install=virtualbox-ext-vnc.install
+
+ source "VirtualBox-$pkgver/env.sh"
+ cd "VirtualBox-$pkgver/out/linux.$BUILD_PLATFORM_ARCH/release/packages"
+ install -Dm644 VNC-*.vbox-extpack "$pkgdir/usr/share/virtualbox/extensions/VNC-${pkgver}.vbox-extpack"
+ # licence
+ install -Dm644 "$srcdir/VirtualBox-$pkgver/COPYING" \
+ "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+# vim:set ts=4 sw=4 et:
Deleted: community-i686/build.sh
===================================================================
--- community-i686/build.sh 2017-07-18 12:18:14 UTC (rev 245542)
+++ community-i686/build.sh 2017-07-18 12:18:28 UTC (rev 245543)
@@ -1,3 +0,0 @@
-#!/bin/bash
-
-multilib-build "$@" && extra-i686-build "$@"
Copied: virtualbox/repos/community-i686/build.sh (from rev 245542, virtualbox/trunk/build.sh)
===================================================================
--- community-i686/build.sh (rev 0)
+++ community-i686/build.sh 2017-07-18 12:18:28 UTC (rev 245543)
@@ -0,0 +1,3 @@
+#!/bin/bash
+
+multilib-build "$@" && extra-i686-build "$@"
Deleted: community-i686/vboxreload
===================================================================
--- community-i686/vboxreload 2017-07-18 12:18:14 UTC (rev 245542)
+++ community-i686/vboxreload 2017-07-18 12:18:28 UTC (rev 245543)
@@ -1,37 +0,0 @@
-#!/bin/bash
-
-# vboxreload: shortcut to reload virtualbox host modules
-#
-# Copyright © 2016 Sébastien Luttringer
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; either version 2
-# of the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-
-(( UID > 0 )) && { echo 'You must be root' >&2; exit 1; }
-
-modules=(vboxnetadp vboxnetflt vboxpci vboxdrv)
-
-echo -n 'Unloading modules: '
-for _m in "${modules[@]}"; do
- lsmod|grep -q "$_m" && rmmod "$_m" && echo -n "$_m "
-done
-echo
-
-echo -n 'Loading modules: '
-for _m in "${modules[@]}"; do
- modprobe "$_m" && echo -n "$_m "
-done
-echo
-
-# vim:set ts=2 sw=2 ai et:
Copied: virtualbox/repos/community-i686/vboxreload (from rev 245542, virtualbox/trunk/vboxreload)
===================================================================
--- community-i686/vboxreload (rev 0)
+++ community-i686/vboxreload 2017-07-18 12:18:28 UTC (rev 245543)
@@ -0,0 +1,37 @@
+#!/bin/bash
+
+# vboxreload: shortcut to reload virtualbox host modules
+#
+# Copyright © 2016 Sébastien Luttringer
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License
+# as published by the Free Software Foundation; either version 2
+# of the License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+
+(( UID > 0 )) && { echo 'You must be root' >&2; exit 1; }
+
+modules=(vboxnetadp vboxnetflt vboxpci vboxdrv)
+
+echo -n 'Unloading modules: '
+for _m in "${modules[@]}"; do
+ lsmod|grep -q "$_m" && rmmod "$_m" && echo -n "$_m "
+done
+echo
+
+echo -n 'Loading modules: '
+for _m in "${modules[@]}"; do
+ modprobe "$_m" && echo -n "$_m "
+done
+echo
+
+# vim:set ts=2 sw=2 ai et:
Deleted: community-i686/vboxservice-nox.service
===================================================================
--- community-i686/vboxservice-nox.service 2017-07-18 12:18:14 UTC (rev 245542)
+++ community-i686/vboxservice-nox.service 2017-07-18 12:18:28 UTC (rev 245543)
@@ -1,11 +0,0 @@
-[Unit]
-Description=VirtualBox Guest Service
-ConditionVirtualization=oracle
-
-[Service]
-ExecStartPre=-/usr/bin/modprobe vboxguest
-ExecStartPre=-/usr/bin/modprobe vboxsf
-ExecStart=/usr/bin/VBoxService -f
-
-[Install]
-WantedBy=multi-user.target
Copied: virtualbox/repos/community-i686/vboxservice-nox.service (from rev 245542, virtualbox/trunk/vboxservice-nox.service)
===================================================================
--- community-i686/vboxservice-nox.service (rev 0)
+++ community-i686/vboxservice-nox.service 2017-07-18 12:18:28 UTC (rev 245543)
@@ -0,0 +1,11 @@
+[Unit]
+Description=VirtualBox Guest Service
+ConditionVirtualization=oracle
+
+[Service]
+ExecStartPre=-/usr/bin/modprobe vboxguest
+ExecStartPre=-/usr/bin/modprobe vboxsf
+ExecStart=/usr/bin/VBoxService -f
+
+[Install]
+WantedBy=multi-user.target
Deleted: community-i686/vboxservice.service
===================================================================
--- community-i686/vboxservice.service 2017-07-18 12:18:14 UTC (rev 245542)
+++ community-i686/vboxservice.service 2017-07-18 12:18:28 UTC (rev 245543)
@@ -1,12 +0,0 @@
-[Unit]
-Description=VirtualBox Guest Service
-ConditionVirtualization=oracle
-
-[Service]
-ExecStartPre=-/usr/bin/modprobe vboxguest
-ExecStartPre=-/usr/bin/modprobe vboxvideo
-ExecStartPre=-/usr/bin/modprobe vboxsf
-ExecStart=/usr/bin/VBoxService -f
-
-[Install]
-WantedBy=multi-user.target
Copied: virtualbox/repos/community-i686/vboxservice.service (from rev 245542, virtualbox/trunk/vboxservice.service)
===================================================================
--- community-i686/vboxservice.service (rev 0)
+++ community-i686/vboxservice.service 2017-07-18 12:18:28 UTC (rev 245543)
@@ -0,0 +1,12 @@
+[Unit]
+Description=VirtualBox Guest Service
+ConditionVirtualization=oracle
+
+[Service]
+ExecStartPre=-/usr/bin/modprobe vboxguest
+ExecStartPre=-/usr/bin/modprobe vboxvideo
+ExecStartPre=-/usr/bin/modprobe vboxsf
+ExecStart=/usr/bin/VBoxService -f
+
+[Install]
+WantedBy=multi-user.target
Deleted: community-i686/vboxweb.service
===================================================================
--- community-i686/vboxweb.service 2017-07-18 12:18:14 UTC (rev 245542)
+++ community-i686/vboxweb.service 2017-07-18 12:18:28 UTC (rev 245543)
@@ -1,11 +0,0 @@
-[Unit]
-Description=VirtualBox Web Service
-After=network.target
-
-[Service]
-Type=forking
-PIDFile=/run/vboxweb.pid
-ExecStart=/usr/bin/vboxwebsrv --pidfile /run/vboxweb.pid --background
-
-[Install]
-WantedBy=multi-user.target
Copied: virtualbox/repos/community-i686/vboxweb.service (from rev 245542, virtualbox/trunk/vboxweb.service)
===================================================================
--- community-i686/vboxweb.service (rev 0)
+++ community-i686/vboxweb.service 2017-07-18 12:18:28 UTC (rev 245543)
@@ -0,0 +1,11 @@
+[Unit]
+Description=VirtualBox Web Service
+After=network.target
+
+[Service]
+Type=forking
+PIDFile=/run/vboxweb.pid
+ExecStart=/usr/bin/vboxwebsrv --pidfile /run/vboxweb.pid --background
+
+[Install]
+WantedBy=multi-user.target
Deleted: community-i686/virtualbox-ext-vnc.install
===================================================================
--- community-i686/virtualbox-ext-vnc.install 2017-07-18 12:18:14 UTC (rev 245542)
+++ community-i686/virtualbox-ext-vnc.install 2017-07-18 12:18:28 UTC (rev 245543)
@@ -1,27 +0,0 @@
-#!/bin/bash
-
-# arg 1: the new package version
-post_install() {
- EXTPACK="/usr/share/virtualbox/extensions/VNC-${1%%-*}.vbox-extpack"
- ACCEPT="$(bsdtar --to-stdout -xf "${EXTPACK}" ./ExtPack-license.txt | sha256sum | head --bytes=64)"
- VBoxManage extpack install "${EXTPACK}" --accept-license="${ACCEPT}" >/dev/null
-}
-
-# arg 1: the new package version
-# arg 2: the old package version
-pre_upgrade() {
- pre_remove "$2"
-}
-
-# arg 1: the new package version
-# arg 2: the old package version
-post_upgrade() {
- post_install "$1"
-}
-
-# arg 1: the old package version
-pre_remove() {
- VBoxManage extpack uninstall 'VNC' >/dev/null
-}
-
-# vim:set ts=2 sw=2 ft=sh et:
Copied: virtualbox/repos/community-i686/virtualbox-ext-vnc.install (from rev 245542, virtualbox/trunk/virtualbox-ext-vnc.install)
===================================================================
--- community-i686/virtualbox-ext-vnc.install (rev 0)
+++ community-i686/virtualbox-ext-vnc.install 2017-07-18 12:18:28 UTC (rev 245543)
@@ -0,0 +1,27 @@
+#!/bin/bash
+
+# arg 1: the new package version
+post_install() {
+ EXTPACK="/usr/share/virtualbox/extensions/VNC-${1%%-*}.vbox-extpack"
+ ACCEPT="$(bsdtar --to-stdout -xf "${EXTPACK}" ./ExtPack-license.txt | sha256sum | head --bytes=64)"
+ VBoxManage extpack install "${EXTPACK}" --accept-license="${ACCEPT}" >/dev/null
+}
+
+# arg 1: the new package version
+# arg 2: the old package version
+pre_upgrade() {
+ pre_remove "$2"
+}
+
+# arg 1: the new package version
+# arg 2: the old package version
+post_upgrade() {
+ post_install "$1"
+}
+
+# arg 1: the old package version
+pre_remove() {
+ VBoxManage extpack uninstall 'VNC' >/dev/null
+}
+
+# vim:set ts=2 sw=2 ft=sh et:
Deleted: community-i686/virtualbox-guest-dkms.conf
===================================================================
--- community-i686/virtualbox-guest-dkms.conf 2017-07-18 12:18:14 UTC (rev 245542)
+++ community-i686/virtualbox-guest-dkms.conf 2017-07-18 12:18:28 UTC (rev 245543)
@@ -1,31 +0,0 @@
-## @file
-# Linux DKMS config script for the VirtualBox guest kernel modules
-#
-
-#
-# Copyright (C) 2006-2015 Oracle Corporation
-#
-# This file is part of VirtualBox Open Source Edition (OSE), as
-# available from http://www.virtualbox.org. This file is free software;
-# you can redistribute it and/or modify it under the terms of the GNU
-# General Public License (GPL) as published by the Free Software
-# Foundation, in version 2 as it comes in the "COPYING" file of the
-# VirtualBox OSE distribution. VirtualBox OSE is distributed in the
-# hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
-#
-
-PACKAGE_NAME="vboxguest"
-PACKAGE_VERSION=@VERSION at _OSE
-AUTOINSTALL=yes
-
-BUILT_MODULE_NAME[0]="vboxguest"
-BUILT_MODULE_LOCATION[0]="vboxguest"
-DEST_MODULE_LOCATION[0]="/kernel/misc"
-
-BUILT_MODULE_NAME[1]="vboxsf"
-BUILT_MODULE_LOCATION[1]="vboxsf"
-DEST_MODULE_LOCATION[1]="/kernel/misc"
-
-BUILT_MODULE_NAME[2]="vboxvideo"
-BUILT_MODULE_LOCATION[2]="vboxvideo"
-DEST_MODULE_LOCATION[2]="/kernel/misc"
Copied: virtualbox/repos/community-i686/virtualbox-guest-dkms.conf (from rev 245542, virtualbox/trunk/virtualbox-guest-dkms.conf)
===================================================================
--- community-i686/virtualbox-guest-dkms.conf (rev 0)
+++ community-i686/virtualbox-guest-dkms.conf 2017-07-18 12:18:28 UTC (rev 245543)
@@ -0,0 +1,31 @@
+## @file
+# Linux DKMS config script for the VirtualBox guest kernel modules
+#
+
+#
+# Copyright (C) 2006-2015 Oracle Corporation
+#
+# This file is part of VirtualBox Open Source Edition (OSE), as
+# available from http://www.virtualbox.org. This file is free software;
+# you can redistribute it and/or modify it under the terms of the GNU
+# General Public License (GPL) as published by the Free Software
+# Foundation, in version 2 as it comes in the "COPYING" file of the
+# VirtualBox OSE distribution. VirtualBox OSE is distributed in the
+# hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
+#
+
+PACKAGE_NAME="vboxguest"
+PACKAGE_VERSION=@VERSION at _OSE
+AUTOINSTALL=yes
+
+BUILT_MODULE_NAME[0]="vboxguest"
+BUILT_MODULE_LOCATION[0]="vboxguest"
+DEST_MODULE_LOCATION[0]="/kernel/misc"
+
+BUILT_MODULE_NAME[1]="vboxsf"
+BUILT_MODULE_LOCATION[1]="vboxsf"
+DEST_MODULE_LOCATION[1]="/kernel/misc"
+
+BUILT_MODULE_NAME[2]="vboxvideo"
+BUILT_MODULE_LOCATION[2]="vboxvideo"
+DEST_MODULE_LOCATION[2]="/kernel/misc"
Deleted: community-i686/virtualbox-guest-dkms.install
===================================================================
--- community-i686/virtualbox-guest-dkms.install 2017-07-18 12:18:14 UTC (rev 245542)
+++ community-i686/virtualbox-guest-dkms.install 2017-07-18 12:18:28 UTC (rev 245543)
@@ -1,12 +0,0 @@
-#!/bin/bash
-
-# arg 1: the new package version
-# arg 2: the old package version
-post_upgrade() {
- if (( $(vercmp $2 5.0.16-3) < 0 )); then
- echo '==> Since version 5.0.16-2 kernel modules are loaded at boot by systemd-modules-load.'
- echo '==> Read modules-load.d man page to disable them.'
- fi
-}
-
-# vim:set ts=2 sw=2 ft=sh et:
Copied: virtualbox/repos/community-i686/virtualbox-guest-dkms.install (from rev 245542, virtualbox/trunk/virtualbox-guest-dkms.install)
===================================================================
--- community-i686/virtualbox-guest-dkms.install (rev 0)
+++ community-i686/virtualbox-guest-dkms.install 2017-07-18 12:18:28 UTC (rev 245543)
@@ -0,0 +1,12 @@
+#!/bin/bash
+
+# arg 1: the new package version
+# arg 2: the old package version
+post_upgrade() {
+ if (( $(vercmp $2 5.0.16-3) < 0 )); then
+ echo '==> Since version 5.0.16-2 kernel modules are loaded at boot by systemd-modules-load.'
+ echo '==> Read modules-load.d man page to disable them.'
+ fi
+}
+
+# vim:set ts=2 sw=2 ft=sh et:
Deleted: community-i686/virtualbox-guest-utils.sysusers
===================================================================
--- community-i686/virtualbox-guest-utils.sysusers 2017-07-18 12:18:14 UTC (rev 245542)
+++ community-i686/virtualbox-guest-utils.sysusers 2017-07-18 12:18:28 UTC (rev 245543)
@@ -1 +0,0 @@
-g vboxsf 109 -
Copied: virtualbox/repos/community-i686/virtualbox-guest-utils.sysusers (from rev 245542, virtualbox/trunk/virtualbox-guest-utils.sysusers)
===================================================================
--- community-i686/virtualbox-guest-utils.sysusers (rev 0)
+++ community-i686/virtualbox-guest-utils.sysusers 2017-07-18 12:18:28 UTC (rev 245543)
@@ -0,0 +1 @@
+g vboxsf 109 -
Deleted: community-i686/virtualbox-host-dkms.conf
===================================================================
--- community-i686/virtualbox-host-dkms.conf 2017-07-18 12:18:14 UTC (rev 245542)
+++ community-i686/virtualbox-host-dkms.conf 2017-07-18 12:18:28 UTC (rev 245543)
@@ -1,35 +0,0 @@
-## @file
-# Linux DKMS config script for the VirtualBox guest kernel modules
-#
-
-#
-# Copyright (C) 2006-2015 Oracle Corporation
-#
-# This file is part of VirtualBox Open Source Edition (OSE), as
-# available from http://www.virtualbox.org. This file is free software;
-# you can redistribute it and/or modify it under the terms of the GNU
-# General Public License (GPL) as published by the Free Software
-# Foundation, in version 2 as it comes in the "COPYING" file of the
-# VirtualBox OSE distribution. VirtualBox OSE is distributed in the
-# hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
-#
-
-PACKAGE_NAME="vboxhost"
-PACKAGE_VERSION=@VERSION at _OSE
-AUTOINSTALL=yes
-
-BUILT_MODULE_NAME[0]="vboxdrv"
-BUILT_MODULE_LOCATION[0]="vboxdrv"
-DEST_MODULE_LOCATION[0]="/kernel/misc"
-
-BUILT_MODULE_NAME[1]="vboxnetflt"
-BUILT_MODULE_LOCATION[1]="vboxnetflt"
-DEST_MODULE_LOCATION[1]="/kernel/misc"
-
-BUILT_MODULE_NAME[2]="vboxnetadp"
-BUILT_MODULE_LOCATION[2]="vboxnetadp"
-DEST_MODULE_LOCATION[2]="/kernel/misc"
-
-BUILT_MODULE_NAME[3]="vboxpci"
-BUILT_MODULE_LOCATION[3]="vboxpci"
-DEST_MODULE_LOCATION[3]="/kernel/misc"
Copied: virtualbox/repos/community-i686/virtualbox-host-dkms.conf (from rev 245542, virtualbox/trunk/virtualbox-host-dkms.conf)
===================================================================
--- community-i686/virtualbox-host-dkms.conf (rev 0)
+++ community-i686/virtualbox-host-dkms.conf 2017-07-18 12:18:28 UTC (rev 245543)
@@ -0,0 +1,35 @@
+## @file
+# Linux DKMS config script for the VirtualBox guest kernel modules
+#
+
+#
+# Copyright (C) 2006-2015 Oracle Corporation
+#
+# This file is part of VirtualBox Open Source Edition (OSE), as
+# available from http://www.virtualbox.org. This file is free software;
+# you can redistribute it and/or modify it under the terms of the GNU
+# General Public License (GPL) as published by the Free Software
+# Foundation, in version 2 as it comes in the "COPYING" file of the
+# VirtualBox OSE distribution. VirtualBox OSE is distributed in the
+# hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
+#
+
+PACKAGE_NAME="vboxhost"
+PACKAGE_VERSION=@VERSION at _OSE
+AUTOINSTALL=yes
+
+BUILT_MODULE_NAME[0]="vboxdrv"
+BUILT_MODULE_LOCATION[0]="vboxdrv"
+DEST_MODULE_LOCATION[0]="/kernel/misc"
+
+BUILT_MODULE_NAME[1]="vboxnetflt"
+BUILT_MODULE_LOCATION[1]="vboxnetflt"
+DEST_MODULE_LOCATION[1]="/kernel/misc"
+
+BUILT_MODULE_NAME[2]="vboxnetadp"
+BUILT_MODULE_LOCATION[2]="vboxnetadp"
+DEST_MODULE_LOCATION[2]="/kernel/misc"
+
+BUILT_MODULE_NAME[3]="vboxpci"
+BUILT_MODULE_LOCATION[3]="vboxpci"
+DEST_MODULE_LOCATION[3]="/kernel/misc"
Deleted: community-i686/virtualbox-host-dkms.install
===================================================================
--- community-i686/virtualbox-host-dkms.install 2017-07-18 12:18:14 UTC (rev 245542)
+++ community-i686/virtualbox-host-dkms.install 2017-07-18 12:18:28 UTC (rev 245543)
@@ -1,12 +0,0 @@
-#!/bin/bash
-
-# arg 1: the new package version
-# arg 2: the old package version
-post_upgrade() {
- if (( $(vercmp $2 5.0.16-3) < 0 )); then
- echo '==> Since version 5.0.16-2 kernel modules are loaded at boot by systemd-modules-load.'
- echo '==> Read modules-load.d man page to disable them.'
- fi
-}
-
-# vim:set ts=2 sw=2 ft=sh et:
Copied: virtualbox/repos/community-i686/virtualbox-host-dkms.install (from rev 245542, virtualbox/trunk/virtualbox-host-dkms.install)
===================================================================
--- community-i686/virtualbox-host-dkms.install (rev 0)
+++ community-i686/virtualbox-host-dkms.install 2017-07-18 12:18:28 UTC (rev 245543)
@@ -0,0 +1,12 @@
+#!/bin/bash
+
+# arg 1: the new package version
+# arg 2: the old package version
+post_upgrade() {
+ if (( $(vercmp $2 5.0.16-3) < 0 )); then
+ echo '==> Since version 5.0.16-2 kernel modules are loaded at boot by systemd-modules-load.'
+ echo '==> Read modules-load.d man page to disable them.'
+ fi
+}
+
+# vim:set ts=2 sw=2 ft=sh et:
Deleted: community-i686/virtualbox.install
===================================================================
--- community-i686/virtualbox.install 2017-07-18 12:18:14 UTC (rev 245542)
+++ community-i686/virtualbox.install 2017-07-18 12:18:28 UTC (rev 245543)
@@ -1,12 +0,0 @@
-#!/bin/bash
-
-# arg 1: the new package version
-# arg 2: the old package version
-post_upgrade() {
- if (( $(vercmp $2 5.0.16-1) < 0 )); then
- echo '==> Since version 5.0.14-2 kernel modules are provided via dkms'
- echo '==> Check you have the headers matching your kernel installed'
- fi
-}
-
-# vim:set ts=2 sw=2 ft=sh et:
Copied: virtualbox/repos/community-i686/virtualbox.install (from rev 245542, virtualbox/trunk/virtualbox.install)
===================================================================
--- community-i686/virtualbox.install (rev 0)
+++ community-i686/virtualbox.install 2017-07-18 12:18:28 UTC (rev 245543)
@@ -0,0 +1,12 @@
+#!/bin/bash
+
+# arg 1: the new package version
+# arg 2: the old package version
+post_upgrade() {
+ if (( $(vercmp $2 5.0.16-1) < 0 )); then
+ echo '==> Since version 5.0.14-2 kernel modules are provided via dkms'
+ echo '==> Check you have the headers matching your kernel installed'
+ fi
+}
+
+# vim:set ts=2 sw=2 ft=sh et:
Deleted: community-i686/virtualbox.sysusers
===================================================================
--- community-i686/virtualbox.sysusers 2017-07-18 12:18:14 UTC (rev 245542)
+++ community-i686/virtualbox.sysusers 2017-07-18 12:18:28 UTC (rev 245543)
@@ -1 +0,0 @@
-g vboxusers 108 -
Copied: virtualbox/repos/community-i686/virtualbox.sysusers (from rev 245542, virtualbox/trunk/virtualbox.sysusers)
===================================================================
--- community-i686/virtualbox.sysusers (rev 0)
+++ community-i686/virtualbox.sysusers 2017-07-18 12:18:28 UTC (rev 245543)
@@ -0,0 +1 @@
+g vboxusers 108 -
Deleted: community-x86_64/002-dri-driver-path.patch
===================================================================
--- community-x86_64/002-dri-driver-path.patch 2017-07-18 12:18:14 UTC (rev 245542)
+++ community-x86_64/002-dri-driver-path.patch 2017-07-18 12:18:28 UTC (rev 245543)
@@ -1,28 +0,0 @@
-# 2013 © Sébastien Luttringer
---- a/src/VBox/Additions/common/crOpenGL/fakedri_drv.c 2013-09-04 21:03:47.040743507 +0200
-+++ b/src/VBox/Additions/common/crOpenGL/fakedri_drv.c 2013-10-20 23:23:49.705371815 +0200
-@@ -58,23 +58,8 @@
- //#define DEBUG_DRI_CALLS
-
- //@todo this could be different...
--#ifdef RT_ARCH_AMD64
--# ifdef RT_OS_FREEBSD
--# define DRI_DEFAULT_DRIVER_DIR "/usr/local/lib/dri"
--# define DRI_XORG_DRV_DIR "/usr/local/lib/xorg/modules/drivers/"
--# else
--# define DRI_DEFAULT_DRIVER_DIR "/usr/lib64/dri:/usr/lib/dri:/usr/lib/x86_64-linux-gnu/dri:/usr/lib/xorg/modules/dri"
-+# define DRI_DEFAULT_DRIVER_DIR "/usr/lib/xorg/modules/dri"
- # define DRI_XORG_DRV_DIR "/usr/lib/xorg/modules/drivers/"
--# endif
--#else
--# ifdef RT_OS_FREEBSD
--# define DRI_DEFAULT_DRIVER_DIR "/usr/local/lib/dri"
--# define DRI_XORG_DRV_DIR "/usr/local/lib/xorg/modules/drivers/"
--# else
--# define DRI_DEFAULT_DRIVER_DIR "/usr/lib/dri:/usr/lib/i386-linux-gnu/dri:/usr/lib/xorg/modules/dri"
--# define DRI_XORG_DRV_DIR "/usr/lib/xorg/modules/drivers/"
--# endif
--#endif
-
- #ifdef DEBUG_DRI_CALLS
- #define SWDRI_SHOWNAME(pext, func) \
Copied: virtualbox/repos/community-x86_64/002-dri-driver-path.patch (from rev 245542, virtualbox/trunk/002-dri-driver-path.patch)
===================================================================
--- community-x86_64/002-dri-driver-path.patch (rev 0)
+++ community-x86_64/002-dri-driver-path.patch 2017-07-18 12:18:28 UTC (rev 245543)
@@ -0,0 +1,28 @@
+# 2013 © Sébastien Luttringer
+--- a/src/VBox/Additions/common/crOpenGL/fakedri_drv.c 2013-09-04 21:03:47.040743507 +0200
++++ b/src/VBox/Additions/common/crOpenGL/fakedri_drv.c 2013-10-20 23:23:49.705371815 +0200
+@@ -58,23 +58,8 @@
+ //#define DEBUG_DRI_CALLS
+
+ //@todo this could be different...
+-#ifdef RT_ARCH_AMD64
+-# ifdef RT_OS_FREEBSD
+-# define DRI_DEFAULT_DRIVER_DIR "/usr/local/lib/dri"
+-# define DRI_XORG_DRV_DIR "/usr/local/lib/xorg/modules/drivers/"
+-# else
+-# define DRI_DEFAULT_DRIVER_DIR "/usr/lib64/dri:/usr/lib/dri:/usr/lib/x86_64-linux-gnu/dri:/usr/lib/xorg/modules/dri"
++# define DRI_DEFAULT_DRIVER_DIR "/usr/lib/xorg/modules/dri"
+ # define DRI_XORG_DRV_DIR "/usr/lib/xorg/modules/drivers/"
+-# endif
+-#else
+-# ifdef RT_OS_FREEBSD
+-# define DRI_DEFAULT_DRIVER_DIR "/usr/local/lib/dri"
+-# define DRI_XORG_DRV_DIR "/usr/local/lib/xorg/modules/drivers/"
+-# else
+-# define DRI_DEFAULT_DRIVER_DIR "/usr/lib/dri:/usr/lib/i386-linux-gnu/dri:/usr/lib/xorg/modules/dri"
+-# define DRI_XORG_DRV_DIR "/usr/lib/xorg/modules/drivers/"
+-# endif
+-#endif
+
+ #ifdef DEBUG_DRI_CALLS
+ #define SWDRI_SHOWNAME(pext, func) \
Deleted: community-x86_64/003-ogl-include-path.patch
===================================================================
--- community-x86_64/003-ogl-include-path.patch 2017-07-18 12:18:14 UTC (rev 245542)
+++ community-x86_64/003-ogl-include-path.patch 2017-07-18 12:18:28 UTC (rev 245543)
@@ -1,43 +0,0 @@
-Index: virtualbox/src/VBox/Additions/common/crOpenGL/Makefile.kmk
-===================================================================
---- virtualbox.orig/src/VBox/Additions/common/crOpenGL/Makefile.kmk 2015-04-02 15:44:24.955670965 +0200
-+++ virtualbox/src/VBox/Additions/common/crOpenGL/Makefile.kmk 2015-04-02 15:44:24.955670965 +0200
-@@ -67,18 +67,12 @@
- VBoxOGL_INCS = .
- if1of ($(KBUILD_TARGET), linux solaris freebsd)
- VBoxOGL_INCS += \
-- $(VBOX_PATH_X11_ROOT)/libXdamage-1.1 \
-- $(VBOX_PATH_X11_ROOT)/libXcomposite-0.4.0 \
-- $(VBOX_PATH_X11_ROOT)/libXext-1.3.1 \
-- $(VBOX_PATH_X11_ROOT)/libXfixes-4.0.3 \
-- $(VBOX_PATH_X11_ROOT)/damageproto-1.1.0 \
-- $(VBOX_PATH_X11_ROOT)/compositeproto-0.4 \
-- $(VBOX_PATH_X11_ROOT)/fixesproto-4.0 \
-- $(VBOX_PATH_X11_ROOT)/libx11-1.1.5-other \
-- $(VBOX_PATH_X11_ROOT)/xextproto-7.1.1 \
-- $(VBOX_PATH_X11_ROOT)/xproto-7.0.18 \
-+ /usr/include/x11 \
-+ /usr/include/xorg \
-+ /usr/include/pixman-1 \
- $(VBOX_MESA_INCS) \
-- $(PATH_ROOT)/src/VBox/Additions/x11/x11include/libdrm-2.4.13
-+ /usr/include/drm \
-+ /usr/include/libdrm
- VBoxOGL_DEFS += VBOX_NO_NATIVEGL
- endif
-
-@@ -213,10 +207,10 @@
-
- if1of ($(KBUILD_TARGET), linux solaris freebsd)
- VBoxOGL_LIBS += \
-- $(PATH_STAGE_LIB)/libXcomposite.so \
-- $(PATH_STAGE_LIB)/libXdamage.so \
-- $(PATH_STAGE_LIB)/libXfixes.so \
-- $(PATH_STAGE_LIB)/libXext.so
-+ Xcomposite \
-+ Xdamage \
-+ Xfixes \
-+ Xext
- ifdef VBoxOGL_FAKEDRI
- ifeq ($(KBUILD_TARGET), freebsd)
- VBoxOGL_LIBS += \
Copied: virtualbox/repos/community-x86_64/003-ogl-include-path.patch (from rev 245542, virtualbox/trunk/003-ogl-include-path.patch)
===================================================================
--- community-x86_64/003-ogl-include-path.patch (rev 0)
+++ community-x86_64/003-ogl-include-path.patch 2017-07-18 12:18:28 UTC (rev 245543)
@@ -0,0 +1,43 @@
+Index: virtualbox/src/VBox/Additions/common/crOpenGL/Makefile.kmk
+===================================================================
+--- virtualbox.orig/src/VBox/Additions/common/crOpenGL/Makefile.kmk 2015-04-02 15:44:24.955670965 +0200
++++ virtualbox/src/VBox/Additions/common/crOpenGL/Makefile.kmk 2015-04-02 15:44:24.955670965 +0200
+@@ -67,18 +67,12 @@
+ VBoxOGL_INCS = .
+ if1of ($(KBUILD_TARGET), linux solaris freebsd)
+ VBoxOGL_INCS += \
+- $(VBOX_PATH_X11_ROOT)/libXdamage-1.1 \
+- $(VBOX_PATH_X11_ROOT)/libXcomposite-0.4.0 \
+- $(VBOX_PATH_X11_ROOT)/libXext-1.3.1 \
+- $(VBOX_PATH_X11_ROOT)/libXfixes-4.0.3 \
+- $(VBOX_PATH_X11_ROOT)/damageproto-1.1.0 \
+- $(VBOX_PATH_X11_ROOT)/compositeproto-0.4 \
+- $(VBOX_PATH_X11_ROOT)/fixesproto-4.0 \
+- $(VBOX_PATH_X11_ROOT)/libx11-1.1.5-other \
+- $(VBOX_PATH_X11_ROOT)/xextproto-7.1.1 \
+- $(VBOX_PATH_X11_ROOT)/xproto-7.0.18 \
++ /usr/include/x11 \
++ /usr/include/xorg \
++ /usr/include/pixman-1 \
+ $(VBOX_MESA_INCS) \
+- $(PATH_ROOT)/src/VBox/Additions/x11/x11include/libdrm-2.4.13
++ /usr/include/drm \
++ /usr/include/libdrm
+ VBoxOGL_DEFS += VBOX_NO_NATIVEGL
+ endif
+
+@@ -213,10 +207,10 @@
+
+ if1of ($(KBUILD_TARGET), linux solaris freebsd)
+ VBoxOGL_LIBS += \
+- $(PATH_STAGE_LIB)/libXcomposite.so \
+- $(PATH_STAGE_LIB)/libXdamage.so \
+- $(PATH_STAGE_LIB)/libXfixes.so \
+- $(PATH_STAGE_LIB)/libXext.so
++ Xcomposite \
++ Xdamage \
++ Xfixes \
++ Xext
+ ifdef VBoxOGL_FAKEDRI
+ ifeq ($(KBUILD_TARGET), freebsd)
+ VBoxOGL_LIBS += \
Deleted: community-x86_64/005-gsoap-build.patch
===================================================================
--- community-x86_64/005-gsoap-build.patch 2017-07-18 12:18:14 UTC (rev 245542)
+++ community-x86_64/005-gsoap-build.patch 2017-07-18 12:18:28 UTC (rev 245543)
@@ -1,11 +0,0 @@
---- a/src/VBox/Main/webservice/Makefile.kmk 2013-11-21 19:00:46.812761628 +0100
-+++ 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)
- 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"
Copied: virtualbox/repos/community-x86_64/005-gsoap-build.patch (from rev 245542, virtualbox/trunk/005-gsoap-build.patch)
===================================================================
--- community-x86_64/005-gsoap-build.patch (rev 0)
+++ community-x86_64/005-gsoap-build.patch 2017-07-18 12:18:28 UTC (rev 245543)
@@ -0,0 +1,11 @@
+--- a/src/VBox/Main/webservice/Makefile.kmk 2013-11-21 19:00:46.812761628 +0100
++++ 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)
+ 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"
Deleted: community-x86_64/006-rdesktop-vrdp-keymap-path.patch
===================================================================
--- community-x86_64/006-rdesktop-vrdp-keymap-path.patch 2017-07-18 12:18:14 UTC (rev 245542)
+++ community-x86_64/006-rdesktop-vrdp-keymap-path.patch 2017-07-18 12:18:28 UTC (rev 245543)
@@ -1,12 +0,0 @@
-# 2015 © Sébastien Luttringer
---- a/src/VBox/RDP/client-1.8.3/Makefile.kmk 2013-02-19 23:12:20.207464901 +0100
-+++ b/src/VBox/RDP/client-1.8.3/Makefile.kmk 2014-01-04 04:17:26.700618600 +0100
-@@ -41,7 +41,7 @@
- EGD_SOCKET=\"/var/run/egd-pool\" WITH_RDPSND=1 HAVE_DIRENT_H=1 \
- HAVE_ICONV=1 HAVE_SYS_STATVFS_H=1 \
- HAVE_SYS_PARAM_H=1 HAVE_SYS_MOUNT_H=1 HAVE_STRUCT_STATVFS_F_NAMEMAX=1 \
-- KEYMAP_PATH=$(if $(findstring RTPATH_APP_PRIVATE,$(CDEFS)),RTPATH_APP_PRIVATE,\"/opt/VirtualBox\")\"/rdesktop-vrdp-keymaps\" \
-+ KEYMAP_PATH=$(if $(findstring RTPATH_APP_PRIVATE,$(CDEFS)),RTPATH_APP_PRIVATE,\"/usr/share/virtualbox\")\"/rdesktop-vrdp-keymaps\" \
- RDESKTOP=1
- ifdef WITH_BIRD_VD_HACKS
- rdesktop-vrdp_DEFS += WITH_BIRD_VD_HACKS
Copied: virtualbox/repos/community-x86_64/006-rdesktop-vrdp-keymap-path.patch (from rev 245542, virtualbox/trunk/006-rdesktop-vrdp-keymap-path.patch)
===================================================================
--- community-x86_64/006-rdesktop-vrdp-keymap-path.patch (rev 0)
+++ community-x86_64/006-rdesktop-vrdp-keymap-path.patch 2017-07-18 12:18:28 UTC (rev 245543)
@@ -0,0 +1,12 @@
+# 2015 © Sébastien Luttringer
+--- a/src/VBox/RDP/client-1.8.3/Makefile.kmk 2013-02-19 23:12:20.207464901 +0100
++++ b/src/VBox/RDP/client-1.8.3/Makefile.kmk 2014-01-04 04:17:26.700618600 +0100
+@@ -41,7 +41,7 @@
+ EGD_SOCKET=\"/var/run/egd-pool\" WITH_RDPSND=1 HAVE_DIRENT_H=1 \
+ HAVE_ICONV=1 HAVE_SYS_STATVFS_H=1 \
+ HAVE_SYS_PARAM_H=1 HAVE_SYS_MOUNT_H=1 HAVE_STRUCT_STATVFS_F_NAMEMAX=1 \
+- KEYMAP_PATH=$(if $(findstring RTPATH_APP_PRIVATE,$(CDEFS)),RTPATH_APP_PRIVATE,\"/opt/VirtualBox\")\"/rdesktop-vrdp-keymaps\" \
++ KEYMAP_PATH=$(if $(findstring RTPATH_APP_PRIVATE,$(CDEFS)),RTPATH_APP_PRIVATE,\"/usr/share/virtualbox\")\"/rdesktop-vrdp-keymaps\" \
+ RDESKTOP=1
+ ifdef WITH_BIRD_VD_HACKS
+ rdesktop-vrdp_DEFS += WITH_BIRD_VD_HACKS
Deleted: community-x86_64/007-python2-path.patch
===================================================================
--- community-x86_64/007-python2-path.patch 2017-07-18 12:18:14 UTC (rev 245542)
+++ community-x86_64/007-python2-path.patch 2017-07-18 12:18:28 UTC (rev 245543)
@@ -1,9 +0,0 @@
-# 2013 © Sébastien Luttringer
---- a/src/VBox/Frontends/VBoxShell/vboxshell.py 2014-01-03 01:38:41.831615590 +0100
-+++ b/src/VBox/Frontends/VBoxShell/vboxshell.py 2014-01-04 04:23:33.884544420 +0100
-@@ -1,4 +1,4 @@
--#!/usr/bin/env python
-+#!/usr/bin/python2
- # -*- coding: utf-8 -*-
- # $Id: vboxshell.py 49841 2013-12-09 13:32:33Z vboxsync $
- """
Copied: virtualbox/repos/community-x86_64/007-python2-path.patch (from rev 245542, virtualbox/trunk/007-python2-path.patch)
===================================================================
--- community-x86_64/007-python2-path.patch (rev 0)
+++ community-x86_64/007-python2-path.patch 2017-07-18 12:18:28 UTC (rev 245543)
@@ -0,0 +1,9 @@
+# 2013 © Sébastien Luttringer
+--- a/src/VBox/Frontends/VBoxShell/vboxshell.py 2014-01-03 01:38:41.831615590 +0100
++++ b/src/VBox/Frontends/VBoxShell/vboxshell.py 2014-01-04 04:23:33.884544420 +0100
+@@ -1,4 +1,4 @@
+-#!/usr/bin/env python
++#!/usr/bin/python2
+ # -*- coding: utf-8 -*-
+ # $Id: vboxshell.py 49841 2013-12-09 13:32:33Z vboxsync $
+ """
Deleted: community-x86_64/008-no-vboxvideo.patch
===================================================================
--- community-x86_64/008-no-vboxvideo.patch 2017-07-18 12:18:14 UTC (rev 245542)
+++ community-x86_64/008-no-vboxvideo.patch 2017-07-18 12:18:28 UTC (rev 245543)
@@ -1,12 +0,0 @@
-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 := \
Copied: virtualbox/repos/community-x86_64/008-no-vboxvideo.patch (from rev 245542, virtualbox/trunk/008-no-vboxvideo.patch)
===================================================================
--- community-x86_64/008-no-vboxvideo.patch (rev 0)
+++ community-x86_64/008-no-vboxvideo.patch 2017-07-18 12:18:28 UTC (rev 245543)
@@ -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 := \
Deleted: community-x86_64/009-gcc-7.patch
===================================================================
--- community-x86_64/009-gcc-7.patch 2017-07-18 12:18:14 UTC (rev 245542)
+++ community-x86_64/009-gcc-7.patch 2017-07-18 12:18:28 UTC (rev 245543)
@@ -1,303 +0,0 @@
-Index: trunk/src/recompiler/Makefile.kmk
-===================================================================
---- trunk/src/recompiler/Makefile.kmk (revision 67289)
-+++ trunk/src/recompiler/Makefile.kmk (revision 67298)
-@@ -320,7 +320,8 @@
-
- $$(VBoxREMImp_0_OUTDIR)/VBoxREMRes.o: $(VBOX_PATH_RECOMPILER_SRC)/VBoxREM.rc $(MAKEFILE_CURRENT) $(VBOX_VERSION_MK) | $$(dir $$@)
- $(call MSG_GENERATE,,$@)
-- $(QUIET)$(REDIRECT) -E 'COMSPEC=$(VBOX_GOOD_COMSPEC_BS)' -- $(TOOL_MINGWW64_PREFIX)windres \
-+ $(QUIET)$(REDIRECT) -E 'COMSPEC=$(VBOX_GOOD_COMSPEC_BS)' \
-+ -- $(TOOL_$(VBoxRemPrimary_TOOL.win.$(KBUILD_TARGET_ARCH))_PREFIX)windres \
- $(addprefix -I,$(INCS) $(PATH_SDK_$(VBOX_WINPSDK)_INC) $(PATH_TOOL_$(VBOX_VCC_TOOL)_INC)) \
- -DVBOX_SVN_REV=$(VBOX_SVN_REV) \
- -DVBOX_SVN_REV_MOD_5K=$(expr $(VBOX_SVN_REV) % 50000) \
-Index: trunk/src/VBox/Runtime/common/math/gcc/udivmoddi4.c
-===================================================================
---- trunk/src/VBox/Runtime/common/math/gcc/udivmoddi4.c (nonexistent)
-+++ trunk/src/VBox/Runtime/common/math/gcc/udivmoddi4.c (revision 67298)
-@@ -0,0 +1,53 @@
-+/* $Id$ */
-+/** @file
-+ * IPRT - __udivmoddi4 implementation
-+ */
-+
-+/*
-+ * Copyright (C) 2006-2016 Oracle Corporation
-+ *
-+ * This file is part of VirtualBox Open Source Edition (OSE), as
-+ * available from http://www.virtualbox.org. This file is free software;
-+ * you can redistribute it and/or modify it under the terms of the GNU
-+ * General Public License (GPL) as published by the Free Software
-+ * Foundation, in version 2 as it comes in the "COPYING" file of the
-+ * VirtualBox OSE distribution. VirtualBox OSE is distributed in the
-+ * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
-+ *
-+ * The contents of this file may alternatively be used under the terms
-+ * of the Common Development and Distribution License Version 1.0
-+ * (CDDL) only, as it comes in the "COPYING.CDDL" file of the
-+ * VirtualBox OSE distribution, in which case the provisions of the
-+ * CDDL are applicable instead of those of the GPL.
-+ *
-+ * You may elect to license modified versions of this file under the
-+ * terms and conditions of either the GPL or the CDDL or both.
-+ */
-+
-+#include <iprt/stdint.h>
-+#include <iprt/uint64.h>
-+
-+uint64_t __udivmoddi4(uint64_t u64A, uint64_t u64B, uint64_t *pu64R);
-+
-+/**
-+ * __udivmoddi4() implementation to satisfy external references from 32-bit
-+ * code generated by gcc-7 or later.
-+ *
-+ * @param u64A The divident value.
-+ * @param u64B The divisor value.
-+ * @param pu64R A pointer to the reminder. May be NULL.
-+ * @returns u64A / u64B
-+ */
-+uint64_t __udivmoddi4(uint64_t u64A, uint64_t u64B, uint64_t *pu64R)
-+{
-+ RTUINT64U Divident;
-+ RTUINT64U Divisor;
-+ RTUINT64U Quotient;
-+ RTUINT64U Reminder;
-+ Divident.u = u64A;
-+ Divisor.u = u64B;
-+ RTUInt64DivRem(&Quotient, &Reminder, &Divident, &Divisor);
-+ if (pu64R)
-+ *pu64R = Reminder.u;
-+ return Quotient.u;
-+}
-
-Property changes on: trunk/src/VBox/Runtime/common/math/gcc/udivmoddi4.c
-___________________________________________________________________
-Added: svn:eol-style
-## -0,0 +1 ##
-+native
-\ No newline at end of property
-Added: svn:keywords
-## -0,0 +1 ##
-+Author Date Id Revision
-\ No newline at end of property
-Index: trunk/src/VBox/Runtime/Makefile.kmk
-===================================================================
---- trunk/src/VBox/Runtime/Makefile.kmk (revision 67289)
-+++ trunk/src/VBox/Runtime/Makefile.kmk (revision 67298)
-@@ -1850,6 +1850,7 @@
- common/math/gcc/subdi3.c \
- common/math/gcc/ucmpdi2.c \
- common/math/gcc/udivdi3.c \
-+ common/math/gcc/udivmoddi4.c \
- common/math/gcc/umoddi3.c \
- common/math/gcc/xordi3.c
-
-@@ -1942,6 +1943,7 @@
- common/math/gcc/subdi3.c \
- common/math/gcc/ucmpdi2.c \
- common/math/gcc/udivdi3.c \
-+ common/math/gcc/udivmoddi4.c \
- common/math/gcc/umoddi3.c \
- common/math/gcc/xordi3.c
- endif
-@@ -2675,6 +2677,7 @@
- common/math/gcc/subdi3.c \
- common/math/gcc/ucmpdi2.c \
- common/math/gcc/udivdi3.c \
-+ common/math/gcc/udivmoddi4.c \
- common/math/gcc/umoddi3.c \
- common/math/gcc/xordi3.c
- endif
-Index: trunk/src/VBox/HostDrivers/VBoxNetAdp/linux/files_vboxnetadp
-===================================================================
---- trunk/src/VBox/HostDrivers/VBoxNetAdp/linux/files_vboxnetadp (revision 67289)
-+++ trunk/src/VBox/HostDrivers/VBoxNetAdp/linux/files_vboxnetadp (revision 67298)
-@@ -49,6 +49,7 @@
- ${PATH_ROOT}/include/iprt/time.h=>include/iprt/time.h \
- ${PATH_ROOT}/include/iprt/timer.h=>include/iprt/timer.h \
- ${PATH_ROOT}/include/iprt/types.h=>include/iprt/types.h \
-+ ${PATH_ROOT}/include/iprt/uint64.h=>include/iprt/uint64.h \
- ${PATH_ROOT}/include/iprt/uni.h=>include/iprt/uni.h \
- ${PATH_ROOT}/include/iprt/utf16.h=>include/iprt/utf16.h \
- ${PATH_ROOT}/include/iprt/uuid.h=>include/iprt/uuid.h \
-@@ -70,6 +71,7 @@
- ${PATH_ROOT}/src/VBox/Runtime/common/math/gcc/qdivrem.c=>math/gcc/qdivrem.c \
- ${PATH_ROOT}/src/VBox/Runtime/common/math/gcc/quad.h=>math/gcc/quad.h \
- ${PATH_ROOT}/src/VBox/Runtime/common/math/gcc/udivdi3.c=>math/gcc/udivdi3.c \
-+ ${PATH_ROOT}/src/VBox/Runtime/common/math/gcc/udivmoddi4.c=>math/gcc/udivmoddi4.c \
- ${PATH_ROOT}/src/VBox/Runtime/common/math/gcc/umoddi3.c=>math/gcc/umoddi3.c \
- ${PATH_ROOT}/src/VBox/Runtime/common/string/strformat.cpp=>common/string/strformat.c \
- ${PATH_ROOT}/src/VBox/Runtime/common/string/strformatrt.cpp=>common/string/strformatrt.c \
-Index: trunk/src/VBox/HostDrivers/VBoxNetAdp/linux/Makefile
-===================================================================
---- trunk/src/VBox/HostDrivers/VBoxNetAdp/linux/Makefile (revision 67289)
-+++ trunk/src/VBox/HostDrivers/VBoxNetAdp/linux/Makefile (revision 67298)
-@@ -72,6 +72,7 @@
- math/gcc/moddi3.o \
- math/gcc/qdivrem.o \
- math/gcc/udivdi3.o \
-+ math/gcc/udivmoddi4.o \
- math/gcc/divdi3.o \
- math/gcc/umoddi3.o
- endif
-Index: trunk/src/VBox/HostDrivers/VBoxPci/linux/files_vboxpci
-===================================================================
---- trunk/src/VBox/HostDrivers/VBoxPci/linux/files_vboxpci (revision 67289)
-+++ trunk/src/VBox/HostDrivers/VBoxPci/linux/files_vboxpci (revision 67298)
-@@ -48,6 +48,7 @@
- ${PATH_ROOT}/include/iprt/time.h=>include/iprt/time.h \
- ${PATH_ROOT}/include/iprt/timer.h=>include/iprt/timer.h \
- ${PATH_ROOT}/include/iprt/types.h=>include/iprt/types.h \
-+ ${PATH_ROOT}/include/iprt/uint64.h=>include/iprt/uint64.h \
- ${PATH_ROOT}/include/iprt/uni.h=>include/iprt/uni.h \
- ${PATH_ROOT}/include/iprt/utf16.h=>include/iprt/utf16.h \
- ${PATH_ROOT}/include/iprt/uuid.h=>include/iprt/uuid.h \
-@@ -75,6 +76,7 @@
- ${PATH_ROOT}/src/VBox/Runtime/common/math/gcc/qdivrem.c=>math/gcc/qdivrem.c \
- ${PATH_ROOT}/src/VBox/Runtime/common/math/gcc/quad.h=>math/gcc/quad.h \
- ${PATH_ROOT}/src/VBox/Runtime/common/math/gcc/udivdi3.c=>math/gcc/udivdi3.c \
-+ ${PATH_ROOT}/src/VBox/Runtime/common/math/gcc/udivmoddi4.c=>math/gcc/udivmoddi4.c \
- ${PATH_ROOT}/src/VBox/Runtime/common/math/gcc/umoddi3.c=>math/gcc/umoddi3.c \
- ${PATH_ROOT}/src/VBox/Runtime/r0drv/linux/the-linux-kernel.h=>r0drv/linux/the-linux-kernel.h \
- ${PATH_OUT}/version-generated.h=>version-generated.h \
-Index: trunk/src/VBox/HostDrivers/VBoxPci/linux/Makefile
-===================================================================
---- trunk/src/VBox/HostDrivers/VBoxPci/linux/Makefile (revision 67289)
-+++ trunk/src/VBox/HostDrivers/VBoxPci/linux/Makefile (revision 67298)
-@@ -76,6 +76,7 @@
- math/gcc/moddi3.o \
- math/gcc/qdivrem.o \
- math/gcc/udivdi3.o \
-+ math/gcc/udivmoddi4.o \
- math/gcc/divdi3.o \
- math/gcc/umoddi3.o
- endif
-Index: trunk/src/VBox/HostDrivers/VBoxNetFlt/linux/Makefile
-===================================================================
---- trunk/src/VBox/HostDrivers/VBoxNetFlt/linux/Makefile (revision 67289)
-+++ trunk/src/VBox/HostDrivers/VBoxNetFlt/linux/Makefile (revision 67298)
-@@ -76,6 +76,7 @@
- math/gcc/moddi3.o \
- math/gcc/qdivrem.o \
- math/gcc/udivdi3.o \
-+ math/gcc/udivmoddi4.o \
- math/gcc/divdi3.o \
- math/gcc/umoddi3.o
- endif
-Index: trunk/src/VBox/HostDrivers/VBoxNetFlt/linux/files_vboxnetflt
-===================================================================
---- trunk/src/VBox/HostDrivers/VBoxNetFlt/linux/files_vboxnetflt (revision 67289)
-+++ trunk/src/VBox/HostDrivers/VBoxNetFlt/linux/files_vboxnetflt (revision 67298)
-@@ -49,6 +49,7 @@
- ${PATH_ROOT}/include/iprt/time.h=>include/iprt/time.h \
- ${PATH_ROOT}/include/iprt/timer.h=>include/iprt/timer.h \
- ${PATH_ROOT}/include/iprt/types.h=>include/iprt/types.h \
-+ ${PATH_ROOT}/include/iprt/uint64.h=>include/iprt/uint64.h \
- ${PATH_ROOT}/include/iprt/uni.h=>include/iprt/uni.h \
- ${PATH_ROOT}/include/iprt/utf16.h=>include/iprt/utf16.h \
- ${PATH_ROOT}/include/iprt/uuid.h=>include/iprt/uuid.h \
-@@ -77,6 +78,7 @@
- ${PATH_ROOT}/src/VBox/Runtime/common/math/gcc/qdivrem.c=>math/gcc/qdivrem.c \
- ${PATH_ROOT}/src/VBox/Runtime/common/math/gcc/quad.h=>math/gcc/quad.h \
- ${PATH_ROOT}/src/VBox/Runtime/common/math/gcc/udivdi3.c=>math/gcc/udivdi3.c \
-+ ${PATH_ROOT}/src/VBox/Runtime/common/math/gcc/udivmoddi4.c=>math/gcc/udivmoddi4.c \
- ${PATH_ROOT}/src/VBox/Runtime/common/math/gcc/umoddi3.c=>math/gcc/umoddi3.c \
- ${PATH_ROOT}/src/VBox/Runtime/r0drv/linux/the-linux-kernel.h=>r0drv/linux/the-linux-kernel.h \
- ${PATH_OUT}/version-generated.h=>version-generated.h \
-Index: trunk/src/VBox/HostDrivers/Support/linux/files_vboxdrv
-===================================================================
---- trunk/src/VBox/HostDrivers/Support/linux/files_vboxdrv (revision 67289)
-+++ trunk/src/VBox/HostDrivers/Support/linux/files_vboxdrv (revision 67298)
-@@ -65,6 +65,7 @@
- ${PATH_ROOT}/include/iprt/timer.h=>include/iprt/timer.h \
- ${PATH_ROOT}/include/iprt/types.h=>include/iprt/types.h \
- ${PATH_ROOT}/include/iprt/uint128.h=>include/iprt/uint128.h \
-+ ${PATH_ROOT}/include/iprt/uint64.h=>include/iprt/uint64.h \
- ${PATH_ROOT}/include/iprt/uni.h=>include/iprt/uni.h \
- ${PATH_ROOT}/include/iprt/utf16.h=>include/iprt/utf16.h \
- ${PATH_ROOT}/include/iprt/uuid.h=>include/iprt/uuid.h \
-@@ -108,6 +109,7 @@
- ${PATH_ROOT}/src/VBox/Runtime/common/math/gcc/qdivrem.c=>math/gcc/qdivrem.c \
- ${PATH_ROOT}/src/VBox/Runtime/common/math/gcc/quad.h=>math/gcc/quad.h \
- ${PATH_ROOT}/src/VBox/Runtime/common/math/gcc/udivdi3.c=>math/gcc/udivdi3.c \
-+ ${PATH_ROOT}/src/VBox/Runtime/common/math/gcc/udivmoddi4.c=>math/gcc/udivmoddi4.c \
- ${PATH_ROOT}/src/VBox/Runtime/common/math/gcc/umoddi3.c=>math/gcc/umoddi3.c \
- ${PATH_ROOT}/src/VBox/Runtime/common/misc/RTAssertMsg1Weak.cpp=>common/misc/RTAssertMsg1Weak.c \
- ${PATH_ROOT}/src/VBox/Runtime/common/misc/RTAssertMsg2.cpp=>common/misc/RTAssertMsg2.c \
-Index: trunk/src/VBox/HostDrivers/Support/linux/Makefile
-===================================================================
---- trunk/src/VBox/HostDrivers/Support/linux/Makefile (revision 67289)
-+++ trunk/src/VBox/HostDrivers/Support/linux/Makefile (revision 67298)
-@@ -162,6 +162,7 @@
- math/gcc/moddi3.o \
- math/gcc/qdivrem.o \
- math/gcc/udivdi3.o \
-+ math/gcc/udivmoddi4.o \
- math/gcc/divdi3.o \
- math/gcc/umoddi3.o
- endif
-Index: trunk/src/VBox/Additions/linux/sharedfolders/Makefile.module
-===================================================================
---- trunk/src/VBox/Additions/linux/sharedfolders/Makefile.module (revision 67289)
-+++ trunk/src/VBox/Additions/linux/sharedfolders/Makefile.module (revision 67298)
-@@ -38,6 +38,7 @@
- divdi3.o \
- moddi3.o \
- udivdi3.o \
-+ udivmoddi4.o \
- umoddi3.o \
- qdivrem.o
- endif
-Index: trunk/src/VBox/Additions/linux/sharedfolders/files_vboxsf
-===================================================================
---- trunk/src/VBox/Additions/linux/sharedfolders/files_vboxsf (revision 67289)
-+++ trunk/src/VBox/Additions/linux/sharedfolders/files_vboxsf (revision 67298)
-@@ -38,6 +38,7 @@
- ${PATH_ROOT}/include/iprt/string.h=>include/iprt/string.h \
- ${PATH_ROOT}/include/iprt/time.h=>include/iprt/time.h \
- ${PATH_ROOT}/include/iprt/types.h=>include/iprt/types.h \
-+ ${PATH_ROOT}/include/iprt/uint64.h=>include/iprt/uint64.h \
- ${PATH_ROOT}/include/iprt/uni.h=>include/iprt/uni.h \
- ${PATH_ROOT}/include/iprt/utf16.h=>include/iprt/utf16.h \
- ${PATH_ROOT}/include/VBox/cdefs.h=>include/VBox/cdefs.h \
-@@ -73,6 +74,7 @@
- ${PATH_ROOT}/src/VBox/Runtime/common/math/gcc/qdivrem.c=>qdivrem.c \
- ${PATH_ROOT}/src/VBox/Runtime/common/math/gcc/quad.h=>quad.h \
- ${PATH_ROOT}/src/VBox/Runtime/common/math/gcc/udivdi3.c=>udivdi3.c \
-+ ${PATH_ROOT}/src/VBox/Runtime/common/math/gcc/udivmoddi4.c=>udivmoddi4.c \
- ${PATH_ROOT}/src/VBox/Runtime/common/math/gcc/umoddi3.c=>umoddi3.c \
- ${PATH_ROOT}/src/VBox/Runtime/r0drv/linux/the-linux-kernel.h=>r0drv/linux/the-linux-kernel.h \
- ${PATH_ROOT}/src/VBox/Additions/linux/sharedfolders/Makefile.module=>Makefile \
-Index: trunk/src/VBox/Additions/common/VBoxGuest/linux/files_vboxguest
-===================================================================
---- trunk/src/VBox/Additions/common/VBoxGuest/linux/files_vboxguest (revision 67289)
-+++ trunk/src/VBox/Additions/common/VBoxGuest/linux/files_vboxguest (revision 67298)
-@@ -54,6 +54,7 @@
- ${PATH_ROOT}/include/iprt/time.h=>include/iprt/time.h \
- ${PATH_ROOT}/include/iprt/timer.h=>include/iprt/timer.h \
- ${PATH_ROOT}/include/iprt/types.h=>include/iprt/types.h \
-+ ${PATH_ROOT}/include/iprt/uint64.h=>include/iprt/uint64.h \
- ${PATH_ROOT}/include/iprt/uni.h=>include/iprt/uni.h \
- ${PATH_ROOT}/include/iprt/utf16.h=>include/iprt/utf16.h \
- ${PATH_ROOT}/include/iprt/x86.h=>include/iprt/x86.h \
-@@ -113,6 +114,7 @@
- ${PATH_ROOT}/src/VBox/Runtime/common/math/gcc/qdivrem.c=>common/math/gcc/qdivrem.c \
- ${PATH_ROOT}/src/VBox/Runtime/common/math/gcc/quad.h=>common/math/gcc/quad.h \
- ${PATH_ROOT}/src/VBox/Runtime/common/math/gcc/udivdi3.c=>common/math/gcc/udivdi3.c \
-+ ${PATH_ROOT}/src/VBox/Runtime/common/math/gcc/udivmoddi4.c=>common/math/gcc/udivmoddi4.c \
- ${PATH_ROOT}/src/VBox/Runtime/common/math/gcc/umoddi3.c=>common/math/gcc/umoddi3.c \
- ${PATH_ROOT}/src/VBox/Runtime/common/misc/RTAssertMsg1Weak.cpp=>common/misc/RTAssertMsg1Weak.c \
- ${PATH_ROOT}/src/VBox/Runtime/common/misc/RTAssertMsg2.cpp=>common/misc/RTAssertMsg2.c \
-Index: trunk/src/VBox/Additions/common/VBoxGuest/linux/Makefile
-===================================================================
---- trunk/src/VBox/Additions/common/VBoxGuest/linux/Makefile (revision 67289)
-+++ trunk/src/VBox/Additions/common/VBoxGuest/linux/Makefile (revision 67298)
-@@ -100,6 +100,7 @@
- common/math/gcc/divdi3.o \
- common/math/gcc/moddi3.o \
- common/math/gcc/udivdi3.o \
-+ common/math/gcc/udivmoddi4.o \
- common/math/gcc/umoddi3.o \
- common/math/gcc/qdivrem.o
- endif
Deleted: community-x86_64/010-linux-4.12.patch
===================================================================
--- community-x86_64/010-linux-4.12.patch 2017-07-18 12:18:14 UTC (rev 245542)
+++ community-x86_64/010-linux-4.12.patch 2017-07-18 12:18:28 UTC (rev 245543)
@@ -1,108 +0,0 @@
-diff --git a/src/VBox/HostDrivers/Support/linux/SUPDrv-linux.c b/src/VBox/HostDrivers/Support/linux/SUPDrv-linux.c
-index 0beb736..20cae7c 100644
---- a/src/VBox/HostDrivers/Support/linux/SUPDrv-linux.c
-+++ b/src/VBox/HostDrivers/Support/linux/SUPDrv-linux.c
-@@ -1397,7 +1397,7 @@ RTDECL(int) SUPR0Printf(const char *pszFormat, ...)
- SUPR0DECL(uint32_t) SUPR0GetKernelFeatures(void)
- {
- uint32_t fFlags = 0;
--#ifdef CONFIG_PAX_KERNEXEC
-+#if defined(CONFIG_PAX_KERNEXEC) || LINUX_VERSION_CODE >= KERNEL_VERSION(4, 12, 0)
- fFlags |= SUPKERNELFEATURES_GDT_READ_ONLY;
- #endif
- #if defined(VBOX_STRICT) || defined(VBOX_WITH_EFLAGS_AC_SET_IN_VBOXDRV)
-diff --git a/src/VBox/Runtime/r0drv/linux/alloc-r0drv-linux.c b/src/VBox/Runtime/r0drv/linux/alloc-r0drv-linux.c
-index e011867..4576a74 100644
---- a/src/VBox/Runtime/r0drv/linux/alloc-r0drv-linux.c
-+++ b/src/VBox/Runtime/r0drv/linux/alloc-r0drv-linux.c
-@@ -35,6 +35,9 @@
- #include <iprt/assert.h>
- #include <iprt/err.h>
- #include "r0drv/alloc-r0drv.h"
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 12, 0)
-+#include <asm/set_memory.h>
-+#endif
-
-
- #if (defined(RT_ARCH_AMD64) || defined(DOXYGEN_RUNNING)) && !defined(RTMEMALLOC_EXEC_HEAP)
-diff --git a/src/VBox/Runtime/r0drv/linux/memobj-r0drv-linux.c b/src/VBox/Runtime/r0drv/linux/memobj-r0drv-linux.c
-index 4bc2a9b..2b5af61 100644
---- a/src/VBox/Runtime/r0drv/linux/memobj-r0drv-linux.c
-+++ b/src/VBox/Runtime/r0drv/linux/memobj-r0drv-linux.c
-@@ -899,6 +899,9 @@ static struct page *rtR0MemObjLinuxVirtToPage(void *pv)
- unsigned long pfn;
- struct page *pPage;
- pte_t *pEntry;
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 12, 0)
-+ p4d_t p4d;
-+#endif
- union
- {
- pgd_t Global;
-@@ -917,9 +920,18 @@ static struct page *rtR0MemObjLinuxVirtToPage(void *pv)
- u.Global = *pgd_offset(current->active_mm, ulAddr);
- if (RT_UNLIKELY(pgd_none(u.Global)))
- return NULL;
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 12, 0)
-+ p4d = *p4d_offset(&u.Global, ulAddr);
-+ if (RT_UNLIKELY(p4d_none(p4d) || p4d_large(p4d) || !p4d_present(p4d)))
-+ return NULL;
-+#endif
-
- #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 11)
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 12, 0)
-+ u.Upper = *pud_offset(&p4d, ulAddr);
-+#else
- u.Upper = *pud_offset(&u.Global, ulAddr);
-+#endif
- if (RT_UNLIKELY(pud_none(u.Upper)))
- return NULL;
- # if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 25)
-@@ -1463,13 +1475,23 @@ static int rtR0MemObjLinuxFixPte(struct mm_struct *mm, unsigned long ulAddr, RTH
- {
- int rc = -ENOMEM;
- pgd_t *pgd;
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 12, 0)
-+ p4d_t *p4d;
-+#endif
-
- spin_lock(&mm->page_table_lock);
-
- pgd = pgd_offset(mm, ulAddr);
- if (!pgd_none(*pgd) && !pgd_bad(*pgd))
- {
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 12, 0)
-+ p4d = p4d_offset(*pgd, ulAddr);
-+ if (p4d_none(*p4d))
-+ goto exit;
-+ pmd_t *pmd = pmd_offset(p4d, ulAddr);
-+#else
- pmd_t *pmd = pmd_offset(pgd, ulAddr);
-+#endif
- if (!pmd_none(*pmd))
- {
- pte_t *ptep = pte_offset_map(pmd, ulAddr);
-@@ -1487,6 +1509,9 @@ static int rtR0MemObjLinuxFixPte(struct mm_struct *mm, unsigned long ulAddr, RTH
- }
- }
-
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 12, 0)
-+exit:
-+#endif
- spin_unlock(&mm->page_table_lock);
- return rc;
- }
-diff --git a/src/VBox/Runtime/r0drv/linux/the-linux-kernel.h b/src/VBox/Runtime/r0drv/linux/the-linux-kernel.h
-index 5a7ccb2..a07a22a 100644
---- a/src/VBox/Runtime/r0drv/linux/the-linux-kernel.h
-+++ b/src/VBox/Runtime/r0drv/linux/the-linux-kernel.h
-@@ -320,6 +320,9 @@ DECLINLINE(unsigned long) msecs_to_jiffies(unsigned int cMillies)
- #endif
-
- #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 25)
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 12, 0)
-+#include <asm/cacheflush.h>
-+#endif
- # define MY_SET_PAGES_EXEC(pPages, cPages) set_pages_x(pPages, cPages)
- # define MY_SET_PAGES_NOEXEC(pPages, cPages) set_pages_nx(pPages, cPages)
- #else
Deleted: community-x86_64/60-vboxdrv.rules
===================================================================
--- community-x86_64/60-vboxdrv.rules 2017-07-18 12:18:14 UTC (rev 245542)
+++ community-x86_64/60-vboxdrv.rules 2017-07-18 12:18:28 UTC (rev 245543)
@@ -1,8 +0,0 @@
-KERNEL=="vboxdrv", NAME="vboxdrv", OWNER="root", GROUP="root", MODE="0600"
-KERNEL=="vboxdrvu", NAME="vboxdrvu", OWNER="root", GROUP="root", MODE="0666"
-KERNEL=="vboxnetctl", NAME="vboxnetctl", OWNER="root", GROUP="root", MODE="0600"
-
-SUBSYSTEM=="usb_device", ACTION=="add", RUN+="/usr/share/virtualbox/VBoxCreateUSBNode.sh $major $minor $attr{bDeviceClass} vboxusers"
-SUBSYSTEM=="usb", ACTION=="add", ENV{DEVTYPE}=="usb_device", RUN+="/usr/share/virtualbox/VBoxCreateUSBNode.sh $major $minor $attr{bDeviceClass} vboxusers"
-SUBSYSTEM=="usb_device", ACTION=="remove", RUN+="/usr/share/virtualbox/VBoxCreateUSBNode.sh --remove $major $minor"
-SUBSYSTEM=="usb", ACTION=="remove", ENV{DEVTYPE}=="usb_device", RUN+="/usr/share/virtualbox/VBoxCreateUSBNode.sh --remove $major $minor"
Copied: virtualbox/repos/community-x86_64/60-vboxdrv.rules (from rev 245542, virtualbox/trunk/60-vboxdrv.rules)
===================================================================
--- community-x86_64/60-vboxdrv.rules (rev 0)
+++ community-x86_64/60-vboxdrv.rules 2017-07-18 12:18:28 UTC (rev 245543)
@@ -0,0 +1,8 @@
+KERNEL=="vboxdrv", NAME="vboxdrv", OWNER="root", GROUP="root", MODE="0600"
+KERNEL=="vboxdrvu", NAME="vboxdrvu", OWNER="root", GROUP="root", MODE="0666"
+KERNEL=="vboxnetctl", NAME="vboxnetctl", OWNER="root", GROUP="root", MODE="0600"
+
+SUBSYSTEM=="usb_device", ACTION=="add", RUN+="/usr/share/virtualbox/VBoxCreateUSBNode.sh $major $minor $attr{bDeviceClass} vboxusers"
+SUBSYSTEM=="usb", ACTION=="add", ENV{DEVTYPE}=="usb_device", RUN+="/usr/share/virtualbox/VBoxCreateUSBNode.sh $major $minor $attr{bDeviceClass} vboxusers"
+SUBSYSTEM=="usb_device", ACTION=="remove", RUN+="/usr/share/virtualbox/VBoxCreateUSBNode.sh --remove $major $minor"
+SUBSYSTEM=="usb", ACTION=="remove", ENV{DEVTYPE}=="usb_device", RUN+="/usr/share/virtualbox/VBoxCreateUSBNode.sh --remove $major $minor"
Deleted: community-x86_64/60-vboxguest.rules
===================================================================
--- community-x86_64/60-vboxguest.rules 2017-07-18 12:18:14 UTC (rev 245542)
+++ community-x86_64/60-vboxguest.rules 2017-07-18 12:18:28 UTC (rev 245543)
@@ -1,2 +0,0 @@
-ACTION=="add", KERNEL=="vboxguest", SUBSYSTEM=="misc", OWNER="root", MODE="0600"
-ACTION=="add", KERNEL=="vboxuser", SUBSYSTEM=="misc", OWNER="root", MODE="0666"
Copied: virtualbox/repos/community-x86_64/60-vboxguest.rules (from rev 245542, virtualbox/trunk/60-vboxguest.rules)
===================================================================
--- community-x86_64/60-vboxguest.rules (rev 0)
+++ community-x86_64/60-vboxguest.rules 2017-07-18 12:18:28 UTC (rev 245543)
@@ -0,0 +1,2 @@
+ACTION=="add", KERNEL=="vboxguest", SUBSYSTEM=="misc", OWNER="root", MODE="0600"
+ACTION=="add", KERNEL=="vboxuser", SUBSYSTEM=="misc", OWNER="root", MODE="0666"
Deleted: community-x86_64/LocalConfig.kmk
===================================================================
--- community-x86_64/LocalConfig.kmk 2017-07-18 12:18:14 UTC (rev 245542)
+++ community-x86_64/LocalConfig.kmk 2017-07-18 12:18:28 UTC (rev 245543)
@@ -1,32 +0,0 @@
-# do not build test cases
-VBOX_WITH_TESTCASES :=
-VBOX_WITH_TESTSUITE :=
-VBOX_WITH_VALIDATIONKIT :=
-
-# no legacy X.org - use KMS
-VBOX_USE_SYSTEM_XORG_HEADERS = 1
-VBOX_NO_LEGACY_XORG_X11 = 1
-
-# archlinux path
-VBOX_WITH_ORIGIN :=
-VBOX_PATH_APP_PRIVATE_ARCH := /usr/lib/virtualbox
-VBOX_PATH_SHARED_LIBS := $(VBOX_PATH_APP_PRIVATE_ARCH)
-VBOX_WITH_RUNPATH := $(VBOX_PATH_APP_PRIVATE_ARCH)
-VBOX_PATH_APP_PRIVATE := /usr/share/virtualbox
-VBOX_PATH_APP_DOCS := /usr/share/doc/virtualbox
-VBOX_PATH_PACKAGE_DOCS := $(VBOX_PATH_APP_DOCS)
-VBOX_BLD_PYTHON = python2
-VBOX_JAVA_HOME = /usr/lib/jvm/java-7-openjdk
-
-# do not fail on warning
-VBOX_GCC_WERR =
-VBOX_GCC_WARN =
-
-# fix gsoap missing zlib include and produce errors with --as-needed
-VBOX_GSOAP_CXX_LIBS := gsoapssl++ z
-
-# use system xorg
-VBOX_USE_SYSTEM_XORG_HEADERS = 1
-
-# no update request. update are handled via pacman
-VBOX_WITH_UPDATE_REQUEST := 0
Copied: virtualbox/repos/community-x86_64/LocalConfig.kmk (from rev 245542, virtualbox/trunk/LocalConfig.kmk)
===================================================================
--- community-x86_64/LocalConfig.kmk (rev 0)
+++ community-x86_64/LocalConfig.kmk 2017-07-18 12:18:28 UTC (rev 245543)
@@ -0,0 +1,32 @@
+# do not build test cases
+VBOX_WITH_TESTCASES :=
+VBOX_WITH_TESTSUITE :=
+VBOX_WITH_VALIDATIONKIT :=
+
+# no legacy X.org - use KMS
+VBOX_USE_SYSTEM_XORG_HEADERS = 1
+VBOX_NO_LEGACY_XORG_X11 = 1
+
+# archlinux path
+VBOX_WITH_ORIGIN :=
+VBOX_PATH_APP_PRIVATE_ARCH := /usr/lib/virtualbox
+VBOX_PATH_SHARED_LIBS := $(VBOX_PATH_APP_PRIVATE_ARCH)
+VBOX_WITH_RUNPATH := $(VBOX_PATH_APP_PRIVATE_ARCH)
+VBOX_PATH_APP_PRIVATE := /usr/share/virtualbox
+VBOX_PATH_APP_DOCS := /usr/share/doc/virtualbox
+VBOX_PATH_PACKAGE_DOCS := $(VBOX_PATH_APP_DOCS)
+VBOX_BLD_PYTHON = python2
+VBOX_JAVA_HOME = /usr/lib/jvm/java-7-openjdk
+
+# do not fail on warning
+VBOX_GCC_WERR =
+VBOX_GCC_WARN =
+
+# fix gsoap missing zlib include and produce errors with --as-needed
+VBOX_GSOAP_CXX_LIBS := gsoapssl++ z
+
+# use system xorg
+VBOX_USE_SYSTEM_XORG_HEADERS = 1
+
+# no update request. update are handled via pacman
+VBOX_WITH_UPDATE_REQUEST := 0
Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD 2017-07-18 12:18:14 UTC (rev 245542)
+++ community-x86_64/PKGBUILD 2017-07-18 12:18:28 UTC (rev 245543)
@@ -1,383 +0,0 @@
-# $Id$
-# Maintainer: Sébastien "Seblu" Luttringer
-# Contributor: Ionut Biru <ibiru at archlinux.org>
-
-pkgbase=virtualbox
-pkgname=('virtualbox'
- 'virtualbox-host-dkms'
- 'virtualbox-guest-dkms'
- 'virtualbox-sdk'
- 'virtualbox-guest-utils'
- 'virtualbox-guest-utils-nox'
- 'virtualbox-ext-vnc')
-pkgver=5.1.22
-pkgrel=5
-arch=('i686' 'x86_64')
-url='http://virtualbox.org'
-license=('GPL' 'custom')
-makedepends=('alsa-lib'
- 'bin86'
- 'cdrkit'
- 'curl'
- 'dev86'
- 'device-mapper'
- 'glu'
- 'gsoap'
- 'iasl'
- 'jdk7-openjdk'
- 'libidl2'
- 'libpulse'
- 'libstdc++5'
- 'libvncserver'
- 'libvpx'
- 'libxcomposite'
- 'libxcursor'
- 'libxinerama'
- 'libxml2'
- 'libxmu'
- 'libxrandr'
- 'libxslt'
- 'libxtst'
- 'linux-headers'
- 'mesa'
- 'python2'
- 'qt5-base'
- 'qt5-x11extras'
- 'qt5-tools'
- 'sdl'
- 'sdl_ttf'
- 'sed'
- 'vde2'
- 'xalan-c'
- 'xf86driproto'
- 'xorg-server-devel')
-makedepends_x86_64=('gcc-multilib' 'lib32-glibc')
-source=("http://download.virtualbox.org/virtualbox/${pkgver}/VirtualBox-${pkgver}.tar.bz2"
- 'virtualbox-host-dkms.conf'
- 'virtualbox-guest-dkms.conf'
- 'virtualbox.sysusers'
- 'virtualbox-guest-utils.sysusers'
- '60-vboxdrv.rules'
- '60-vboxguest.rules'
- 'LocalConfig.kmk'
- 'vboxservice.service'
- 'vboxservice-nox.service'
- 'vboxweb.service'
- 'vboxreload'
- '002-dri-driver-path.patch'
- '003-ogl-include-path.patch'
- '005-gsoap-build.patch'
- '006-rdesktop-vrdp-keymap-path.patch'
- '007-python2-path.patch'
- '008-no-vboxvideo.patch'
- '009-gcc-7.patch'
- '010-linux-4.12.patch'
- )
-sha256sums=('fcc918000b8c5ece553541ec10a9182410a742b7266257c76dda895dcd389899'
- 'deb03efa7ad0376aa55a087f2e882afe00935f10b0e7aa853ba9147090d341ec'
- '113f9b92141b85df01f1e74d22f01d1f1aa81650eb79b89ceefc3cae20afe2e2'
- '2101ebb58233bbfadf3aa74381f22f7e7e508559d2b46387114bc2d8e308554c'
- 'da4c49f6ca94e047e196cdbcba2c321199f4760056ea66e0fbc659353e128c9e'
- '9c5238183019f9ebc7d92a8582cad232f471eab9d3278786225abc1a1c7bf66e'
- '033c597e0f5285d2ddb0490868e5b6f945f45c7b1b1152a02a9e6fea438b2c95'
- '0105ce26b79dbe533085423decf042ac0f5e6aa28edb5e6a9bc713cca2ab04c5'
- '94a808f46909a51b2d0cf2c6e0a6c9dea792034943e6413bf9649a036c921b21'
- '01dbb921bd57a852919cc78be5b73580a564f28ebab2fe8d6c9b8301265cbfce'
- 'e6e875ef186578b53106d7f6af48e426cdaf1b4e86834f01696b8ef1c685787f'
- '2a9d7748dc58f9d091f791da06b733a696943114f7c0d580fa00a0752eb1d2ac'
- 'ee54fe188e27b6e80e2044ea9ba1874db2ca2c026ad04f393be1be69c18d440d'
- '188014070bce4f6fb9b2535bcd64d066119e182e848c521407ea891ab41a995b'
- '7d2da8fe10a90f76bbfc80ad1f55df4414f118cd10e10abfb76070326abebd46'
- '5d5af2de5b1f1c61ec793503350f2440661cf8fd640f11b8a86f10bce499c0dc'
- '6bdb017459532537199c399eefd3d84d8dc7f1786e79997caebd3b6eb5c75d9f'
- '8b7f241107863f82a5b0ae336aead0b3366a40103ff72dbebf33f54b512a0cbc'
- '0f5cb04362be022bba71295867aac9eaddf9ece0d3ce82c083d70829564ec8d2'
- 'a2f7e23f9956ac28783061d75b4854492c6a015acc42328cee951e9165f9a505'
- )
-
-prepare() {
- cd "VirtualBox-$pkgver"
-
- # apply patch from the source array (should be a pacman feature)
- local filename
- for filename in "${source[@]}"; do
- if [[ "$filename" =~ \.patch$ ]]; then
- msg2 "Applying patch ${filename##*/}"
- patch -p1 -N -i "$srcdir/${filename##*/}"
- fi
- done
-
- msg2 'Applying local config'
- cp "$srcdir/LocalConfig.kmk" .
-
- msg2 'Use our CFLAGS'
- echo "VBOX_GCC_OPT=$CXXFLAGS" >> LocalConfig.kmk
-
- msg2 'Remove gcc version censorship'
- sed -i 's/^check_gcc$/#check_gcc/' configure
-}
-
-build() {
- cd "VirtualBox-$pkgver"
-
- msg2 'Build virtualbox'
- ./configure \
- --disable-docs \
- --enable-webservice \
- --enable-vde \
- --enable-vnc \
- --disable-kmods \
- --with-makeself=/usr/bin/echo
- # fake makeself binary to compile without nofatal
- # makeself is used by linux installer. we don't need it.
- source ./env.sh
- kmk
-
- msg2 'Build rdesktop-vrdp'
- kmk -C src/VBox/RDP/client-1.8.3
-
- msg2 'Build VNC extension pack'
- kmk -C src/VBox/ExtPacks/VNC packing
-}
-
-package_virtualbox() {
- pkgdesc='Powerful x86 virtualization for enterprise as well as home use'
- depends=('glibc' 'openssl' 'curl' 'gcc-libs' 'libpng' 'python2' 'sdl'
- 'libvpx' 'libxml2' 'procps-ng' 'shared-mime-info' 'zlib'
- 'libxcursor' 'libxinerama' 'libx11' 'libxext' 'libxmu' 'libxt'
- 'qt5-base' 'qt5-x11extras' 'VIRTUALBOX-HOST-MODULES')
- optdepends=('vde2: Virtual Distributed Ethernet support'
- 'net-tools: Host-only or bridged networking support'
- 'virtualbox-guest-iso: Guest Additions CD image'
- 'virtualbox-ext-vnc: VNC server support'
- 'virtualbox-sdk: Developer kit')
- backup=('etc/vbox/vbox.cfg')
- replaces=('virtualbox-ose')
- conflicts=('virtualbox-ose')
- install=virtualbox.install
-
- source "VirtualBox-$pkgver/env.sh"
- cd "VirtualBox-$pkgver/out/linux.$BUILD_PLATFORM_ARCH/release/bin"
-
- # binaries
- install -dm755 "$pkgdir/usr/bin"
- install -m755 VBox.sh "$pkgdir/usr/bin/VBox"
- for i in VBoxHeadless VBoxManage VBoxSDL VirtualBox vboxwebsrv VBoxBalloonCtrl; do
- ln -sf VBox "$pkgdir/usr/bin/$i"
- ln -sf VBox "$pkgdir/usr/bin/${i,,}"
- done
- install -m755 VBoxTunctl "$pkgdir/usr/bin"
- install -m755 rdesktop-vrdp "$pkgdir/usr/bin"
-
- # libraries
- install -dm755 "$pkgdir/usr/lib/virtualbox"
- install -m755 *.so "$pkgdir/usr/lib/virtualbox"
- install -m644 *.rc *.r0 VBoxEFI*.fd "$pkgdir/usr/lib/virtualbox"
- ## setuid root binaries
- install -m4755 VBoxSDL VirtualBox VBoxHeadless VBoxNetDHCP VBoxNetAdpCtl VBoxNetNAT -t "$pkgdir/usr/lib/virtualbox"
- ## other binaries
- install -m755 VBoxManage VBoxSVC VBoxExtPackHelperApp VBoxXPCOMIPCD VBoxTestOGL VBoxBalloonCtrl vboxwebsrv webtest -t "$pkgdir/usr/lib/virtualbox"
-
- # components
- install -dm755 "$pkgdir/usr/lib/virtualbox/components"
- install -m755 components/* -t "$pkgdir/usr/lib/virtualbox/components"
-
- # extensions packs
- ## as virtualbox install itself stuff in this directory, move it to /var and
- ## trick it with a symlink
- ## FIXME: trick is disabled for now
- #install -dm755 "$pkgdir/var/lib/virtualbox/extensions"
- #install -dm755 "$pkgdir/usr/share/virtualbox/extensions"
- #ln -s ../../../var/lib/virtualbox/extensions "$pkgdir/usr/lib/virtualbox/ExtensionPacks"
- install -dm755 "$pkgdir/usr/lib/virtualbox/ExtensionPacks"
-
- # languages
- install -dm755 "$pkgdir/usr/share/virtualbox/nls"
- install -m755 nls/*.qm -t "$pkgdir/usr/share/virtualbox/nls"
-
- # rdesktop keymaps
- install -dm755 "$pkgdir/usr/share/virtualbox/rdesktop-vrdp-keymaps"
- install -m644 rdesktop-vrdp-keymaps/* "$pkgdir/usr/share/virtualbox/rdesktop-vrdp-keymaps"
-
- # useless scripts
- install -m755 VBoxCreateUSBNode.sh VBoxSysInfo.sh -t "$pkgdir/usr/share/virtualbox"
-
- # icons
- install -Dm644 VBox.png "$pkgdir/usr/share/pixmaps/VBox.png"
-
- pushd icons >/dev/null
- for i in *; do
- install -d "$pkgdir/usr/share/icons/hicolor/$i/mimetypes"
- cp $i/* "$pkgdir/usr/share/icons/hicolor/$i/mimetypes"
- done
- popd >/dev/null
-
- #desktop
- install -Dm644 virtualbox.desktop "$pkgdir/usr/share/applications/virtualbox.desktop"
- install -Dm644 virtualbox.xml "$pkgdir/usr/share/mime/packages/virtualbox.xml"
-
- #install configuration
- install -dm755 "$pkgdir/etc/vbox"
- echo 'INSTALL_DIR=/usr/lib/virtualbox' > "$pkgdir/etc/vbox/vbox.cfg"
-
- # back to srcdir
- cd "$srcdir"
-
- #licence
- install -Dm644 VirtualBox-$pkgver/COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-
- # install systemd stuff
- install -Dm644 60-vboxdrv.rules "$pkgdir/usr/lib/udev/rules.d/60-vboxdrv.rules"
- install -Dm644 vboxweb.service "$pkgdir/usr/lib/systemd/system/vboxweb.service"
- install -Dm644 virtualbox.sysusers "$pkgdir/usr/lib/sysusers.d/virtualbox.conf"
-
- # install module reloading shortcut (with a symlink with default helper)
- install -Dm755 vboxreload "$pkgdir/usr/bin"
- ln -s vboxreload "$pkgdir/usr/bin/rcvboxdrv"
-}
-
-package_virtualbox-sdk() {
- pkgdesc='VirtualBox Software Developer Kit (SDK)'
- depends=('python2')
-
- install -dm755 "$pkgdir/usr/lib/virtualbox"
-
- source "VirtualBox-$pkgver/env.sh"
- cd "VirtualBox-$pkgver/out/linux.$BUILD_PLATFORM_ARCH/release/bin"
-
- install -Dm755 vboxshell.py "$pkgdir/usr/lib/virtualbox/vboxshell.py"
- # python sdk
- pushd sdk/installer
- VBOX_INSTALL_PATH="/usr/lib/virtualbox" python2 vboxapisetup.py install --root "$pkgdir"
- popd
- rm -rf sdk/installer
- cp -r sdk "$pkgdir/usr/lib/virtualbox"
- # licence
- install -Dm644 "$srcdir/VirtualBox-$pkgver/COPYING" \
- "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}
-
-package_virtualbox-host-dkms() {
- pkgdesc='VirtualBox Host kernel modules sources'
- depends=('dkms' 'gcc' 'make')
- replaces=('virtualbox-source'
- 'virtualbox-host-source'
- 'virtualbox-host-modules-lts')
- conflicts=('virtualbox-source' 'virtualbox-host-source')
- provides=('VIRTUALBOX-HOST-MODULES')
- optdepends=('linux-headers: build modules against Arch kernel'
- 'linux-lts-headers: build modules against LTS kernel'
- 'linux-zen-headers: build modules against ZEN kernel')
- install=virtualbox-host-dkms.install
-
- install -dm755 "$pkgdir/usr/src"
- source "VirtualBox-$pkgver/env.sh"
- cd "VirtualBox-$pkgver/out/linux.$BUILD_PLATFORM_ARCH/release/bin"
- cp -r src "$pkgdir/usr/src/vboxhost-${pkgver}_OSE"
- # licence
- install -Dm644 "$srcdir/VirtualBox-$pkgver/COPYING" \
- "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
- # module loading
- local _p="$pkgdir/usr/lib/modules-load.d/$pkgname.conf"
- install -Dm644 /dev/null "$_p"
- printf "vboxdrv\nvboxpci\nvboxnetadp\nvboxnetflt\n" > "$_p"
- # starting vbox 5.1, dkms.conf file was dropped
- local _p="$pkgdir/usr/src/vboxhost-${pkgver}_OSE/dkms.conf"
- install -Dm644 "$srcdir/$pkgname.conf" "$_p"
- sed -i "s, at VERSION@,$pkgver," "$_p"
-}
-
-package_virtualbox-guest-dkms() {
- pkgdesc='VirtualBox Guest kernel modules sources'
- depends=('dkms' 'gcc' 'make')
- replaces=('virtualbox-archlinux-source'
- 'virtualbox-guest-source'
- 'virtualbox-guest-modules-lts')
- provides=('VIRTUALBOX-GUEST-MODULES')
- conflicts=('virtualbox-archlinux-source' 'virtualbox-guest-source')
- optdepends=('linux-headers: build modules against Arch kernel'
- 'linux-lts-headers: build modules against LTS kernel'
- 'linux-zen-headers: build modules against ZEN kernel')
- install=virtualbox-guest-dkms.install
-
- install -dm755 "$pkgdir/usr/src"
- source "VirtualBox-$pkgver/env.sh"
- cd "VirtualBox-$pkgver/out/linux.$BUILD_PLATFORM_ARCH/release/bin/additions"
- cp -r src "$pkgdir/usr/src/vboxguest-${pkgver}_OSE"
- # licence
- install -Dm644 "$srcdir/VirtualBox-$pkgver/COPYING" \
- "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
- # module loading
- local _p="$pkgdir/usr/lib/modules-load.d/$pkgname.conf"
- install -Dm644 /dev/null "$_p"
- printf "vboxguest\nvboxsf\nvboxvideo\n" > "$_p"
- # starting vbox 5.1, dkms.conf file was dropped
- local _p="$pkgdir/usr/src/vboxguest-${pkgver}_OSE/dkms.conf"
- install -Dm644 "$srcdir/$pkgname.conf" "$_p"
- sed -i "s, at VERSION@,$pkgver," "$_p"
-}
-
-package_virtualbox-guest-utils() {
- pkgdesc='VirtualBox Guest userspace utilities'
- depends=('glibc' 'pam' 'libx11' 'libxcomposite'
- 'libxdamage' 'libxext' 'libxfixes' 'libxmu' 'libxt' 'xorg-xrandr'
- 'VIRTUALBOX-GUEST-MODULES')
- replaces=('virtualbox-archlinux-additions' 'virtualbox-guest-additions')
- conflicts=('virtualbox-archlinux-additions' 'virtualbox-guest-additions' 'virtualbox-guest-utils-nox')
-
- source "VirtualBox-$pkgver/env.sh"
- pushd "VirtualBox-$pkgver/out/linux.$BUILD_PLATFORM_ARCH/release/bin/additions"
- install -d "$pkgdir/usr/bin"
- install -m755 VBoxClient VBoxControl VBoxService mount.vboxsf "$pkgdir/usr/bin"
- install -m755 -D "$srcdir"/VirtualBox-$pkgver/src/VBox/Additions/x11/Installer/98vboxadd-xclient \
- "$pkgdir"/usr/bin/VBoxClient-all
- install -m644 -D "$srcdir"/VirtualBox-$pkgver/src/VBox/Additions/x11/Installer/vboxclient.desktop \
- "$pkgdir"/etc/xdg/autostart/vboxclient.desktop
- install -d "$pkgdir/usr/lib/xorg/modules/dri"
- install -m755 VBoxOGL*.so "$pkgdir/usr/lib"
- ln -s /usr/lib/VBoxOGL.so "$pkgdir/usr/lib/xorg/modules/dri/vboxvideo_dri.so"
- install -m755 -D pam_vbox.so "$pkgdir/usr/lib/security/pam_vbox.so"
- popd
- # systemd stuff
- install -Dm644 60-vboxguest.rules "$pkgdir/usr/lib/udev/rules.d/60-vboxguest.rules"
- install -Dm644 vboxservice.service "$pkgdir/usr/lib/systemd/system/vboxservice.service"
- install -Dm644 virtualbox-guest-utils.sysusers "$pkgdir/usr/lib/sysusers.d/virtualbox-guest-utils.conf"
- # licence
- install -Dm644 VirtualBox-$pkgver/COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}
-
-package_virtualbox-guest-utils-nox() {
- pkgdesc='VirtualBox Guest userspace utilities without X support'
- depends=('glibc' 'pam' 'VIRTUALBOX-GUEST-MODULES')
- conflicts=('virtualbox-guest-utils')
-
- source "VirtualBox-$pkgver/env.sh"
- pushd "VirtualBox-$pkgver/out/linux.$BUILD_PLATFORM_ARCH/release/bin/additions"
- install -d "$pkgdir/usr/bin"
- install -m755 VBoxControl VBoxService mount.vboxsf "$pkgdir/usr/bin"
- install -m755 -D pam_vbox.so "$pkgdir/usr/lib/security/pam_vbox.so"
- popd
- # systemd stuff
- install -Dm644 60-vboxguest.rules "$pkgdir/usr/lib/udev/rules.d/60-vboxguest.rules"
- install -Dm644 vboxservice-nox.service "$pkgdir/usr/lib/systemd/system/vboxservice.service"
- install -Dm644 virtualbox-guest-utils.sysusers "$pkgdir/usr/lib/sysusers.d/virtualbox-guest-utils.conf"
- # licence
- install -Dm644 "$srcdir/VirtualBox-$pkgver/COPYING" \
- "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}
-
-package_virtualbox-ext-vnc() {
- pkgdesc='VirtualBox VNC extension pack'
- depends=('virtualbox' 'libvncserver')
- optdepends=('tigervnc: vnc client')
- install=virtualbox-ext-vnc.install
-
- source "VirtualBox-$pkgver/env.sh"
- cd "VirtualBox-$pkgver/out/linux.$BUILD_PLATFORM_ARCH/release/packages"
- install -Dm644 VNC-*.vbox-extpack "$pkgdir/usr/share/virtualbox/extensions/VNC-${pkgver}.vbox-extpack"
- # licence
- install -Dm644 "$srcdir/VirtualBox-$pkgver/COPYING" \
- "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}
-
-# vim:set ts=4 sw=4 et:
Copied: virtualbox/repos/community-x86_64/PKGBUILD (from rev 245542, virtualbox/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2017-07-18 12:18:28 UTC (rev 245543)
@@ -0,0 +1,379 @@
+# $Id$
+# Maintainer: Sébastien "Seblu" Luttringer
+# Contributor: Ionut Biru <ibiru at archlinux.org>
+
+pkgbase=virtualbox
+pkgname=('virtualbox'
+ 'virtualbox-host-dkms'
+ 'virtualbox-guest-dkms'
+ 'virtualbox-sdk'
+ 'virtualbox-guest-utils'
+ 'virtualbox-guest-utils-nox'
+ 'virtualbox-ext-vnc')
+pkgver=5.1.24
+pkgrel=1
+arch=('i686' 'x86_64')
+url='http://virtualbox.org'
+license=('GPL' 'custom')
+makedepends=('alsa-lib'
+ 'bin86'
+ 'cdrkit'
+ 'curl'
+ 'dev86'
+ 'device-mapper'
+ 'glu'
+ 'gsoap'
+ 'iasl'
+ 'jdk7-openjdk'
+ 'libidl2'
+ 'libpulse'
+ 'libstdc++5'
+ 'libvncserver'
+ 'libvpx'
+ 'libxcomposite'
+ 'libxcursor'
+ 'libxinerama'
+ 'libxml2'
+ 'libxmu'
+ 'libxrandr'
+ 'libxslt'
+ 'libxtst'
+ 'linux-headers'
+ 'mesa'
+ 'python2'
+ 'qt5-base'
+ 'qt5-x11extras'
+ 'qt5-tools'
+ 'sdl'
+ 'sdl_ttf'
+ 'sed'
+ 'vde2'
+ 'xalan-c'
+ 'xf86driproto'
+ 'xorg-server-devel')
+makedepends_x86_64=('gcc-multilib' 'lib32-glibc')
+source=("http://download.virtualbox.org/virtualbox/${pkgver}/VirtualBox-${pkgver}.tar.bz2"
+ 'virtualbox-host-dkms.conf'
+ 'virtualbox-guest-dkms.conf'
+ 'virtualbox.sysusers'
+ 'virtualbox-guest-utils.sysusers'
+ '60-vboxdrv.rules'
+ '60-vboxguest.rules'
+ 'LocalConfig.kmk'
+ 'vboxservice.service'
+ 'vboxservice-nox.service'
+ 'vboxweb.service'
+ 'vboxreload'
+ '002-dri-driver-path.patch'
+ '003-ogl-include-path.patch'
+ '005-gsoap-build.patch'
+ '006-rdesktop-vrdp-keymap-path.patch'
+ '007-python2-path.patch'
+ '008-no-vboxvideo.patch'
+ )
+sha256sums=('ee2db169a322bf0db3c3b6d8b84aa39236f36cbf37d0a4c10ab65902a396bb60'
+ 'deb03efa7ad0376aa55a087f2e882afe00935f10b0e7aa853ba9147090d341ec'
+ '113f9b92141b85df01f1e74d22f01d1f1aa81650eb79b89ceefc3cae20afe2e2'
+ '2101ebb58233bbfadf3aa74381f22f7e7e508559d2b46387114bc2d8e308554c'
+ 'da4c49f6ca94e047e196cdbcba2c321199f4760056ea66e0fbc659353e128c9e'
+ '9c5238183019f9ebc7d92a8582cad232f471eab9d3278786225abc1a1c7bf66e'
+ '033c597e0f5285d2ddb0490868e5b6f945f45c7b1b1152a02a9e6fea438b2c95'
+ '0105ce26b79dbe533085423decf042ac0f5e6aa28edb5e6a9bc713cca2ab04c5'
+ '94a808f46909a51b2d0cf2c6e0a6c9dea792034943e6413bf9649a036c921b21'
+ '01dbb921bd57a852919cc78be5b73580a564f28ebab2fe8d6c9b8301265cbfce'
+ 'e6e875ef186578b53106d7f6af48e426cdaf1b4e86834f01696b8ef1c685787f'
+ '2a9d7748dc58f9d091f791da06b733a696943114f7c0d580fa00a0752eb1d2ac'
+ 'ee54fe188e27b6e80e2044ea9ba1874db2ca2c026ad04f393be1be69c18d440d'
+ '188014070bce4f6fb9b2535bcd64d066119e182e848c521407ea891ab41a995b'
+ '7d2da8fe10a90f76bbfc80ad1f55df4414f118cd10e10abfb76070326abebd46'
+ '5d5af2de5b1f1c61ec793503350f2440661cf8fd640f11b8a86f10bce499c0dc'
+ '6bdb017459532537199c399eefd3d84d8dc7f1786e79997caebd3b6eb5c75d9f'
+ '8b7f241107863f82a5b0ae336aead0b3366a40103ff72dbebf33f54b512a0cbc'
+ )
+
+prepare() {
+ cd "VirtualBox-$pkgver"
+
+ # apply patch from the source array (should be a pacman feature)
+ local filename
+ for filename in "${source[@]}"; do
+ if [[ "$filename" =~ \.patch$ ]]; then
+ msg2 "Applying patch ${filename##*/}"
+ patch -p1 -N -i "$srcdir/${filename##*/}"
+ fi
+ done
+
+ msg2 'Applying local config'
+ cp "$srcdir/LocalConfig.kmk" .
+
+ msg2 'Use our CFLAGS'
+ echo "VBOX_GCC_OPT=$CXXFLAGS" >> LocalConfig.kmk
+
+ msg2 'Remove gcc version censorship'
+ sed -i 's/^check_gcc$/#check_gcc/' configure
+}
+
+build() {
+ cd "VirtualBox-$pkgver"
+
+ msg2 'Build virtualbox'
+ ./configure \
+ --disable-docs \
+ --enable-webservice \
+ --enable-vde \
+ --enable-vnc \
+ --disable-kmods \
+ --with-makeself=/usr/bin/echo
+ # fake makeself binary to compile without nofatal
+ # makeself is used by linux installer. we don't need it.
+ source ./env.sh
+ kmk
+
+ msg2 'Build rdesktop-vrdp'
+ kmk -C src/VBox/RDP/client-1.8.3
+
+ msg2 'Build VNC extension pack'
+ kmk -C src/VBox/ExtPacks/VNC packing
+}
+
+package_virtualbox() {
+ pkgdesc='Powerful x86 virtualization for enterprise as well as home use'
+ depends=('glibc' 'openssl' 'curl' 'gcc-libs' 'libpng' 'python2' 'sdl'
+ 'libvpx' 'libxml2' 'procps-ng' 'shared-mime-info' 'zlib'
+ 'libxcursor' 'libxinerama' 'libx11' 'libxext' 'libxmu' 'libxt'
+ 'qt5-base' 'qt5-x11extras' 'VIRTUALBOX-HOST-MODULES')
+ optdepends=('vde2: Virtual Distributed Ethernet support'
+ 'net-tools: Host-only or bridged networking support'
+ 'virtualbox-guest-iso: Guest Additions CD image'
+ 'virtualbox-ext-vnc: VNC server support'
+ 'virtualbox-sdk: Developer kit')
+ backup=('etc/vbox/vbox.cfg')
+ replaces=('virtualbox-ose')
+ conflicts=('virtualbox-ose')
+ install=virtualbox.install
+
+ source "VirtualBox-$pkgver/env.sh"
+ cd "VirtualBox-$pkgver/out/linux.$BUILD_PLATFORM_ARCH/release/bin"
+
+ # binaries
+ install -dm755 "$pkgdir/usr/bin"
+ install -m755 VBox.sh "$pkgdir/usr/bin/VBox"
+ for i in VBoxHeadless VBoxManage VBoxSDL VirtualBox vboxwebsrv VBoxBalloonCtrl; do
+ ln -sf VBox "$pkgdir/usr/bin/$i"
+ ln -sf VBox "$pkgdir/usr/bin/${i,,}"
+ done
+ install -m755 VBoxTunctl "$pkgdir/usr/bin"
+ install -m755 rdesktop-vrdp "$pkgdir/usr/bin"
+
+ # libraries
+ install -dm755 "$pkgdir/usr/lib/virtualbox"
+ install -m755 *.so "$pkgdir/usr/lib/virtualbox"
+ install -m644 *.rc *.r0 VBoxEFI*.fd "$pkgdir/usr/lib/virtualbox"
+ ## setuid root binaries
+ install -m4755 VBoxSDL VirtualBox VBoxHeadless VBoxNetDHCP VBoxNetAdpCtl VBoxNetNAT -t "$pkgdir/usr/lib/virtualbox"
+ ## other binaries
+ install -m755 VBoxManage VBoxSVC VBoxExtPackHelperApp VBoxXPCOMIPCD VBoxTestOGL VBoxBalloonCtrl vboxwebsrv webtest -t "$pkgdir/usr/lib/virtualbox"
+
+ # components
+ install -dm755 "$pkgdir/usr/lib/virtualbox/components"
+ install -m755 components/* -t "$pkgdir/usr/lib/virtualbox/components"
+
+ # extensions packs
+ ## as virtualbox install itself stuff in this directory, move it to /var and
+ ## trick it with a symlink
+ ## FIXME: trick is disabled for now
+ #install -dm755 "$pkgdir/var/lib/virtualbox/extensions"
+ #install -dm755 "$pkgdir/usr/share/virtualbox/extensions"
+ #ln -s ../../../var/lib/virtualbox/extensions "$pkgdir/usr/lib/virtualbox/ExtensionPacks"
+ install -dm755 "$pkgdir/usr/lib/virtualbox/ExtensionPacks"
+
+ # languages
+ install -dm755 "$pkgdir/usr/share/virtualbox/nls"
+ install -m755 nls/*.qm -t "$pkgdir/usr/share/virtualbox/nls"
+
+ # rdesktop keymaps
+ install -dm755 "$pkgdir/usr/share/virtualbox/rdesktop-vrdp-keymaps"
+ install -m644 rdesktop-vrdp-keymaps/* "$pkgdir/usr/share/virtualbox/rdesktop-vrdp-keymaps"
+
+ # useless scripts
+ install -m755 VBoxCreateUSBNode.sh VBoxSysInfo.sh -t "$pkgdir/usr/share/virtualbox"
+
+ # icons
+ install -Dm644 VBox.png "$pkgdir/usr/share/pixmaps/VBox.png"
+
+ pushd icons >/dev/null
+ for i in *; do
+ install -d "$pkgdir/usr/share/icons/hicolor/$i/mimetypes"
+ cp $i/* "$pkgdir/usr/share/icons/hicolor/$i/mimetypes"
+ done
+ popd >/dev/null
+
+ #desktop
+ install -Dm644 virtualbox.desktop "$pkgdir/usr/share/applications/virtualbox.desktop"
+ install -Dm644 virtualbox.xml "$pkgdir/usr/share/mime/packages/virtualbox.xml"
+
+ #install configuration
+ install -dm755 "$pkgdir/etc/vbox"
+ echo 'INSTALL_DIR=/usr/lib/virtualbox' > "$pkgdir/etc/vbox/vbox.cfg"
+
+ # back to srcdir
+ cd "$srcdir"
+
+ #licence
+ install -Dm644 VirtualBox-$pkgver/COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+
+ # install systemd stuff
+ install -Dm644 60-vboxdrv.rules "$pkgdir/usr/lib/udev/rules.d/60-vboxdrv.rules"
+ install -Dm644 vboxweb.service "$pkgdir/usr/lib/systemd/system/vboxweb.service"
+ install -Dm644 virtualbox.sysusers "$pkgdir/usr/lib/sysusers.d/virtualbox.conf"
+
+ # install module reloading shortcut (with a symlink with default helper)
+ install -Dm755 vboxreload "$pkgdir/usr/bin"
+ ln -s vboxreload "$pkgdir/usr/bin/rcvboxdrv"
+}
+
+package_virtualbox-sdk() {
+ pkgdesc='VirtualBox Software Developer Kit (SDK)'
+ depends=('python2')
+
+ install -dm755 "$pkgdir/usr/lib/virtualbox"
+
+ source "VirtualBox-$pkgver/env.sh"
+ cd "VirtualBox-$pkgver/out/linux.$BUILD_PLATFORM_ARCH/release/bin"
+
+ install -Dm755 vboxshell.py "$pkgdir/usr/lib/virtualbox/vboxshell.py"
+ # python sdk
+ pushd sdk/installer
+ VBOX_INSTALL_PATH="/usr/lib/virtualbox" python2 vboxapisetup.py install --root "$pkgdir"
+ popd
+ rm -rf sdk/installer
+ cp -r sdk "$pkgdir/usr/lib/virtualbox"
+ # licence
+ install -Dm644 "$srcdir/VirtualBox-$pkgver/COPYING" \
+ "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+package_virtualbox-host-dkms() {
+ pkgdesc='VirtualBox Host kernel modules sources'
+ depends=('dkms' 'gcc' 'make')
+ replaces=('virtualbox-source'
+ 'virtualbox-host-source'
+ 'virtualbox-host-modules-lts')
+ conflicts=('virtualbox-source' 'virtualbox-host-source')
+ provides=('VIRTUALBOX-HOST-MODULES')
+ optdepends=('linux-headers: build modules against Arch kernel'
+ 'linux-lts-headers: build modules against LTS kernel'
+ 'linux-zen-headers: build modules against ZEN kernel')
+ install=virtualbox-host-dkms.install
+
+ install -dm755 "$pkgdir/usr/src"
+ source "VirtualBox-$pkgver/env.sh"
+ cd "VirtualBox-$pkgver/out/linux.$BUILD_PLATFORM_ARCH/release/bin"
+ cp -r src "$pkgdir/usr/src/vboxhost-${pkgver}_OSE"
+ # licence
+ install -Dm644 "$srcdir/VirtualBox-$pkgver/COPYING" \
+ "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+ # module loading
+ local _p="$pkgdir/usr/lib/modules-load.d/$pkgname.conf"
+ install -Dm644 /dev/null "$_p"
+ printf "vboxdrv\nvboxpci\nvboxnetadp\nvboxnetflt\n" > "$_p"
+ # starting vbox 5.1, dkms.conf file was dropped
+ local _p="$pkgdir/usr/src/vboxhost-${pkgver}_OSE/dkms.conf"
+ install -Dm644 "$srcdir/$pkgname.conf" "$_p"
+ sed -i "s, at VERSION@,$pkgver," "$_p"
+}
+
+package_virtualbox-guest-dkms() {
+ pkgdesc='VirtualBox Guest kernel modules sources'
+ depends=('dkms' 'gcc' 'make')
+ replaces=('virtualbox-archlinux-source'
+ 'virtualbox-guest-source'
+ 'virtualbox-guest-modules-lts')
+ provides=('VIRTUALBOX-GUEST-MODULES')
+ conflicts=('virtualbox-archlinux-source' 'virtualbox-guest-source')
+ optdepends=('linux-headers: build modules against Arch kernel'
+ 'linux-lts-headers: build modules against LTS kernel'
+ 'linux-zen-headers: build modules against ZEN kernel')
+ install=virtualbox-guest-dkms.install
+
+ install -dm755 "$pkgdir/usr/src"
+ source "VirtualBox-$pkgver/env.sh"
+ cd "VirtualBox-$pkgver/out/linux.$BUILD_PLATFORM_ARCH/release/bin/additions"
+ cp -r src "$pkgdir/usr/src/vboxguest-${pkgver}_OSE"
+ # licence
+ install -Dm644 "$srcdir/VirtualBox-$pkgver/COPYING" \
+ "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+ # module loading
+ local _p="$pkgdir/usr/lib/modules-load.d/$pkgname.conf"
+ install -Dm644 /dev/null "$_p"
+ printf "vboxguest\nvboxsf\nvboxvideo\n" > "$_p"
+ # starting vbox 5.1, dkms.conf file was dropped
+ local _p="$pkgdir/usr/src/vboxguest-${pkgver}_OSE/dkms.conf"
+ install -Dm644 "$srcdir/$pkgname.conf" "$_p"
+ sed -i "s, at VERSION@,$pkgver," "$_p"
+}
+
+package_virtualbox-guest-utils() {
+ pkgdesc='VirtualBox Guest userspace utilities'
+ depends=('glibc' 'pam' 'libx11' 'libxcomposite'
+ 'libxdamage' 'libxext' 'libxfixes' 'libxmu' 'libxt' 'xorg-xrandr'
+ 'VIRTUALBOX-GUEST-MODULES')
+ replaces=('virtualbox-archlinux-additions' 'virtualbox-guest-additions')
+ conflicts=('virtualbox-archlinux-additions' 'virtualbox-guest-additions' 'virtualbox-guest-utils-nox')
+
+ source "VirtualBox-$pkgver/env.sh"
+ pushd "VirtualBox-$pkgver/out/linux.$BUILD_PLATFORM_ARCH/release/bin/additions"
+ install -d "$pkgdir/usr/bin"
+ install -m755 VBoxClient VBoxControl VBoxService mount.vboxsf "$pkgdir/usr/bin"
+ install -m755 -D "$srcdir"/VirtualBox-$pkgver/src/VBox/Additions/x11/Installer/98vboxadd-xclient \
+ "$pkgdir"/usr/bin/VBoxClient-all
+ install -m644 -D "$srcdir"/VirtualBox-$pkgver/src/VBox/Additions/x11/Installer/vboxclient.desktop \
+ "$pkgdir"/etc/xdg/autostart/vboxclient.desktop
+ install -d "$pkgdir/usr/lib/xorg/modules/dri"
+ install -m755 VBoxOGL*.so "$pkgdir/usr/lib"
+ ln -s /usr/lib/VBoxOGL.so "$pkgdir/usr/lib/xorg/modules/dri/vboxvideo_dri.so"
+ install -m755 -D pam_vbox.so "$pkgdir/usr/lib/security/pam_vbox.so"
+ popd
+ # systemd stuff
+ install -Dm644 60-vboxguest.rules "$pkgdir/usr/lib/udev/rules.d/60-vboxguest.rules"
+ install -Dm644 vboxservice.service "$pkgdir/usr/lib/systemd/system/vboxservice.service"
+ install -Dm644 virtualbox-guest-utils.sysusers "$pkgdir/usr/lib/sysusers.d/virtualbox-guest-utils.conf"
+ # licence
+ install -Dm644 VirtualBox-$pkgver/COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+package_virtualbox-guest-utils-nox() {
+ pkgdesc='VirtualBox Guest userspace utilities without X support'
+ depends=('glibc' 'pam' 'VIRTUALBOX-GUEST-MODULES')
+ conflicts=('virtualbox-guest-utils')
+
+ source "VirtualBox-$pkgver/env.sh"
+ pushd "VirtualBox-$pkgver/out/linux.$BUILD_PLATFORM_ARCH/release/bin/additions"
+ install -d "$pkgdir/usr/bin"
+ install -m755 VBoxControl VBoxService mount.vboxsf "$pkgdir/usr/bin"
+ install -m755 -D pam_vbox.so "$pkgdir/usr/lib/security/pam_vbox.so"
+ popd
+ # systemd stuff
+ install -Dm644 60-vboxguest.rules "$pkgdir/usr/lib/udev/rules.d/60-vboxguest.rules"
+ install -Dm644 vboxservice-nox.service "$pkgdir/usr/lib/systemd/system/vboxservice.service"
+ install -Dm644 virtualbox-guest-utils.sysusers "$pkgdir/usr/lib/sysusers.d/virtualbox-guest-utils.conf"
+ # licence
+ install -Dm644 "$srcdir/VirtualBox-$pkgver/COPYING" \
+ "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+package_virtualbox-ext-vnc() {
+ pkgdesc='VirtualBox VNC extension pack'
+ depends=('virtualbox' 'libvncserver')
+ optdepends=('tigervnc: vnc client')
+ install=virtualbox-ext-vnc.install
+
+ source "VirtualBox-$pkgver/env.sh"
+ cd "VirtualBox-$pkgver/out/linux.$BUILD_PLATFORM_ARCH/release/packages"
+ install -Dm644 VNC-*.vbox-extpack "$pkgdir/usr/share/virtualbox/extensions/VNC-${pkgver}.vbox-extpack"
+ # licence
+ install -Dm644 "$srcdir/VirtualBox-$pkgver/COPYING" \
+ "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+# vim:set ts=4 sw=4 et:
Deleted: community-x86_64/build.sh
===================================================================
--- community-x86_64/build.sh 2017-07-18 12:18:14 UTC (rev 245542)
+++ community-x86_64/build.sh 2017-07-18 12:18:28 UTC (rev 245543)
@@ -1,3 +0,0 @@
-#!/bin/bash
-
-multilib-build "$@" && extra-i686-build "$@"
Copied: virtualbox/repos/community-x86_64/build.sh (from rev 245542, virtualbox/trunk/build.sh)
===================================================================
--- community-x86_64/build.sh (rev 0)
+++ community-x86_64/build.sh 2017-07-18 12:18:28 UTC (rev 245543)
@@ -0,0 +1,3 @@
+#!/bin/bash
+
+multilib-build "$@" && extra-i686-build "$@"
Deleted: community-x86_64/vboxreload
===================================================================
--- community-x86_64/vboxreload 2017-07-18 12:18:14 UTC (rev 245542)
+++ community-x86_64/vboxreload 2017-07-18 12:18:28 UTC (rev 245543)
@@ -1,37 +0,0 @@
-#!/bin/bash
-
-# vboxreload: shortcut to reload virtualbox host modules
-#
-# Copyright © 2016 Sébastien Luttringer
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; either version 2
-# of the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-
-(( UID > 0 )) && { echo 'You must be root' >&2; exit 1; }
-
-modules=(vboxnetadp vboxnetflt vboxpci vboxdrv)
-
-echo -n 'Unloading modules: '
-for _m in "${modules[@]}"; do
- lsmod|grep -q "$_m" && rmmod "$_m" && echo -n "$_m "
-done
-echo
-
-echo -n 'Loading modules: '
-for _m in "${modules[@]}"; do
- modprobe "$_m" && echo -n "$_m "
-done
-echo
-
-# vim:set ts=2 sw=2 ai et:
Copied: virtualbox/repos/community-x86_64/vboxreload (from rev 245542, virtualbox/trunk/vboxreload)
===================================================================
--- community-x86_64/vboxreload (rev 0)
+++ community-x86_64/vboxreload 2017-07-18 12:18:28 UTC (rev 245543)
@@ -0,0 +1,37 @@
+#!/bin/bash
+
+# vboxreload: shortcut to reload virtualbox host modules
+#
+# Copyright © 2016 Sébastien Luttringer
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License
+# as published by the Free Software Foundation; either version 2
+# of the License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+
+(( UID > 0 )) && { echo 'You must be root' >&2; exit 1; }
+
+modules=(vboxnetadp vboxnetflt vboxpci vboxdrv)
+
+echo -n 'Unloading modules: '
+for _m in "${modules[@]}"; do
+ lsmod|grep -q "$_m" && rmmod "$_m" && echo -n "$_m "
+done
+echo
+
+echo -n 'Loading modules: '
+for _m in "${modules[@]}"; do
+ modprobe "$_m" && echo -n "$_m "
+done
+echo
+
+# vim:set ts=2 sw=2 ai et:
Deleted: community-x86_64/vboxservice-nox.service
===================================================================
--- community-x86_64/vboxservice-nox.service 2017-07-18 12:18:14 UTC (rev 245542)
+++ community-x86_64/vboxservice-nox.service 2017-07-18 12:18:28 UTC (rev 245543)
@@ -1,11 +0,0 @@
-[Unit]
-Description=VirtualBox Guest Service
-ConditionVirtualization=oracle
-
-[Service]
-ExecStartPre=-/usr/bin/modprobe vboxguest
-ExecStartPre=-/usr/bin/modprobe vboxsf
-ExecStart=/usr/bin/VBoxService -f
-
-[Install]
-WantedBy=multi-user.target
Copied: virtualbox/repos/community-x86_64/vboxservice-nox.service (from rev 245542, virtualbox/trunk/vboxservice-nox.service)
===================================================================
--- community-x86_64/vboxservice-nox.service (rev 0)
+++ community-x86_64/vboxservice-nox.service 2017-07-18 12:18:28 UTC (rev 245543)
@@ -0,0 +1,11 @@
+[Unit]
+Description=VirtualBox Guest Service
+ConditionVirtualization=oracle
+
+[Service]
+ExecStartPre=-/usr/bin/modprobe vboxguest
+ExecStartPre=-/usr/bin/modprobe vboxsf
+ExecStart=/usr/bin/VBoxService -f
+
+[Install]
+WantedBy=multi-user.target
Deleted: community-x86_64/vboxservice.service
===================================================================
--- community-x86_64/vboxservice.service 2017-07-18 12:18:14 UTC (rev 245542)
+++ community-x86_64/vboxservice.service 2017-07-18 12:18:28 UTC (rev 245543)
@@ -1,12 +0,0 @@
-[Unit]
-Description=VirtualBox Guest Service
-ConditionVirtualization=oracle
-
-[Service]
-ExecStartPre=-/usr/bin/modprobe vboxguest
-ExecStartPre=-/usr/bin/modprobe vboxvideo
-ExecStartPre=-/usr/bin/modprobe vboxsf
-ExecStart=/usr/bin/VBoxService -f
-
-[Install]
-WantedBy=multi-user.target
Copied: virtualbox/repos/community-x86_64/vboxservice.service (from rev 245542, virtualbox/trunk/vboxservice.service)
===================================================================
--- community-x86_64/vboxservice.service (rev 0)
+++ community-x86_64/vboxservice.service 2017-07-18 12:18:28 UTC (rev 245543)
@@ -0,0 +1,12 @@
+[Unit]
+Description=VirtualBox Guest Service
+ConditionVirtualization=oracle
+
+[Service]
+ExecStartPre=-/usr/bin/modprobe vboxguest
+ExecStartPre=-/usr/bin/modprobe vboxvideo
+ExecStartPre=-/usr/bin/modprobe vboxsf
+ExecStart=/usr/bin/VBoxService -f
+
+[Install]
+WantedBy=multi-user.target
Deleted: community-x86_64/vboxweb.service
===================================================================
--- community-x86_64/vboxweb.service 2017-07-18 12:18:14 UTC (rev 245542)
+++ community-x86_64/vboxweb.service 2017-07-18 12:18:28 UTC (rev 245543)
@@ -1,11 +0,0 @@
-[Unit]
-Description=VirtualBox Web Service
-After=network.target
-
-[Service]
-Type=forking
-PIDFile=/run/vboxweb.pid
-ExecStart=/usr/bin/vboxwebsrv --pidfile /run/vboxweb.pid --background
-
-[Install]
-WantedBy=multi-user.target
Copied: virtualbox/repos/community-x86_64/vboxweb.service (from rev 245542, virtualbox/trunk/vboxweb.service)
===================================================================
--- community-x86_64/vboxweb.service (rev 0)
+++ community-x86_64/vboxweb.service 2017-07-18 12:18:28 UTC (rev 245543)
@@ -0,0 +1,11 @@
+[Unit]
+Description=VirtualBox Web Service
+After=network.target
+
+[Service]
+Type=forking
+PIDFile=/run/vboxweb.pid
+ExecStart=/usr/bin/vboxwebsrv --pidfile /run/vboxweb.pid --background
+
+[Install]
+WantedBy=multi-user.target
Deleted: community-x86_64/virtualbox-ext-vnc.install
===================================================================
--- community-x86_64/virtualbox-ext-vnc.install 2017-07-18 12:18:14 UTC (rev 245542)
+++ community-x86_64/virtualbox-ext-vnc.install 2017-07-18 12:18:28 UTC (rev 245543)
@@ -1,27 +0,0 @@
-#!/bin/bash
-
-# arg 1: the new package version
-post_install() {
- EXTPACK="/usr/share/virtualbox/extensions/VNC-${1%%-*}.vbox-extpack"
- ACCEPT="$(bsdtar --to-stdout -xf "${EXTPACK}" ./ExtPack-license.txt | sha256sum | head --bytes=64)"
- VBoxManage extpack install "${EXTPACK}" --accept-license="${ACCEPT}" >/dev/null
-}
-
-# arg 1: the new package version
-# arg 2: the old package version
-pre_upgrade() {
- pre_remove "$2"
-}
-
-# arg 1: the new package version
-# arg 2: the old package version
-post_upgrade() {
- post_install "$1"
-}
-
-# arg 1: the old package version
-pre_remove() {
- VBoxManage extpack uninstall 'VNC' >/dev/null
-}
-
-# vim:set ts=2 sw=2 ft=sh et:
Copied: virtualbox/repos/community-x86_64/virtualbox-ext-vnc.install (from rev 245542, virtualbox/trunk/virtualbox-ext-vnc.install)
===================================================================
--- community-x86_64/virtualbox-ext-vnc.install (rev 0)
+++ community-x86_64/virtualbox-ext-vnc.install 2017-07-18 12:18:28 UTC (rev 245543)
@@ -0,0 +1,27 @@
+#!/bin/bash
+
+# arg 1: the new package version
+post_install() {
+ EXTPACK="/usr/share/virtualbox/extensions/VNC-${1%%-*}.vbox-extpack"
+ ACCEPT="$(bsdtar --to-stdout -xf "${EXTPACK}" ./ExtPack-license.txt | sha256sum | head --bytes=64)"
+ VBoxManage extpack install "${EXTPACK}" --accept-license="${ACCEPT}" >/dev/null
+}
+
+# arg 1: the new package version
+# arg 2: the old package version
+pre_upgrade() {
+ pre_remove "$2"
+}
+
+# arg 1: the new package version
+# arg 2: the old package version
+post_upgrade() {
+ post_install "$1"
+}
+
+# arg 1: the old package version
+pre_remove() {
+ VBoxManage extpack uninstall 'VNC' >/dev/null
+}
+
+# vim:set ts=2 sw=2 ft=sh et:
Deleted: community-x86_64/virtualbox-guest-dkms.conf
===================================================================
--- community-x86_64/virtualbox-guest-dkms.conf 2017-07-18 12:18:14 UTC (rev 245542)
+++ community-x86_64/virtualbox-guest-dkms.conf 2017-07-18 12:18:28 UTC (rev 245543)
@@ -1,31 +0,0 @@
-## @file
-# Linux DKMS config script for the VirtualBox guest kernel modules
-#
-
-#
-# Copyright (C) 2006-2015 Oracle Corporation
-#
-# This file is part of VirtualBox Open Source Edition (OSE), as
-# available from http://www.virtualbox.org. This file is free software;
-# you can redistribute it and/or modify it under the terms of the GNU
-# General Public License (GPL) as published by the Free Software
-# Foundation, in version 2 as it comes in the "COPYING" file of the
-# VirtualBox OSE distribution. VirtualBox OSE is distributed in the
-# hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
-#
-
-PACKAGE_NAME="vboxguest"
-PACKAGE_VERSION=@VERSION at _OSE
-AUTOINSTALL=yes
-
-BUILT_MODULE_NAME[0]="vboxguest"
-BUILT_MODULE_LOCATION[0]="vboxguest"
-DEST_MODULE_LOCATION[0]="/kernel/misc"
-
-BUILT_MODULE_NAME[1]="vboxsf"
-BUILT_MODULE_LOCATION[1]="vboxsf"
-DEST_MODULE_LOCATION[1]="/kernel/misc"
-
-BUILT_MODULE_NAME[2]="vboxvideo"
-BUILT_MODULE_LOCATION[2]="vboxvideo"
-DEST_MODULE_LOCATION[2]="/kernel/misc"
Copied: virtualbox/repos/community-x86_64/virtualbox-guest-dkms.conf (from rev 245542, virtualbox/trunk/virtualbox-guest-dkms.conf)
===================================================================
--- community-x86_64/virtualbox-guest-dkms.conf (rev 0)
+++ community-x86_64/virtualbox-guest-dkms.conf 2017-07-18 12:18:28 UTC (rev 245543)
@@ -0,0 +1,31 @@
+## @file
+# Linux DKMS config script for the VirtualBox guest kernel modules
+#
+
+#
+# Copyright (C) 2006-2015 Oracle Corporation
+#
+# This file is part of VirtualBox Open Source Edition (OSE), as
+# available from http://www.virtualbox.org. This file is free software;
+# you can redistribute it and/or modify it under the terms of the GNU
+# General Public License (GPL) as published by the Free Software
+# Foundation, in version 2 as it comes in the "COPYING" file of the
+# VirtualBox OSE distribution. VirtualBox OSE is distributed in the
+# hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
+#
+
+PACKAGE_NAME="vboxguest"
+PACKAGE_VERSION=@VERSION at _OSE
+AUTOINSTALL=yes
+
+BUILT_MODULE_NAME[0]="vboxguest"
+BUILT_MODULE_LOCATION[0]="vboxguest"
+DEST_MODULE_LOCATION[0]="/kernel/misc"
+
+BUILT_MODULE_NAME[1]="vboxsf"
+BUILT_MODULE_LOCATION[1]="vboxsf"
+DEST_MODULE_LOCATION[1]="/kernel/misc"
+
+BUILT_MODULE_NAME[2]="vboxvideo"
+BUILT_MODULE_LOCATION[2]="vboxvideo"
+DEST_MODULE_LOCATION[2]="/kernel/misc"
Deleted: community-x86_64/virtualbox-guest-dkms.install
===================================================================
--- community-x86_64/virtualbox-guest-dkms.install 2017-07-18 12:18:14 UTC (rev 245542)
+++ community-x86_64/virtualbox-guest-dkms.install 2017-07-18 12:18:28 UTC (rev 245543)
@@ -1,12 +0,0 @@
-#!/bin/bash
-
-# arg 1: the new package version
-# arg 2: the old package version
-post_upgrade() {
- if (( $(vercmp $2 5.0.16-3) < 0 )); then
- echo '==> Since version 5.0.16-2 kernel modules are loaded at boot by systemd-modules-load.'
- echo '==> Read modules-load.d man page to disable them.'
- fi
-}
-
-# vim:set ts=2 sw=2 ft=sh et:
Copied: virtualbox/repos/community-x86_64/virtualbox-guest-dkms.install (from rev 245542, virtualbox/trunk/virtualbox-guest-dkms.install)
===================================================================
--- community-x86_64/virtualbox-guest-dkms.install (rev 0)
+++ community-x86_64/virtualbox-guest-dkms.install 2017-07-18 12:18:28 UTC (rev 245543)
@@ -0,0 +1,12 @@
+#!/bin/bash
+
+# arg 1: the new package version
+# arg 2: the old package version
+post_upgrade() {
+ if (( $(vercmp $2 5.0.16-3) < 0 )); then
+ echo '==> Since version 5.0.16-2 kernel modules are loaded at boot by systemd-modules-load.'
+ echo '==> Read modules-load.d man page to disable them.'
+ fi
+}
+
+# vim:set ts=2 sw=2 ft=sh et:
Deleted: community-x86_64/virtualbox-guest-utils.sysusers
===================================================================
--- community-x86_64/virtualbox-guest-utils.sysusers 2017-07-18 12:18:14 UTC (rev 245542)
+++ community-x86_64/virtualbox-guest-utils.sysusers 2017-07-18 12:18:28 UTC (rev 245543)
@@ -1 +0,0 @@
-g vboxsf 109 -
Copied: virtualbox/repos/community-x86_64/virtualbox-guest-utils.sysusers (from rev 245542, virtualbox/trunk/virtualbox-guest-utils.sysusers)
===================================================================
--- community-x86_64/virtualbox-guest-utils.sysusers (rev 0)
+++ community-x86_64/virtualbox-guest-utils.sysusers 2017-07-18 12:18:28 UTC (rev 245543)
@@ -0,0 +1 @@
+g vboxsf 109 -
Deleted: community-x86_64/virtualbox-host-dkms.conf
===================================================================
--- community-x86_64/virtualbox-host-dkms.conf 2017-07-18 12:18:14 UTC (rev 245542)
+++ community-x86_64/virtualbox-host-dkms.conf 2017-07-18 12:18:28 UTC (rev 245543)
@@ -1,35 +0,0 @@
-## @file
-# Linux DKMS config script for the VirtualBox guest kernel modules
-#
-
-#
-# Copyright (C) 2006-2015 Oracle Corporation
-#
-# This file is part of VirtualBox Open Source Edition (OSE), as
-# available from http://www.virtualbox.org. This file is free software;
-# you can redistribute it and/or modify it under the terms of the GNU
-# General Public License (GPL) as published by the Free Software
-# Foundation, in version 2 as it comes in the "COPYING" file of the
-# VirtualBox OSE distribution. VirtualBox OSE is distributed in the
-# hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
-#
-
-PACKAGE_NAME="vboxhost"
-PACKAGE_VERSION=@VERSION at _OSE
-AUTOINSTALL=yes
-
-BUILT_MODULE_NAME[0]="vboxdrv"
-BUILT_MODULE_LOCATION[0]="vboxdrv"
-DEST_MODULE_LOCATION[0]="/kernel/misc"
-
-BUILT_MODULE_NAME[1]="vboxnetflt"
-BUILT_MODULE_LOCATION[1]="vboxnetflt"
-DEST_MODULE_LOCATION[1]="/kernel/misc"
-
-BUILT_MODULE_NAME[2]="vboxnetadp"
-BUILT_MODULE_LOCATION[2]="vboxnetadp"
-DEST_MODULE_LOCATION[2]="/kernel/misc"
-
-BUILT_MODULE_NAME[3]="vboxpci"
-BUILT_MODULE_LOCATION[3]="vboxpci"
-DEST_MODULE_LOCATION[3]="/kernel/misc"
Copied: virtualbox/repos/community-x86_64/virtualbox-host-dkms.conf (from rev 245542, virtualbox/trunk/virtualbox-host-dkms.conf)
===================================================================
--- community-x86_64/virtualbox-host-dkms.conf (rev 0)
+++ community-x86_64/virtualbox-host-dkms.conf 2017-07-18 12:18:28 UTC (rev 245543)
@@ -0,0 +1,35 @@
+## @file
+# Linux DKMS config script for the VirtualBox guest kernel modules
+#
+
+#
+# Copyright (C) 2006-2015 Oracle Corporation
+#
+# This file is part of VirtualBox Open Source Edition (OSE), as
+# available from http://www.virtualbox.org. This file is free software;
+# you can redistribute it and/or modify it under the terms of the GNU
+# General Public License (GPL) as published by the Free Software
+# Foundation, in version 2 as it comes in the "COPYING" file of the
+# VirtualBox OSE distribution. VirtualBox OSE is distributed in the
+# hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
+#
+
+PACKAGE_NAME="vboxhost"
+PACKAGE_VERSION=@VERSION at _OSE
+AUTOINSTALL=yes
+
+BUILT_MODULE_NAME[0]="vboxdrv"
+BUILT_MODULE_LOCATION[0]="vboxdrv"
+DEST_MODULE_LOCATION[0]="/kernel/misc"
+
+BUILT_MODULE_NAME[1]="vboxnetflt"
+BUILT_MODULE_LOCATION[1]="vboxnetflt"
+DEST_MODULE_LOCATION[1]="/kernel/misc"
+
+BUILT_MODULE_NAME[2]="vboxnetadp"
+BUILT_MODULE_LOCATION[2]="vboxnetadp"
+DEST_MODULE_LOCATION[2]="/kernel/misc"
+
+BUILT_MODULE_NAME[3]="vboxpci"
+BUILT_MODULE_LOCATION[3]="vboxpci"
+DEST_MODULE_LOCATION[3]="/kernel/misc"
Deleted: community-x86_64/virtualbox-host-dkms.install
===================================================================
--- community-x86_64/virtualbox-host-dkms.install 2017-07-18 12:18:14 UTC (rev 245542)
+++ community-x86_64/virtualbox-host-dkms.install 2017-07-18 12:18:28 UTC (rev 245543)
@@ -1,12 +0,0 @@
-#!/bin/bash
-
-# arg 1: the new package version
-# arg 2: the old package version
-post_upgrade() {
- if (( $(vercmp $2 5.0.16-3) < 0 )); then
- echo '==> Since version 5.0.16-2 kernel modules are loaded at boot by systemd-modules-load.'
- echo '==> Read modules-load.d man page to disable them.'
- fi
-}
-
-# vim:set ts=2 sw=2 ft=sh et:
Copied: virtualbox/repos/community-x86_64/virtualbox-host-dkms.install (from rev 245542, virtualbox/trunk/virtualbox-host-dkms.install)
===================================================================
--- community-x86_64/virtualbox-host-dkms.install (rev 0)
+++ community-x86_64/virtualbox-host-dkms.install 2017-07-18 12:18:28 UTC (rev 245543)
@@ -0,0 +1,12 @@
+#!/bin/bash
+
+# arg 1: the new package version
+# arg 2: the old package version
+post_upgrade() {
+ if (( $(vercmp $2 5.0.16-3) < 0 )); then
+ echo '==> Since version 5.0.16-2 kernel modules are loaded at boot by systemd-modules-load.'
+ echo '==> Read modules-load.d man page to disable them.'
+ fi
+}
+
+# vim:set ts=2 sw=2 ft=sh et:
Deleted: community-x86_64/virtualbox.install
===================================================================
--- community-x86_64/virtualbox.install 2017-07-18 12:18:14 UTC (rev 245542)
+++ community-x86_64/virtualbox.install 2017-07-18 12:18:28 UTC (rev 245543)
@@ -1,12 +0,0 @@
-#!/bin/bash
-
-# arg 1: the new package version
-# arg 2: the old package version
-post_upgrade() {
- if (( $(vercmp $2 5.0.16-1) < 0 )); then
- echo '==> Since version 5.0.14-2 kernel modules are provided via dkms'
- echo '==> Check you have the headers matching your kernel installed'
- fi
-}
-
-# vim:set ts=2 sw=2 ft=sh et:
Copied: virtualbox/repos/community-x86_64/virtualbox.install (from rev 245542, virtualbox/trunk/virtualbox.install)
===================================================================
--- community-x86_64/virtualbox.install (rev 0)
+++ community-x86_64/virtualbox.install 2017-07-18 12:18:28 UTC (rev 245543)
@@ -0,0 +1,12 @@
+#!/bin/bash
+
+# arg 1: the new package version
+# arg 2: the old package version
+post_upgrade() {
+ if (( $(vercmp $2 5.0.16-1) < 0 )); then
+ echo '==> Since version 5.0.14-2 kernel modules are provided via dkms'
+ echo '==> Check you have the headers matching your kernel installed'
+ fi
+}
+
+# vim:set ts=2 sw=2 ft=sh et:
Deleted: community-x86_64/virtualbox.sysusers
===================================================================
--- community-x86_64/virtualbox.sysusers 2017-07-18 12:18:14 UTC (rev 245542)
+++ community-x86_64/virtualbox.sysusers 2017-07-18 12:18:28 UTC (rev 245543)
@@ -1 +0,0 @@
-g vboxusers 108 -
Copied: virtualbox/repos/community-x86_64/virtualbox.sysusers (from rev 245542, virtualbox/trunk/virtualbox.sysusers)
===================================================================
--- community-x86_64/virtualbox.sysusers (rev 0)
+++ community-x86_64/virtualbox.sysusers 2017-07-18 12:18:28 UTC (rev 245543)
@@ -0,0 +1 @@
+g vboxusers 108 -
More information about the arch-commits
mailing list