summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Orlitzky <mjo@gentoo.org>2017-05-14 09:44:51 -0400
committerMichael Orlitzky <mjo@gentoo.org>2017-05-14 09:45:18 -0400
commit83490af9b1465bb7cd3cf2c2f5bdc1e630a7b566 (patch)
treea9cefb9983ef786c4a2c1f3bf4372655452bab14 /www-apache/modsecurity-crs/files
parentwww-apache/mod_security: new revision with updated default configuration. (diff)
downloadgentoo-83490af9b1465bb7cd3cf2c2f5bdc1e630a7b566.tar.gz
gentoo-83490af9b1465bb7cd3cf2c2f5bdc1e630a7b566.tar.bz2
gentoo-83490af9b1465bb7cd3cf2c2f5bdc1e630a7b566.zip
www-apache/modsecurity-crs: new version 3.0.2.
This new version is a companion to the new mod_security-2.9.1. The rule numbering (and loading?) upstream has been completely rewritten, so the ebuild was too: it's a lot simpler now. I based the new ebuild off of the one posted to bug 615750 by Graham E, so thanks are due to him. The "geoip" and "lua" USE flags were dropped in the hopes that the new rule-loading system is smart enough to do the right thing. If not, this may need a revision to disable any rules that won't work with the installed version of mod_security. Gentoo-Bug: 615750 Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'www-apache/modsecurity-crs/files')
-rw-r--r--www-apache/modsecurity-crs/files/80_mod_security-crs.conf8
1 files changed, 8 insertions, 0 deletions
diff --git a/www-apache/modsecurity-crs/files/80_mod_security-crs.conf b/www-apache/modsecurity-crs/files/80_mod_security-crs.conf
new file mode 100644
index 000000000000..c6b767a3cf24
--- /dev/null
+++ b/www-apache/modsecurity-crs/files/80_mod_security-crs.conf
@@ -0,0 +1,8 @@
+<IfDefine SECURITY>
+ # Add your custom CRS configuration here. A copy of upstream's
+ # crs-setup.conf.example is includes with the documentation of
+ # modsecurity-crs.
+
+ # Include the rules AFTER your custom configuration.
+ Include /usr/share/modsecurity-crs/rules/*.conf
+</IfDefine>