From a0541d0f6354643178de932b5aea75109fc0a1aa Mon Sep 17 00:00:00 2001 From: "Sergey A. Osokin" Date: Sun, 10 Aug 2014 17:47:04 +0000 Subject: Update third-party modsecurity module from 2.7.5 to latest version 2.8.0. --- .../files/extra-patch-nginx-modsecurity-configure | 24 ++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 www/nginx-devel/files/extra-patch-nginx-modsecurity-configure (limited to 'www/nginx-devel/files/extra-patch-nginx-modsecurity-configure') diff --git a/www/nginx-devel/files/extra-patch-nginx-modsecurity-configure b/www/nginx-devel/files/extra-patch-nginx-modsecurity-configure new file mode 100644 index 000000000000..92e5aac2e6da --- /dev/null +++ b/www/nginx-devel/files/extra-patch-nginx-modsecurity-configure @@ -0,0 +1,24 @@ +--- ../modsecurity-2.8.0/configure.orig 2014-04-15 16:44:15.000000000 +0400 ++++ ../modsecurity-2.8.0/configure 2014-08-10 21:24:00.000000000 +0400 +@@ -14664,7 +14664,7 @@ + no) : + test_paths= ;; #( + yes) : +- test_paths="/usr/local/liblua /usr/local/lua /usr/local /opt/liblua /opt/lua /opt /usr" ;; #( ++ test_paths="%%PREFIX%%/liblua %%PREFIX%%/lua %%PREFIX%% /opt/liblua /opt/lua /opt /usr" ;; #( + *) : + test_paths="${with_lua}" ;; + esac +@@ -14715,10 +14715,10 @@ + LUA_CFLAGS="`${LUA_CONFIG} ${LUA_PKGNAME} --cflags`" + if test "$verbose_output" -eq 1; then { $as_echo "$as_me:${as_lineno-$LINENO}: lua CFLAGS: $LUA_CFLAGS" >&5 + $as_echo "$as_me: lua CFLAGS: $LUA_CFLAGS" >&6;}; fi +- LUA_LDADD="`${LUA_CONFIG} ${LUA_PKGNAME} --libs-only-l`" ++ LUA_LDADD="`${LUA_CONFIG} ${LUA_PKGNAME} --libs-only-l | sed 's/lua/lua-5.1/'`" + if test "$verbose_output" -eq 1; then { $as_echo "$as_me:${as_lineno-$LINENO}: lua LDADD: $LUA_LDADD" >&5 + $as_echo "$as_me: lua LDADD: $LUA_LDADD" >&6;}; fi +- LUA_LDFLAGS="`${LUA_CONFIG} ${LUA_PKGNAME} --libs-only-L --libs-only-other`" ++ LUA_LDFLAGS="`${LUA_CONFIG} ${LUA_PKGNAME} --libs-only-L --libs-only-other | sed 's/\/lua51//'`" + if test "$verbose_output" -eq 1; then { $as_echo "$as_me:${as_lineno-$LINENO}: lua LDFLAGS: $LUA_LDFLAGS" >&5 + $as_echo "$as_me: lua LDFLAGS: $LUA_LDFLAGS" >&6;}; fi + else -- cgit v1.2.3