Date: Monday, April 17, 2023 @ 07:24:31
Author: mtorromeo
Revision: 1446594
upgpkg: libmodsecurity 1:3.0.9-2: Switch from pcre to pcre2 (Fixes FS#78225)
Modified:
libmodsecurity/trunk/PKGBUILD
----------+
PKGBUILD | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2023-04-17 07:23:10 UTC (rev 1446593)
+++ PKGBUILD 2023-04-17 07:24:31 UTC (rev 1446594)
@@ -2,12 +2,12 @@
pkgname=libmodsecurity
pkgver=3.0.9
-pkgrel=1
+pkgrel=2
epoch=1
pkgdesc='ModSecurity v3 library component'
arch=('x86_64')
-depends=('yajl' 'curl' 'libxml2' 'pcre' 'geoip' 'libmaxminddb' 'ssdeep'
'luajit')
+depends=('yajl' 'curl' 'libxml2' 'pcre2' 'geoip' 'libmaxminddb' 'ssdeep'
'luajit')
makedepends=('doxygen')
url="https://github.com/SpiderLabs/ModSecurity/tree/v3/master"
license=('APACHE')
@@ -22,7 +22,9 @@
./build.sh
./configure \
--prefix=/usr \
+ --with-pcre2 \
--disable-examples
+ sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
make
}