mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-21 20:38:45 +00:00
- Update to 20050515 [1]
- Use SUB_FILES=pkg-message PR: ports/81072 [1] Submitted by: maintainer [1]
This commit is contained in:
parent
95670caf7f
commit
9cf0c85318
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=135346
@ -6,7 +6,7 @@
|
||||
#
|
||||
|
||||
PORTNAME= spamass-rules
|
||||
PORTVERSION= 20050401
|
||||
PORTVERSION= 20050515
|
||||
CATEGORIES= mail
|
||||
MASTER_SITES= http://www.ranner.jawa.at/stuff/ \
|
||||
http://web.inforum.at/downloads/
|
||||
@ -30,6 +30,7 @@ OPTIONS= AHBL "Check AHBL Blacklist" off \
|
||||
MANGLED "Looks for obfuscated/gappy words" off \
|
||||
MIMEVLD "Some mime validation rules" off \
|
||||
RANDOM "Detects spamware mistakes like: %RANDOM_WORD" on \
|
||||
ROMANIAN "Catches spam written in Romanian" off \
|
||||
SARE "Installs safe SARE rules" on \
|
||||
SARE1 "Installs more restrictive SARE rules" off \
|
||||
SARE2 "Installs more cpu intensive SARE rules" off \
|
||||
@ -38,7 +39,7 @@ OPTIONS= AHBL "Check AHBL Blacklist" off \
|
||||
TRIPWIRE "Matches 3 chars that shouldn't be together" off \
|
||||
WEEDS "Looks at alphanum, hex, lower-, uppercase chars" on \
|
||||
WEEDS2 "More restrictive than WEEDS, dont use together" off
|
||||
PKGMESSAGE= ${WRKDIR}/pkg-message
|
||||
SUB_FILES= pkg-message
|
||||
NO_BUILD= yes
|
||||
NO_WRKSUBDIR= yes
|
||||
SPAMASS_CONF= etc/mail/spamassassin
|
||||
@ -109,30 +110,34 @@ SPAMASS_FILES+= mime_validate.cf
|
||||
SPAMASS_FILES+= random.cf
|
||||
.endif
|
||||
|
||||
.if defined(WITH_ROMANIAN)
|
||||
SPAMASS_FILES+= blacklist_ro.cf
|
||||
.endif
|
||||
|
||||
.if !defined(WITHOUT_SARE)
|
||||
.for i in 70_sare_adult.cf 70_sare_bayes_poison_nxm.cf 70_sare_header0.cf \
|
||||
70_sare_html0.cf 70_sare_genlsubj0.cf 70_sare_oem.cf 70_sare_random.cf \
|
||||
70_sare_specific.cf 70_sare_spoof.cf 70_sare_unsub.cf 70_sare_uri.cf \
|
||||
72_sare_redirect_post3.0.0.cf 72_sare_bml_post25x.cf \
|
||||
99_sare_fraud_post25x.cf
|
||||
70_sare_html0.cf 70_sare_genlsubj0.cf 70_sare_oem.cf 70_sare_obfu0.cf \
|
||||
70_sare_random.cf 70_sare_specific.cf 70_sare_spoof.cf \
|
||||
70_sare_unsub.cf 70_sare_uri.cf 72_sare_redirect_post3.0.0.cf \
|
||||
72_sare_bml_post25x.cf 99_sare_fraud_post25x.cf
|
||||
SPAMASS_FILES+= $i
|
||||
.endfor
|
||||
.endif
|
||||
|
||||
.if defined(WITH_SARE1)
|
||||
.for i in 70_sare_header1.cf 70_sare_html1.cf 70_sare_genlsubj1.cf
|
||||
.for i in 70_sare_header1.cf 70_sare_html1.cf 70_sare_genlsubj1.cf 70_sare_obfu1.cf
|
||||
SPAMASS_FILES+= $i
|
||||
.endfor
|
||||
.endif
|
||||
|
||||
.if defined(WITH_SARE2)
|
||||
.for i in 70_sare_header2.cf 70_sare_html2.cf 70_sare_genlsubj2.cf
|
||||
.for i in 70_sare_header2.cf 70_sare_html2.cf 70_sare_genlsubj2.cf 70_sare_obfu2.cf
|
||||
SPAMASS_FILES+= $i
|
||||
.endfor
|
||||
.endif
|
||||
|
||||
.if defined(WITH_SARE3)
|
||||
.for i in 70_sare_header3.cf 70_sare_html3.cf 70_sare_genlsubj3.cf
|
||||
.for i in 70_sare_header3.cf 70_sare_html3.cf 70_sare_genlsubj3.cf 70_sare_obfu3.cf
|
||||
SPAMASS_FILES+= $i
|
||||
.endfor
|
||||
.endif
|
||||
@ -158,9 +163,6 @@ PLIST_FILES= ${SPAMASS_FILES:S/^/${SPAMASS_CONF}\//}
|
||||
do-build:
|
||||
@${DO_NADA}
|
||||
|
||||
pre-install:
|
||||
@${SED} -e 's|%%LOCALBASE%%|${PREFIX}|g' ${.CURDIR}/pkg-message > ${PKGMESSAGE}
|
||||
|
||||
do-install:
|
||||
@${MKDIR} ${INSTALL_DIR}
|
||||
@${INSTALL_DATA} ${SPAMASS_FILES:S/^/${WRKSRC}\//} ${INSTALL_DIR}
|
||||
|
@ -1,2 +1,2 @@
|
||||
MD5 (spamass-rules-20050401.tar.bz2) = bbf68983ed50adcea054e38eedc1b9c8
|
||||
SIZE (spamass-rules-20050401.tar.bz2) = 220559
|
||||
MD5 (spamass-rules-20050515.tar.bz2) = b48d11e10c04c0096bc26c89d1f64cc7
|
||||
SIZE (spamass-rules-20050515.tar.bz2) = 228796
|
||||
|
@ -1,6 +1,6 @@
|
||||
*************************************************************************
|
||||
|
||||
The custom rulesets are installed in %%LOCALBASE%%/etc/mail/spamassassin
|
||||
The custom rulesets are installed in %%PREFIX%%/etc/mail/spamassassin
|
||||
|
||||
Before running these rules please do the following:
|
||||
|
Loading…
Reference in New Issue
Block a user