Date: Monday, September 14, 2020 @ 23:17:11
  Author: mtorromeo
Revision: 706915

archrelease: copy trunk to community-x86_64

Added:
  libmodsecurity/repos/community-x86_64/PKGBUILD
    (from rev 706914, libmodsecurity/trunk/PKGBUILD)
Deleted:
  libmodsecurity/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   69 +++++++++++++++++++++++++++++++++----------------------------
 1 file changed, 38 insertions(+), 31 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2020-09-14 23:16:58 UTC (rev 706914)
+++ PKGBUILD    2020-09-14 23:17:11 UTC (rev 706915)
@@ -1,31 +0,0 @@
-# Maintainer: Massimiliano Torromeo <[email protected]>
-
-pkgname=libmodsecurity
-pkgver=3.0.4
-pkgrel=2
-epoch=1
-
-pkgdesc='ModSecurity v3 library component'
-arch=('x86_64')
-depends=('yajl' 'curl' 'libxml2' 'pcre' 'geoip' 'libmaxminddb' 'ssdeep' 
'luajit')
-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})
-sha256sums=('b4231177dd80b4e076b228e57d498670113b69d445bab86db25f65346c24db22'
-            'SKIP')
-validpgpkeys=('190EFACCA1E9FA466A8ECD9CE6DFB08CE8B11277') # Felipe Zimmerle da 
Nobrega Costa <[email protected]>
-
-build() {
-       cd "$srcdir"/modsecurity-v$pkgver
-       ./build.sh
-       ./configure \
-               --prefix=/usr \
-               --disable-examples
-       make
-}
-
-package() {
-       cd "$srcdir"/modsecurity-v$pkgver
-       make DESTDIR="$pkgdir" install
-}

Copied: libmodsecurity/repos/community-x86_64/PKGBUILD (from rev 706914, 
libmodsecurity/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2020-09-14 23:17:11 UTC (rev 706915)
@@ -0,0 +1,38 @@
+# Maintainer: Massimiliano Torromeo <[email protected]>
+
+pkgname=libmodsecurity
+pkgver=3.0.4
+pkgrel=3
+epoch=1
+
+pkgdesc='ModSecurity v3 library component'
+arch=('x86_64')
+depends=('yajl' 'curl' 'libxml2' 'pcre' 'geoip' 'libmaxminddb' 'ssdeep' 
'luajit')
+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}
+        
"https://gist.githubusercontent.com/crsgists/0e1f6f7f1bd1f239ded64cecee46a11d/raw/181bc852065e9782367f1dc67c96d4d250e73a46/cve-2020-15598.patch";)
+sha256sums=('b4231177dd80b4e076b228e57d498670113b69d445bab86db25f65346c24db22'
+            'SKIP'
+            '461a418512043587c6d1e41ef2ccef63e2ff68a0c68b1bab2ae5c0f18082d028')
+validpgpkeys=('190EFACCA1E9FA466A8ECD9CE6DFB08CE8B11277') # Felipe Zimmerle da 
Nobrega Costa <[email protected]>
+
+prepare() {
+       cd "$srcdir"/modsecurity-v$pkgver
+       patch -p1 -i ../cve-2020-15598.patch
+}
+
+build() {
+       cd "$srcdir"/modsecurity-v$pkgver
+       ./build.sh
+       ./configure \
+               --prefix=/usr \
+               --disable-examples
+       make
+}
+
+package() {
+       cd "$srcdir"/modsecurity-v$pkgver
+       make DESTDIR="$pkgdir" install
+}

Reply via email to