Christian Hesse pushed to branch main at Arch Linux / Packaging / Packages / virtualbox
Commits: 8f115ffb by Christian Hesse at 2025-01-27T08:34:09+01:00 the tarball has been re-uploaded with the file included... - - - - - 4e0c5e4f by Christian Hesse at 2025-01-27T08:58:27+01:00 upgpkg: 7.1.6-2: fix index out-of-bound in SVGA https://gitlab.archlinux.org/archlinux/packaging/packages/virtualbox/-/issues/10 - - - - - 3 changed files: - .SRCINFO - + 022-index-out-of-bound.patch - PKGBUILD Changes: ===================================== .SRCINFO ===================================== @@ -1,6 +1,6 @@ pkgbase = virtualbox pkgver = 7.1.6 - pkgrel = 1 + pkgrel = 2 url = https://virtualbox.org/ arch = x86_64 license = GPL @@ -42,7 +42,7 @@ pkgbase = virtualbox makedepends = xorgproto makedepends = xorg-server-devel makedepends = yasm - source = https://download.virtualbox.org/virtualbox/7.1.6/VirtualBox-7.1.6.tar.bz2 + source = https://download.virtualbox.org/virtualbox/7.1.6/VirtualBox-7.1.6a.tar.bz2 source = virtualbox-host-dkms.conf source = virtualbox.modprobe source = virtualbox.sysusers @@ -65,7 +65,8 @@ pkgbase = virtualbox source = 018-upate-xclient-script.patch source = 020-python-3-12.patch source = 021-python-3-13.patch - sha256sums = 7860c1f14be062424dfee3eae38aec14b078a403b4e2ebafcc4b79cb6eadadcb + source = 022-index-out-of-bound.patch + sha256sums = 5a7b13066ec71990af0cc00a5eea9c7ec3c71ca5ed99bb549c85494ce2ea395d sha256sums = f753501352054576c510aa81e83f4935079ea620e601057784b02b4d4d1eeb04 sha256sums = 07fe5c8b313cd7f01505eb9721357269a288ccd0c04e6467afb954038d6f46df sha256sums = 2101ebb58233bbfadf3aa74381f22f7e7e508559d2b46387114bc2d8e308554c @@ -88,6 +89,7 @@ pkgbase = virtualbox sha256sums = 73ed7ef243c975227660b9bbe7c576018f2c0216b3a3b5efcc4cc56c44c90914 sha256sums = ddb2092a5a000aa6ef854796f39dcdf86e72c06d53b24bac3835350571182df6 sha256sums = a8e53afe996c3de401824261ac4228eb8960af0832de2a8f101e9aa6ddb442f8 + sha256sums = 3ca9654ec978a945dc2bad159e8e4ae646ca381c4c333cf3bb827139e9ee37e1 pkgname = virtualbox pkgdesc = Powerful x86 virtualization for enterprise as well as home use ===================================== 022-index-out-of-bound.patch ===================================== @@ -0,0 +1,12 @@ +diff --git a/src/VBox/Devices/Graphics/DevVGA-SVGA.cpp b/src/VBox/Devices/Graphics/DevVGA-SVGA.cpp +--- a/src/VBox/Devices/Graphics/DevVGA-SVGA.cpp ++++ b/src/VBox/Devices/Graphics/DevVGA-SVGA.cpp +@@ -7082,7 +7082,7 @@ + + if (!pThis->svga.fVMSVGA2dGBO) + { +- for (unsigned i = 0; i <= RT_ELEMENTS(pThis->svga.au32DevCaps); ++i) ++ for (unsigned i = 0; i < RT_ELEMENTS(pThis->svga.au32DevCaps); ++i) + { + uint32_t val = 0; + int rc = vmsvga3dQueryCaps(pThisCC, (SVGA3dDevCapIndex)i, &val); ===================================== PKGBUILD ===================================== @@ -10,8 +10,8 @@ pkgname=('virtualbox' 'virtualbox-guest-utils-nox' 'virtualbox-ext-vnc') pkgver=7.1.6 -_tarver=${pkgver} -pkgrel=1 +_tarver=${pkgver}a +pkgrel=2 arch=('x86_64') url='https://virtualbox.org/' license=('GPL' 'custom:CDDL') @@ -74,8 +74,9 @@ source=("https://download.virtualbox.org/virtualbox/${pkgver}/VirtualBox-${_tarv '013-support-building-from-dkms.patch' '018-upate-xclient-script.patch' '020-python-3-12.patch' - '021-python-3-13.patch') -sha256sums=('7860c1f14be062424dfee3eae38aec14b078a403b4e2ebafcc4b79cb6eadadcb' + '021-python-3-13.patch' + '022-index-out-of-bound.patch') +sha256sums=('5a7b13066ec71990af0cc00a5eea9c7ec3c71ca5ed99bb549c85494ce2ea395d' 'f753501352054576c510aa81e83f4935079ea620e601057784b02b4d4d1eeb04' '07fe5c8b313cd7f01505eb9721357269a288ccd0c04e6467afb954038d6f46df' '2101ebb58233bbfadf3aa74381f22f7e7e508559d2b46387114bc2d8e308554c' @@ -97,7 +98,8 @@ sha256sums=('7860c1f14be062424dfee3eae38aec14b078a403b4e2ebafcc4b79cb6eadadcb' '00f68b86d32a1fada900c2da8dad2ab4215106cd58004f049bded99727cda2ff' '73ed7ef243c975227660b9bbe7c576018f2c0216b3a3b5efcc4cc56c44c90914' 'ddb2092a5a000aa6ef854796f39dcdf86e72c06d53b24bac3835350571182df6' - 'a8e53afe996c3de401824261ac4228eb8960af0832de2a8f101e9aa6ddb442f8') + 'a8e53afe996c3de401824261ac4228eb8960af0832de2a8f101e9aa6ddb442f8' + '3ca9654ec978a945dc2bad159e8e4ae646ca381c4c333cf3bb827139e9ee37e1') prepare() { cd "VirtualBox-${pkgver}" @@ -116,9 +118,6 @@ prepare() { echo 'Use our CFLAGS' echo "VBOX_GCC_OPT=$CXXFLAGS" >> LocalConfig.kmk - - # Hmm, missing file in tarball?! - sed -i '/security-of-remote-vms.dita/d' doc/manual/en_US/dita/UserManual.ditamap } build() { View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/virtualbox/-/compare/9a41224467af61664cc7391ae2af9b16ddec7271...4e0c5e4fa3495a23b5aa0276b50a955144cc6a3b -- View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/virtualbox/-/compare/9a41224467af61664cc7391ae2af9b16ddec7271...4e0c5e4fa3495a23b5aa0276b50a955144cc6a3b You're receiving this email because of your account on gitlab.archlinux.org.