diff options
author | Mark Collins | 2025-05-22 18:27:15 +0200 |
---|---|---|
committer | Mark Collins | 2025-05-22 18:27:15 +0200 |
commit | 3059b730f840eeccfc301411bd843a4c679b50c2 (patch) | |
tree | 6b5590ad9c542e8267e4c49ae4bd41a96f0ee0c7 | |
parent | b9b449370724275617f13696b5263b67ef7dcfb8 (diff) | |
download | aur-3059b730f840eeccfc301411bd843a4c679b50c2.tar.gz |
v2.9.9, patches now undeeded, fixup deps
-rw-r--r-- | .SRCINFO | 28 | ||||
-rw-r--r-- | PKGBUILD | 32 |
2 files changed, 25 insertions, 35 deletions
@@ -1,33 +1,29 @@ pkgbase = libmodsecurity2 pkgdesc = A cross platform web application firewall engine for Apache, IIS and Nginx, v2 branch - pkgver = 2.9.8 - pkgrel = 4 + pkgver = 2.9.9 + pkgrel = 1 url = https://github.com/owasp-modsecurity/ModSecurity/tree/v2/master arch = x86_64 license = Apache-2.0 makedepends = gcc depends = apache + depends = apr depends = apr-util - depends = pcre - depends = libxml2 - depends = lua - depends = curl - depends = yajl depends = db - depends = perl - depends = apr - depends = libldap + depends = curl depends = expat depends = glibc + depends = libldap + depends = libxml2 + depends = lua + depends = pcre2 + depends = perl depends = gdbm + depends = yajl provides = libmodsecurity provides = modsecurity conflicts = libmodsecurity - source = https://github.com/owasp-modsecurity/ModSecurity/releases/download/v2.9.8/modsecurity-v2.9.8.tar.gz - source = rootpath_bug.patch - source = format-security_bug.patch - sha256sums = cd57bd37f6062dca39dc8fba8d3e8db7351c5095de1e9ce7c3aa3890bc95855f - sha256sums = 885b64fe6295b8c1d217e20b406b9511a08aea9ffeed261e005d77312225fe19 - sha256sums = 98ea88c2086eba42dc14ffe84632c80faacc647f48e2b31ef6cb889bf8d32548 + source = https://github.com/owasp-modsecurity/ModSecurity/releases/download/v2.9.9/modsecurity-v2.9.9.tar.gz + sha256sums = 8b45af21c88786b11c6a26a164e2716fcff329b9515679b616ae69e3be46becb pkgname = libmodsecurity2 @@ -7,46 +7,38 @@ pkgname=libmodsecurity2 _name=modsecurity -pkgver=2.9.8 -pkgrel=4 +pkgver=2.9.9 +pkgrel=1 pkgdesc='A cross platform web application firewall engine for Apache, IIS and Nginx, v2 branch' arch=('x86_64') url='https://github.com/owasp-modsecurity/ModSecurity/tree/v2/master' license=('Apache-2.0') depends=( 'apache' + 'apr' 'apr-util' - 'pcre' - 'libxml2' - 'lua' - 'curl' - 'yajl' 'db' - 'perl' - 'apr' - 'libldap' + 'curl' 'expat' 'glibc' + 'libldap' + 'libxml2' + 'lua' + 'pcre2' + 'perl' 'gdbm' + 'yajl' ) makedepends=('gcc') provides=('libmodsecurity' 'modsecurity') conflicts=("libmodsecurity") source=( "https://github.com/owasp-modsecurity/ModSecurity/releases/download/v${pkgver}/${_name}-v${pkgver}.tar.gz" - "rootpath_bug.patch" - "format-security_bug.patch" ) -sha256sums=('cd57bd37f6062dca39dc8fba8d3e8db7351c5095de1e9ce7c3aa3890bc95855f' - '885b64fe6295b8c1d217e20b406b9511a08aea9ffeed261e005d77312225fe19' - '98ea88c2086eba42dc14ffe84632c80faacc647f48e2b31ef6cb889bf8d32548') +sha256sums=('8b45af21c88786b11c6a26a164e2716fcff329b9515679b616ae69e3be46becb') prepare() { cd "${srcdir}/${_name}-v${pkgver}" - # see https://github.com/owasp-modsecurity/ModSecurity/issues/3173 - patch -Np1 -i ../rootpath_bug.patch - # and https://github.com/owasp-modsecurity/ModSecurity/commit/cddd9a7eb5585a9b3be1f9bdcadcace8f60f5808 - patch -Np1 -i ../format-security_bug.patch ./autogen.sh } @@ -66,6 +58,8 @@ build() { sed -i 's#LUA_VERSION_NUM == 502 || LUA_VERSION_NUM == 503#LUA_VERSION_NUM == 502 || LUA_VERSION_NUM == 503 || LUA_VERSION_NUM == 504#' "apache2/msc_lua.c" sed -ri 's/We are only tested under Lua 5.0, 5.1, 5.2, or 5.3./We are only tested under Lua 5.0, 5.1, 5.2, or 5.3 (and faking 5.4)./' "apache2/msc_lua.c" make + echo "Stripping shared objects" + find ./ -name '*.so' -exec strip --strip-unneeded {} \+ } package() { |