diff --git a/srcpkgs/modsecurity/patches/fix-lua-detection.patch b/srcpkgs/modsecurity/patches/fix-lua-detection.patch deleted file mode 100644 index 1181ac47481..00000000000 --- a/srcpkgs/modsecurity/patches/fix-lua-detection.patch +++ /dev/null @@ -1,17 +0,0 @@ -Source: Arch Linux -Upstream: Unknown -Reason: Fixes lua53 detection - ---- ---- build/find_lua.m4 -+++ build/find_lua.m4 -@@ -16,7 +16,7 @@ LUA_CPPFLAGS="" - LUA_LDADD="" - LUA_LDFLAGS="" - LUA_CONFIG=${PKG_CONFIG} --LUA_PKGNAMES="lua5.1 lua-5.1 lua_5.1 lua-51 lua_51 lua51 lua5 lua lua5.2 lua-5.2 lua_5.2 lua-52 lua_52 lua52 lua5.3 lua-5.3 lua_5.3 lua-53 lua_53 lua53 " -+LUA_PKGNAMES="lua53 lua_53 lua-53 lua_5.3 lua-5.3 lua5.3 lua52 lua_52 lua-52 lua_5.2 lua-5.2 lua5.2 lua lua5 lua51 lua_51 lua-51 lua_5.1 lua-5.1 lua5.1" - LUA_SONAMES="so la sl dll dylib a" - - AC_ARG_WITH( - diff --git a/srcpkgs/modsecurity/template b/srcpkgs/modsecurity/template index a60f37255a7..ff6d2b42d1e 100644 --- a/srcpkgs/modsecurity/template +++ b/srcpkgs/modsecurity/template @@ -1,28 +1,26 @@ # Template file for 'modsecurity' pkgname=modsecurity -version=2.9.2 -revision=4 +version=3.0.2 +revision=1 +wrksrc="modsecurity-v${version}" build_style=gnu-configure configure_args="--enable-standalone-module --enable-htaccess-config" -hostmakedepends="automake libtool pkg-config" +hostmakedepends="pkg-config" makedepends="apache-devel gdbm-devel libcurl-devel libxml2-devel lua-devel - pcre-devel yajl-devel" + pcre-devel yajl-devel lmdb-devel lua-devel" depends="perl-LWP" short_desc="Rule based web application firwall (WAF)" maintainer="maxice8 " license="Apache-2.0" homepage="https://www.modsecurity.org" -distfiles="https://github.com/SpiderLabs/ModSecurity/releases/download/v${version}/modsecurity-${version}.tar.gz" -checksum=41a8f73476ec891f3a9e8736b98b64ea5c2105f1ce15ea57a1f05b4bf2ffaeb5 +distfiles="https://github.com/SpiderLabs/ModSecurity/releases/download/v${version}/modsecurity-v${version}.tar.gz" +checksum=e9d7f4f33ddfc3335073f8c5efa7b6d83bd532535b6b836a300c60fc843d780b +nocross="configure: error: cannot check for file existence when cross compiling" if [ "$CROSS_BUILD" ]; then hostmakedepends+=" $makedepends" fi -pre_configure() { - ./autogen.sh -} - pre_build() { sed -ri 's|(hardcode_into_libs)=.*|\1=no|' libtool }