diff options
author | Oliver Braun <obraun@FreeBSD.org> | 2003-02-05 10:39:40 +0000 |
---|---|---|
committer | Oliver Braun <obraun@FreeBSD.org> | 2003-02-05 10:39:40 +0000 |
commit | cf5c30e7dbdbe8eb260e65cee9f4ef120c0a4fde (patch) | |
tree | 76f9979da938627d43f6b1c4ba7301b883484d38 /mail/bogofilter | |
parent | Fix digit to compare against. (diff) |
Upgrade to 0.10.2.
PR: ports/47922
Submitted by: maintainer
Notes
Notes:
svn path=/head/; revision=74829
Diffstat (limited to 'mail/bogofilter')
-rw-r--r-- | mail/bogofilter/Makefile | 33 | ||||
-rw-r--r-- | mail/bogofilter/distinfo | 2 | ||||
-rw-r--r-- | mail/bogofilter/pkg-descr | 8 | ||||
-rw-r--r-- | mail/bogofilter/pkg-plist | 34 |
4 files changed, 53 insertions, 24 deletions
diff --git a/mail/bogofilter/Makefile b/mail/bogofilter/Makefile index a1a136f2ea7f..567470a21d6c 100644 --- a/mail/bogofilter/Makefile +++ b/mail/bogofilter/Makefile @@ -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> diff --git a/mail/bogofilter/distinfo b/mail/bogofilter/distinfo index bc0fddba5276..e4acf7d86ecf 100644 --- a/mail/bogofilter/distinfo +++ b/mail/bogofilter/distinfo @@ -1 +1 @@ -MD5 (bogofilter-0.9.1.2.tar.gz) = af65cc2a1dae5597762bc2144344075a +MD5 (bogofilter-0.10.2.tar.gz) = 6e200a959f89d17685871a80834bfb1f diff --git a/mail/bogofilter/pkg-descr b/mail/bogofilter/pkg-descr index df478ae026dc..7eabd41128d8 100644 --- a/mail/bogofilter/pkg-descr +++ b/mail/bogofilter/pkg-descr @@ -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/ diff --git a/mail/bogofilter/pkg-plist b/mail/bogofilter/pkg-plist index c76d9230563c..f2dfbccd1b35 100644 --- a/mail/bogofilter/pkg-plist +++ b/mail/bogofilter/pkg-plist @@ -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%% |