1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-02 01:20:54 +00:00

add bogofilter 0.8.0

Fast, teachable, learning spam detector

PR:		45190
Submitted by:	Matthias Andree <matthias.andree@web.de>
This commit is contained in:
Ying-Chieh Liao 2002-11-11 17:34:27 +00:00
parent 1f412c28a5
commit c34fa4f618
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=69905
11 changed files with 133 additions and 0 deletions

View File

@ -16,6 +16,7 @@
SUBDIR += bbmail
SUBDIR += biabam
SUBDIR += biffer
SUBDIR += bogofilter
SUBDIR += bsmtp
SUBDIR += bulk_mailer
SUBDIR += cclient

View File

@ -0,0 +1,39 @@
# ports collection Makefile for: bogofilter
# Whom: Matthias Andree <matthias.andree@web.de>
# Date created: 2002-10-17
#
# $FreeBSD$
#
PORTNAME= bogofilter
PORTVERSION= 0.8.0
CATEGORIES= mail
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= matthias.andree@web.de
LIB_DEPENDS= db4.0:${PORTSDIR}/databases/db4
# This port needs PERL5 at run time, but not for the build.
USE_PERL5= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${PREFIX}/include/db4" \
LDFLAGS="-L${PREFIX}/lib"
MAN1= bogofilter.1 bogoutil.1 bogoupgrade.1 bogolexer.1
.if !defined(NOPORTDOCS)
post-install:
@${MKDIR} ${DOCSDIR}
.for i in AUTHORS COPYING INSTALL NEWS README TODO UPGRADE \
doc/integrating-with-qmail contrib/README.unbase64 \
README.freebsd README.hp-ux README.solaris
${INSTALL_MAN} ${WRKSRC}/${i} ${DOCSDIR}
.endfor
.for i in bogo.R contrib/bogofilter-qfe contrib/unbase64
${INSTALL_SCRIPT} ${WRKSRC}/${i} ${DOCSDIR}
.endfor
.endif
.include <bsd.port.mk>

View File

@ -0,0 +1 @@
MD5 (bogofilter-0.8.0.tar.gz) = 447d6045f0268c0f6f36c59176c08137

View File

@ -0,0 +1 @@
Fast, teachable, learning spam detector

View File

@ -0,0 +1,5 @@
Bogofilter takes an email message or other text on standard input, does a
statistical check against lists of "good" and "bad" words, and returns a status
code indicating whether or not the message is spam.
WWW: http://bogofilter.sourceforge.net/

View File

@ -0,0 +1,20 @@
bin/bogofilter
bin/bogolexer
bin/bogoutil
bin/bogoupgrade
%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
%%PORTDOCS%%%%DOCSDIR%%/COPYING
%%PORTDOCS%%%%DOCSDIR%%/INSTALL
%%PORTDOCS%%%%DOCSDIR%%/NEWS
%%PORTDOCS%%%%DOCSDIR%%/README
%%PORTDOCS%%%%DOCSDIR%%/README.freebsd
%%PORTDOCS%%%%DOCSDIR%%/README.hp-ux
%%PORTDOCS%%%%DOCSDIR%%/README.solaris
%%PORTDOCS%%%%DOCSDIR%%/README.unbase64
%%PORTDOCS%%%%DOCSDIR%%/TODO
%%PORTDOCS%%%%DOCSDIR%%/UPGRADE
%%PORTDOCS%%%%DOCSDIR%%/bogo.R
%%PORTDOCS%%%%DOCSDIR%%/bogofilter-qfe
%%PORTDOCS%%%%DOCSDIR%%/integrating-with-qmail
%%PORTDOCS%%%%DOCSDIR%%/unbase64
%%PORTDOCS%%@dirrm %%DOCSDIR%%

39
mail/bogofilter/Makefile Normal file
View File

@ -0,0 +1,39 @@
# ports collection Makefile for: bogofilter
# Whom: Matthias Andree <matthias.andree@web.de>
# Date created: 2002-10-17
#
# $FreeBSD$
#
PORTNAME= bogofilter
PORTVERSION= 0.8.0
CATEGORIES= mail
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= matthias.andree@web.de
LIB_DEPENDS= db4.0:${PORTSDIR}/databases/db4
# This port needs PERL5 at run time, but not for the build.
USE_PERL5= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${PREFIX}/include/db4" \
LDFLAGS="-L${PREFIX}/lib"
MAN1= bogofilter.1 bogoutil.1 bogoupgrade.1 bogolexer.1
.if !defined(NOPORTDOCS)
post-install:
@${MKDIR} ${DOCSDIR}
.for i in AUTHORS COPYING INSTALL NEWS README TODO UPGRADE \
doc/integrating-with-qmail contrib/README.unbase64 \
README.freebsd README.hp-ux README.solaris
${INSTALL_MAN} ${WRKSRC}/${i} ${DOCSDIR}
.endfor
.for i in bogo.R contrib/bogofilter-qfe contrib/unbase64
${INSTALL_SCRIPT} ${WRKSRC}/${i} ${DOCSDIR}
.endfor
.endif
.include <bsd.port.mk>

1
mail/bogofilter/distinfo Normal file
View File

@ -0,0 +1 @@
MD5 (bogofilter-0.8.0.tar.gz) = 447d6045f0268c0f6f36c59176c08137

View File

@ -0,0 +1 @@
Fast, teachable, learning spam detector

View File

@ -0,0 +1,5 @@
Bogofilter takes an email message or other text on standard input, does a
statistical check against lists of "good" and "bad" words, and returns a status
code indicating whether or not the message is spam.
WWW: http://bogofilter.sourceforge.net/

20
mail/bogofilter/pkg-plist Normal file
View File

@ -0,0 +1,20 @@
bin/bogofilter
bin/bogolexer
bin/bogoutil
bin/bogoupgrade
%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
%%PORTDOCS%%%%DOCSDIR%%/COPYING
%%PORTDOCS%%%%DOCSDIR%%/INSTALL
%%PORTDOCS%%%%DOCSDIR%%/NEWS
%%PORTDOCS%%%%DOCSDIR%%/README
%%PORTDOCS%%%%DOCSDIR%%/README.freebsd
%%PORTDOCS%%%%DOCSDIR%%/README.hp-ux
%%PORTDOCS%%%%DOCSDIR%%/README.solaris
%%PORTDOCS%%%%DOCSDIR%%/README.unbase64
%%PORTDOCS%%%%DOCSDIR%%/TODO
%%PORTDOCS%%%%DOCSDIR%%/UPGRADE
%%PORTDOCS%%%%DOCSDIR%%/bogo.R
%%PORTDOCS%%%%DOCSDIR%%/bogofilter-qfe
%%PORTDOCS%%%%DOCSDIR%%/integrating-with-qmail
%%PORTDOCS%%%%DOCSDIR%%/unbase64
%%PORTDOCS%%@dirrm %%DOCSDIR%%