Date: Monday, April 17, 2023 @ 08:24:10
Author: mtorromeo
Revision: 1446603
upgpkg: libmodsecurity 1:3.0.9-3: Fixed luajit integration e re-enabled LMDB
backend
Modified:
libmodsecurity/trunk/PKGBUILD
----------+
PKGBUILD | 11 +++++++++--
1 file changed, 9 insertions(+), 2 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2023-04-17 08:02:39 UTC (rev 1446602)
+++ PKGBUILD 2023-04-17 08:24:10 UTC (rev 1446603)
@@ -2,12 +2,12 @@
pkgname=libmodsecurity
pkgver=3.0.9
-pkgrel=2
+pkgrel=3
epoch=1
pkgdesc='ModSecurity v3 library component'
arch=('x86_64')
-depends=('yajl' 'curl' 'libxml2' 'pcre2' 'geoip' 'libmaxminddb' 'ssdeep'
'luajit')
+depends=('yajl' 'curl' 'lmdb' 'libxml2' 'pcre2' 'geoip' 'libmaxminddb'
'ssdeep' 'luajit')
makedepends=('doxygen')
url="https://github.com/SpiderLabs/ModSecurity/tree/v3/master"
license=('APACHE')
@@ -19,10 +19,17 @@
build() {
cd "$srcdir"/modsecurity-v$pkgver
+ sed -e 's/luajit-2.0/luajit-2.1/g' \
+ -e 's/LUA_POSSIBLE_LIB_NAMES="/LUA_POSSIBLE_LIB_NAMES="luajit
/g' \
+ -i build/lua.m4
./build.sh
./configure \
--prefix=/usr \
+ --with-lmdb \
+ --with-libxml \
+ --with-lua \
--with-pcre2 \
+ --with-ssdeep \
--disable-examples
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
make