aboutsummaryrefslogtreecommitdiffstats
path: root/www/mod_security
diff options
context:
space:
mode:
authorMarcelo Araujo <araujo@FreeBSD.org>2009-07-29 04:51:46 +0800
committerMarcelo Araujo <araujo@FreeBSD.org>2009-07-29 04:51:46 +0800
commit0ab090b7bfa1e81880beaf4e06c4f81f9e6a5ec1 (patch)
treec3d76a3ca5996e2b826fb2c60d17b2ba4e536879 /www/mod_security
parent6dcc3d4ab6411a72c0ac29fb1cfd4901124f2e4a (diff)
downloadfreebsd-ports-gnome-0ab090b7bfa1e81880beaf4e06c4f81f9e6a5ec1.tar.gz
freebsd-ports-gnome-0ab090b7bfa1e81880beaf4e06c4f81f9e6a5ec1.tar.zst
freebsd-ports-gnome-0ab090b7bfa1e81880beaf4e06c4f81f9e6a5ec1.zip
- Support updated to latest lang/lua library version.
- Fixed a wrong prefix when use WITH_MLOGC=yes. PR: ports/137214, ports/137215 Submitted by: Oleg Ginzburg <oleg.ginzburg@nevosoft.ru>
Diffstat (limited to 'www/mod_security')
-rw-r--r--www/mod_security/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/www/mod_security/Makefile b/www/mod_security/Makefile
index f5f4fffe098e..d1fc2775b029 100644
--- a/www/mod_security/Makefile
+++ b/www/mod_security/Makefile
@@ -7,6 +7,7 @@
PORTNAME= mod_security
PORTVERSION= 2.5.9
+PORTREVISION= 1
CATEGORIES= www security
MASTER_SITES= SF
MASTER_SITE_SUBDIR= mod-security
@@ -45,7 +46,7 @@ OPTIONS= LUA "Embedded Lua language support" off \
.if !defined(SKIP_RULES)
SUB_FILES+= pkg-message.rules
.if defined(WITH_MLOGC)
-PLIST_FILES+= ${PREFIX}/bin/mlogc
+PLIST_FILES+= bin/mlogc
.endif
PLIST_DIRS+= ${APACHEETCDIR}/Includes/mod_security2/optional_rules
PLIST_DIRS+= ${APACHEETCDIR}/Includes/mod_security2
@@ -75,7 +76,7 @@ PLIST_FILES+= ${APACHEETCDIR}/Includes/mod_security2/optional_rules/modsecurity_
.if defined(WITH_LUA)
USE_LUA= 5.1+
CONFIGURE_ARGS+= --with-lua=${LOCALBASE}
-LIB_DEPENDS+= lua.1:${PORTSDIR}/lang/lua
+LIB_DEPENDS+= lua-5.1.1:${PORTSDIR}/lang/lua
.else
CONFIGURE_ARGS+= --without-lua
.endif