Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Jan 2016 18:13:36 +0000 (UTC)
From:      David Naylor <dbn@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r406524 - in head/mail/bayespam: . files
Message-ID:  <201601171813.u0HIDaSG016925@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: dbn
Date: Sun Jan 17 18:13:36 2016
New Revision: 406524
URL: https://svnweb.freebsd.org/changeset/ports/406524

Log:
  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

Modified:
  head/mail/bayespam/Makefile
  head/mail/bayespam/files/patch-bayes_process_email.pl
  head/mail/bayespam/files/patch-bayes_spam_check.pl
  head/mail/bayespam/pkg-descr

Modified: head/mail/bayespam/Makefile
==============================================================================
--- head/mail/bayespam/Makefile	Sun Jan 17 18:13:17 2016	(r406523)
+++ head/mail/bayespam/Makefile	Sun Jan 17 18:13:36 2016	(r406524)
@@ -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
 

Modified: head/mail/bayespam/files/patch-bayes_process_email.pl
==============================================================================
--- head/mail/bayespam/files/patch-bayes_process_email.pl	Sun Jan 17 18:13:17 2016	(r406523)
+++ head/mail/bayespam/files/patch-bayes_process_email.pl	Sun Jan 17 18:13:36 2016	(r406524)
@@ -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
  {

Modified: head/mail/bayespam/files/patch-bayes_spam_check.pl
==============================================================================
--- head/mail/bayespam/files/patch-bayes_spam_check.pl	Sun Jan 17 18:13:17 2016	(r406523)
+++ head/mail/bayespam/files/patch-bayes_spam_check.pl	Sun Jan 17 18:13:36 2016	(r406524)
@@ -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
--}
-+}
+ }

Modified: head/mail/bayespam/pkg-descr
==============================================================================
--- head/mail/bayespam/pkg-descr	Sun Jan 17 18:13:17 2016	(r406523)
+++ head/mail/bayespam/pkg-descr	Sun Jan 17 18:13:36 2016	(r406524)
@@ -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 talk
 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201601171813.u0HIDaSG016925>