[arch-commits] Commit in ktexteditor/repos/extra-x86_64 (PKGBUILD PKGBUILD)
Antonio Rojas
arojas at gemini.archlinux.org
Mon Jan 31 15:20:00 UTC 2022
Date: Monday, January 31, 2022 @ 15:20:00
Author: arojas
Revision: 435620
archrelease: copy trunk to extra-x86_64
Added:
ktexteditor/repos/extra-x86_64/PKGBUILD
(from rev 435619, ktexteditor/trunk/PKGBUILD)
Deleted:
ktexteditor/repos/extra-x86_64/PKGBUILD
----------+
PKGBUILD | 70 ++++++++++++++++++++++++++++++++++---------------------------
1 file changed, 40 insertions(+), 30 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-01-31 15:19:50 UTC (rev 435619)
+++ PKGBUILD 2022-01-31 15:20:00 UTC (rev 435620)
@@ -1,30 +0,0 @@
-# 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.90.0
-pkgrel=1
-pkgdesc='Advanced embeddable text editor'
-arch=(x86_64)
-url='https://community.kde.org/Frameworks'
-license=(LGPL)
-depends=(kparts syntax-highlighting editorconfig-core-c)
-makedepends=(extra-cmake-modules doxygen qt5-tools qt5-doc)
-optdepends=('git: git integration')
-groups=(kf5)
-source=(https://download.kde.org/stable/frameworks/${pkgver%.*}/$pkgname-$pkgver.tar.xz{,.sig})
-sha256sums=('56088115827ae406dcd383e3c3fdf408950f351887259e41965fe4b7929f2dbc'
- 'SKIP')
-validpgpkeys=(53E6B47B45CEA3E0D5B7457758D0EE648A48B3BB) # David Faure <faure at kde.org>
-
-build() {
- cmake -B build -S $pkgname-$pkgver \
- -DBUILD_TESTING=OFF \
- -DBUILD_QCH=ON
- cmake --build build
-}
-
-package() {
- DESTDIR="$pkgdir" cmake --install build
-}
Copied: ktexteditor/repos/extra-x86_64/PKGBUILD (from rev 435619, ktexteditor/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-01-31 15:20:00 UTC (rev 435620)
@@ -0,0 +1,40 @@
+# 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.90.0
+pkgrel=2
+pkgdesc='Advanced embeddable text editor'
+arch=(x86_64)
+url='https://community.kde.org/Frameworks'
+license=(LGPL)
+depends=(kparts syntax-highlighting editorconfig-core-c)
+makedepends=(extra-cmake-modules doxygen qt5-tools qt5-doc)
+optdepends=('git: git integration')
+groups=(kf5)
+source=(https://download.kde.org/stable/frameworks/${pkgver%.*}/$pkgname-$pkgver.tar.xz{,.sig}
+ https://invent.kde.org/frameworks/ktexteditor/-/commit/804e4944.patch
+ https://invent.kde.org/frameworks/ktexteditor/-/commit/c80f935c.patch)
+sha256sums=('56088115827ae406dcd383e3c3fdf408950f351887259e41965fe4b7929f2dbc'
+ 'SKIP'
+ 'b8f6794535b63747bf2e73a9afece4c570ee9b560d3152dbcb1f748025f15fb9'
+ '19baa3c5b1c694edefbc518e07255a9c0acde62b6d6316ee2a2805c2d429ad1c')
+validpgpkeys=(53E6B47B45CEA3E0D5B7457758D0EE648A48B3BB) # David Faure <faure at kde.org>
+
+prepare() {
+# CVE-2022-23853
+ patch -d $pkgname-$pkgver -p1 < 804e4944.patch
+ patch -d $pkgname-$pkgver -p1 < c80f935c.patch
+}
+
+build() {
+ cmake -B build -S $pkgname-$pkgver \
+ -DBUILD_TESTING=OFF \
+ -DBUILD_QCH=ON
+ cmake --build build
+}
+
+package() {
+ DESTDIR="$pkgdir" cmake --install build
+}
More information about the arch-commits
mailing list