Lines 6-13
Link Here
|
6 |
# |
6 |
# |
7 |
|
7 |
|
8 |
PORTNAME= mod_security |
8 |
PORTNAME= mod_security |
9 |
PORTVERSION= 2.5.9 |
9 |
PORTVERSION= 2.5.11 |
10 |
PORTREVISION= 1 |
|
|
11 |
CATEGORIES= www security |
10 |
CATEGORIES= www security |
12 |
MASTER_SITES= SF/mod-security/modsecurity-apache/${PORTVERSION} |
11 |
MASTER_SITES= SF/mod-security/modsecurity-apache/${PORTVERSION} |
13 |
DISTNAME= ${PORTNAME:S/_//:S/2//}-apache_${PORTVERSION} |
12 |
DISTNAME= ${PORTNAME:S/_//:S/2//}-apache_${PORTVERSION} |
Lines 46-78
Link Here
|
46 |
SUB_FILES+= pkg-message.rules |
45 |
SUB_FILES+= pkg-message.rules |
47 |
.if defined(WITH_MLOGC) |
46 |
.if defined(WITH_MLOGC) |
48 |
PLIST_FILES+= bin/mlogc |
47 |
PLIST_FILES+= bin/mlogc |
49 |
.if ${OSVERSION} < 700000 |
|
|
50 |
EXTRA_PATCHES+= ${FILESDIR}/extra-patch-fix-6.x-link |
51 |
.endif |
52 |
.endif |
48 |
.endif |
53 |
PLIST_DIRS+= ${APACHEETCDIR}/Includes/mod_security2/optional_rules |
49 |
PLIST_DIRS+= ${APACHEETCDIR}/Includes/mod_security2/optional_rules |
|
|
50 |
PLIST_DIRS+= ${APACHEETCDIR}/Includes/mod_security2/base_rules |
51 |
PLIST_DIRS+= ${APACHEETCDIR}/Includes/mod_security2/util |
54 |
PLIST_DIRS+= ${APACHEETCDIR}/Includes/mod_security2 |
52 |
PLIST_DIRS+= ${APACHEETCDIR}/Includes/mod_security2 |
55 |
|
|
|
56 |
PLIST_FILES+= ${APACHEETCDIR}/Includes/mod_security2.conf |
53 |
PLIST_FILES+= ${APACHEETCDIR}/Includes/mod_security2.conf |
57 |
PLIST_FILES+= ${APACHEETCDIR}/Includes/mod_security2/CHANGELOG |
54 |
PLIST_FILES+= ${APACHEETCDIR}/Includes/mod_security2/CHANGELOG |
58 |
PLIST_FILES+= ${APACHEETCDIR}/Includes/mod_security2/LICENSE |
55 |
PLIST_FILES+= ${APACHEETCDIR}/Includes/mod_security2/LICENSE |
59 |
PLIST_FILES+= ${APACHEETCDIR}/Includes/mod_security2/README |
56 |
PLIST_FILES+= ${APACHEETCDIR}/Includes/mod_security2/README |
60 |
PLIST_FILES+= ${APACHEETCDIR}/Includes/mod_security2/modsecurity_crs_23_request_limits.conf |
57 |
PLIST_FILES+= ${APACHEETCDIR}/Includes/mod_security2/util/modsec-clamscan.pl |
|
|
58 |
PLIST_FILES+= ${APACHEETCDIR}/Includes/mod_security2/util/runav.pl |
59 |
PLIST_FILES+= ${APACHEETCDIR}/Includes/mod_security2/util/httpd-guardian.pl |
61 |
PLIST_FILES+= ${APACHEETCDIR}/Includes/mod_security2/modsecurity_crs_10_config.conf |
60 |
PLIST_FILES+= ${APACHEETCDIR}/Includes/mod_security2/modsecurity_crs_10_config.conf |
62 |
PLIST_FILES+= ${APACHEETCDIR}/Includes/mod_security2/modsecurity_crs_20_protocol_violations.conf |
61 |
PLIST_FILES+= ${APACHEETCDIR}/Includes/mod_security2/modsecurity_crs_10_global_config.conf |
63 |
PLIST_FILES+= ${APACHEETCDIR}/Includes/mod_security2/modsecurity_crs_21_protocol_anomalies.conf |
|
|
64 |
PLIST_FILES+= ${APACHEETCDIR}/Includes/mod_security2/modsecurity_crs_30_http_policy.conf |
65 |
PLIST_FILES+= ${APACHEETCDIR}/Includes/mod_security2/modsecurity_crs_35_bad_robots.conf |
66 |
PLIST_FILES+= ${APACHEETCDIR}/Includes/mod_security2/modsecurity_crs_40_generic_attacks.conf |
67 |
PLIST_FILES+= ${APACHEETCDIR}/Includes/mod_security2/modsecurity_crs_45_trojans.conf |
68 |
PLIST_FILES+= ${APACHEETCDIR}/Includes/mod_security2/modsecurity_crs_50_outbound.conf |
69 |
PLIST_FILES+= ${APACHEETCDIR}/Includes/mod_security2/optional_rules/modsecurity_crs_20_protocol_violations.conf |
62 |
PLIST_FILES+= ${APACHEETCDIR}/Includes/mod_security2/optional_rules/modsecurity_crs_20_protocol_violations.conf |
70 |
PLIST_FILES+= ${APACHEETCDIR}/Includes/mod_security2/optional_rules/modsecurity_crs_21_protocol_anomalies.conf |
63 |
PLIST_FILES+= ${APACHEETCDIR}/Includes/mod_security2/optional_rules/modsecurity_crs_21_protocol_anomalies.conf |
71 |
PLIST_FILES+= ${APACHEETCDIR}/Includes/mod_security2/optional_rules/modsecurity_crs_40_generic_attacks.conf |
64 |
PLIST_FILES+= ${APACHEETCDIR}/Includes/mod_security2/optional_rules/modsecurity_crs_40_generic_attacks.conf |
72 |
PLIST_FILES+= ${APACHEETCDIR}/Includes/mod_security2/optional_rules/modsecurity_crs_42_comment_spam.conf |
65 |
PLIST_FILES+= ${APACHEETCDIR}/Includes/mod_security2/optional_rules/modsecurity_crs_42_comment_spam.conf |
73 |
PLIST_FILES+= ${APACHEETCDIR}/Includes/mod_security2/optional_rules/modsecurity_crs_42_tight_security.conf |
66 |
PLIST_FILES+= ${APACHEETCDIR}/Includes/mod_security2/optional_rules/modsecurity_crs_42_tight_security.conf |
74 |
PLIST_FILES+= ${APACHEETCDIR}/Includes/mod_security2/optional_rules/modsecurity_crs_55_marketing.conf |
67 |
PLIST_FILES+= ${APACHEETCDIR}/Includes/mod_security2/optional_rules/modsecurity_crs_55_marketing.conf |
75 |
|
68 |
PLIST_FILES+= ${APACHEETCDIR}/Includes/mod_security2/base_rules/modsecurity_crs_41_xss_attacks.conf |
|
|
69 |
PLIST_FILES+= ${APACHEETCDIR}/Includes/mod_security2/base_rules/modsecurity_41_sql_injection_attacks.data |
70 |
PLIST_FILES+= ${APACHEETCDIR}/Includes/mod_security2/base_rules/modsecurity_crs_45_trojans.conf |
71 |
PLIST_FILES+= ${APACHEETCDIR}/Includes/mod_security2/base_rules/modsecurity_crs_41_phpids_filters.conf |
72 |
PLIST_FILES+= ${APACHEETCDIR}/Includes/mod_security2/base_rules/modsecurity_50_outbound.data |
73 |
PLIST_FILES+= ${APACHEETCDIR}/Includes/mod_security2/base_rules/modsecurity_46_et_web_rules.data |
74 |
PLIST_FILES+= ${APACHEETCDIR}/Includes/mod_security2/base_rules/modsecurity_crs_46_et_sql_injection.conf |
75 |
PLIST_FILES+= ${APACHEETCDIR}/Includes/mod_security2/base_rules/modsecurity_crs_47_common_exceptions.conf |
76 |
PLIST_FILES+= ${APACHEETCDIR}/Includes/mod_security2/base_rules/modsecurity_crs_41_phpids_converter.conf |
77 |
PLIST_FILES+= ${APACHEETCDIR}/Includes/mod_security2/base_rules/modsecurity_crs_20_protocol_violations.conf |
78 |
PLIST_FILES+= ${APACHEETCDIR}/Includes/mod_security2/base_rules/modsecurity_crs_49_enforcement.conf |
79 |
PLIST_FILES+= ${APACHEETCDIR}/Includes/mod_security2/base_rules/modsecurity_crs_21_protocol_anomalies.conf |
80 |
PLIST_FILES+= ${APACHEETCDIR}/Includes/mod_security2/base_rules/modsecurity_crs_35_bad_robots.conf |
81 |
PLIST_FILES+= ${APACHEETCDIR}/Includes/mod_security2/base_rules/modsecurity_crs_30_http_policy.conf |
82 |
PLIST_FILES+= ${APACHEETCDIR}/Includes/mod_security2/base_rules/modsecurity_crs_46_et_web_rules.conf |
83 |
PLIST_FILES+= ${APACHEETCDIR}/Includes/mod_security2/base_rules/modsecurity_40_generic_attacks.data |
84 |
PLIST_FILES+= ${APACHEETCDIR}/Includes/mod_security2/base_rules/modsecurity_crs_50_outbound.conf |
85 |
PLIST_FILES+= ${APACHEETCDIR}/Includes/mod_security2/base_rules/modsecurity_46_et_sql_injection.data |
86 |
PLIST_FILES+= ${APACHEETCDIR}/Includes/mod_security2/base_rules/modsecurity_crs_23_request_limits.conf |
87 |
PLIST_FILES+= ${APACHEETCDIR}/Includes/mod_security2/base_rules/modsecurity_crs_41_sql_injection_attacks.conf |
88 |
PLIST_FILES+= ${APACHEETCDIR}/Includes/mod_security2/base_rules/modsecurity_crs_40_generic_attacks.conf |
89 |
PLIST_FILES+= ${APACHEETCDIR}/Includes/mod_security2/base_rules/modsecurity_crs_48_local_exceptions.conf |
90 |
PLIST_FILES+= ${APACHEETCDIR}/Includes/mod_security2/base_rules/modsecurity_crs_60_correlation.conf |
76 |
.endif |
91 |
.endif |
77 |
|
92 |
|
78 |
.if defined(WITH_LUA) |
93 |
.if defined(WITH_LUA) |