[arch-commits] Commit in ktexteditor/repos/testing-x86_64 (PKGBUILD PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Sat Jun 9 19:04:29 UTC 2018
Date: Saturday, June 9, 2018 @ 19:04:29
Author: arojas
Revision: 326601
archrelease: copy trunk to testing-x86_64
Added:
ktexteditor/repos/testing-x86_64/PKGBUILD
(from rev 326600, ktexteditor/trunk/PKGBUILD)
Deleted:
ktexteditor/repos/testing-x86_64/PKGBUILD
----------+
PKGBUILD | 81 ++++++++++++++++++++++++++++++++-----------------------------
1 file changed, 43 insertions(+), 38 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-06-09 19:04:06 UTC (rev 326600)
+++ PKGBUILD 2018-06-09 19:04:29 UTC (rev 326601)
@@ -1,38 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Maintainer: Antonio Rojas <arojas at archlinux.org>
-# Contributor: Andrea Scarpino <andrea at archlinux.org>
-
-pkgname=ktexteditor
-pkgver=5.47.0
-pkgrel=1
-pkgdesc='Advanced embeddable text editor'
-arch=(x86_64)
-url='https://community.kde.org/Frameworks'
-license=(LGPL)
-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})
-sha256sums=('6b4ae2ea3c00dd2d7dc4c53f7760c750f8fee8aece4bcbc938064cadd34c08cc'
- 'SKIP')
-validpgpkeys=(53E6B47B45CEA3E0D5B7457758D0EE648A48B3BB) # David Faure <faure at kde.org>
-
-prepare() {
- mkdir -p build
-}
-
-build() {
- cd build
- cmake ../$pkgname-$pkgver \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_INSTALL_LIBDIR=lib \
- -DBUILD_TESTING=OFF \
- -DBUILD_QCH=ON
- make
-}
-
-package() {
- cd build
- make DESTDIR="$pkgdir" install
-}
Copied: ktexteditor/repos/testing-x86_64/PKGBUILD (from rev 326600, ktexteditor/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-06-09 19:04:29 UTC (rev 326601)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=ktexteditor
+pkgver=5.47.0
+pkgrel=2
+pkgdesc='Advanced embeddable text editor'
+arch=(x86_64)
+url='https://community.kde.org/Frameworks'
+license=(LGPL)
+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}
+ CVE-2018-10361.patch::"https://cgit.kde.org/ktexteditor.git/patch/?id=c81af5aa")
+sha256sums=('6b4ae2ea3c00dd2d7dc4c53f7760c750f8fee8aece4bcbc938064cadd34c08cc'
+ '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() {
+ cd build
+ cmake ../$pkgname-$pkgver \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=lib \
+ -DBUILD_TESTING=OFF \
+ -DBUILD_QCH=ON
+ make
+}
+
+package() {
+ cd build
+ make DESTDIR="$pkgdir" install
+}
More information about the arch-commits
mailing list