Date: Monday, April 17, 2023 @ 08:24:19
Author: mtorromeo
Revision: 1446604
archrelease: copy trunk to community-x86_64
Added:
libmodsecurity/repos/community-x86_64/PKGBUILD
(from rev 1446603, libmodsecurity/trunk/PKGBUILD)
libmodsecurity/repos/community-x86_64/keys/
Deleted:
libmodsecurity/repos/community-x86_64/PKGBUILD
libmodsecurity/repos/community-x86_64/keys/
----------+
PKGBUILD | 75 +++++++++++++++++++++++++++++++++----------------------------
1 file changed, 41 insertions(+), 34 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2023-04-17 08:24:10 UTC (rev 1446603)
+++ PKGBUILD 2023-04-17 08:24:19 UTC (rev 1446604)
@@ -1,34 +0,0 @@
-# Maintainer: Massimiliano Torromeo <[email protected]>
-
-pkgname=libmodsecurity
-pkgver=3.0.9
-pkgrel=2
-epoch=1
-
-pkgdesc='ModSecurity v3 library component'
-arch=('x86_64')
-depends=('yajl' 'curl' 'libxml2' 'pcre2' '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=('a5111ecd23e332a1d7c9652dbdb18517a96b21573315cb887a8e86761b95d3d8'
- 'SKIP')
-validpgpkeys=('190EFACCA1E9FA466A8ECD9CE6DFB08CE8B11277' # Felipe Zimmerle da
Nobrega Costa <[email protected]>
- 'F126692E9BA86B3958E73ED2F2FC4E45883BCBA4') # Martin Vierula
(GitHub key) <[email protected]>
-
-build() {
- cd "$srcdir"/modsecurity-v$pkgver
- ./build.sh
- ./configure \
- --prefix=/usr \
- --with-pcre2 \
- --disable-examples
- sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
- make
-}
-
-package() {
- cd "$srcdir"/modsecurity-v$pkgver
- make DESTDIR="$pkgdir" install
-}
Copied: libmodsecurity/repos/community-x86_64/PKGBUILD (from rev 1446603,
libmodsecurity/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2023-04-17 08:24:19 UTC (rev 1446604)
@@ -0,0 +1,41 @@
+# Maintainer: Massimiliano Torromeo <[email protected]>
+
+pkgname=libmodsecurity
+pkgver=3.0.9
+pkgrel=3
+epoch=1
+
+pkgdesc='ModSecurity v3 library component'
+arch=('x86_64')
+depends=('yajl' 'curl' 'lmdb' 'libxml2' 'pcre2' '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=('a5111ecd23e332a1d7c9652dbdb18517a96b21573315cb887a8e86761b95d3d8'
+ 'SKIP')
+validpgpkeys=('190EFACCA1E9FA466A8ECD9CE6DFB08CE8B11277' # Felipe Zimmerle da
Nobrega Costa <[email protected]>
+ 'F126692E9BA86B3958E73ED2F2FC4E45883BCBA4') # Martin Vierula
(GitHub key) <[email protected]>
+
+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
+}
+
+package() {
+ cd "$srcdir"/modsecurity-v$pkgver
+ make DESTDIR="$pkgdir" install
+}