Date: Wednesday, May 29, 2019 @ 08:22:15 Author: arojas Revision: 354468
Qt 5.13 beta 4 Added: qt5-webengine/kde-unstable/qtwebengine-glibc-2.29.patch Modified: qt5-3d/kde-unstable/PKGBUILD qt5-base/kde-unstable/PKGBUILD qt5-charts/kde-unstable/PKGBUILD qt5-connectivity/kde-unstable/PKGBUILD qt5-datavis3d/kde-unstable/PKGBUILD qt5-declarative/kde-unstable/PKGBUILD qt5-doc/kde-unstable/PKGBUILD qt5-examples/kde-unstable/PKGBUILD qt5-gamepad/kde-unstable/PKGBUILD qt5-graphicaleffects/kde-unstable/PKGBUILD qt5-imageformats/kde-unstable/PKGBUILD qt5-location/kde-unstable/PKGBUILD qt5-lottie/kde-unstable/PKGBUILD qt5-multimedia/kde-unstable/PKGBUILD qt5-networkauth/kde-unstable/PKGBUILD qt5-purchasing/kde-unstable/PKGBUILD qt5-quickcontrols/kde-unstable/PKGBUILD qt5-quickcontrols2/kde-unstable/PKGBUILD qt5-remoteobjects/kde-unstable/PKGBUILD qt5-script/kde-unstable/PKGBUILD qt5-scxml/kde-unstable/PKGBUILD qt5-sensors/kde-unstable/PKGBUILD qt5-serialbus/kde-unstable/PKGBUILD qt5-serialport/kde-unstable/PKGBUILD qt5-speech/kde-unstable/PKGBUILD qt5-svg/kde-unstable/PKGBUILD qt5-tools/kde-unstable/PKGBUILD qt5-translations/kde-unstable/PKGBUILD qt5-virtualkeyboard/kde-unstable/PKGBUILD qt5-wayland/kde-unstable/PKGBUILD qt5-webchannel/kde-unstable/PKGBUILD qt5-webengine/kde-unstable/PKGBUILD qt5-webglplugin/kde-unstable/PKGBUILD qt5-websockets/kde-unstable/PKGBUILD qt5-webview/kde-unstable/PKGBUILD qt5-x11extras/kde-unstable/PKGBUILD qt5-xmlpatterns/kde-unstable/PKGBUILD Deleted: qt5-declarative/kde-unstable/qtbug-75203.patch ---------------------------------------------------------+ qt5-3d/kde-unstable/PKGBUILD | 4 qt5-base/kde-unstable/PKGBUILD | 12 - qt5-charts/kde-unstable/PKGBUILD | 4 qt5-connectivity/kde-unstable/PKGBUILD | 4 qt5-datavis3d/kde-unstable/PKGBUILD | 4 qt5-declarative/kde-unstable/PKGBUILD | 13 - qt5-declarative/kde-unstable/qtbug-75203.patch | 28 --- qt5-doc/kde-unstable/PKGBUILD | 4 qt5-examples/kde-unstable/PKGBUILD | 4 qt5-gamepad/kde-unstable/PKGBUILD | 4 qt5-graphicaleffects/kde-unstable/PKGBUILD | 4 qt5-imageformats/kde-unstable/PKGBUILD | 4 qt5-location/kde-unstable/PKGBUILD | 4 qt5-lottie/kde-unstable/PKGBUILD | 4 qt5-multimedia/kde-unstable/PKGBUILD | 4 qt5-networkauth/kde-unstable/PKGBUILD | 4 qt5-purchasing/kde-unstable/PKGBUILD | 4 qt5-quickcontrols/kde-unstable/PKGBUILD | 4 qt5-quickcontrols2/kde-unstable/PKGBUILD | 4 qt5-remoteobjects/kde-unstable/PKGBUILD | 4 qt5-script/kde-unstable/PKGBUILD | 4 qt5-scxml/kde-unstable/PKGBUILD | 4 qt5-sensors/kde-unstable/PKGBUILD | 4 qt5-serialbus/kde-unstable/PKGBUILD | 4 qt5-serialport/kde-unstable/PKGBUILD | 4 qt5-speech/kde-unstable/PKGBUILD | 4 qt5-svg/kde-unstable/PKGBUILD | 4 qt5-tools/kde-unstable/PKGBUILD | 4 qt5-translations/kde-unstable/PKGBUILD | 4 qt5-virtualkeyboard/kde-unstable/PKGBUILD | 4 qt5-wayland/kde-unstable/PKGBUILD | 6 qt5-webchannel/kde-unstable/PKGBUILD | 4 qt5-webengine/kde-unstable/PKGBUILD | 13 - qt5-webengine/kde-unstable/qtwebengine-glibc-2.29.patch | 105 ++++++++++++++ qt5-webglplugin/kde-unstable/PKGBUILD | 4 qt5-websockets/kde-unstable/PKGBUILD | 4 qt5-webview/kde-unstable/PKGBUILD | 4 qt5-x11extras/kde-unstable/PKGBUILD | 4 qt5-xmlpatterns/kde-unstable/PKGBUILD | 4 39 files changed, 189 insertions(+), 120 deletions(-) Modified: qt5-3d/kde-unstable/PKGBUILD =================================================================== --- qt5-3d/kde-unstable/PKGBUILD 2019-05-29 06:45:12 UTC (rev 354467) +++ qt5-3d/kde-unstable/PKGBUILD 2019-05-29 08:22:15 UTC (rev 354468) @@ -2,7 +2,7 @@ # Contributor: Andrea Scarpino <[email protected]> pkgname=qt5-3d -_qtver=5.13.0-beta3 +_qtver=5.13.0-beta4 pkgver=${_qtver/-/} pkgrel=1 arch=('x86_64') @@ -13,7 +13,7 @@ groups=('qt' 'qt5') _pkgfqn="${pkgname/5-/}-everywhere-src-${_qtver}" source=("https://download.qt.io/development_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz") -sha256sums=('207f39c16ea778a8491fad9a0aa1180463d55140379525990287c05e3129ef78') +sha256sums=('92c35fdad0e32097e81a872948fff0f86ed002a37661a4b90e7f04c8993a9cfb') prepare() { mkdir -p build Modified: qt5-base/kde-unstable/PKGBUILD =================================================================== --- qt5-base/kde-unstable/PKGBUILD 2019-05-29 06:45:12 UTC (rev 354467) +++ qt5-base/kde-unstable/PKGBUILD 2019-05-29 08:22:15 UTC (rev 354468) @@ -3,9 +3,9 @@ pkgbase=qt5-base pkgname=(qt5-base qt5-xcb-private-headers) -_qtver=5.13.0-beta3 +_qtver=5.13.0-beta4 pkgver=${_qtver/-/} -pkgrel=2 +pkgrel=1 arch=('x86_64') url='https://www.qt.io' license=('GPL3' 'LGPL3' 'FDL' 'custom') @@ -26,10 +26,8 @@ conflicts=('qtchooser') groups=('qt' 'qt5') _pkgfqn="${pkgbase/5-/}-everywhere-src-${_qtver}" -source=("https://download.qt.io/development_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz" - kdebug-405837.patch::"https://code.qt.io/cgit/qt/qtbase.git/patch/src/widgets/itemviews?id=ed66c932") -sha256sums=('3076eb13e31d2370c54c6d92e7ed06fbd47d8ade17e9a81c3760394ce5101205' - '4e7bf7e5298fc49643ae7900982577dab5c1400c3592938daa24e05de38656b5') +source=("https://download.qt.io/development_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz") +sha256sums=('fca14c759a8bb5e6e591947515ed924406dc2eacb0d5f10dae3ba88084c5a430') prepare() { cd ${_pkgfqn} @@ -40,8 +38,6 @@ mkspecs/common/gcc-base.conf sed -i -e "s|^\(QMAKE_LFLAGS_RELEASE.*\)|\1 ${LDFLAGS}|" \ mkspecs/common/g++-unix.conf - - patch -p1 -i ../kdebug-405837.patch # Fix kitemviews crash } build() { Modified: qt5-charts/kde-unstable/PKGBUILD =================================================================== --- qt5-charts/kde-unstable/PKGBUILD 2019-05-29 06:45:12 UTC (rev 354467) +++ qt5-charts/kde-unstable/PKGBUILD 2019-05-29 08:22:15 UTC (rev 354468) @@ -2,7 +2,7 @@ # Maintainer: Antonio Rojas <[email protected]> pkgname=qt5-charts -_qtver=5.13.0-beta3 +_qtver=5.13.0-beta4 pkgver=${_qtver/-/} pkgrel=1 arch=('x86_64') @@ -15,7 +15,7 @@ groups=('qt' 'qt5') _pkgfqn="${pkgname/5-/}-everywhere-src-${_qtver}" source=("https://download.qt.io/development_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz") -sha256sums=('533dd3c4ff66fc4221aefa1bb9eca9a0d046af29ba46d0a704f14bd94b6f2bef') +sha256sums=('3caebd60503fbe1b9afcc4d3dc3747dde7683173ed38d97351faf4636c0a93a3') prepare() { mkdir -p build Modified: qt5-connectivity/kde-unstable/PKGBUILD =================================================================== --- qt5-connectivity/kde-unstable/PKGBUILD 2019-05-29 06:45:12 UTC (rev 354467) +++ qt5-connectivity/kde-unstable/PKGBUILD 2019-05-29 08:22:15 UTC (rev 354468) @@ -2,7 +2,7 @@ # Contributor: Andrea Scarpino <[email protected]> pkgname=qt5-connectivity -_qtver=5.13.0-beta3 +_qtver=5.13.0-beta4 pkgver=${_qtver/-/} pkgrel=1 arch=('x86_64') @@ -15,7 +15,7 @@ groups=('qt' 'qt5') _pkgfqn="${pkgname/5-/}-everywhere-src-${_qtver}" source=("https://download.qt.io/development_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz") -sha256sums=('43fc292cbd691ce0e6f16408d900cca0575182e2b289bdcc63723af22ccdd6d5') +sha256sums=('74bd415daeb1060aa7e4294924114e458efb1cfca4920dd9c2d3b4e49ec3ff9b') prepare() { mkdir -p build Modified: qt5-datavis3d/kde-unstable/PKGBUILD =================================================================== --- qt5-datavis3d/kde-unstable/PKGBUILD 2019-05-29 06:45:12 UTC (rev 354467) +++ qt5-datavis3d/kde-unstable/PKGBUILD 2019-05-29 08:22:15 UTC (rev 354468) @@ -2,7 +2,7 @@ # Maintainer: Antonio Rojas <[email protected]> pkgname=qt5-datavis3d -_qtver=5.13.0-beta3 +_qtver=5.13.0-beta4 pkgver=${_qtver/-/} pkgrel=1 arch=('x86_64') @@ -15,7 +15,7 @@ groups=('qt' 'qt5') _pkgfqn="${pkgname/5-/}-everywhere-src-${_qtver}" source=("https://download.qt.io/development_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz") -sha256sums=('3b82d4cd58b0b4e9c01f76aca8685f8590002b0e0313f7e8449dc1894a5a6a78') +sha256sums=('35cb579a13080b8bd7887a2858e8757a0cdc85b6859c63d1c0c93d7ca82c92f1') prepare() { mkdir -p build Modified: qt5-declarative/kde-unstable/PKGBUILD =================================================================== --- qt5-declarative/kde-unstable/PKGBUILD 2019-05-29 06:45:12 UTC (rev 354467) +++ qt5-declarative/kde-unstable/PKGBUILD 2019-05-29 08:22:15 UTC (rev 354468) @@ -2,9 +2,9 @@ # Contributor: Andrea Scarpino <[email protected]> pkgname=qt5-declarative -_qtver=5.13.0-beta3 +_qtver=5.13.0-beta4 pkgver=${_qtver/-/} -pkgrel=2 +pkgrel=1 arch=('x86_64') url='https://www.qt.io' license=('GPL3' 'LGPL3' 'FDL' 'custom') @@ -14,16 +14,11 @@ groups=('qt' 'qt5') conflicts=('qtchooser') _pkgfqn="${pkgname/5-/}-everywhere-src-${_qtver}" -source=("https://download.qt.io/development_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz" - qtbug-75203.patch) -sha256sums=('cd4d9c562c8a6e434a786fb288e53337f9e7f5d7a12f264ff274272dbc20cb18' - '458d8d4e5f2d96b4c1cb78937140ceaf966b57213fdbe84d0df33d5a41508028') +source=("https://download.qt.io/development_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz") +sha256sums=('b93cc5e949de31a9951f2e1152c16ad4211aef957337f6d287b586c6f25f6d0c') prepare() { mkdir -p build - - cd $_pkgfqn - patch -p1 -i ../qtbug-75203.patch # Fix crash in SDDM Breeze theme } build() { Deleted: qt5-declarative/kde-unstable/qtbug-75203.patch =================================================================== --- qt5-declarative/kde-unstable/qtbug-75203.patch 2019-05-29 06:45:12 UTC (rev 354467) +++ qt5-declarative/kde-unstable/qtbug-75203.patch 2019-05-29 08:22:15 UTC (rev 354468) @@ -1,28 +0,0 @@ -From ea74f0c68cddf706c950d3910cf7b363fe24885b Mon Sep 17 00:00:00 2001 -From: Ulf Hermann <[email protected]> -Date: Wed, 17 Apr 2019 12:35:42 +0200 -Subject: Don't crash when accessing invalid properties through QObjectWrapper - -Change-Id: I613bf5dc685bb4235262b429d8f7318ea144fb9d -Fixes: QTBUG-75203 -Reviewed-by: Erik Verbruggen <[email protected]> ---- - src/qml/jsruntime/qv4qobjectwrapper.cpp | 2 +- - .../data/undefinedPropertiesInObjectWrapper.qml | 20 ++++++++++++++++++++ - tests/auto/qml/qqmlecmascript/tst_qqmlecmascript.cpp | 10 ++++++++++ - 3 files changed, 31 insertions(+), 1 deletion(-) - create mode 100644 tests/auto/qml/qqmlecmascript/data/undefinedPropertiesInObjectWrapper.qml - -diff --git a/src/qml/jsruntime/qv4qobjectwrapper.cpp b/src/qml/jsruntime/qv4qobjectwrapper.cpp -index 377c30617..5467e730e 100644 ---- a/src/qml/jsruntime/qv4qobjectwrapper.cpp -+++ b/src/qml/jsruntime/qv4qobjectwrapper.cpp -@@ -856,7 +856,7 @@ ReturnedValue QObjectWrapper::virtualResolveLookupGetter(const Object *object, E - if (!ddata || !ddata->propertyCache) { - QQmlPropertyData local; - QQmlPropertyData *property = QQmlPropertyCache::property(engine->jsEngine(), qobj, name, qmlContext, local); -- return getProperty(engine, qobj, property); -+ return property ? getProperty(engine, qobj, property) : QV4::Encode::undefined(); - } - QQmlPropertyData *property = ddata->propertyCache->property(name.getPointer(), qobj, qmlContext); - Modified: qt5-doc/kde-unstable/PKGBUILD =================================================================== --- qt5-doc/kde-unstable/PKGBUILD 2019-05-29 06:45:12 UTC (rev 354467) +++ qt5-doc/kde-unstable/PKGBUILD 2019-05-29 08:22:15 UTC (rev 354468) @@ -3,7 +3,7 @@ # Contributor: Michael Hansen <zrax0111 gmail com> pkgname=qt5-doc -_qtver=5.13.0-beta3 +_qtver=5.13.0-beta4 pkgver=${_qtver/-/} pkgrel=1 arch=('any') @@ -16,7 +16,7 @@ groups=('qt' 'qt5') _pkgfqn="qt-everywhere-src-${_qtver}" source=("https://download.qt.io/development_releases/qt/${pkgver%.*}/${_qtver}/single/${_pkgfqn}.tar.xz") -sha256sums=('0118ef63c69bc5265c4310e5ab262242eb8ec7160c54f2e5a619204982b10a9f') +sha256sums=('1af4843c49c0fd79aebbffc24e9c57256a7aefc74bc5dd9aa7d3214ae2ab18bc') prepare() { cd ${_pkgfqn} Modified: qt5-examples/kde-unstable/PKGBUILD =================================================================== --- qt5-examples/kde-unstable/PKGBUILD 2019-05-29 06:45:12 UTC (rev 354467) +++ qt5-examples/kde-unstable/PKGBUILD 2019-05-29 08:22:15 UTC (rev 354468) @@ -3,7 +3,7 @@ # Contributor: Michael Hansen <zrax0111 gmail com> pkgname=qt5-examples -_qtver=5.13.0-beta3 +_qtver=5.13.0-beta4 pkgver=${_qtver/-/} pkgrel=1 arch=('any') @@ -14,7 +14,7 @@ groups=('qt' 'qt5') _pkgfqn="qt-everywhere-src-${_qtver}" source=("https://download.qt.io/development_releases/qt/${pkgver%.*}/${_qtver}/single/${_pkgfqn}.tar.xz") -sha256sums=('0118ef63c69bc5265c4310e5ab262242eb8ec7160c54f2e5a619204982b10a9f') +sha256sums=('1af4843c49c0fd79aebbffc24e9c57256a7aefc74bc5dd9aa7d3214ae2ab18bc') package() { _base="$pkgdir"/usr/share/doc/qt/examples Modified: qt5-gamepad/kde-unstable/PKGBUILD =================================================================== --- qt5-gamepad/kde-unstable/PKGBUILD 2019-05-29 06:45:12 UTC (rev 354467) +++ qt5-gamepad/kde-unstable/PKGBUILD 2019-05-29 08:22:15 UTC (rev 354468) @@ -2,7 +2,7 @@ # Maintainer: Antonio Rojas <[email protected]> pkgname=qt5-gamepad -_qtver=5.13.0-beta3 +_qtver=5.13.0-beta4 pkgver=${_qtver/-/} pkgrel=1 arch=('x86_64') @@ -15,7 +15,7 @@ groups=('qt' 'qt5') _pkgfqn="${pkgname/5-/}-everywhere-src-${_qtver}" source=("https://download.qt.io/development_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz") -sha256sums=('947284a2b77e4dd0bf1e8891f33f757789e2a37bca7e4422ac2fc5b6e33cd461') +sha256sums=('d777b4d34047bfea4da11c790d8901c4493764fbb146c91bb6b5b1da06a7e018') prepare() { mkdir -p build Modified: qt5-graphicaleffects/kde-unstable/PKGBUILD =================================================================== --- qt5-graphicaleffects/kde-unstable/PKGBUILD 2019-05-29 06:45:12 UTC (rev 354467) +++ qt5-graphicaleffects/kde-unstable/PKGBUILD 2019-05-29 08:22:15 UTC (rev 354468) @@ -2,7 +2,7 @@ # Contributor: Andrea Scarpino <[email protected]> pkgname=qt5-graphicaleffects -_qtver=5.13.0-beta3 +_qtver=5.13.0-beta4 pkgver=${_qtver/-/} pkgrel=1 arch=('x86_64') @@ -14,7 +14,7 @@ groups=('qt' 'qt5') _pkgfqn="${pkgname/5-/}-everywhere-src-${_qtver}" source=("https://download.qt.io/development_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz") -sha256sums=('eda97d5fade63c1e92e2ac653c701464a557236b646a0af16c8fdb849faa1e93') +sha256sums=('bd5ba3119261769ede3a33a0fd4671da7c03829461fe8c31e8a2a4a7e41c6f71') prepare() { mkdir -p build Modified: qt5-imageformats/kde-unstable/PKGBUILD =================================================================== --- qt5-imageformats/kde-unstable/PKGBUILD 2019-05-29 06:45:12 UTC (rev 354467) +++ qt5-imageformats/kde-unstable/PKGBUILD 2019-05-29 08:22:15 UTC (rev 354468) @@ -2,7 +2,7 @@ # Contributor: Andrea Scarpino <[email protected]> pkgname=qt5-imageformats -_qtver=5.13.0-beta3 +_qtver=5.13.0-beta4 pkgver=${_qtver/-/} pkgrel=1 arch=('x86_64') @@ -14,7 +14,7 @@ groups=('qt' 'qt5') _pkgfqn="${pkgname/5-/}-everywhere-src-${_qtver}" source=("https://download.qt.io/development_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz") -sha256sums=('9b582f90a83413468d1389759f6ed4c66982daf16e351fe6c0d97496b602344d') +sha256sums=('2d07c248ed6dc4558fa560608edc36894064e31ac1c80a920de23e7cbb500816') prepare() { mkdir -p build Modified: qt5-location/kde-unstable/PKGBUILD =================================================================== --- qt5-location/kde-unstable/PKGBUILD 2019-05-29 06:45:12 UTC (rev 354467) +++ qt5-location/kde-unstable/PKGBUILD 2019-05-29 08:22:15 UTC (rev 354468) @@ -2,7 +2,7 @@ # Contributor: Andrea Scarpino <[email protected]> pkgname=qt5-location -_qtver=5.13.0-beta3 +_qtver=5.13.0-beta4 pkgver=${_qtver/-/} pkgrel=1 arch=('x86_64') @@ -13,7 +13,7 @@ groups=('qt' 'qt5') _pkgfqn="${pkgname/5-/}-everywhere-src-${_qtver}" source=("https://download.qt.io/development_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz") -sha256sums=('f03d33bed22a63314347585d331d72b79dea4109b598c58d9fecf557d47e2cb9') +sha256sums=('a7ab010f11f47efd0789f7cf0ad0897161617da5ae6ab103754d8525116d42af') prepare() { mkdir -p build Modified: qt5-lottie/kde-unstable/PKGBUILD =================================================================== --- qt5-lottie/kde-unstable/PKGBUILD 2019-05-29 06:45:12 UTC (rev 354467) +++ qt5-lottie/kde-unstable/PKGBUILD 2019-05-29 08:22:15 UTC (rev 354468) @@ -2,7 +2,7 @@ # Maintainer: Felix Yan <[email protected]> pkgname=qt5-lottie -_qtver=5.13.0-beta3 +_qtver=5.13.0-beta4 pkgver=${_qtver/-/} pkgrel=1 arch=('x86_64') @@ -13,7 +13,7 @@ groups=('qt' 'qt5') _pkgfqn="${pkgname/5-/}-everywhere-src-${_qtver}" source=("https://download.qt.io/development_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz") -sha256sums=('94ca0c185ba584db33d25e8d23f2fdcb710d0a14ea492de3ffb18d6a540750ff') +sha256sums=('1cb2e1d08b0cf38387ad496bc2866f3cc330fa253e49d78c087386824ba568d4') prepare() { mkdir -p build Modified: qt5-multimedia/kde-unstable/PKGBUILD =================================================================== --- qt5-multimedia/kde-unstable/PKGBUILD 2019-05-29 06:45:12 UTC (rev 354467) +++ qt5-multimedia/kde-unstable/PKGBUILD 2019-05-29 08:22:15 UTC (rev 354468) @@ -2,7 +2,7 @@ # Contributor: Andrea Scarpino <[email protected]> pkgname=qt5-multimedia -_qtver=5.13.0-beta3 +_qtver=5.13.0-beta4 pkgver=${_qtver/-/} pkgrel=1 arch=('x86_64') @@ -17,7 +17,7 @@ groups=('qt' 'qt5') _pkgfqn="${pkgname/5-/}-everywhere-src-${_qtver}" source=("https://download.qt.io/development_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz") -sha256sums=('2c1b0e9031053aca6bb531940025a40a3b13ba75936f002d301218fa12082fe4') +sha256sums=('5d2618c034db90338494efe944f83364f91bdc3432c42f360c5d6adcd10ddfc6') prepare() { mkdir -p build Modified: qt5-networkauth/kde-unstable/PKGBUILD =================================================================== --- qt5-networkauth/kde-unstable/PKGBUILD 2019-05-29 06:45:12 UTC (rev 354467) +++ qt5-networkauth/kde-unstable/PKGBUILD 2019-05-29 08:22:15 UTC (rev 354468) @@ -2,7 +2,7 @@ # Maintainer: Felix Yan <[email protected]> pkgname=qt5-networkauth -_qtver=5.13.0-beta3 +_qtver=5.13.0-beta4 pkgver=${_qtver/-/} pkgrel=1 arch=(x86_64) @@ -13,7 +13,7 @@ groups=(qt qt5) _pkgfqn="${pkgname/5-/}-everywhere-src-${_qtver}" source=("https://download.qt.io/development_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz") -sha256sums=('c757bd7bf6e2d27b86a1e969c8018db005ce9410d64d76ae7c08506496491432') +sha256sums=('33f2068053f8aaec1260dbe7080ead5b409ff5780bad75633c51e5197016d01e') prepare() { mkdir -p build Modified: qt5-purchasing/kde-unstable/PKGBUILD =================================================================== --- qt5-purchasing/kde-unstable/PKGBUILD 2019-05-29 06:45:12 UTC (rev 354467) +++ qt5-purchasing/kde-unstable/PKGBUILD 2019-05-29 08:22:15 UTC (rev 354468) @@ -2,7 +2,7 @@ # Maintainer: Antonio Rojas <[email protected]> pkgname=qt5-purchasing -_qtver=5.13.0-beta3 +_qtver=5.13.0-beta4 pkgver=${_qtver/-/} pkgrel=1 arch=('x86_64') @@ -15,7 +15,7 @@ groups=('qt' 'qt5') _pkgfqn="${pkgname/5-/}-everywhere-src-${_qtver}" source=("https://download.qt.io/development_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz") -sha256sums=('96a24f0593468efc64f5974d172a3007f440580893caa7f3f8d9b83f8e5f46cc') +sha256sums=('b03fbaf7bdb093f8f6acbf791c1eb491b0a1bbcc6896af331e64735ddde1495c') prepare() { mkdir -p build Modified: qt5-quickcontrols/kde-unstable/PKGBUILD =================================================================== --- qt5-quickcontrols/kde-unstable/PKGBUILD 2019-05-29 06:45:12 UTC (rev 354467) +++ qt5-quickcontrols/kde-unstable/PKGBUILD 2019-05-29 08:22:15 UTC (rev 354468) @@ -2,7 +2,7 @@ # Contributor: Andrea Scarpino <[email protected]> pkgname=qt5-quickcontrols -_qtver=5.13.0-beta3 +_qtver=5.13.0-beta4 pkgver=${_qtver/-/} pkgrel=1 arch=('x86_64') @@ -14,7 +14,7 @@ groups=('qt' 'qt5') _pkgfqn="${pkgname/5-/}-everywhere-src-${_qtver}" source=("https://download.qt.io/development_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz") -sha256sums=('7bb732388730714571febac6c1134ffae269892a69fb2f6c62d9f85d44554904') +sha256sums=('9c74d71c7cb753529f8ac58ad06f6f42c90992c8bac41ce4ef93488a23021a54') prepare() { mkdir -p build Modified: qt5-quickcontrols2/kde-unstable/PKGBUILD =================================================================== --- qt5-quickcontrols2/kde-unstable/PKGBUILD 2019-05-29 06:45:12 UTC (rev 354467) +++ qt5-quickcontrols2/kde-unstable/PKGBUILD 2019-05-29 08:22:15 UTC (rev 354468) @@ -2,7 +2,7 @@ # Contributor: Andrea Scarpino <[email protected]> pkgname=qt5-quickcontrols2 -_qtver=5.13.0-beta3 +_qtver=5.13.0-beta4 pkgver=${_qtver/-/} pkgrel=1 arch=('x86_64') @@ -14,7 +14,7 @@ groups=('qt' 'qt5') _pkgfqn="${pkgname/5-/}-everywhere-src-${_qtver}" source=("https://download.qt.io/development_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz") -sha256sums=('3f61e5752a1f7464e8c1617b824e3f238bc3d4789d6d1a77c5fdd061b1f13e78') +sha256sums=('6bfdc0e57c2bedb9c444418ae207acbd358148652172ddd46379d07d709892c9') prepare() { mkdir -p build Modified: qt5-remoteobjects/kde-unstable/PKGBUILD =================================================================== --- qt5-remoteobjects/kde-unstable/PKGBUILD 2019-05-29 06:45:12 UTC (rev 354467) +++ qt5-remoteobjects/kde-unstable/PKGBUILD 2019-05-29 08:22:15 UTC (rev 354468) @@ -2,7 +2,7 @@ # Maintainer: Antonio Rojas <[email protected]> pkgname=qt5-remoteobjects -_qtver=5.13.0-beta3 +_qtver=5.13.0-beta4 pkgver=${_qtver/-/} pkgrel=1 arch=(x86_64) @@ -15,7 +15,7 @@ groups=(qt qt5) _pkgfqn="${pkgname/5-/}-everywhere-src-${_qtver}" source=("https://download.qt.io/development_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz") -sha256sums=('c7d9166953db200c542620e9255045d2056f203875ca5f5b7cc0dec32c8eb0f7') +sha256sums=('7f8a3adca9cf1ca84df2406e611df968ea6d508ecf2b832d72bd4aefd63ce807') prepare() { mkdir -p build Modified: qt5-script/kde-unstable/PKGBUILD =================================================================== --- qt5-script/kde-unstable/PKGBUILD 2019-05-29 06:45:12 UTC (rev 354467) +++ qt5-script/kde-unstable/PKGBUILD 2019-05-29 08:22:15 UTC (rev 354468) @@ -2,7 +2,7 @@ # Contributor: Andrea Scarpino <[email protected]> pkgname=qt5-script -_qtver=5.13.0-beta3 +_qtver=5.13.0-beta4 pkgver=${_qtver/-/} pkgrel=1 arch=('x86_64') @@ -14,7 +14,7 @@ groups=('qt' 'qt5') _pkgfqn="${pkgname/5-/}-everywhere-src-${_qtver}" source=("https://download.qt.io/development_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz") -sha256sums=('c42e7378e5df11bba20e4855d79db9d4280c0c1efbd1245dfa75d4ba67addc3b') +sha256sums=('f2715fd1c58e18630ac9b484fe10f6ebfcfb6bef9cf6a840abb789d643f93f0d') prepare() { mkdir -p build Modified: qt5-scxml/kde-unstable/PKGBUILD =================================================================== --- qt5-scxml/kde-unstable/PKGBUILD 2019-05-29 06:45:12 UTC (rev 354467) +++ qt5-scxml/kde-unstable/PKGBUILD 2019-05-29 08:22:15 UTC (rev 354468) @@ -2,7 +2,7 @@ # Maintainer: Antonio Rojas <[email protected]> pkgname=qt5-scxml -_qtver=5.13.0-beta3 +_qtver=5.13.0-beta4 pkgver=${_qtver/-/} pkgrel=1 arch=('x86_64') @@ -14,7 +14,7 @@ groups=('qt' 'qt5') _pkgfqn="${pkgname/5-/}-everywhere-src-${_qtver}" source=("https://download.qt.io/development_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz") -sha256sums=('2c61a077fb901b6e063355e6b64ab40b1c13a6905f91e25b43a76c8b48b2d2fa') +sha256sums=('f6c8de1f9af86a7b6f8a06a093e0c3dc60aafaa6051a7be97720631085b3ba2b') prepare() { mkdir -p build Modified: qt5-sensors/kde-unstable/PKGBUILD =================================================================== --- qt5-sensors/kde-unstable/PKGBUILD 2019-05-29 06:45:12 UTC (rev 354467) +++ qt5-sensors/kde-unstable/PKGBUILD 2019-05-29 08:22:15 UTC (rev 354468) @@ -2,7 +2,7 @@ # Contributor: Andrea Scarpino <[email protected]> pkgname=qt5-sensors -_qtver=5.13.0-beta3 +_qtver=5.13.0-beta4 pkgver=${_qtver/-/} pkgrel=1 arch=('x86_64') @@ -15,7 +15,7 @@ groups=('qt' 'qt5') _pkgfqn="${pkgname/5-/}-everywhere-src-${_qtver}" source=("https://download.qt.io/development_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz") -sha256sums=('d94b7f7f2cf412632a8ae644aa0b4dbf2558c2971e158c24307508990542113e') +sha256sums=('1509988fb3d645efa3c7205652868b861348a651afdea194a08644de177324b8') prepare() { mkdir -p build Modified: qt5-serialbus/kde-unstable/PKGBUILD =================================================================== --- qt5-serialbus/kde-unstable/PKGBUILD 2019-05-29 06:45:12 UTC (rev 354467) +++ qt5-serialbus/kde-unstable/PKGBUILD 2019-05-29 08:22:15 UTC (rev 354468) @@ -2,7 +2,7 @@ # Contributor: Andrea Scarpino <[email protected]> pkgname=qt5-serialbus -_qtver=5.13.0-beta3 +_qtver=5.13.0-beta4 pkgver=${_qtver/-/} pkgrel=1 arch=('x86_64') @@ -14,7 +14,7 @@ groups=('qt' 'qt5') _pkgfqn="${pkgname/5-/}-everywhere-src-${_qtver}" source=("https://download.qt.io/development_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz") -sha256sums=('8dd709528787762c8c12ee59e74ec9e70c4e4513328528a66810609b4f9305d8') +sha256sums=('6ecafa3c05b90361ceef3fcdb9401b142e8afc00a7af115836cf53861d891ec6') prepare() { mkdir -p build Modified: qt5-serialport/kde-unstable/PKGBUILD =================================================================== --- qt5-serialport/kde-unstable/PKGBUILD 2019-05-29 06:45:12 UTC (rev 354467) +++ qt5-serialport/kde-unstable/PKGBUILD 2019-05-29 08:22:15 UTC (rev 354468) @@ -2,7 +2,7 @@ # Contributor: Andrea Scarpino <[email protected]> pkgname=qt5-serialport -_qtver=5.13.0-beta3 +_qtver=5.13.0-beta4 pkgver=${_qtver/-/} pkgrel=1 arch=('x86_64') @@ -14,7 +14,7 @@ groups=('qt' 'qt5') _pkgfqn="${pkgname/5-/}-everywhere-src-${_qtver}" source=("https://download.qt.io/development_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz") -sha256sums=('2149a9f52f3b2cfcb63df7fd7c0c220e146af68053b67258ff06415d577046dc') +sha256sums=('6e2ba0a94246dcb92e36985bfb4517e26d4709feab5c534894bf822b4d6813b2') prepare() { mkdir -p build Modified: qt5-speech/kde-unstable/PKGBUILD =================================================================== --- qt5-speech/kde-unstable/PKGBUILD 2019-05-29 06:45:12 UTC (rev 354467) +++ qt5-speech/kde-unstable/PKGBUILD 2019-05-29 08:22:15 UTC (rev 354468) @@ -2,7 +2,7 @@ # Maintainer: Felix Yan <[email protected]> pkgname=qt5-speech -_qtver=5.13.0-beta3 +_qtver=5.13.0-beta4 pkgver=${_qtver/-/} pkgrel=1 arch=(x86_64) @@ -15,7 +15,7 @@ groups=(qt qt5) _pkgfqn="${pkgname/5-/}-everywhere-src-${_qtver}" source=("https://download.qt.io/development_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz") -sha256sums=('357aba8c50048950048be15ac815f1107dcd2543f25e2ebf95eb38126b0bc839') +sha256sums=('29baf91b6fbbcdfb9fd2d3f7ac89526f95a7ae0ab821b14293827e68d6c249ad') prepare() { mkdir -p build Modified: qt5-svg/kde-unstable/PKGBUILD =================================================================== --- qt5-svg/kde-unstable/PKGBUILD 2019-05-29 06:45:12 UTC (rev 354467) +++ qt5-svg/kde-unstable/PKGBUILD 2019-05-29 08:22:15 UTC (rev 354468) @@ -2,7 +2,7 @@ # Contributor: Andrea Scarpino <[email protected]> pkgname=qt5-svg -_qtver=5.13.0-beta3 +_qtver=5.13.0-beta4 pkgver=${_qtver/-/} pkgrel=1 arch=('x86_64') @@ -13,7 +13,7 @@ groups=('qt' 'qt5') _pkgfqn="${pkgname/5-/}-everywhere-src-${_qtver}" source=("https://download.qt.io/development_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz") -sha256sums=('09b08898be04075c8038f0f299977ef0d223dc2c4aaf6e13d13eb9a66abaafdc') +sha256sums=('bf5b0edfccf2cf21f4f81a9c1fd7bc403a72053e17e285103127dbb1c07e4af6') prepare() { mkdir -p build Modified: qt5-tools/kde-unstable/PKGBUILD =================================================================== --- qt5-tools/kde-unstable/PKGBUILD 2019-05-29 06:45:12 UTC (rev 354467) +++ qt5-tools/kde-unstable/PKGBUILD 2019-05-29 08:22:15 UTC (rev 354468) @@ -2,7 +2,7 @@ # Contributor: Andrea Scarpino <[email protected]> pkgname=qt5-tools -_qtver=5.13.0-beta3 +_qtver=5.13.0-beta4 pkgver=${_qtver/-/} pkgrel=1 arch=('x86_64') @@ -17,7 +17,7 @@ _pkgfqn="${pkgname/5-/}-everywhere-src-${_qtver}" source=("https://download.qt.io/development_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz" {assistant,designer,linguist,qdbusviewer}.desktop) -sha256sums=('e636c82377c9a2f48759a63bb0d33cc74fd78cc3cb66b2af1a00ca221822eb75' +sha256sums=('78139313b9ec424d43b62c470be00245dcc9735396cd13b98bdf5788cc090d9f' '8092d6d846e39632107b14726fa112862d800e929ef10f05f2a284dbda9b53c4' '92f3e5dc8bc416e02893c38a05287238853e0c20732df1e62d6a672744a34e7c' '15781519115e36d2c67c12ee6bc636425cd445072f43cb8bdd1364cfacbe4c45' Modified: qt5-translations/kde-unstable/PKGBUILD =================================================================== --- qt5-translations/kde-unstable/PKGBUILD 2019-05-29 06:45:12 UTC (rev 354467) +++ qt5-translations/kde-unstable/PKGBUILD 2019-05-29 08:22:15 UTC (rev 354468) @@ -2,7 +2,7 @@ # Contributor: Andrea Scarpino <[email protected]> pkgname=qt5-translations -_qtver=5.13.0-beta3 +_qtver=5.13.0-beta4 pkgver=${_qtver/-/} pkgrel=1 arch=('any') @@ -14,7 +14,7 @@ groups=('qt' 'qt5') _pkgfqn="${pkgname/5-/}-everywhere-src-${_qtver}" source=("https://download.qt.io/development_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz") -sha256sums=('11bf36ea2f5685a38d8f62a7a7f1ab2fa69877e41cf04d28b8307bc13ef4c671') +sha256sums=('089deac398a80e35a1a40f967ed0c43f92b1d458cad1fc15b95fff5f5b4f33b6') prepare() { mkdir -p build Modified: qt5-virtualkeyboard/kde-unstable/PKGBUILD =================================================================== --- qt5-virtualkeyboard/kde-unstable/PKGBUILD 2019-05-29 06:45:12 UTC (rev 354467) +++ qt5-virtualkeyboard/kde-unstable/PKGBUILD 2019-05-29 08:22:15 UTC (rev 354468) @@ -2,7 +2,7 @@ # Maintainer: Antonio Rojas <[email protected]> pkgname=qt5-virtualkeyboard -_qtver=5.13.0-beta3 +_qtver=5.13.0-beta4 pkgver=${_qtver/-/} pkgrel=1 arch=('x86_64') @@ -14,7 +14,7 @@ groups=('qt' 'qt5') _pkgfqn="${pkgname/5-/}-everywhere-src-${_qtver}" source=("https://download.qt.io/development_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz") -sha256sums=('e9b7640e656ec953b939de5479088e18d945e6ddf4ca5a80b721d887727742f4') +sha256sums=('54f8ab0985bf5a56b21ba452a7834f2852c7e6c5e65054491ed08f22bb7660d4') prepare() { mkdir -p build Modified: qt5-wayland/kde-unstable/PKGBUILD =================================================================== --- qt5-wayland/kde-unstable/PKGBUILD 2019-05-29 06:45:12 UTC (rev 354467) +++ qt5-wayland/kde-unstable/PKGBUILD 2019-05-29 08:22:15 UTC (rev 354468) @@ -2,9 +2,9 @@ # Contributor: Andrea Scarpino <[email protected]> pkgname=qt5-wayland -_qtver=5.13.0-beta3 +_qtver=5.13.0-beta4 pkgver=${_qtver/-/} -pkgrel=2 +pkgrel=1 arch=('x86_64') url='https://www.qt.io' license=('GPL3' 'LGPL3' 'FDL' 'custom') @@ -14,7 +14,7 @@ _pkgfqn="${pkgname/5-/}-everywhere-src-${_qtver}" source=("https://download.qt.io/development_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz" qtwayland-kscreenlocker-crash.patch) -sha256sums=('910ef400388e42e6393ea4f57733801884ef96fcd87e122cefac14478009103f' +sha256sums=('8ded42012190d3670779e3ada78b593ffa07a73caba94241a46faf420b3cda85' '3793d004170cb7ce4947d28128d71fc73556857e71384854607ae6c5921d6fe9') prepare() { Modified: qt5-webchannel/kde-unstable/PKGBUILD =================================================================== --- qt5-webchannel/kde-unstable/PKGBUILD 2019-05-29 06:45:12 UTC (rev 354467) +++ qt5-webchannel/kde-unstable/PKGBUILD 2019-05-29 08:22:15 UTC (rev 354468) @@ -2,7 +2,7 @@ # Contributor: Andrea Scarpino <[email protected]> pkgname=qt5-webchannel -_qtver=5.13.0-beta3 +_qtver=5.13.0-beta4 pkgver=${_qtver/-/} pkgrel=1 arch=('x86_64') @@ -14,7 +14,7 @@ groups=('qt' 'qt5') _pkgfqn="${pkgname/5-/}-everywhere-src-${_qtver}" source=("https://download.qt.io/development_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz") -sha256sums=('20f8b3f88f336573678705818724227a25c49d7ed9afe43a87038f62ad20964e') +sha256sums=('076483915916d303775715ab3716f2822b2b5a913a6a064cdfccae0547e85a10') prepare() { mkdir -p build Modified: qt5-webengine/kde-unstable/PKGBUILD =================================================================== --- qt5-webengine/kde-unstable/PKGBUILD 2019-05-29 06:45:12 UTC (rev 354467) +++ qt5-webengine/kde-unstable/PKGBUILD 2019-05-29 08:22:15 UTC (rev 354468) @@ -2,9 +2,9 @@ # Contributor: Andrea Scarpino <[email protected]> pkgname=qt5-webengine -_qtver=5.13.0-beta3 +_qtver=5.13.0-beta4 pkgver=${_qtver/-/} -pkgrel=2 +pkgrel=1 arch=('x86_64') url='https://www.qt.io' license=('LGPL3' 'LGPL2.1' 'BSD') @@ -15,9 +15,9 @@ groups=('qt' 'qt5') _pkgfqn="${pkgname/5-/}-everywhere-src-${_qtver}" source=("https://download.qt.io/development_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz" - qtwebengine-pdf.patch::"https://code.qt.io/cgit/qt/qtwebengine.git/patch/?id=395e61ff") -sha256sums=('e40e48e11f41a6ce5ba3b1c09ac120a6f488825854821640c8258a4d406d23ea' - '68b9920539409dd3ab0001db6e7f742a2e531e6fb2ba1d4ec82be9b7a761e59e') + qtwebengine-glibc-2.29.patch) +sha256sums=('6d1f8c116f9cdc12d72c2fac2a99b8c73e153dfb18b88d22fbd580edc925faf6' + 'dd791f154b48e69cd47fd94753c45448655b529590995fd71ac1591c53a3d60c') prepare() { mkdir -p build @@ -27,7 +27,8 @@ ln -s /usr/bin/python2 bin/python cd ${_pkgfqn} - patch -Np1 -i ../qtwebengine-pdf.patch # Fix PDF extension + cd src/3rdparty/chromium + patch -p1 -i "$srcdir"/qtwebengine-glibc-2.29.patch # Fix PPAPI plugins with glibc 2.29 } build() { Added: qt5-webengine/kde-unstable/qtwebengine-glibc-2.29.patch =================================================================== --- qt5-webengine/kde-unstable/qtwebengine-glibc-2.29.patch (rev 0) +++ qt5-webengine/kde-unstable/qtwebengine-glibc-2.29.patch 2019-05-29 08:22:15 UTC (rev 354468) @@ -0,0 +1,105 @@ +From 65046b8f90d0336cbe5f2f15cc7da5cb798360ad Mon Sep 17 00:00:00 2001 +From: Matthew Denton <[email protected]> +Date: Wed, 24 Apr 2019 15:44:40 +0000 +Subject: [PATCH] Update Linux Seccomp syscall restrictions to EPERM + posix_spawn/vfork + +Glibc's system() function switched to using posix_spawn, which uses +CLONE_VFORK. Pepperflash includes a sandbox debugging check which +relies on us EPERM-ing process creation like this, rather than crashing +the process with SIGSYS. + +So whitelist clone() calls, like posix_spawn, that include the flags +CLONE_VFORK and CLONE_VM. + +Bug: 949312 +Change-Id: I3f4b90114b2fc1d9929e3c0a85bbe8f10def3c20 +Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1568086 +Commit-Queue: Robert Sesek <[email protected]> +Reviewed-by: Robert Sesek <[email protected]> +Cr-Commit-Position: refs/heads/master@{#653590} +--- + .../baseline_policy_unittest.cc | 29 +++++++++++++++++++ + .../syscall_parameters_restrictions.cc | 13 +++++++-- + 2 files changed, 40 insertions(+), 2 deletions(-) + +diff --git a/sandbox/linux/seccomp-bpf-helpers/baseline_policy_unittest.cc b/sandbox/linux/seccomp-bpf-helpers/baseline_policy_unittest.cc +index cdeb210ccb..40fcebf933 100644 +--- a/sandbox/linux/seccomp-bpf-helpers/baseline_policy_unittest.cc ++++ b/sandbox/linux/seccomp-bpf-helpers/baseline_policy_unittest.cc +@@ -10,7 +10,9 @@ + #include <sched.h> + #include <signal.h> + #include <stddef.h> ++#include <stdlib.h> + #include <string.h> ++#include <sys/mman.h> + #include <sys/prctl.h> + #include <sys/resource.h> + #include <sys/socket.h> +@@ -130,6 +132,33 @@ BPF_TEST_C(BaselinePolicy, ForkArmEperm, BaselinePolicy) { + BPF_ASSERT_EQ(EPERM, fork_errno); + } + ++BPF_TEST_C(BaselinePolicy, SystemEperm, BaselinePolicy) { ++ errno = 0; ++ int ret_val = system("echo SHOULD NEVER RUN"); ++ BPF_ASSERT_EQ(-1, ret_val); ++ BPF_ASSERT_EQ(EPERM, errno); ++} ++ ++BPF_TEST_C(BaselinePolicy, CloneVforkEperm, BaselinePolicy) { ++ errno = 0; ++ // Allocate a couple pages for the child's stack even though the child should ++ // never start. ++ constexpr size_t kStackSize = 4096 * 4; ++ void* child_stack = mmap(nullptr, kStackSize, PROT_READ | PROT_WRITE, ++ MAP_PRIVATE | MAP_ANONYMOUS | MAP_STACK, -1, 0); ++ BPF_ASSERT_NE(child_stack, nullptr); ++ pid_t pid = syscall(__NR_clone, CLONE_VM | CLONE_VFORK | SIGCHLD, ++ static_cast<char*>(child_stack) + kStackSize, nullptr, ++ nullptr, nullptr); ++ const int clone_errno = errno; ++ TestUtils::HandlePostForkReturn(pid); ++ ++ munmap(child_stack, kStackSize); ++ ++ BPF_ASSERT_EQ(-1, pid); ++ BPF_ASSERT_EQ(EPERM, clone_errno); ++} ++ + BPF_TEST_C(BaselinePolicy, CreateThread, BaselinePolicy) { + base::Thread thread("sandbox_tests"); + BPF_ASSERT(thread.Start()); +diff --git a/sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions.cc b/sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions.cc +index 100afe50e3..348ab6e8c5 100644 +--- a/sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions.cc ++++ b/sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions.cc +@@ -135,7 +135,8 @@ namespace sandbox { + #if !defined(OS_NACL_NONSFI) + // Allow Glibc's and Android pthread creation flags, crash on any other + // thread creation attempts and EPERM attempts to use neither +-// CLONE_VM, nor CLONE_THREAD, which includes all fork() implementations. ++// CLONE_VM nor CLONE_THREAD (all fork implementations), unless CLONE_VFORK is ++// present (as in newer versions of posix_spawn). + ResultExpr RestrictCloneToThreadsAndEPERMFork() { + const Arg<unsigned long> flags(0); + +@@ -154,8 +155,16 @@ ResultExpr RestrictCloneToThreadsAndEPERMFork() { + AnyOf(flags == kAndroidCloneMask, flags == kObsoleteAndroidCloneMask, + flags == kGlibcPthreadFlags); + ++ // The following two flags are the two important flags in any vfork-emulating ++ // clone call. EPERM any clone call that contains both of them. ++ const uint64_t kImportantCloneVforkFlags = CLONE_VFORK | CLONE_VM; ++ ++ const BoolExpr is_fork_or_clone_vfork = ++ AnyOf((flags & (CLONE_VM | CLONE_THREAD)) == 0, ++ (flags & kImportantCloneVforkFlags) == kImportantCloneVforkFlags); ++ + return If(IsAndroid() ? android_test : glibc_test, Allow()) +- .ElseIf((flags & (CLONE_VM | CLONE_THREAD)) == 0, Error(EPERM)) ++ .ElseIf(is_fork_or_clone_vfork, Error(EPERM)) + .Else(CrashSIGSYSClone()); + } + Modified: qt5-webglplugin/kde-unstable/PKGBUILD =================================================================== --- qt5-webglplugin/kde-unstable/PKGBUILD 2019-05-29 06:45:12 UTC (rev 354467) +++ qt5-webglplugin/kde-unstable/PKGBUILD 2019-05-29 08:22:15 UTC (rev 354468) @@ -2,7 +2,7 @@ # Maintainer: Antonio Rojas <[email protected]> pkgname=qt5-webglplugin -_qtver=5.13.0-beta3 +_qtver=5.13.0-beta4 pkgver=${_qtver/-/} pkgrel=1 arch=(x86_64) @@ -13,7 +13,7 @@ groups=(qt qt5) _pkgfqn="${pkgname/5-/}-everywhere-src-${_qtver}" source=("https://download.qt.io/development_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz") -sha256sums=('fea4f3023c53a47485a00629e507e96f3dc94f08ee10dbadfc4c4a2c60de1e00') +sha256sums=('858db3a1fa6406d17c4432825205d8411cdc6cb94d79af293582acab7e8da7ef') prepare() { mkdir -p build Modified: qt5-websockets/kde-unstable/PKGBUILD =================================================================== --- qt5-websockets/kde-unstable/PKGBUILD 2019-05-29 06:45:12 UTC (rev 354467) +++ qt5-websockets/kde-unstable/PKGBUILD 2019-05-29 08:22:15 UTC (rev 354468) @@ -2,7 +2,7 @@ # Contributor: Andrea Scarpino <[email protected]> pkgname=qt5-websockets -_qtver=5.13.0-beta3 +_qtver=5.13.0-beta4 pkgver=${_qtver/-/} pkgrel=1 arch=('x86_64') @@ -15,7 +15,7 @@ groups=('qt' 'qt5') _pkgfqn="${pkgname/5-/}-everywhere-src-${_qtver}" source=("https://download.qt.io/development_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz") -sha256sums=('6b17085d2f788f550fd5b691f18505d596e4d76f2a6568e8be04c217d1098a67') +sha256sums=('4905f4bb5d88d3a8c998d06ec176df8b529aeb55dd8ed67097ef2ed54950f861') prepare() { mkdir -p build Modified: qt5-webview/kde-unstable/PKGBUILD =================================================================== --- qt5-webview/kde-unstable/PKGBUILD 2019-05-29 06:45:12 UTC (rev 354467) +++ qt5-webview/kde-unstable/PKGBUILD 2019-05-29 08:22:15 UTC (rev 354468) @@ -2,7 +2,7 @@ # Maintainer: Antonio Rojas <[email protected]> pkgname=qt5-webview -_qtver=5.13.0-beta3 +_qtver=5.13.0-beta4 pkgver=${_qtver/-/} pkgrel=1 arch=('x86_64') @@ -14,7 +14,7 @@ groups=('qt' 'qt5') _pkgfqn="${pkgname/5-/}-everywhere-src-${_qtver}" source=("https://download.qt.io/development_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz") -sha256sums=('44678c438d9b70b68a0d01652568369ca63b7f4263f93dcb754dbdd897cf3e1f') +sha256sums=('170111ed91d3ccb8471b466acbfab57af353a97c5a4cbc0c46cb0ad8f8583293') prepare() { mkdir -p build Modified: qt5-x11extras/kde-unstable/PKGBUILD =================================================================== --- qt5-x11extras/kde-unstable/PKGBUILD 2019-05-29 06:45:12 UTC (rev 354467) +++ qt5-x11extras/kde-unstable/PKGBUILD 2019-05-29 08:22:15 UTC (rev 354468) @@ -2,7 +2,7 @@ # Contributor: Andrea Scarpino <[email protected]> pkgname=qt5-x11extras -_qtver=5.13.0-beta3 +_qtver=5.13.0-beta4 pkgver=${_qtver/-/} pkgrel=1 arch=('x86_64') @@ -14,7 +14,7 @@ groups=('qt' 'qt5') _pkgfqn="${pkgname/5-/}-everywhere-src-${_qtver}" source=("https://download.qt.io/development_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz") -sha256sums=('80c965b8799b2c47afb71883c8c5b615f0068785bb84e96067c530ee72c89ff1') +sha256sums=('947ce7d1ee9777f6138504853da3d20afdaeee9e789fe2f9d26c92042fb8f14b') prepare() { mkdir -p build Modified: qt5-xmlpatterns/kde-unstable/PKGBUILD =================================================================== --- qt5-xmlpatterns/kde-unstable/PKGBUILD 2019-05-29 06:45:12 UTC (rev 354467) +++ qt5-xmlpatterns/kde-unstable/PKGBUILD 2019-05-29 08:22:15 UTC (rev 354468) @@ -2,7 +2,7 @@ # Contributor: Andrea Scarpino <[email protected]> pkgname=qt5-xmlpatterns -_qtver=5.13.0-beta3 +_qtver=5.13.0-beta4 pkgver=${_qtver/-/} pkgrel=1 arch=('x86_64') @@ -16,7 +16,7 @@ groups=('qt' 'qt5') _pkgfqn="${pkgname/5-/}-everywhere-src-${_qtver}" source=("https://download.qt.io/development_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz") -sha256sums=('018751d9f52823207dccbce04f3ed27f84ffca76e8646926769756ce37bd8a6b') +sha256sums=('963dc5e378003cd5e63565af2d2466abf096d2bd8213235f65a148af711f51e6') prepare() { mkdir -p build
