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

Antonio Rojas arojas at archlinux.org
Fri Oct 7 06:27:09 UTC 2016


    Date: Friday, October 7, 2016 @ 06:27:08
  Author: arojas
Revision: 277862

Use Neon patch for CVE-2016-7967,7968

Modified:
  messagelib/trunk/PKGBUILD

----------+
 PKGBUILD |   13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-10-07 06:19:25 UTC (rev 277861)
+++ PKGBUILD	2016-10-07 06:27:08 UTC (rev 277862)
@@ -2,7 +2,7 @@
 
 pkgname=messagelib
 pkgver=16.08.1
-pkgrel=2
+pkgrel=3
 pkgdesc="KDE PIM messaging library"
 arch=(i686 x86_64)
 url="https://community.kde.org/KDE_PIM"
@@ -10,19 +10,20 @@
 depends=(kdepim-apps-libs kmailtransport libgravatar akonadi-notes kidentitymanagement qt5-webkit)
 makedepends=(extra-cmake-modules kdoctools python boost qt5-tools kdesignerplugin)
 conflicts=('libkdepim<16')
-#source=("http://download.kde.org/stable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz")
-source=("http://quickgit.kde.org/?p=messagelib.git&a=snapshot&h=1ee25d6cf2cddd7ed8cb70bce46c68d5ef922f54&fmt=tgz")
-md5sums=('19c2819d7b50f6f30e1c2a395c7243cb')
+source=("http://download.kde.org/stable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz" CVE-2016-7967-7968.patch)
+md5sums=('90b85c4cc36d245a2a0e65cacaef1c27'
+         '58786e8dde5be850ac568eed0e8b6958')
 
 prepare() {
   mkdir -p build
 
-  sed -e 's|5.3.2|5.3.1|g' -i $pkgname/CMakeLists.txt
+  cd $pkgname-$pkgver
+  patch -p1 -i ../CVE-2016-7967-7968.patch
 }
 
 build() {
   cd build
-  cmake ../$pkgname \
+  cmake ../$pkgname-$pkgver \
     -DCMAKE_BUILD_TYPE=Release \
     -DCMAKE_INSTALL_PREFIX=/usr \
     -DKDE_INSTALL_LIBDIR=lib \



More information about the arch-commits mailing list