[Midnightbsd-cvs] mports [21563] trunk/mail: add spamass-rules port
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Sat Aug 6 22:22:21 EDT 2016
Revision: 21563
http://svnweb.midnightbsd.org/mports/?rev=21563
Author: laffer1
Date: 2016-08-06 22:22:20 -0400 (Sat, 06 Aug 2016)
Log Message:
-----------
add spamass-rules port
Modified Paths:
--------------
trunk/mail/Makefile
Added Paths:
-----------
trunk/mail/spamass-rules/
trunk/mail/spamass-rules/Makefile
trunk/mail/spamass-rules/distinfo
trunk/mail/spamass-rules/files/
trunk/mail/spamass-rules/files/pkg-message.in
trunk/mail/spamass-rules/pkg-descr
Modified: trunk/mail/Makefile
===================================================================
--- trunk/mail/Makefile 2016-08-06 20:53:40 UTC (rev 21562)
+++ trunk/mail/Makefile 2016-08-07 02:22:20 UTC (rev 21563)
@@ -68,6 +68,7 @@
SUBDIR += razor-agents
SUBDIR += roundcube
SUBDIR += sendmail
+SUBDIR += spamass-rules
SUBDIR += spamassassin
SUBDIR += spamd
SUBDIR += squirrelmail
Added: trunk/mail/spamass-rules/Makefile
===================================================================
--- trunk/mail/spamass-rules/Makefile (rev 0)
+++ trunk/mail/spamass-rules/Makefile 2016-08-07 02:22:20 UTC (rev 21563)
@@ -0,0 +1,101 @@
+# $MidnightBSD$
+# $FreeBSD: head/mail/spamass-rules/Makefile 412348 2016-04-01 14:16:16Z mat $
+
+PORTNAME= spamass-rules
+PORTVERSION= 20140707
+CATEGORIES= mail
+MASTER_SITES= http://www.ranner.eu/stuff/
+
+MAINTAINER= ports at MidnightBSD.org
+COMMENT= Custom rulesets for SpamAssassin
+
+LICENSE= unknown
+
+RUN_DEPENDS= spamc:${PORTSDIR}/mail/spamassassin
+
+USES= tar:bzip2
+
+OPTIONS_DEFINE= AIRMAX BACKHAIR BOGUS_VIRUS CHICKENPOX DBRACKETS \
+ EVILNUMBERS MANGLED MIMEVLD RANDOM TRIPWIRE
+
+OPTIONS_SINGLE= WEEDS
+OPTIONS_GROUP= LANG BLACKLIST
+
+OPTIONS_SINGLE_WEEDS= WEEDS1 WEEDS2
+WEEDS_DESC= Looks at alphanum, hex, lower-, uppercase chars
+
+OPTIONS_GROUP_LANG= CHINESE GERMAN GREEK POLISH
+LANG_DESC= Catch spam written in...
+
+OPTIONS_GROUP_BLACKLIST=AHBL MALWARE MSPIKE NIXSPAM
+BLACKLIST= DNS Blacklists
+
+OPTIONS_DEFAULT= BOGUS_VIRUS DBRACKETS GERMAN GREEK MALWARE MIMEVLD MSPIKE NIXSPAM POLISH RANDOM TRIPWIRE WEEDS WEEDS2
+
+AHBL_DESC= AHBL Blacklist
+MALWARE_DESC= Malware Patrol
+MSPIKE_DESC= mailspike.net blacklist
+NIXSPAM_DESC= NiX Spam blacklist
+
+AIRMAX_DESC= Some custom rulesets
+BACKHAIR_DESC= Catch those ugly, unsightly HTML tags
+BOGUS_VIRUS_DESC= Catch 'collateral spam' caused by viruses
+CHICKENPOX_DESC= Catch spam like 'l.ooks f|or th.is garb+age'
+DBRACKETS_DESC= Double-brackets around To header address
+EVILNUMBERS_DESC= Phone numbers, PO boxes, ... from spam
+MANGLED_DESC= Looks for obfuscated/gappy words
+MIMEVLD_DESC= Some mime validation rules
+RANDOM_DESC= Detects spamware mistakes like: %RANDOM_WORD
+TRIPWIRE_DESC= Matches 3 chars that shouldn't be together
+
+CHINESE_DESC= Chinese
+GERMAN_DESC= German
+GREEK_DESC= Greek
+POLISH_DESC= Polish
+
+WEEDS1_DESC= Less restrictive rules
+WEEDS2_DESC= More restrictive rules
+
+SUB_FILES= pkg-message
+NO_BUILD= yes
+NO_WRKSUBDIR= yes
+DATADIR= ${PREFIX}/etc/mail/spamassassin
+
+AHBL_CONF= 20_dnsbl_ahbl.cf
+AIRMAX_CONF= airmax.cf
+BACKHAIR_CONF= backhair.cf
+BOGUS_VIRUS_CONF= bogus-virus-warnings.cf
+CHICKENPOX_CONF= chickenpox.cf
+CHINESE_CONF= chinese_rules.cf
+DBRACKETS_CONF= 99_SMF_BRACKETS_TO.cf
+EVILNUMBERS_CONF= evilnumbers.cf
+GERMAN_CONF= 70_zmi_german.cf
+GREEK_CONF= gr_domain.cf
+MALWARE_CONF= malwarepatrol.cf
+MANGLED_CONF= mangled.cf
+MIMEVLD_CONF= mime_validate.cf
+MSPIKE_CONF= 10_dnsbl_mspike.cf
+NIXSPAM_CONF= 20_dnsbl_nixspam.cf
+POLISH_CONF= sa_body_test_pl.cf
+RANDOM_CONF= random.cf
+TRIPWIRE_CONF= 99_FVGT_Tripwire.cf
+WEEDS1_CONF= weeds.cf
+WEEDS2_CONF= weeds2.cf
+
+.include <bsd.mport.options.mk>
+
+.for opt in ${PORT_OPTIONS}
+. if defined(${opt}_CONF)
+PLIST_FILES+= ${DATADIR_REL}/${${opt}_CONF}
+. endif
+.endfor
+
+do-install:
+ @${MKDIR} ${STAGEDIR}${DATADIR}
+.for opt in ${PORT_OPTIONS}
+. if defined(${opt}_CONF)
+ ${INSTALL_DATA} ${WRKSRC}/${${opt}_CONF} ${STAGEDIR}${DATADIR}
+. endif
+.endfor
+
+.include <bsd.port.mk>
Property changes on: trunk/mail/spamass-rules/Makefile
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/mail/spamass-rules/distinfo
===================================================================
--- trunk/mail/spamass-rules/distinfo (rev 0)
+++ trunk/mail/spamass-rules/distinfo 2016-08-07 02:22:20 UTC (rev 21563)
@@ -0,0 +1,2 @@
+SHA256 (spamass-rules-20140707.tar.bz2) = d3c551e8d34985461ed0c2f0144424e6d297c6ca694ee75c64d5d0c614c93c50
+SIZE (spamass-rules-20140707.tar.bz2) = 356547
Property changes on: trunk/mail/spamass-rules/distinfo
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/mail/spamass-rules/files/pkg-message.in
===================================================================
--- trunk/mail/spamass-rules/files/pkg-message.in (rev 0)
+++ trunk/mail/spamass-rules/files/pkg-message.in 2016-08-07 02:22:20 UTC (rev 21563)
@@ -0,0 +1,15 @@
+*************************************************************************
+
+The custom rulesets are installed in %%DATADIR%%
+
+Before running these rules please do the following:
+
+1. Read any extra info available with the rules, including the comments
+ in the .cf files.
+2. Check to make sure that the default scores in these rules fit your
+ installation. You might want to modify scores.
+3. Make sure to --lint the rules after loading them.
+4. Test the new rulesets. Keep an eye on hits from the new rules to
+ determine if the scoring is right for you.
+
+*************************************************************************
Property changes on: trunk/mail/spamass-rules/files/pkg-message.in
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/mail/spamass-rules/pkg-descr
===================================================================
--- trunk/mail/spamass-rules/pkg-descr (rev 0)
+++ trunk/mail/spamass-rules/pkg-descr 2016-08-07 02:22:20 UTC (rev 21563)
@@ -0,0 +1,13 @@
+Custom rulesets for SpamAssassin which are not part of the official distro.
+
+Before running these rules please do the following:
+
+1. Read any extra info available with the rules, including the comments
+ in the .cf files.
+2. Check to make sure that the default scores in these rules fit your
+ installation. You might want to modify scores.
+3. Make sure to --lint the rules after loading them.
+4. Test the new rulesets. Keep an eye on hits from the new rules to
+ determine if the scoring is right for you.
+
+WWW: http://wiki.apache.org/spamassassin/CustomRulesets
Property changes on: trunk/mail/spamass-rules/pkg-descr
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
More information about the Midnightbsd-cvs
mailing list