[arch-commits] Commit in kdebase-runtime/trunk (2 files)

Antonio Rojas arojas at archlinux.org
Thu Jan 19 12:22:11 UTC 2017


    Date: Thursday, January 19, 2017 @ 12:22:11
  Author: arojas
Revision: 286970

Drop HTML thumbnailer, qtwebkit has many security issues

Added:
  kdebase-runtime/trunk/kdebase-runtime-no-html-thumbnails.patch
Modified:
  kdebase-runtime/trunk/PKGBUILD

------------------------------------------+
 PKGBUILD                                 |   11 ++++++++---
 kdebase-runtime-no-html-thumbnails.patch |   21 +++++++++++++++++++++
 2 files changed, 29 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-01-19 09:35:45 UTC (rev 286969)
+++ PKGBUILD	2017-01-19 12:22:11 UTC (rev 286970)
@@ -5,7 +5,7 @@
 
 pkgname=kdebase-runtime
 pkgver=16.12.1
-pkgrel=1
+pkgrel=2
 pkgdesc="Plugins and applications necessary for the running of KDE applications"
 arch=('i686' 'x86_64')
 url='https://www.kde.org/'
@@ -16,9 +16,11 @@
 provides=(notification-daemon)
 conflicts=(kdesu4)
 replaces=(kdesu4)
-source=("http://download.kde.org/stable/applications/${pkgver}/src/kde-runtime-${pkgver}.tar.xz"{,.sig})
+source=("http://download.kde.org/stable/applications/${pkgver}/src/kde-runtime-${pkgver}.tar.xz"{,.sig}
+        kdebase-runtime-no-html-thumbnails.patch)
 sha1sums=('0546a3fb14e402b5026fb7fd8c07f0bc6c51829a'
-          'SKIP')
+          'SKIP'
+          '5f78db33cfdae44e53aa5bb0b7bd9ebdc1e42808')
 validpgpkeys=(CA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7) # Albert Astals Cid <aacid at kde.org>
 
 prepare() {
@@ -26,6 +28,9 @@
 
 # Don't link to kactivities
   sed -e '/plasmaextracomponents/d' -i kde-runtime-$pkgver/plasma/declarativeimports/CMakeLists.txt
+# Drop HTML thumbnailer, uses insecure QtWebKit
+  cd kde-runtime-$pkgver
+  patch -p1 -i ../kdebase-runtime-no-html-thumbnails.patch
 }
 
 build() {

Added: kdebase-runtime-no-html-thumbnails.patch
===================================================================
--- kdebase-runtime-no-html-thumbnails.patch	                        (rev 0)
+++ kdebase-runtime-no-html-thumbnails.patch	2017-01-19 12:22:11 UTC (rev 286970)
@@ -0,0 +1,21 @@
+--- kde-runtime-16.12.1/kioslave/thumbnail/CMakeLists.txt.0	2017-01-19 12:11:22.764891155 +0000
++++ kde-runtime-16.12.1/kioslave/thumbnail/CMakeLists.txt	2017-01-19 12:11:40.741524858 +0000
+@@ -89,18 +89,6 @@
+ 
+ ########### next target ###############
+ 
+-if(NOT WINCE)
+-set(htmlthumbnail_PART_SRCS htmlcreator.cpp)
+-
+-kde4_add_plugin(htmlthumbnail ${htmlthumbnail_PART_SRCS})
+-
+-target_link_libraries(htmlthumbnail ${KDE4_KDEWEBKIT_LIBS})
+-
+-install(TARGETS htmlthumbnail DESTINATION ${PLUGIN_INSTALL_DIR})
+-endif(NOT WINCE)
+-
+-########### next target ###############
+-
+ if(NOT WIN32)
+ set(djvuthumbnail_PART_SRCS djvucreator.cpp)
+ 



More information about the arch-commits mailing list