aboutsummaryrefslogtreecommitdiff
path: root/mail/spamstats
diff options
context:
space:
mode:
authorYen-Ming Lee <leeym@FreeBSD.org>2003-04-07 06:51:44 +0000
committerYen-Ming Lee <leeym@FreeBSD.org>2003-04-07 06:51:44 +0000
commitb434d3b119ab95a76b528b59750922799aef6520 (patch)
treea1471990a22a1dbce71194cb57e6007b2581faa3 /mail/spamstats
parent044d04b21fe6bd52727713ce9650c32a3f0f3e1e (diff)
downloadports-b434d3b119ab95a76b528b59750922799aef6520.tar.gz
ports-b434d3b119ab95a76b528b59750922799aef6520.zip
Notes
Diffstat (limited to 'mail/spamstats')
-rw-r--r--mail/spamstats/Makefile33
-rw-r--r--mail/spamstats/distinfo1
-rw-r--r--mail/spamstats/pkg-descr8
-rw-r--r--mail/spamstats/pkg-plist5
4 files changed, 47 insertions, 0 deletions
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