diff options
author | Yen-Ming Lee <leeym@FreeBSD.org> | 2003-04-07 06:51:44 +0000 |
---|---|---|
committer | Yen-Ming Lee <leeym@FreeBSD.org> | 2003-04-07 06:51:44 +0000 |
commit | b434d3b119ab95a76b528b59750922799aef6520 (patch) | |
tree | a1471990a22a1dbce71194cb57e6007b2581faa3 /mail | |
parent | added comment about www.heavens-above.com for finding your coordinates. (diff) |
add spamstats-0.4b
a tool to generate statistics on a {exim/postfix/sendmail}/spamd system.
Notes
Notes:
svn path=/head/; revision=78503
Diffstat (limited to 'mail')
-rw-r--r-- | mail/Makefile | 1 | ||||
-rw-r--r-- | mail/spamstats/Makefile | 33 | ||||
-rw-r--r-- | mail/spamstats/distinfo | 1 | ||||
-rw-r--r-- | mail/spamstats/pkg-descr | 8 | ||||
-rw-r--r-- | mail/spamstats/pkg-plist | 5 |
5 files changed, 48 insertions, 0 deletions
diff --git a/mail/Makefile b/mail/Makefile index 621afc5b8d35..a45c23b21a1b 100644 --- a/mail/Makefile +++ b/mail/Makefile @@ -278,6 +278,7 @@ SUBDIR += spambnc SUBDIR += spamoracle SUBDIR += spamprobe + SUBDIR += spamstats SUBDIR += spruce SUBDIR += squirrelmail SUBDIR += sqwebmail diff --git a/mail/spamstats/Makefile b/mail/spamstats/Makefile new file mode 100644 index 000000000000..d3318659e6bd --- /dev/null +++ b/mail/spamstats/Makefile @@ -0,0 +1,33 @@ +# New ports collection makefile for: spamstats +# Date created: 14 March 2003 +# Whom: Yen-Ming Lee <leeym@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= spamstats +PORTVERSION= 0.4b +CATEGORIES= mail +MASTER_SITES= http://www.gryzor.com/tools/ + +MAINTAINER= leeym@FreeBSD.org +COMMENT= A tool to generate statistics for spamd of Mail::SpamAssassin + +RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Compress/Zlib.pm:${PORTSDIR}/archivers/p5-Compress-Zlib + +USE_PERL5= yes +NO_BUILD= yes + +post-patch: + @${PERL} -pi -e 's,/mail.log,/maillog,g' ${WRKSRC}/${PORTNAME}${PORTVERSION}.pl + +do-install: + ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}${PORTVERSION}.pl ${PREFIX}/bin/${PORTNAME}.pl +.ifndef (NOPORTDOCS) + @${MKDIR} ${DOCSDIR} +.for file in QUICK README copyright + ${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR} +.endfor +.endif + +.include <bsd.port.mk> diff --git a/mail/spamstats/distinfo b/mail/spamstats/distinfo new file mode 100644 index 000000000000..6e0a385387e9 --- /dev/null +++ b/mail/spamstats/distinfo @@ -0,0 +1 @@ +MD5 (spamstats-0.4b.tar.gz) = 2087f4f58af845d98fdabaf404d499d2 diff --git a/mail/spamstats/pkg-descr b/mail/spamstats/pkg-descr new file mode 100644 index 000000000000..b48fc15a1c51 --- /dev/null +++ b/mail/spamstats/pkg-descr @@ -0,0 +1,8 @@ +A script that generates statistics about spam you receive at your site. + +The script parses maillog file, generated by exim/postfix/sendmail and spamd. + +The script will currently not work with other mailers than exim, postfix or +sendmail (contributions will be welcome) or if you do not use spamd. + +WWW: http://www.gryzor.com/tools/#spamstats diff --git a/mail/spamstats/pkg-plist b/mail/spamstats/pkg-plist new file mode 100644 index 000000000000..5fd3cbe88ea2 --- /dev/null +++ b/mail/spamstats/pkg-plist @@ -0,0 +1,5 @@ +bin/spamstats.pl +%%PORTDOCS%%share/doc/spamstats/QUICK +%%PORTDOCS%%share/doc/spamstats/README +%%PORTDOCS%%share/doc/spamstats/copyright +%%PORTDOCS%%@dirrm share/doc/spamstats |