aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authordbn <dbn@FreeBSD.org>2016-01-18 02:13:36 +0800
committerdbn <dbn@FreeBSD.org>2016-01-18 02:13:36 +0800
commit0e14ca0abe98f20237d45744d20c64be93696fc5 (patch)
tree1ac56d2c11105586475bb67d71ca8a3ca2e7c50e /mail
parentdfb4fd1b37ff2176e0726ea4d7028529aa997252 (diff)
downloadfreebsd-ports-gnome-0e14ca0abe98f20237d45744d20c64be93696fc5.tar.gz
freebsd-ports-gnome-0e14ca0abe98f20237d45744d20c64be93696fc5.tar.zst
freebsd-ports-gnome-0e14ca0abe98f20237d45744d20c64be93696fc5.zip
mail/bayespam: make fetchable
Changes: - Change MASTER_SITE to BSDforge.org - Assign MAINTAINERship to reporter - Remove BROKEN - Add LICENSE of GPLv2 - Make portlint happy: - Capitalise start of COMMENT - Regenerate patches PR: 206043 Submitted by: Chris Hutchinson (portmaster@BSDforge.com) Approved by: portmgr (implicit: unmaintained port) MFH: 2016Q1
Diffstat (limited to 'mail')
-rw-r--r--mail/bayespam/Makefile8
-rw-r--r--mail/bayespam/files/patch-bayes_process_email.pl10
-rw-r--r--mail/bayespam/files/patch-bayes_spam_check.pl9
-rw-r--r--mail/bayespam/pkg-descr4
4 files changed, 14 insertions, 17 deletions
diff --git a/mail/bayespam/Makefile b/mail/bayespam/Makefile
index 4b2dda5c3ae5..f2770fca135a 100644
--- a/mail/bayespam/Makefile
+++ b/mail/bayespam/Makefile
@@ -5,13 +5,13 @@ PORTNAME= bayespam
PORTVERSION= 0.9.2
PORTREVISION= 1
CATEGORIES= mail
-MASTER_SITES= http://www.garyarnold.com/sites/default/files/
+MASTER_SITES= http://BSDforge.com/projects/source/mail/bayespam/
EXTRACT_SUFX= .tar_.gz
-MAINTAINER= ports@FreeBSD.org
-COMMENT= qmail spam filter written in Perl using Bayesian classification
+MAINTAINER= portmaster@BSDforge.com
+COMMENT= Qmail spam filter written in Perl using Bayesian classification
-BROKEN= unfetchable
+LICENSE= GPLv2
RUN_DEPENDS= p5-MIME-Tools>=0:${PORTSDIR}/mail/p5-MIME-Tools
diff --git a/mail/bayespam/files/patch-bayes_process_email.pl b/mail/bayespam/files/patch-bayes_process_email.pl
index 2e6e3f7b574f..28516ae30069 100644
--- a/mail/bayespam/files/patch-bayes_process_email.pl
+++ b/mail/bayespam/files/patch-bayes_process_email.pl
@@ -1,6 +1,6 @@
---- bayes_process_email.pl.orig Sun Sep 8 16:48:05 2002
-+++ bayes_process_email.pl Sun Sep 8 16:48:28 2002
-@@ -6,6 +6,7 @@
+--- bayes_process_email.pl.orig 2016-01-17 18:02:48 UTC
++++ bayes_process_email.pl
+@@ -6,6 +6,7 @@ use MIME::Parser;
use Fcntl;
use DB_File;
@@ -8,7 +8,7 @@
use Bayespam::Process;
#
-@@ -165,8 +166,6 @@
+@@ -165,8 +166,6 @@ untie( %token_ratings );
# dashes, and dollar signs -- words, in other words.
sub ProcessDirectory
{
@@ -17,7 +17,7 @@
my $directory = shift(@_);
local *number_of_messages = shift(@_);
local *token_occurrences = shift(@_);
-@@ -227,7 +226,6 @@
+@@ -227,7 +226,6 @@ sub ProcessDirectory
# dashes, and dollar signs -- words, in other words.
sub ProcessFile
{
diff --git a/mail/bayespam/files/patch-bayes_spam_check.pl b/mail/bayespam/files/patch-bayes_spam_check.pl
index ab983b852f76..da65188bee84 100644
--- a/mail/bayespam/files/patch-bayes_spam_check.pl
+++ b/mail/bayespam/files/patch-bayes_spam_check.pl
@@ -1,6 +1,6 @@
---- bayes_spam_check.pl.orig Sun Sep 8 17:06:34 2002
-+++ bayes_spam_check.pl Sun Sep 8 17:06:40 2002
-@@ -144,7 +144,7 @@
+--- bayes_spam_check.pl.orig 2016-01-17 18:02:48 UTC
++++ bayes_spam_check.pl
+@@ -144,7 +144,7 @@ Given a corpus rating file and an email
-h, --help : this (help) message
-r, --rating : corpus rating file to use
@@ -8,5 +8,4 @@
+example: $0 --rating bayes_rating.dat
EOF
--}
-+}
+ }
diff --git a/mail/bayespam/pkg-descr b/mail/bayespam/pkg-descr
index 5b2c705c2765..ba27a8d1c685 100644
--- a/mail/bayespam/pkg-descr
+++ b/mail/bayespam/pkg-descr
@@ -1,5 +1,3 @@
-[ excerpt from developer's site ]
-
Bayespam is a qmail spam filter written in Perl, using Bayesian
classification to filter out unsolicited commercial email. It is
written with ease of installation and use in mind, and it is
@@ -12,4 +10,4 @@ for Spam. In this paper, Mr. Graham talked about a spam filter he
is working on that used Bayesian classification to determine if a
particular piece of email is spam or not.
-WWW: http://www.garyarnold.com/Bayespam
+WWW: http://BSDforge.com/projects/mail/bayespam