diff options
author | Jean-Yves Lefort <jylefort@FreeBSD.org> | 2005-05-16 09:19:11 +0000 |
---|---|---|
committer | Jean-Yves Lefort <jylefort@FreeBSD.org> | 2005-05-16 09:19:11 +0000 |
commit | 9cf0c85318f063d1d402f3c42e3848eb492ecbd0 (patch) | |
tree | 905f366642b911c9cdcf9e7f99fcb9a9762b9f8b /mail/spamass-rules | |
parent | 95670caf7f1d63caec12b9a314d50c0cb76bae0c (diff) | |
download | ports-9cf0c85318f063d1d402f3c42e3848eb492ecbd0.tar.gz ports-9cf0c85318f063d1d402f3c42e3848eb492ecbd0.zip |
Notes
Diffstat (limited to 'mail/spamass-rules')
-rw-r--r-- | mail/spamass-rules/Makefile | 26 | ||||
-rw-r--r-- | mail/spamass-rules/distinfo | 4 | ||||
-rw-r--r-- | mail/spamass-rules/files/pkg-message.in (renamed from mail/spamass-rules/pkg-message) | 2 |
3 files changed, 17 insertions, 15 deletions
diff --git a/mail/spamass-rules/Makefile b/mail/spamass-rules/Makefile index 089a3145bba6..b6975b9d7c81 100644 --- a/mail/spamass-rules/Makefile +++ b/mail/spamass-rules/Makefile @@ -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} diff --git a/mail/spamass-rules/distinfo b/mail/spamass-rules/distinfo index 4ff85cb4a8ce..67b8fd4a5afc 100644 --- a/mail/spamass-rules/distinfo +++ b/mail/spamass-rules/distinfo @@ -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 diff --git a/mail/spamass-rules/pkg-message b/mail/spamass-rules/files/pkg-message.in index 2081080c72eb..08461303d4d1 100644 --- a/mail/spamass-rules/pkg-message +++ b/mail/spamass-rules/files/pkg-message.in @@ -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: |