|
Lines 6-12
Link Here
|
| 6 |
# |
6 |
# |
| 7 |
|
7 |
|
| 8 |
PORTNAME= mod_security |
8 |
PORTNAME= mod_security |
| 9 |
PORTVERSION= 2.5.12 |
9 |
PORTVERSION= 2.5.13 |
| 10 |
CATEGORIES= www security |
10 |
CATEGORIES= www security |
| 11 |
MASTER_SITES= SF/mod-security/modsecurity-apache/${PORTVERSION} |
11 |
MASTER_SITES= SF/mod-security/modsecurity-apache/${PORTVERSION} |
| 12 |
PKGNAMEPREFIX= ${APACHE_PKGNAMEPREFIX} |
12 |
PKGNAMEPREFIX= ${APACHE_PKGNAMEPREFIX} |
|
Lines 123-129
Link Here
|
| 123 |
s|SecAuditLog.*logs/modsec_audit.log|SecAuditLog /var/log/httpd-modsec2_audit.log|; \ |
123 |
s|SecAuditLog.*logs/modsec_audit.log|SecAuditLog /var/log/httpd-modsec2_audit.log|; \ |
| 124 |
s|SecDebugLog.*logs/modsec_debug.log|SecDebugLog /var/log/httpd-modsec2_debug.log|; \ |
124 |
s|SecDebugLog.*logs/modsec_debug.log|SecDebugLog /var/log/httpd-modsec2_debug.log|; \ |
| 125 |
s|SecServerSignature "Apache/2.2.0 (Fedora)"|SecServerSignature "Apache/${APACHE_VERSION:C/[0-9]/\0./g}x (${OPSYS})"|; \ |
125 |
s|SecServerSignature "Apache/2.2.0 (Fedora)"|SecServerSignature "Apache/${APACHE_VERSION:C/[0-9]/\0./g}x (${OPSYS})"|; \ |
| 126 |
' ${WRKSRCTOP}/rules/modsecurity_crs_10_config.conf |
126 |
' ${WRKSRCTOP}/rules/modsecurity_crs_10_config.conf.example |
| 127 |
.if defined(WITH_LUA) |
127 |
.if defined(WITH_LUA) |
| 128 |
${REINPLACE_CMD} -e 's|%%LUA_VER%%|${LUA_VER}|' ${WRKSRC}/configure |
128 |
${REINPLACE_CMD} -e 's|%%LUA_VER%%|${LUA_VER}|' ${WRKSRC}/configure |
| 129 |
.endif |
129 |
.endif |