Date: Monday, April 17, 2023 @ 07:24:43
Author: mtorromeo
Revision: 1446595
archrelease: copy trunk to community-x86_64
Added:
libmodsecurity/repos/community-x86_64/PKGBUILD
(from rev 1446594, libmodsecurity/trunk/PKGBUILD)
libmodsecurity/repos/community-x86_64/keys/
Deleted:
libmodsecurity/repos/community-x86_64/PKGBUILD
libmodsecurity/repos/community-x86_64/keys/
----------+
PKGBUILD | 66 +++++++++++++++++++++++++++++++------------------------------
1 file changed, 34 insertions(+), 32 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2023-04-17 07:24:31 UTC (rev 1446594)
+++ PKGBUILD 2023-04-17 07:24:43 UTC (rev 1446595)
@@ -1,32 +0,0 @@
-# Maintainer: Massimiliano Torromeo <[email protected]>
-
-pkgname=libmodsecurity
-pkgver=3.0.9
-pkgrel=1
-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=('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 \
- --disable-examples
- make
-}
-
-package() {
- cd "$srcdir"/modsecurity-v$pkgver
- make DESTDIR="$pkgdir" install
-}
Copied: libmodsecurity/repos/community-x86_64/PKGBUILD (from rev 1446594,
libmodsecurity/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2023-04-17 07:24:43 UTC (rev 1446595)
@@ -0,0 +1,34 @@
+# 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
+}