git » kscreenlocker.git » commit 25f5e22

Fix https://www.kde.org/info/security/advisory-20160209-1.txt

author Antonio Rojas
2016-02-09 15:53:54 UTC
committer Antonio Rojas
2016-02-09 15:53:54 UTC
parent b50fa2df3eecc47b8fb874ec9b95a7363f299add

Fix https://www.kde.org/info/security/advisory-20160209-1.txt

PKGBUILD +9 -3

diff --git a/PKGBUILD b/PKGBUILD
index cc756e4..5b32965 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
 
 pkgname=kscreenlocker
 pkgver=5.5.4
-pkgrel=1
+pkgrel=2
 pkgdesc='Library and components for secure lock screen architecture'
 arch=(i686 x86_64)
 url='https://projects.kde.org/kscreenlocker'
@@ -10,11 +10,17 @@ license=(LGPL)
 groups=(plasma)
 depends=(kdelibs4support plasma-framework kidletime kwayland libxcursor)
 makedepends=(extra-cmake-modules python kdoctools)
-source=("http://download.kde.org/stable/plasma/$pkgver/$pkgname-$pkgver.tar.xz")
-md5sums=('5073ee898dac459f53200daba96d73ba')
+source=("http://download.kde.org/stable/plasma/$pkgver/$pkgname-$pkgver.tar.xz"
+	bug358125.patch::"https://quickgit.kde.org/?p=kscreenlocker.git&a=commitdiff&h=fae65f1c&o=plain")
+md5sums=('5073ee898dac459f53200daba96d73ba'
+         '378d62c696d206f0d9609bf9a51a030c')
 
 prepare() {
   mkdir -p build
+
+  cd $pkgname-$pkgver
+# Fix security issue https://www.kde.org/info/security/advisory-20160209-1.txt
+  patch -p1 -i ../bug358125.patch
 }
 
 build() {