summaryrefslogtreecommitdiff
path: root/www/nginx-devel/files/extra-patch-nginx-modsecurity-configure
diff options
context:
space:
mode:
authorSergey A. Osokin <osa@FreeBSD.org>2014-08-10 17:47:04 +0000
committerSergey A. Osokin <osa@FreeBSD.org>2014-08-10 17:47:04 +0000
commita0541d0f6354643178de932b5aea75109fc0a1aa (patch)
tree3d002e05be6cc3b7ce9aa43ff313ce054a326717 /www/nginx-devel/files/extra-patch-nginx-modsecurity-configure
parent- Stagify (diff)
Update third-party modsecurity module from 2.7.5 to latest version 2.8.0.
Notes
Notes: svn path=/head/; revision=364551
Diffstat (limited to 'www/nginx-devel/files/extra-patch-nginx-modsecurity-configure')
-rw-r--r--www/nginx-devel/files/extra-patch-nginx-modsecurity-configure24
1 files changed, 24 insertions, 0 deletions
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