1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-29 10:18:30 +00:00

Upgrade to 0.10.2.

PR:		ports/47922
Submitted by:	maintainer
This commit is contained in:
Oliver Braun 2003-02-05 10:39:40 +00:00
parent 98cfe75326
commit cf5c30e7db
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=74829
8 changed files with 106 additions and 48 deletions

View File

@ -6,7 +6,7 @@
#
PORTNAME= bogofilter
PORTVERSION= 0.9.1.2
PORTVERSION= 0.10.2
PORTREVISION= 0
CATEGORIES= mail
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
@ -22,29 +22,40 @@ GNU_CONFIGURE= yes
PATCH_STRIP= -p1
CONFIGURE_ENV= CPPFLAGS="-I${PREFIX}/include/db4" \
LDFLAGS="-L${PREFIX}/lib"
CONFIGURE_ARGS= --sysconfdir=${PREFIX}/etc
CONFIGURE_ARGS= --sysconfdir=${PREFIX}/etc --with-db=defeat-guessing
CONFIGURE_TARGET= --target=${MACHINE_ARCH}-unknown-freebsd${OSREL}
MAN1= bogofilter.1 bogoutil.1 bogoupgrade.1 bogolexer.1
post-build:
cd ${WRKSRC} && make check SHELL=${SH}
do-install:
cd ${WRKSRC} && make install prefix=${PREFIX}
cd ${WRKSRC} && make install-strip prefix=${PREFIX}
.if !defined(NOPORTDOCS)
post-install:
@${MKDIR} ${DOCSDIR}
.for i in AUTHORS COPYING INSTALL NEWS README TODO UPGRADE \
doc/integrating-with-qmail contrib/README.unbase64 \
contrib/dot-qmail-bogofilter-default \
README.freebsd README.hp-ux README.dcdflib \
README.Robinson bogofilter-SA-2002-01 METHODS
@${MKDIR} ${DOCSDIR}/contrib
@${MKDIR} ${DOCSDIR}/html
@${MKDIR} ${DOCSDIR}/programmer
@${MKDIR} ${DOCSDIR}/xml
.for i in AUTHORS CHANGES-0.10 COPYING INSTALL NEWS README README.cvs \
TODO UPGRADE \
doc/integrating-with-qmail \
doc/README.Robinson doc/bogofilter-SA-2002-01 METHODS
${INSTALL_MAN} ${WRKSRC}/${i} ${DOCSDIR}
.endfor
.for i in bogo.R contrib/bogofilter-qfe contrib/unbase64 \
contrib/bogopass
${INSTALL_SCRIPT} ${WRKSRC}/${i} ${DOCSDIR}
.for i in contrib/bogo.R contrib/bogofilter-qfe \
contrib/randomtrain contrib/scramble
${INSTALL_SCRIPT} ${WRKSRC}/${i} ${DOCSDIR}/contrib
.endfor
.for i in contrib/README.randomtrain contrib/dot-qmail-bogofilter-default
${INSTALL_MAN} ${WRKSRC}/${i} ${DOCSDIR}/contrib
.endfor
${INSTALL_PROGRAM} ${WRKSRC}/contrib/bogogrep ${DOCSDIR}/contrib
${INSTALL_MAN} ${WRKSRC}/doc/*.html ${DOCSDIR}/html
${INSTALL_MAN} ${WRKSRC}/doc/*.xml ${DOCSDIR}/xml
${INSTALL_MAN} ${WRKSRC}/doc/programmer/README.* ${DOCSDIR}/programmer
.endif
.include <bsd.port.mk>

View File

@ -1 +1 @@
MD5 (bogofilter-0.9.1.2.tar.gz) = af65cc2a1dae5597762bc2144344075a
MD5 (bogofilter-0.10.2.tar.gz) = 6e200a959f89d17685871a80834bfb1f

View File

@ -1,5 +1,7 @@
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.
Bogofilter takes an email message or other text on standard input, parses it
into words, does a statistical check against data bases of "good" and "bad"
words, and returns a status code indicating whether or not the message is spam.
Bogofilter decodes base64 or quoted-printable encoded texts and ignores non-text
attachments.
WWW: http://bogofilter.sourceforge.net/

View File

@ -4,23 +4,39 @@ bin/bogoutil
bin/bogoupgrade
etc/bogofilter.cf.example
%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
%%PORTDOCS%%%%DOCSDIR%%/CHANGES-0.10
%%PORTDOCS%%%%DOCSDIR%%/COPYING
%%PORTDOCS%%%%DOCSDIR%%/INSTALL
%%PORTDOCS%%%%DOCSDIR%%/METHODS
%%PORTDOCS%%%%DOCSDIR%%/NEWS
%%PORTDOCS%%%%DOCSDIR%%/README
%%PORTDOCS%%%%DOCSDIR%%/README.Robinson
%%PORTDOCS%%%%DOCSDIR%%/README.dcdflib
%%PORTDOCS%%%%DOCSDIR%%/README.freebsd
%%PORTDOCS%%%%DOCSDIR%%/README.hp-ux
%%PORTDOCS%%%%DOCSDIR%%/README.unbase64
%%PORTDOCS%%%%DOCSDIR%%/README.cvs
%%PORTDOCS%%%%DOCSDIR%%/TODO
%%PORTDOCS%%%%DOCSDIR%%/UPGRADE
%%PORTDOCS%%%%DOCSDIR%%/bogo.R
%%PORTDOCS%%%%DOCSDIR%%/bogofilter-SA-2002-01
%%PORTDOCS%%%%DOCSDIR%%/bogofilter-qfe
%%PORTDOCS%%%%DOCSDIR%%/bogopass
%%PORTDOCS%%%%DOCSDIR%%/dot-qmail-bogofilter-default
%%PORTDOCS%%%%DOCSDIR%%/contrib/README.randomtrain
%%PORTDOCS%%%%DOCSDIR%%/contrib/bogo.R
%%PORTDOCS%%%%DOCSDIR%%/contrib/bogofilter-qfe
%%PORTDOCS%%%%DOCSDIR%%/contrib/bogogrep
%%PORTDOCS%%%%DOCSDIR%%/contrib/dot-qmail-bogofilter-default
%%PORTDOCS%%%%DOCSDIR%%/contrib/randomtrain
%%PORTDOCS%%%%DOCSDIR%%/contrib/scramble
%%PORTDOCS%%%%DOCSDIR%%/html/bogofilter-faq.html
%%PORTDOCS%%%%DOCSDIR%%/html/bogofilter.html
%%PORTDOCS%%%%DOCSDIR%%/html/bogolexer.html
%%PORTDOCS%%%%DOCSDIR%%/html/bogoupgrade.html
%%PORTDOCS%%%%DOCSDIR%%/html/bogoutil.html
%%PORTDOCS%%%%DOCSDIR%%/integrating-with-qmail
%%PORTDOCS%%%%DOCSDIR%%/unbase64
%%PORTDOCS%%%%DOCSDIR%%/programmer/README.dcdflib
%%PORTDOCS%%%%DOCSDIR%%/programmer/README.freebsd
%%PORTDOCS%%%%DOCSDIR%%/programmer/README.hp-ux
%%PORTDOCS%%%%DOCSDIR%%/xml/bogofilter.xml
%%PORTDOCS%%%%DOCSDIR%%/xml/bogolexer.xml
%%PORTDOCS%%%%DOCSDIR%%/xml/bogoupgrade.xml
%%PORTDOCS%%%%DOCSDIR%%/xml/bogoutil.xml
%%PORTDOCS%%@dirrm %%DOCSDIR%%/xml
%%PORTDOCS%%@dirrm %%DOCSDIR%%/programmer
%%PORTDOCS%%@dirrm %%DOCSDIR%%/html
%%PORTDOCS%%@dirrm %%DOCSDIR%%/contrib
%%PORTDOCS%%@dirrm %%DOCSDIR%%

View File

@ -6,7 +6,7 @@
#
PORTNAME= bogofilter
PORTVERSION= 0.9.1.2
PORTVERSION= 0.10.2
PORTREVISION= 0
CATEGORIES= mail
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
@ -22,29 +22,40 @@ GNU_CONFIGURE= yes
PATCH_STRIP= -p1
CONFIGURE_ENV= CPPFLAGS="-I${PREFIX}/include/db4" \
LDFLAGS="-L${PREFIX}/lib"
CONFIGURE_ARGS= --sysconfdir=${PREFIX}/etc
CONFIGURE_ARGS= --sysconfdir=${PREFIX}/etc --with-db=defeat-guessing
CONFIGURE_TARGET= --target=${MACHINE_ARCH}-unknown-freebsd${OSREL}
MAN1= bogofilter.1 bogoutil.1 bogoupgrade.1 bogolexer.1
post-build:
cd ${WRKSRC} && make check SHELL=${SH}
do-install:
cd ${WRKSRC} && make install prefix=${PREFIX}
cd ${WRKSRC} && make install-strip prefix=${PREFIX}
.if !defined(NOPORTDOCS)
post-install:
@${MKDIR} ${DOCSDIR}
.for i in AUTHORS COPYING INSTALL NEWS README TODO UPGRADE \
doc/integrating-with-qmail contrib/README.unbase64 \
contrib/dot-qmail-bogofilter-default \
README.freebsd README.hp-ux README.dcdflib \
README.Robinson bogofilter-SA-2002-01 METHODS
@${MKDIR} ${DOCSDIR}/contrib
@${MKDIR} ${DOCSDIR}/html
@${MKDIR} ${DOCSDIR}/programmer
@${MKDIR} ${DOCSDIR}/xml
.for i in AUTHORS CHANGES-0.10 COPYING INSTALL NEWS README README.cvs \
TODO UPGRADE \
doc/integrating-with-qmail \
doc/README.Robinson doc/bogofilter-SA-2002-01 METHODS
${INSTALL_MAN} ${WRKSRC}/${i} ${DOCSDIR}
.endfor
.for i in bogo.R contrib/bogofilter-qfe contrib/unbase64 \
contrib/bogopass
${INSTALL_SCRIPT} ${WRKSRC}/${i} ${DOCSDIR}
.for i in contrib/bogo.R contrib/bogofilter-qfe \
contrib/randomtrain contrib/scramble
${INSTALL_SCRIPT} ${WRKSRC}/${i} ${DOCSDIR}/contrib
.endfor
.for i in contrib/README.randomtrain contrib/dot-qmail-bogofilter-default
${INSTALL_MAN} ${WRKSRC}/${i} ${DOCSDIR}/contrib
.endfor
${INSTALL_PROGRAM} ${WRKSRC}/contrib/bogogrep ${DOCSDIR}/contrib
${INSTALL_MAN} ${WRKSRC}/doc/*.html ${DOCSDIR}/html
${INSTALL_MAN} ${WRKSRC}/doc/*.xml ${DOCSDIR}/xml
${INSTALL_MAN} ${WRKSRC}/doc/programmer/README.* ${DOCSDIR}/programmer
.endif
.include <bsd.port.mk>

View File

@ -1 +1 @@
MD5 (bogofilter-0.9.1.2.tar.gz) = af65cc2a1dae5597762bc2144344075a
MD5 (bogofilter-0.10.2.tar.gz) = 6e200a959f89d17685871a80834bfb1f

View File

@ -1,5 +1,7 @@
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.
Bogofilter takes an email message or other text on standard input, parses it
into words, does a statistical check against data bases of "good" and "bad"
words, and returns a status code indicating whether or not the message is spam.
Bogofilter decodes base64 or quoted-printable encoded texts and ignores non-text
attachments.
WWW: http://bogofilter.sourceforge.net/

View File

@ -4,23 +4,39 @@ bin/bogoutil
bin/bogoupgrade
etc/bogofilter.cf.example
%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
%%PORTDOCS%%%%DOCSDIR%%/CHANGES-0.10
%%PORTDOCS%%%%DOCSDIR%%/COPYING
%%PORTDOCS%%%%DOCSDIR%%/INSTALL
%%PORTDOCS%%%%DOCSDIR%%/METHODS
%%PORTDOCS%%%%DOCSDIR%%/NEWS
%%PORTDOCS%%%%DOCSDIR%%/README
%%PORTDOCS%%%%DOCSDIR%%/README.Robinson
%%PORTDOCS%%%%DOCSDIR%%/README.dcdflib
%%PORTDOCS%%%%DOCSDIR%%/README.freebsd
%%PORTDOCS%%%%DOCSDIR%%/README.hp-ux
%%PORTDOCS%%%%DOCSDIR%%/README.unbase64
%%PORTDOCS%%%%DOCSDIR%%/README.cvs
%%PORTDOCS%%%%DOCSDIR%%/TODO
%%PORTDOCS%%%%DOCSDIR%%/UPGRADE
%%PORTDOCS%%%%DOCSDIR%%/bogo.R
%%PORTDOCS%%%%DOCSDIR%%/bogofilter-SA-2002-01
%%PORTDOCS%%%%DOCSDIR%%/bogofilter-qfe
%%PORTDOCS%%%%DOCSDIR%%/bogopass
%%PORTDOCS%%%%DOCSDIR%%/dot-qmail-bogofilter-default
%%PORTDOCS%%%%DOCSDIR%%/contrib/README.randomtrain
%%PORTDOCS%%%%DOCSDIR%%/contrib/bogo.R
%%PORTDOCS%%%%DOCSDIR%%/contrib/bogofilter-qfe
%%PORTDOCS%%%%DOCSDIR%%/contrib/bogogrep
%%PORTDOCS%%%%DOCSDIR%%/contrib/dot-qmail-bogofilter-default
%%PORTDOCS%%%%DOCSDIR%%/contrib/randomtrain
%%PORTDOCS%%%%DOCSDIR%%/contrib/scramble
%%PORTDOCS%%%%DOCSDIR%%/html/bogofilter-faq.html
%%PORTDOCS%%%%DOCSDIR%%/html/bogofilter.html
%%PORTDOCS%%%%DOCSDIR%%/html/bogolexer.html
%%PORTDOCS%%%%DOCSDIR%%/html/bogoupgrade.html
%%PORTDOCS%%%%DOCSDIR%%/html/bogoutil.html
%%PORTDOCS%%%%DOCSDIR%%/integrating-with-qmail
%%PORTDOCS%%%%DOCSDIR%%/unbase64
%%PORTDOCS%%%%DOCSDIR%%/programmer/README.dcdflib
%%PORTDOCS%%%%DOCSDIR%%/programmer/README.freebsd
%%PORTDOCS%%%%DOCSDIR%%/programmer/README.hp-ux
%%PORTDOCS%%%%DOCSDIR%%/xml/bogofilter.xml
%%PORTDOCS%%%%DOCSDIR%%/xml/bogolexer.xml
%%PORTDOCS%%%%DOCSDIR%%/xml/bogoupgrade.xml
%%PORTDOCS%%%%DOCSDIR%%/xml/bogoutil.xml
%%PORTDOCS%%@dirrm %%DOCSDIR%%/xml
%%PORTDOCS%%@dirrm %%DOCSDIR%%/programmer
%%PORTDOCS%%@dirrm %%DOCSDIR%%/html
%%PORTDOCS%%@dirrm %%DOCSDIR%%/contrib
%%PORTDOCS%%@dirrm %%DOCSDIR%%