diff options
-rw-r--r-- | mail/spamstats/Makefile | 3 | ||||
-rw-r--r-- | mail/spamstats/distinfo | 6 | ||||
-rw-r--r-- | mail/spamstats/files/patch-bzip2 | 31 | ||||
-rw-r--r-- | mail/spamstats/pkg-descr | 2 |
4 files changed, 5 insertions, 37 deletions
diff --git a/mail/spamstats/Makefile b/mail/spamstats/Makefile index 386c28f5c9a7..201ff322dca3 100644 --- a/mail/spamstats/Makefile +++ b/mail/spamstats/Makefile @@ -6,8 +6,7 @@ # PORTNAME= spamstats -PORTVERSION= 0.6b -PORTREVISION= 1 +PORTVERSION= 0.6c CATEGORIES= mail MASTER_SITES= http://www.inl.fr/download/ diff --git a/mail/spamstats/distinfo b/mail/spamstats/distinfo index 0004f60dd722..4b667c5869b2 100644 --- a/mail/spamstats/distinfo +++ b/mail/spamstats/distinfo @@ -1,3 +1,3 @@ -MD5 (spamstats-0.6b.tar.gz) = bd1b715a2b3b59c312af911d92512597 -SHA256 (spamstats-0.6b.tar.gz) = 717be4646952c78fa69eea1100ac9ba4287252c3c248f2cc15e26a8f114d4ccc -SIZE (spamstats-0.6b.tar.gz) = 26491 +MD5 (spamstats-0.6c.tar.gz) = cfdcd67b74ec5c8ee0b1cbdff4923f0b +SHA256 (spamstats-0.6c.tar.gz) = f51584c6c759b23e1827630727b1795567076b93e5b83c26a366dcb746217f0a +SIZE (spamstats-0.6c.tar.gz) = 26560 diff --git a/mail/spamstats/files/patch-bzip2 b/mail/spamstats/files/patch-bzip2 deleted file mode 100644 index 7a215418461c..000000000000 --- a/mail/spamstats/files/patch-bzip2 +++ /dev/null @@ -1,31 +0,0 @@ ---- spamstats0.6b.pl.orig Fri Feb 3 00:38:42 2006 -+++ spamstats0.6b.pl Fri Feb 3 00:51:01 2006 -@@ -156,6 +156,7 @@ - #use Data::Dumper; - - use Compress::Zlib; -+use Compress::Bzip2 qw(&bzopen $bzerrno); - - my %infile; - undef %infile; -@@ -598,6 +599,7 @@ - my $is_gz = 0; - my $gz; - my $gzerrno; -+my $bzerrno; - - my %spam = (); - my %clean = (); -@@ -634,6 +636,12 @@ - #print BLUE "Opening $file\n".$Stag.$NewLinetag; - $gz = gzopen( $file, "r" ) or die "Cannot open $file : $gzerrno\n"; - $is_gz = 1; -+ } -+ elsif ( $file =~ /\.bz2$/ ) #We have a bz2 file -+ { -+ #print BLUE "Opening $file\n".$Stag.$NewLinetag; -+ $gz = bzopen( $file, "r" ) or die "Cannot open $file : $bzerrno\n"; -+ $is_gz = 2; - } - else { - diff --git a/mail/spamstats/pkg-descr b/mail/spamstats/pkg-descr index ac620b670f0d..bd6b6d8a3264 100644 --- a/mail/spamstats/pkg-descr +++ b/mail/spamstats/pkg-descr @@ -5,4 +5,4 @@ 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.inl.fr/article.php3?id_article=8 +WWW: http://www.inl.fr/Spamstats.html |