View | Details | Raw Unified | Return to bug 208144 | Differences between
and this patch

Collapse All | Expand All

(-)Makefile (-2 / +2 lines)
Lines 1-7 Link Here
1
# $FreeBSD$
1
# $FreeBSD$
2
2
3
PORTNAME=	mod_security
3
PORTNAME=	mod_security
4
PORTVERSION=	2.9.0
4
PORTVERSION=	2.9.1
5
CATEGORIES=	www security
5
CATEGORIES=	www security
6
MASTER_SITES=	http://www.modsecurity.org/tarball/${PORTVERSION}/
6
MASTER_SITES=	http://www.modsecurity.org/tarball/${PORTVERSION}/
7
PKGNAMEPREFIX=	${APACHE_PKGNAMEPREFIX}
7
PKGNAMEPREFIX=	${APACHE_PKGNAMEPREFIX}
Lines 45-51 Link Here
45
45
46
LUA_CONFIGURE_ON=	--with-lua=${LOCALBASE}
46
LUA_CONFIGURE_ON=	--with-lua=${LOCALBASE}
47
LUA_CONFIGURE_OFF+=	--without-lua
47
LUA_CONFIGURE_OFF+=	--without-lua
48
LUA_USES=		lua:51
48
LUA_USES=		lua:51+
49
49
50
MLOGC_DESC=		Build ModSecurity Log Collector
50
MLOGC_DESC=		Build ModSecurity Log Collector
51
MLOGC_CONFIGURE_ON=	--disable-errors
51
MLOGC_CONFIGURE_ON=	--disable-errors
(-)distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (modsecurity-2.9.0.tar.gz) = e2bbf789966c1f80094d88d9085a81bde082b2054f8e38e0db571ca49208f434
1
SHA256 (modsecurity-2.9.1.tar.gz) = 958cc5a7a7430f93fac0fd6f8b9aa92fc1801efce0cda797d6029d44080a9b24
2
SIZE (modsecurity-2.9.0.tar.gz) = 4246467
2
SIZE (modsecurity-2.9.1.tar.gz) = 4261212
(-)files/README.in (+5 lines)
Lines 6-11 Link Here
6
  LoadModule security2_module %%APACHEMODDIR%%/mod_security2.so
6
  LoadModule security2_module %%APACHEMODDIR%%/mod_security2.so
7
  Include etc/modsecurity/*.conf
7
  Include etc/modsecurity/*.conf
8
8
9
ModSecurity has various configuration options.
10
To change them, edit modsecurity/modsecurity.conf.
11
9
Getting the Core Rule Set
12
Getting the Core Rule Set
10
-------------------------
13
-------------------------
11
14
Lines 21-26 Link Here
21
  cp owasp-modsecurity-crs/modsecurity_crs_10_setup.conf.example \
24
  cp owasp-modsecurity-crs/modsecurity_crs_10_setup.conf.example \
22
    crs.conf
25
    crs.conf
23
26
27
The CRS has various config options. To change them, edit crs.conf.
28
24
To activate the CRS base rules, add the following to your httpd.conf:
29
To activate the CRS base rules, add the following to your httpd.conf:
25
30
26
  Include etc/modsecurity/owasp-modsecurity-crs/base_rules/*.conf
31
  Include etc/modsecurity/owasp-modsecurity-crs/base_rules/*.conf
(-)pkg-plist (-1 / +1 lines)
Lines 1-7 Link Here
1
bin/rules-updater.pl
1
bin/rules-updater.pl
2
lib/mod_security2.so
2
lib/mod_security2.so
3
%%APACHEMODDIR%%/mod_security2.so
3
%%APACHEMODDIR%%/mod_security2.so
4
@comment @exec %%APXS%% -e -n unique_id -a %%APACHEMODDIR%%/mod_unique_id.so
4
@postexec %%APXS%% -e -n unique_id -a %%APACHEMODDIR%%/mod_unique_id.so
5
@sample %%ETCDIR%%/modsecurity.conf.sample
5
@sample %%ETCDIR%%/modsecurity.conf.sample
6
%%ETCDIR%%/unicode.mapping
6
%%ETCDIR%%/unicode.mapping
7
%%MLOGC%%bin/mlogc
7
%%MLOGC%%bin/mlogc

Return to bug 208144