View | Details | Raw Unified | Return to bug 140463
Collapse All | Expand All

(-)mod_security/Makefile (-15 / +30 lines)
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)
(-)mod_security/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
MD5 (modsecurity-apache_2.5.9.tar.gz) = b7bf44a7e041b49b0da5043495660375
1
MD5 (modsecurity-apache_2.5.11.tar.gz) = 66cd4e5eed674ac3a0013b7229a1c2bb
2
SHA256 (modsecurity-apache_2.5.9.tar.gz) = 02352221ea268f8ae9aae5b84507f51eba2a67c0f7d2efd5cc88e85f1f394056
2
SHA256 (modsecurity-apache_2.5.11.tar.gz) = fd81a8998327ef2010426fcc2899312eddfe4dc462c417e9e7aeb64a6d4ed2bf
3
SIZE (modsecurity-apache_2.5.9.tar.gz) = 1252295
3
SIZE (modsecurity-apache_2.5.11.tar.gz) = 1338425
(-)mod_security/files/extra-patch-fix-6.x-link (-11 lines)
Removed Link Here
1
--- mlogc-src/Makefile.in.orig	2008-09-02 23:10:36.000000000 +0000
2
+++ mlogc-src/Makefile.in	2009-08-09 20:24:50.000000000 +0000
3
@@ -10,7 +10,7 @@
4
 MLOGC_VERSION = `grep '^\#define *VERSION ' mlogc.c | sed 's/.*VERSION *"\([^"]*\)"/\1/'`
5
 
6
 APR_FLAGS = @APR_CFLAGS@
7
-APR_LIBS = @APR_LINK_LD@
8
+APR_LIBS = @APR_LINK_LD@ @APR_LIBS@
9
 
10
 CURL_FLAGS = @CURL_CFLAGS@
11
 CURL_LIBS = @CURL_LIBS@
(-)mod_security/files/patch-configure (-11 lines)
Removed Link Here
1
--- configure.orig	2008-06-04 09:32:50.000000000 +0900
2
+++ configure	2008-06-04 09:35:07.000000000 +0900
3
@@ -5132,7 +5132,7 @@
4
 
5
 
6
 LUA_CONFIG="pkg-config"
7
-LUA_PKGNAMES="lua5.1 lua5 lua"
8
+LUA_PKGNAMES="lua5.1 lua5 lua lua-%%LUA_VER%% "
9
 LUA_CFLAGS=""
10
 LUA_LIBS=""
11

Return to bug 140463