1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

New port spamoracle version 1.1: procmail spam filter written in

ML using Bayesian classification
This commit is contained in:
Mario Sergio Fujikawa Ferreira 2002-09-09 20:11:54 +00:00
parent bb1ba1be4a
commit 53aa9a57a6
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=65947
6 changed files with 47 additions and 0 deletions

View File

@ -237,6 +237,7 @@
SUBDIR += sonicmail
SUBDIR += spamass-milter
SUBDIR += spambnc
SUBDIR += spamoracle
SUBDIR += spamprobe
SUBDIR += spruce
SUBDIR += squirrelmail

30
mail/spamoracle/Makefile Normal file
View File

@ -0,0 +1,30 @@
# New ports collection makefile for: SpamOracle
# Date created: Mon Sep 9 18:31:45 UTC 2002
# Whom: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= spamoracle
PORTVERSION= 1.1
CATEGORIES= mail
MASTER_SITES= http://cristal.inria.fr/~xleroy/software/
MAINTAINER= lioux@FreeBSD.org
BUILD_DEPENDS= ocaml:${PORTSDIR}/lang/ocaml
USE_REINPLACE= yes
post-patch:
@${REINPLACE_CMD} -E -e 's|^(CPP=)gcc[[:space:]]+-E|\1${CPP}|' \
${WRKSRC}/Makefile
do-install:
.ifndef(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
@${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif
@${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
.include <bsd.port.mk>

1
mail/spamoracle/distinfo Normal file
View File

@ -0,0 +1 @@
MD5 (spamoracle-1.1.tar.gz) = 4cbc3a28d79d2759940e45c708e662dd

View File

@ -0,0 +1 @@
procmail spam filter written in ML using Bayesian classification

11
mail/spamoracle/pkg-descr Normal file
View File

@ -0,0 +1,11 @@
[ excerpt from developer's site ]
SpamOracle, a.k.a. "Saint Peter", is a tool to help detect and
filter away "spam" (unsolicited commercial e-mail). It proceeds by
statistical analysis of the words that appear in the e-mail, comparing
the frequencies of words with those found in a user-provided corpus
of known spam and known legitimate e-mail. The classification
algorithm is based on Bayes' formula, and is described in Paul
Graham's paper, A plan for spam.
WWW: http://cristal.inria.fr/~xleroy/software.html

View File

@ -0,0 +1,3 @@
bin/spamoracle
%%PORTDOCS%%share/doc/spamoracle/README
%%PORTDOCS%%@dirrm share/doc/spamoracle