[arch-commits] Commit in libmodsecurity/trunk (PKGBUILD)
Massimiliano Torromeo
mtorromeo at archlinux.org
Mon Sep 14 23:16:58 UTC 2020
Date: Monday, September 14, 2020 @ 23:16:58
Author: mtorromeo
Revision: 706914
patched for cve-2020-15598
Modified:
libmodsecurity/trunk/PKGBUILD
----------+
PKGBUILD | 13 ++++++++++---
1 file changed, 10 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-09-14 23:01:19 UTC (rev 706913)
+++ PKGBUILD 2020-09-14 23:16:58 UTC (rev 706914)
@@ -2,7 +2,7 @@
pkgname=libmodsecurity
pkgver=3.0.4
-pkgrel=2
+pkgrel=3
epoch=1
pkgdesc='ModSecurity v3 library component'
@@ -11,11 +11,18 @@
makedepends=('doxygen')
url="https://github.com/SpiderLabs/ModSecurity/tree/v3/master"
license=('APACHE')
-source=("https://github.com/SpiderLabs/ModSecurity/releases/download/v$pkgver/modsecurity-v$pkgver.tar.gz"{,.asc})
+source=("https://github.com/SpiderLabs/ModSecurity/releases/download/v$pkgver/modsecurity-v$pkgver.tar.gz"{,.asc}
+ "https://gist.githubusercontent.com/crsgists/0e1f6f7f1bd1f239ded64cecee46a11d/raw/181bc852065e9782367f1dc67c96d4d250e73a46/cve-2020-15598.patch")
sha256sums=('b4231177dd80b4e076b228e57d498670113b69d445bab86db25f65346c24db22'
- 'SKIP')
+ 'SKIP'
+ '461a418512043587c6d1e41ef2ccef63e2ff68a0c68b1bab2ae5c0f18082d028')
validpgpkeys=('190EFACCA1E9FA466A8ECD9CE6DFB08CE8B11277') # Felipe Zimmerle da Nobrega Costa <felipe at zimmerle.org>
+prepare() {
+ cd "$srcdir"/modsecurity-v$pkgver
+ patch -p1 -i ../cve-2020-15598.patch
+}
+
build() {
cd "$srcdir"/modsecurity-v$pkgver
./build.sh
More information about the arch-commits
mailing list