diff -ruN /usr/ports/www/mod_security2/Makefile mod_security2/Makefile --- /usr/ports/www/mod_security2/Makefile Tue Mar 6 07:37:20 2007 +++ mod_security2/Makefile Fri Mar 9 07:52:55 2007 @@ -64,7 +64,7 @@ @${REINPLACE_CMD} -e '\ s|SecRuleEngine On|SecRuleEngine DetectionOnly|; \ s|SecAuditLog.*logs/modsec_audit.log|SecAuditLog /var/log/httpd-modsec2_audit.log|; \ - s|SecDebugLog.*logs/modsec_debug.log|SecAuditLog /var/log/httpd-modsec2_debug.log|; \ + 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 diff -ruN /usr/ports/www/mod_security2/files/mod_security.conf.in mod_security2/files/mod_security.conf.in --- /usr/ports/www/mod_security2/files/mod_security.conf.in Thu Jan 1 01:00:00 1970 +++ mod_security2/files/mod_security.conf.in Fri Mar 9 07:53:13 2007 @@ -0,0 +1,3 @@ + + Include %%APACHEETCDIR%%/Includes/mod_security2/*.conf + diff -ruN /usr/ports/www/mod_security2/files/pkg-message-rules.in mod_security2/files/pkg-message-rules.in --- /usr/ports/www/mod_security2/files/pkg-message-rules.in Thu Jan 1 01:00:00 1970 +++ mod_security2/files/pkg-message-rules.in Fri Mar 9 07:52:31 2007 @@ -0,0 +1,10 @@ + +The modsecurity 2 Core Rules have been installed in + + %%PREFIX%%/%%APACHEETCDIR%%/Includes/mod_security2/ + +and run in "DetectionOnly" mode as not to disturb operatings. + +Please read http://www.modsecurity.org/projects/rules/index.html + +Logging is done to /var/log/httpd-modsec-*.log