ports/69572: [NEW PORT] mail/spamass-rules: Custom rulesets for SpamAssassin

Michael Ranner mranner at inode.at
Sun Jul 25 14:20:16 UTC 2004


>Number:         69572
>Category:       ports
>Synopsis:       [NEW PORT] mail/spamass-rules: Custom rulesets for SpamAssassin
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jul 25 14:20:15 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Michael Ranner
>Release:        FreeBSD 4.10-RELEASE i386
>Organization:
>Environment:
System: FreeBSD dwarf.jawa.at 4.10-RELEASE FreeBSD 4.10-RELEASE #0: Fri Jun 25 23:02:44 CEST 2004
>Description:
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

Generated with FreeBSD Port Tools 0.50
>How-To-Repeat:
>Fix:

--- spamass-rules-20040725.shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	spamass-rules
#	spamass-rules/pkg-descr
#	spamass-rules/distinfo
#	spamass-rules/Makefile
#	spamass-rules/pkg-message
#
echo c - spamass-rules
mkdir -p spamass-rules > /dev/null 2>&1
echo x - spamass-rules/pkg-descr
sed 's/^X//' >spamass-rules/pkg-descr << 'END-of-spamass-rules/pkg-descr'
XCustom rulesets for SpamAssassin which are not part of the official distro.
X
XBefore running these rules please do the following:
X
X1. Read any extra info available with the rules, including the comments
X   in the .cf files.
X2. Check to make sure that the default scores in these rules fit your
X   installation. You might want to modify scores.
X3. Make sure to --lint the rules after loading them.
X4. Test the new rulesets. Keep an eye on hits from the new rules to
X   determine if the scoring is right for you.
X
XWWW: http://wiki.apache.org/spamassassin/CustomRulesets
END-of-spamass-rules/pkg-descr
echo x - spamass-rules/distinfo
sed 's/^X//' >spamass-rules/distinfo << 'END-of-spamass-rules/distinfo'
XMD5 (spamass-rules-20040725.tar.gz) = ced066d671a358463bad89619c2d68cb
XSIZE (spamass-rules-20040725.tar.gz) = 76379
END-of-spamass-rules/distinfo
echo x - spamass-rules/Makefile
sed 's/^X//' >spamass-rules/Makefile << 'END-of-spamass-rules/Makefile'
X# New ports collection makefile for: spamass-rules
X# Date created:         20040725
X# Whom:                 mranner at inode.at
X#
X# $FreeBSD$
X#
X
XPORTNAME=	spamass-rules
XPORTVERSION=	20040725
XCATEGORIES=	mail
XMASTER_SITES=	http://www.ranner.jawa.at/stuff/
X
XMAINTAINER=	mranner at inode.at
XCOMMENT=	Custom rulesets for SpamAssassin
X
XRUN_DEPENDS=	spamc:${PORTSDIR}/mail/p5-Mail-SpamAssassin
X
XOPTIONS=	AIRMAX "Some custom rulesets" off \
X			ANTIDRUG "Catch those pesky 'pill spams'" on \
X			BACKHAIR "Catch those ugly, unsightly HTML tags" on \
X			BOGUS_VIRUS "Catch 'collateral spam' caused by viruses" on \
X			CHICKENPOX "Catch spam like 'l.ooks f|or th.is garb+age'" on \
X			EVILNUMBERS "Phone numbers, PO boxes, ... from spam " on \
X			FRENCH "Catches spams written in French" off \
X			RANDOM "Catches spamware mistakes like: %RANDOM_WORD" on \
X			TRIPWIRE "Matches 3 chars that shouldn't be together" off \
X			WEEDS "Looks at alphanum, hex, lower-, uppercase chars" on \
X			WEEDS2 "More restrictive than WEEDS, dont use together" off
XPKGMESSAGE=		${WRKDIR}/pkg-message
XPLIST_FILES=
XNO_BUILD=		yes
XNO_WRKSUBDIR=	yes
XSPAMASS_CONF=	etc/mail/spamassassin
XSPAMASS_FILES=
XINSTALL_DIR=	${PREFIX}/${SPAMASS_CONF}
X
X.include <bsd.port.pre.mk>
X
X.if defined(WITH_AIRMAX)
XSPAMASS_FILES+=	airmax.cf
XPLIST_FILES+=	${SPAMASS_CONF}/airmax.cf
X.endif
X
X.if defined(WITH_ANTIDRUG)
XSPAMASS_FILES+=	antidrug.cf
XPLIST_FILES+=	${SPAMASS_CONF}/antidrug.cf
X.endif
X
X.if defined(WITH_BACKHAIR)
XSPAMASS_FILES+=	backhair.cf
XPLIST_FILES+=	${SPAMASS_CONF}/backhair.cf
X.endif
X
X.if defined(WITH_BOGUS_VIRUS)
XSPAMASS_FILES+=	bogus-virus-warnings.cf
XPLIST_FILES+=	${SPAMASS_CONF}/bogus-virus-warnings.cf
X.endif
X
X.if defined(WITH_CHICKENPOX)
XSPAMASS_FILES+=	chickenpox.cf
XPLIST_FILES+=	${SPAMASS_CONF}/chickenpox.cf
X.endif
X
X.if defined(WITH_EVILNUMBERS)
XSPAMASS_FILES+=	evilnumbers.cf
XPLIST_FILES+=	${SPAMASS_CONF}/evilnumbers.cf
X.endif
X
X.if defined(WITH_FRENCH)
XSPAMASS_FILES+=	french_rules.cf
XPLIST_FILES+=	${SPAMASS_CONF}/french_rules.cf
X.endif
X
X.if defined(WITH_RANDOM)
XSPAMASS_FILES+=	random.current.cf
XPLIST_FILES+=	${SPAMASS_CONF}/random.current.cf
X.endif
X
X.if defined(WITH_TRIPWIRE)
XSPAMASS_FILES+=	99_FVGT_Tripwire.cf
XPLIST_FILES+=	${SPAMASS_CONF}/99_FVGT_Tripwire.cf
X.endif
X
X.if defined(WITH_WEEDS)
XSPAMASS_FILES+=	weeds.cf
XPLIST_FILES+=	${SPAMASS_CONF}/weeds.cf
X.endif
X
X.if defined(WITH_WEEDS2)
XSPAMASS_FILES+=	weeds2.cf
XPLIST_FILES+=	${SPAMASS_CONF}/weeds2.cf
X.endif
X
Xdo-build:
X	@${DO_NADA}
X
Xpre-install:
X	@${SED} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \
X		-e 's|%%DOCSDIR%%|${DOCSDIR}|g' <${.CURDIR}/pkg-message >${PKGMESSAGE}
X
Xdo-install:
X	@${INSTALL} -d -o root -g wheel -m 0755 ${INSTALL_DIR}
X.	for i in ${SPAMASS_FILES}
X		@${INSTALL_DATA} ${WRKSRC}/${i} ${INSTALL_DIR}
X.	endfor
X
Xpost-install:
X	@${CAT} ${PKGMESSAGE}
X
X.include <bsd.port.post.mk>
END-of-spamass-rules/Makefile
echo x - spamass-rules/pkg-message
sed 's/^X//' >spamass-rules/pkg-message << 'END-of-spamass-rules/pkg-message'
X*************************************************************************
X
XThe custom rulesets are installed in %%LOCALBASE%%/etc/mail/spamassassin
X
XBefore running these rules please do the following:
X
X1. Read any extra info available with the rules, including the comments
X   in the .cf files.
X2. Check to make sure that the default scores in these rules fit your
X   installation. You might want to modify scores.
X3. Make sure to --lint the rules after loading them.
X4. Test the new rulesets. Keep an eye on hits from the new rules to
X   determine if the scoring is right for you.
X
X*************************************************************************
END-of-spamass-rules/pkg-message
exit
--- spamass-rules-20040725.shar ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list