Date: Wednesday, January 18, 2017 @ 21:06:40
  Author: heftig
Revision: 286949

2.4.11-4

Added:
  webkitgtk/trunk/webkitgtk.install
Modified:
  webkitgtk/trunk/PKGBUILD

-------------------+
 PKGBUILD          |   12 +++++++-----
 webkitgtk.install |   14 ++++++++++++++
 2 files changed, 21 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2017-01-18 19:34:26 UTC (rev 286948)
+++ PKGBUILD    2017-01-18 21:06:40 UTC (rev 286949)
@@ -1,13 +1,13 @@
 # $Id$
-# Maintainer: Andreas Radke <andy...@archlinux.org>
+# Contributor: Andreas Radke <andy...@archlinux.org>
 
 pkgbase=webkitgtk
 pkgname=(webkitgtk webkitgtk2)
 pkgver=2.4.11
-pkgrel=3
-pkgdesc="GTK+ Web content engine library"
+pkgrel=4
+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 geoclue2 
gst-plugins-base-libs
          libsecret libwebp harfbuzz-icu)
@@ -16,6 +16,7 @@
             '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'
@@ -57,6 +58,7 @@
 }
 
 package_webkitgtk() {
+  pkgdesc+=" for GTK+ 3"
   depends+=(gtk3)
   optdepends+=('gtk2: Netscape plugin support')
   provides=("webkitgtk3=${pkgver}" "libwebkit3=${pkgver}")
@@ -69,7 +71,7 @@
 }
 
 package_webkitgtk2() {
-  pkgdesc+=" for GTK2"
+  pkgdesc+=" for GTK+ 2"
   depends+=(gtk2)
   provides=("libwebkit=${pkgver}")
   conflicts=(libwebkit)

Added: webkitgtk.install
===================================================================
--- webkitgtk.install                           (rev 0)
+++ webkitgtk.install   2017-01-18 21:06:40 UTC (rev 286949)
@@ -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
+}

Reply via email to