FreeBSD Bugzilla – Attachment 88932 Details for
Bug 125789
[PATCH] www/mod_security: SecRuleScript (lua) support
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
mod_security-2.5.5_1.patch
mod_security-2.5.5_1.patch (text/plain), 1.81 KB, created by
Tomoyuki Sakurai
on 2008-07-20 00:10:02 UTC
(
hide
)
Description:
mod_security-2.5.5_1.patch
Filename:
MIME Type:
Creator:
Tomoyuki Sakurai
Created:
2008-07-20 00:10:02 UTC
Size:
1.81 KB
patch
obsolete
>diff -ruN --exclude=CVS /usr/ports/www/mod_security/Makefile /usr/home/cherry/svk/ports/www/mod_security/Makefile >--- /usr/ports/www/mod_security/Makefile 2008-07-08 07:50:42.000000000 +0900 >+++ /usr/home/cherry/svk/ports/www/mod_security/Makefile 2008-07-20 07:27:03.000000000 +0900 >@@ -35,6 +35,7 @@ > SUB_FILES+= mod_security2.conf > SUB_LIST+= APACHEETCDIR="${APACHEETCDIR}" > PLIST_FILES+= ${APACHEMODDIR}/mod_security2.so >+OPTIONS= LUA "Embedded Lua language support (EXPERIMENTAL)" off > > .if !defined(SKIP_RULES) > SUB_FILES+= pkg-message.rules >@@ -64,6 +65,14 @@ > > .endif > >+.if defined(WITH_LUA) >+USE_LUA= 5.1+ >+CONFIGURE_ARGS+= --with-lua=${LOCALBASE} >+LIB_DEPENDS+= lua.1:${PORTSDIR}/lang/lua >+.else >+CONFIGURE_ARGS+= --without-lua >+.endif >+ > REINPLACE_ARGS= -i "" > > post-patch: >@@ -73,6 +82,9 @@ > s|SecDebugLog.*logs/modsec_debug.log|SecDebugLog /var/log/httpd-modsec2_debug.log|; \ > s|SecServerSignature "Apache/2.2.0 (Fedora)"|SecServerSignature "Apache/${APACHE_VERSION:C/[0-9]/\0./g}x (${OPSYS})"|; \ > ' ${WRKSRCTOP}/rules/modsecurity_crs_10_config.conf >+.if defined(WITH_LUA) >+ ${REINPLACE_CMD} -e 's|%%LUA_VER%%|${LUA_VER}|' ${WRKSRC}/configure >+.endif > > post-install: > .if !defined(NOPORTDOCS) >diff -ruN --exclude=CVS /usr/ports/www/mod_security/files/patch-configure /usr/home/cherry/svk/ports/www/mod_security/files/patch-configure >--- /usr/ports/www/mod_security/files/patch-configure 1970-01-01 09:00:00.000000000 +0900 >+++ /usr/home/cherry/svk/ports/www/mod_security/files/patch-configure 2008-07-20 06:49:42.000000000 +0900 >@@ -0,0 +1,11 @@ >+--- configure.orig 2008-06-04 09:32:50.000000000 +0900 >++++ configure 2008-06-04 09:35:07.000000000 +0900 >+@@ -5132,7 +5132,7 @@ >+ >+ >+ LUA_CONFIG="pkg-config" >+-LUA_PKGNAMES="lua5.1 lua5 lua" >++LUA_PKGNAMES="lua5.1 lua5 lua lua-%%LUA_VER%% " >+ LUA_CFLAGS="" >+ LUA_LIBS="" >+
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 125789
: 88932