Lines 6-12
Link Here
|
6 |
# |
6 |
# |
7 |
|
7 |
|
8 |
PORTNAME= spamass-rules |
8 |
PORTNAME= spamass-rules |
9 |
PORTVERSION= 20100215 |
9 |
PORTVERSION= 20101112 |
10 |
CATEGORIES= mail |
10 |
CATEGORIES= mail |
11 |
MASTER_SITES= http://www.ranner.eu/stuff/ |
11 |
MASTER_SITES= http://www.ranner.eu/stuff/ |
12 |
|
12 |
|
Lines 24-44
Link Here
|
24 |
CHINESE "Catches spam written in Chinese" off \ |
24 |
CHINESE "Catches spam written in Chinese" off \ |
25 |
EVILNUMBERS "Phone numbers, PO boxes, ... from spam " on \ |
25 |
EVILNUMBERS "Phone numbers, PO boxes, ... from spam " on \ |
26 |
FRENCH "Catches spam written in French" off \ |
26 |
FRENCH "Catches spam written in French" off \ |
27 |
GERMAN "Catches spam written in German" off \ |
27 |
GERMAN "Catches spam written in German" on \ |
28 |
GREEK "Catches spam written in Greek" off \ |
28 |
GREEK "Catches spam written in Greek" on \ |
|
|
29 |
MALWARE "Malware Patrol - Block List" on \ |
29 |
MANGLED "Looks for obfuscated/gappy words" on \ |
30 |
MANGLED "Looks for obfuscated/gappy words" on \ |
30 |
MIMEVLD "Some mime validation rules" on \ |
31 |
MIMEVLD "Some mime validation rules" on \ |
|
|
32 |
NIXSPAM "Check NiX Spam Blacklist" on \ |
31 |
RANDOM "Detects spamware mistakes like: %RANDOM_WORD" on \ |
33 |
RANDOM "Detects spamware mistakes like: %RANDOM_WORD" on \ |
32 |
ROMANIAN "Catches spam written in Romanian" off \ |
34 |
ROMANIAN "Catches spam written in Romanian" off \ |
33 |
SARE "Installs safe SARE rules" on \ |
35 |
SARE "Installs safe SARE rules" on \ |
34 |
SARE1 "Installs more restrictive SARE rules" off \ |
36 |
SARE1 "Installs more restrictive SARE rules" on \ |
35 |
SARE2 "Installs more cpu intensive SARE rules" off \ |
37 |
SARE2 "Installs more cpu intensive SARE rules" on \ |
36 |
SARE3 "Installs aggressive SARE rules" off \ |
38 |
SARE3 "Installs aggressive SARE rules" off \ |
37 |
SAREH "Installs SARE high risk rules" off \ |
39 |
SAREH "Installs SARE high risk rules" off \ |
38 |
SAREW "Installs SARE whitelist rules" off \ |
40 |
SAREW "Installs SARE whitelist rules" on \ |
39 |
TRIPWIRE "Matches 3 chars that shouldn't be together" on \ |
41 |
TRIPWIRE "Matches 3 chars that shouldn't be together" on \ |
40 |
WEEDS "Looks at alphanum, hex, lower-, uppercase chars" on \ |
42 |
WEEDS "Looks at alphanum, hex, lower-, uppercase chars" off \ |
41 |
WEEDS2 "More restrictive than WEEDS, dont use together" off |
43 |
WEEDS2 "More restrictive than WEEDS, dont use together" on |
42 |
SUB_FILES= pkg-message |
44 |
SUB_FILES= pkg-message |
43 |
NO_BUILD= yes |
45 |
NO_BUILD= yes |
44 |
NO_WRKSUBDIR= yes |
46 |
NO_WRKSUBDIR= yes |
Lines 49-59
Link Here
|
49 |
|
51 |
|
50 |
.include <bsd.port.pre.mk> |
52 |
.include <bsd.port.pre.mk> |
51 |
|
53 |
|
52 |
.if defined(WITH_AHBL) |
54 |
.if !defined(WITHOUT_AHBL) |
53 |
SPAMASS_FILES+= 20_dnsbl_ahbl.cf |
55 |
SPAMASS_FILES+= 20_dnsbl_ahbl.cf |
54 |
.endif |
56 |
.endif |
55 |
|
57 |
|
56 |
.if defined(WITH_AIRMAX) |
58 |
.if !defined(WITHOUT_AIRMAX) |
57 |
SPAMASS_FILES+= airmax.cf |
59 |
SPAMASS_FILES+= airmax.cf |
58 |
.endif |
60 |
.endif |
59 |
|
61 |
|
Lines 88-109
Link Here
|
88 |
SPAMASS_FILES+= french_rules.cf |
90 |
SPAMASS_FILES+= french_rules.cf |
89 |
.endif |
91 |
.endif |
90 |
|
92 |
|
91 |
.if defined(WITH_GERMAN) |
93 |
.if !defined(WITHOUT_GERMAN) |
92 |
SPAMASS_FILES+= 70_zmi_german.cf |
94 |
SPAMASS_FILES+= 70_zmi_german.cf |
93 |
.endif |
95 |
.endif |
94 |
|
96 |
|
95 |
.if defined(WITH_GREEK) |
97 |
.if !defined(WITHOUT_GREEK) |
96 |
SPAMASS_FILES+= gr_domain.cf |
98 |
SPAMASS_FILES+= gr_domain.cf |
97 |
.endif |
99 |
.endif |
98 |
|
100 |
|
99 |
.if defined(WITH_MANGLED) |
101 |
.if !defined(WITHOUT_MALWARE) |
|
|
102 |
SPAMASS_FILES+= malwarepatrol.cf |
103 |
.endif |
104 |
|
105 |
.if !defined(WITHOUT_MANGLED) |
100 |
SPAMASS_FILES+= mangled.cf |
106 |
SPAMASS_FILES+= mangled.cf |
101 |
.endif |
107 |
.endif |
102 |
|
108 |
|
103 |
.if defined(WITH_MIMEVLD) |
109 |
.if !defined(WITHOUT_MIMEVLD) |
104 |
SPAMASS_FILES+= mime_validate.cf |
110 |
SPAMASS_FILES+= mime_validate.cf |
105 |
.endif |
111 |
.endif |
106 |
|
112 |
|
|
|
113 |
.if !defined(WITHOUT_NIXSPAM) |
114 |
SPAMASS_FILES+= 20_dnsbl_nixspam.cf |
115 |
.endif |
116 |
|
107 |
.if !defined(WITHOUT_RANDOM) |
117 |
.if !defined(WITHOUT_RANDOM) |
108 |
SPAMASS_FILES+= random.cf |
118 |
SPAMASS_FILES+= random.cf |
109 |
.endif |
119 |
.endif |
Lines 122-134
Link Here
|
122 |
.endfor |
132 |
.endfor |
123 |
.endif |
133 |
.endif |
124 |
|
134 |
|
125 |
.if defined(WITH_SARE1) |
135 |
.if !defined(WITHOUT_SARE1) |
126 |
.for i in 70_sare_header1.cf 70_sare_html1.cf 70_sare_genlsubj1.cf 70_sare_obfu1.cf 70_sare_uri1.cf |
136 |
.for i in 70_sare_header1.cf 70_sare_html1.cf 70_sare_genlsubj1.cf 70_sare_obfu1.cf 70_sare_uri1.cf |
127 |
SPAMASS_FILES+= $i |
137 |
SPAMASS_FILES+= $i |
128 |
.endfor |
138 |
.endfor |
129 |
.endif |
139 |
.endif |
130 |
|
140 |
|
131 |
.if defined(WITH_SARE2) |
141 |
.if !defined(WITHOUT_SARE2) |
132 |
.for i in 70_sare_header2.cf 70_sare_html2.cf 70_sare_genlsubj2.cf 70_sare_obfu2.cf 70_sare_uri2.cf |
142 |
.for i in 70_sare_header2.cf 70_sare_html2.cf 70_sare_genlsubj2.cf 70_sare_obfu2.cf 70_sare_uri2.cf |
133 |
SPAMASS_FILES+= $i |
143 |
SPAMASS_FILES+= $i |
134 |
.endfor |
144 |
.endfor |
Lines 144-162
Link Here
|
144 |
SPAMASS_FILES+= 70_sare_highrisk.cf |
154 |
SPAMASS_FILES+= 70_sare_highrisk.cf |
145 |
.endif |
155 |
.endif |
146 |
|
156 |
|
147 |
.if defined(WITH_SAREW) |
157 |
.if !defined(WITHOUT_SAREW) |
148 |
SPAMASS_FILES+= 70_sare_whitelist.cf |
158 |
SPAMASS_FILES+= 70_sare_whitelist.cf |
149 |
.endif |
159 |
.endif |
150 |
|
160 |
|
151 |
.if defined(WITH_TRIPWIRE) |
161 |
.if !defined(WITHOUT_TRIPWIRE) |
152 |
SPAMASS_FILES+= 99_FVGT_Tripwire.cf |
162 |
SPAMASS_FILES+= 99_FVGT_Tripwire.cf |
153 |
.endif |
163 |
.endif |
154 |
|
164 |
|
155 |
.if !defined(WITHOUT_WEEDS) && !defined(WITH_WEEDS2) |
165 |
.if defined(WITH_WEEDS) && defined(WITHOUT_WEEDS2) |
156 |
SPAMASS_FILES+= weeds.cf |
166 |
SPAMASS_FILES+= weeds.cf |
157 |
.endif |
167 |
.endif |
158 |
|
168 |
|
159 |
.if defined(WITH_WEEDS2) && defined(WITHOUT_WEEDS) |
169 |
.if !defined(WITHOUT_WEEDS2) && !defined(WITH_WEEDS) |
160 |
SPAMASS_FILES+= weeds2.cf |
170 |
SPAMASS_FILES+= weeds2.cf |
161 |
.endif |
171 |
.endif |
162 |
|
172 |
|