diff options
author | rafan <rafan@FreeBSD.org> | 2007-03-09 17:46:21 +0800 |
---|---|---|
committer | rafan <rafan@FreeBSD.org> | 2007-03-09 17:46:21 +0800 |
commit | e645eefdd25a9869f369210e63517afd459f2fbc (patch) | |
tree | 2236527974d3ffce3d4750c9031f0c5835a5a5e3 | |
parent | 0831dd89786fdbe5febfd1481b9831939e6871eb (diff) | |
download | freebsd-ports-gnome-e645eefdd25a9869f369210e63517afd459f2fbc.tar.gz freebsd-ports-gnome-e645eefdd25a9869f369210e63517afd459f2fbc.tar.zst freebsd-ports-gnome-e645eefdd25a9869f369210e63517afd459f2fbc.zip |
- Add missing files in previous update
- Correct debug log file name
PR: pports/110121
Submitted by: Dominic Mitchell <dom at happygiraffe.net> (maintainer)
Pointy hat to: rafan
-rw-r--r-- | www/mod_security2/Makefile | 2 | ||||
-rw-r--r-- | www/mod_security2/files/mod_security2.conf.in | 3 | ||||
-rw-r--r-- | www/mod_security2/files/pkg-message.rules.in | 10 | ||||
-rw-r--r-- | www/mod_security21/Makefile | 2 | ||||
-rw-r--r-- | www/mod_security21/files/mod_security2.conf.in | 3 | ||||
-rw-r--r-- | www/mod_security21/files/pkg-message.rules.in | 10 |
6 files changed, 28 insertions, 2 deletions
diff --git a/www/mod_security2/Makefile b/www/mod_security2/Makefile index 2d80b16dcfd9..df5d574fa293 100644 --- a/www/mod_security2/Makefile +++ b/www/mod_security2/Makefile @@ -64,7 +64,7 @@ post-patch: @${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 --git a/www/mod_security2/files/mod_security2.conf.in b/www/mod_security2/files/mod_security2.conf.in new file mode 100644 index 000000000000..9553e12a1cc2 --- /dev/null +++ b/www/mod_security2/files/mod_security2.conf.in @@ -0,0 +1,3 @@ +<IfModule security2_module> + Include %%APACHEETCDIR%%/Includes/mod_security2/*.conf +</IfModule> diff --git a/www/mod_security2/files/pkg-message.rules.in b/www/mod_security2/files/pkg-message.rules.in new file mode 100644 index 000000000000..206d2f1aae54 --- /dev/null +++ b/www/mod_security2/files/pkg-message.rules.in @@ -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 diff --git a/www/mod_security21/Makefile b/www/mod_security21/Makefile index 2d80b16dcfd9..df5d574fa293 100644 --- a/www/mod_security21/Makefile +++ b/www/mod_security21/Makefile @@ -64,7 +64,7 @@ post-patch: @${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 --git a/www/mod_security21/files/mod_security2.conf.in b/www/mod_security21/files/mod_security2.conf.in new file mode 100644 index 000000000000..9553e12a1cc2 --- /dev/null +++ b/www/mod_security21/files/mod_security2.conf.in @@ -0,0 +1,3 @@ +<IfModule security2_module> + Include %%APACHEETCDIR%%/Includes/mod_security2/*.conf +</IfModule> diff --git a/www/mod_security21/files/pkg-message.rules.in b/www/mod_security21/files/pkg-message.rules.in new file mode 100644 index 000000000000..206d2f1aae54 --- /dev/null +++ b/www/mod_security21/files/pkg-message.rules.in @@ -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 |