FreeBSD Bugzilla – Attachment 249730 Details for
Bug 278180
www/mod_security: Update to 2.9.8 and Latest Project Changes
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch
modsecurity-2.9.7.patch (text/plain), 2.20 KB, created by
Pascal Christen
on 2024-04-05 06:29:15 UTC
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Pascal Christen
Created:
2024-04-05 06:29:15 UTC
Size:
2.20 KB
patch
obsolete
>--- www/mod_security/Makefile >+++ www/mod_security/Makefile >@@ -1,8 +1,8 @@ > PORTNAME= mod_security > DISTVERSIONPREFIX= v >-PORTVERSION= 2.9.6 >+PORTVERSION= 2.9.7 > CATEGORIES= www security >-MASTER_SITES= https://github.com/SpiderLabs/ModSecurity/releases/download/v${PORTVERSION}/ >+MASTER_SITES= https://github.com/owasp-modsecurity/ModSecurity/releases/download/v${PORTVERSION}/ > PKGNAMEPREFIX= ${APACHE_PKGNAMEPREFIX} > DISTNAME= ${PORTNAME:S/_//:S/2//}-${PORTVERSION} > >--- www/mod_security/distinfo >+++ www/mod_security/distinfo >@@ -1,3 +1,3 @@ >-TIMESTAMP = 1662714949 >-SHA256 (modsecurity-2.9.6.tar.gz) = 626a831aca92cdff73ea68a85b7f5c105d9a15365fa270fbed3139a81eaf3344 >-SIZE (modsecurity-2.9.6.tar.gz) = 4316582 >+TIMESTAMP = 1672957076 >+SHA256 (modsecurity-2.9.7.tar.gz) = 2a28fcfccfef21581486f98d8d5fe0397499749b8380f60ec7bb1c08478e1839 >+SIZE (modsecurity-2.9.7.tar.gz) = 4320766 >--- www/mod_security/files/README.in >+++ www/mod_security/files/README.in >@@ -21,15 +21,19 @@ under it. > > pkg install git > cd %%ETCDIR%% >- git clone https://github.com/SpiderLabs/owasp-modsecurity-crs >- cp owasp-modsecurity-crs/modsecurity_crs_10_setup.conf.example \ >- crs.conf >+ git clone https://github.com/coreruleset/coreruleset.git >+ cp coreruleset/crs-setup.conf.example \ >+ crs-setup.conf > >-The CRS has various config options. To change them, edit crs.conf. >+The CRS has various config options. To change them, edit crs-setup.conf. > > To activate the CRS base rules, add the following to your httpd.conf: > >- Include etc/modsecurity/owasp-modsecurity-crs/base_rules/*.conf >+ IncludeOptional %%ETCDIR%%/coreruleset/crs-setup.conf >+ IncludeOptional %%ETCDIR%%/coreruleset/plugins/*-config.conf >+ IncludeOptional %%ETCDIR%%/coreruleset/plugins/*-before.conf >+ IncludeOptional %%ETCDIR%%/coreruleset/rules/*.conf >+ IncludeOptional %%ETCDIR%%/coreruleset/plugins/*-after.conf > > You can also add custom configuration and CRS exceptions here. > For instance, you might want to disable rules that generate false >@@ -84,6 +88,6 @@ exceptions. > You probably want to keep the CRS updated from time to time. You can > do this with Git: > >- cd %%ETCDIR%%/owasp-modsecurity-crs >+ cd %%ETCDIR%%/coreruleset > git pull > apachectl restart
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 278180
: 249730 |
253321