[arch-commits] Commit in ktexteditor/trunk (PKGBUILD)

Antonio Rojas arojas at archlinux.org
Sat Jun 9 19:04:06 UTC 2018


    Date: Saturday, June 9, 2018 @ 19:04:06
  Author: arojas
Revision: 326600

Backport fix for CVE-2018-10361

Modified:
  ktexteditor/trunk/PKGBUILD

----------+
 PKGBUILD |   11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-06-09 18:18:21 UTC (rev 326599)
+++ PKGBUILD	2018-06-09 19:04:06 UTC (rev 326600)
@@ -5,7 +5,7 @@
 
 pkgname=ktexteditor
 pkgver=5.47.0
-pkgrel=1
+pkgrel=2
 pkgdesc='Advanced embeddable text editor'
 arch=(x86_64)
 url='https://community.kde.org/Frameworks'
@@ -13,13 +13,18 @@
 depends=(kparts syntax-highlighting libgit2 editorconfig-core-c qt5-declarative)
 makedepends=(extra-cmake-modules doxygen qt5-tools)
 groups=(kf5)
-source=("https://download.kde.org/stable/frameworks/${pkgver%.*}/$pkgname-$pkgver.tar.xz"{,.sig})
+source=("https://download.kde.org/stable/frameworks/${pkgver%.*}/$pkgname-$pkgver.tar.xz"{,.sig}
+        CVE-2018-10361.patch::"https://cgit.kde.org/ktexteditor.git/patch/?id=c81af5aa")
 sha256sums=('6b4ae2ea3c00dd2d7dc4c53f7760c750f8fee8aece4bcbc938064cadd34c08cc'
-            'SKIP')
+            'SKIP'
+            '3cb3da73c1f5bd7adb943f5da356d73dbc26f2ff8ef0146a1520561468593938')
 validpgpkeys=(53E6B47B45CEA3E0D5B7457758D0EE648A48B3BB) # David Faure <faure at kde.org>
 
 prepare() {
   mkdir -p build
+
+  cd $pkgname-$pkgver
+  patch -p1 -i ../CVE-2018-10361.patch # Security fix
 }
 
 build() {



More information about the arch-commits mailing list