Commit 52d9e7b1 authored by Natanael Copa's avatar Natanael Copa

community/webkit2gtk: upgrade to 2.16.3

and enable on ppc64le and aarch64

CVE-2016-9642, CVE-2016-9643, CVE-2017-2364, CVE-2017-2367,
CVE-2017-2376, CVE-2017-2377, CVE-2017-2386, CVE-2017-2392,
CVE-2017-2394, CVE-2017-2395, CVE-2017-2396, CVE-2017-2405,
CVE-2017-2415, CVE-2017-2419, CVE-2017-2433, CVE-2017-2442,
CVE-2017-2445, CVE-2017-2446, CVE-2017-2447, CVE-2017-2454,
CVE-2017-2455, CVE-2017-2457, CVE-2017-2459, CVE-2017-2460,
CVE-2017-2464, CVE-2017-2465, CVE-2017-2466, CVE-2017-2468,
CVE-2017-2469, CVE-2017-2470, CVE-2017-2471, CVE-2017-2475,
CVE-2017-2476, CVE-2017-2481

CVE-2017-2496, CVE-2017-2504, CVE-2017-2505, CVE-2017-2506,
CVE-2017-2508, CVE-2017-2510, CVE-2017-2514, CVE-2017-2515,
CVE-2017-2521, CVE-2017-2525, CVE-2017-2526, CVE-2017-2528,
CVE-2017-2530, CVE-2017-2531, CVE-2017-2536, CVE-2017-2539,
CVE-2017-2544, CVE-2017-2547, CVE-2017-2549, CVE-2017-6980,
CVE-2017-6984.

fixes #7422
parent 3cb4ced6
......@@ -2,11 +2,11 @@
# Contributor: Jiri Horner <laeqten@gmail.com>
# Maintainer: Jiri Horner <laeqten@gmail.com>
pkgname=webkit2gtk
pkgver=2.14.5
pkgrel=1
pkgver=2.16.3
pkgrel=0
pkgdesc="portable web rendering engine WebKit for GTK+"
url="http://webkitgtk.org/"
arch="x86 x86_64"
arch="x86 x86_64 ppc64le aarch64"
license="LGPL2+ BSD"
makedepends="$depends_dev
bison
......@@ -22,6 +22,7 @@ makedepends="$depends_dev
gtk-doc
hyphen-dev
icu-dev
libgcrypt-dev
libjpeg-turbo-dev
libnotify-dev
libpng-dev
......@@ -63,10 +64,16 @@ builddir="${srcdir}/webkitgtk-${pkgver}"
prepare() {
default_prepare || return 1
rm -r Source/ThirdParty/gtest/ || return 1
rm -r Source/ThirdParty/qunit/ || return 1
}
build() {
local _jitopt=
case "$CARCH" in
aarch64) _archopt="-DUSE_LD_GOLD=OFF";;
ppc64le) _archopt="-DENABLE_JIT=OFF -DUSE_SYSMTE_MALLOC=ON";;
s390x) _archopt="-DUSE_LD_GOLD=OFF -DENABLE_JIT=OFF -DUSE_SYSMEM_MALLOC=ON";;
esac
cd "$builddir"
mkdir build && cd build
cmake -DPORT=GTK \
......@@ -78,6 +85,7 @@ build() {
-DENABLE_GTKDOC=ON \
-DENABLE_GEOLOCATION=OFF \
-DENABLE_PLUGIN_PROCESS_GTK2=OFF \
$_archopt \
.. || return 1
make || return 1
}
......@@ -89,5 +97,5 @@ package() {
paxmark -m "$pkgdir"/usr/lib/webkit2gtk-4.0/WebKitWebProcess || return 1
}
sha512sums="3351d9b05458434835fa2db050c34906649c3b1222d7936d123306634a46e35e8cc3aa1bb7512b103af1996fce722254692826b6f695e32ae176032dc8c94e1c webkitgtk-2.14.5.tar.xz
sha512sums="551367551ed1bceaf9c70269f229e97972706820c6ae2d4444bc6d8b0992d6de34a156f9c245813c1f1701ce54f5476a44512590acfa6cfd6e67663d94caa91e webkitgtk-2.16.3.tar.xz
95f88563cb83387e3f44781dd8b00c5adf53e352869ca1d217c6cfc0895e9b7680e24820b8df340316564dcbc4cb65eb502fb003089b4805b9ac9f583f454013 musl-fixes.patch"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment