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
This commit is contained in:
parent
3436c4e8cb
commit
a784cdebae
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=406524
4 changed files with 14 additions and 17 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
{
|
||||
|
|
|
@ -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
|
||||
-}
|
||||
+}
|
||||
}
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue