summaryrefslogtreecommitdiff
path: root/nonprism/webkitgtk
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2017-01-19 17:52:01 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2017-01-19 17:54:35 -0300
commita362c671dad7f116f09b400d8bf4ef7dfe4e6a8f (patch)
tree59ddd713a284cb64b711c1564be3594e55088ea5 /nonprism/webkitgtk
parent670ace00089f26650be7263b2eb760b56db6ecde (diff)
downloadabslibre-a362c671dad7f116f09b400d8bf4ef7dfe4e6a8f.tar.gz
abslibre-a362c671dad7f116f09b400d8bf4ef7dfe4e6a8f.tar.bz2
abslibre-a362c671dad7f116f09b400d8bf4ef7dfe4e6a8f.zip
webkitgtk-2.4.11-4.nonprism1: add warning notification about security vulnerabilities in WebKitGTK+ 2.4
Diffstat (limited to 'nonprism/webkitgtk')
-rw-r--r--nonprism/webkitgtk/PKGBUILD13
-rw-r--r--nonprism/webkitgtk/webkitgtk.install14
2 files changed, 21 insertions, 6 deletions
diff --git a/nonprism/webkitgtk/PKGBUILD b/nonprism/webkitgtk/PKGBUILD
index 70ba460a9..ed248a9b1 100644
--- a/nonprism/webkitgtk/PKGBUILD
+++ b/nonprism/webkitgtk/PKGBUILD
@@ -1,14 +1,14 @@
-# $Id: PKGBUILD 264990 2016-04-15 07:33:52Z heftig $
+# $Id: PKGBUILD 286949 2017-01-18 21:06:40Z heftig $
# Maintainer (Arch): Andreas Radke <andyrtr@archlinux.org>
# Maintainer: André Silva <emulatorman@parabola.nu>
pkgbase=webkitgtk
pkgname=(webkitgtk webkitgtk2)
pkgver=2.4.11
-pkgrel=3.nonprism1
-pkgdesc="GTK+ Web content engine library"
+pkgrel=4.nonprism1
+pkgdesc="Legacy Web content engine"
arch=(i686 x86_64)
-url="http://webkitgtk.org/"
+url="https://webkitgtk.org/"
license=(custom)
depends=(libxt libxslt sqlite libsoup enchant libgl gst-plugins-base-libs
libsecret libwebp harfbuzz-icu)
@@ -17,6 +17,7 @@ optdepends=('gst-plugins-base: free media decoding'
'gst-plugins-good: media decoding'
'gst-libav: nonfree media decoding')
options=(!emptydirs)
+install=webkitgtk.install
source=(http://webkitgtk.org/releases/$pkgbase-${pkgver}.tar.xz
webkitgtk-2.4.9-abs.patch)
sha256sums=('588aea051bfbacced27fdfe0335a957dca839ebe36aa548df39c7bbafdb65bf7'
@@ -59,7 +60,7 @@ build() {
}
package_webkitgtk() {
- pkgdesc+=", without geoclue2 support"
+ pkgdesc+=" for GTK+ 3, without geoclue2 support"
depends+=(gtk3)
optdepends+=('gtk2: Netscape plugin support')
provides=("webkitgtk3=${pkgver}" "libwebkit3=${pkgver}")
@@ -72,7 +73,7 @@ package_webkitgtk() {
}
package_webkitgtk2() {
- pkgdesc+=" for GTK2, without geoclue2 support"
+ pkgdesc+=" for GTK+ 2, without geoclue2 support"
depends+=(gtk2)
provides=("libwebkit=${pkgver}")
conflicts=(libwebkit)
diff --git a/nonprism/webkitgtk/webkitgtk.install b/nonprism/webkitgtk/webkitgtk.install
new file mode 100644
index 000000000..245d07b19
--- /dev/null
+++ b/nonprism/webkitgtk/webkitgtk.install
@@ -0,0 +1,14 @@
+post_install() {
+ post_upgrade $1 0
+}
+
+post_upgrade() {
+ if (( $(vercmp $2 2.4.11-4) < 0)); then
+ cat <<END
+
+ > WARNING: WebKitGTK+ 2.4 is known to have many security vulnerabilities that
+ will NOT be fixed. Avoid browsing with it.
+
+END
+ fi
+}