From 3f6e22dc4b58ce5af284734dae92d2346a6943e2 Mon Sep 17 00:00:00 2001 From: ghen Date: Thu, 25 Oct 2007 16:00:05 +0000 Subject: Update to 1.4d (previous 1.4.2 was 1.4b). Take MAINTAINERship. 2006-11-16 Brian Burton * Released as 1.4d * configure.ac: Added ability to selectively disable image processing using --without-gif, --without-jpeg, and/or --without-png. * src/spamprobe/spamprobe.cc (set_headers): Added ability to selectively ignore individual headers using -H-headername. * src/includes/Ptr,Ref,Array.h: Restored missing include. * src/parser/PngParser.cc (tokenizeImage): added basic tokens from PNG images. 2006-11-16 Brian Burton * src/parser/PngParser.cc (PngParser): Stub for PNG parsing using libpng. * src/parser/JpegParser.cc (tokenizeMarker): Preliminary implementation of jpeg parsing using jpeglib. * configure.ac: Auto detect of either libungig or libgif depending on which one is available. 2007-01-04 Brian Burton * Released as 1.4c * spamprobe.1: Modified man page to remove unnecessary informaton and make it more conformant with man page conventions. * src/spamprobe/spamprobe.cc (process_extended_options): added ignore-body option. * src/parser/HeaderPrefixList.cc (HeaderPrefixList::addHeaderPrefix): Forced header prefixes and names to lower case instead of relying on an assert to enforce the restriction. * src/database/FrequencyDBImpl_hash.cc (hash::FrequencyDBImpl_hash): Disabled experimental hash database auto-cleaning. * src/includes/Ref.h: Removed cassert include. * src/spamprobe/spamprobe.cc (process_extended_options): Added whitelist option to allow use of SP as a bayesian white list in conjunction with other filters. --- mail/spamprobe/Makefile | 7 +++---- mail/spamprobe/distinfo | 9 ++++----- mail/spamprobe/options.mk | 14 +++++++++++--- mail/spamprobe/patches/patch-aa | 12 ------------ 4 files changed, 18 insertions(+), 24 deletions(-) delete mode 100644 mail/spamprobe/patches/patch-aa (limited to 'mail/spamprobe') diff --git a/mail/spamprobe/Makefile b/mail/spamprobe/Makefile index b58e256f430..a120ff16b46 100644 --- a/mail/spamprobe/Makefile +++ b/mail/spamprobe/Makefile @@ -1,11 +1,10 @@ -# $NetBSD: Makefile,v 1.17 2006/08/04 20:12:31 ghen Exp $ +# $NetBSD: Makefile,v 1.18 2007/10/25 16:00:05 ghen Exp $ -DISTNAME= spamprobe-1.4b -PKGNAME= spamprobe-1.4.2 +DISTNAME= spamprobe-1.4d CATEGORIES= mail MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=spamprobe/} -MAINTAINER= oherrala@ee.oulu.fi +MAINTAINER= ghen@NetBSD.org HOMEPAGE= http://spamprobe.sourceforge.net/ COMMENT= Spam detector using Bayesian analysis of word counts diff --git a/mail/spamprobe/distinfo b/mail/spamprobe/distinfo index 4d0e9c673be..d155bd32b76 100644 --- a/mail/spamprobe/distinfo +++ b/mail/spamprobe/distinfo @@ -1,6 +1,5 @@ -$NetBSD: distinfo,v 1.11 2006/08/13 10:13:42 wiz Exp $ +$NetBSD: distinfo,v 1.12 2007/10/25 16:00:05 ghen Exp $ -SHA1 (spamprobe-1.4b.tar.gz) = a20a6c4a3ab831dd39b392c755170140d91cc372 -RMD160 (spamprobe-1.4b.tar.gz) = e3d08b6ea4eb603f4341b9c683a2092db3ba3aa5 -Size (spamprobe-1.4b.tar.gz) = 255023 bytes -SHA1 (patch-aa) = d3367dbd5cb309c6629d174574daf9e2899ce62a +SHA1 (spamprobe-1.4d.tar.gz) = fbcd65eb21097cd860d5e5ee2c4c2524c717a237 +RMD160 (spamprobe-1.4d.tar.gz) = 4a9e098b92e6900d8b03d7ed5e8d052f2b2e8c56 +Size (spamprobe-1.4d.tar.gz) = 262761 bytes diff --git a/mail/spamprobe/options.mk b/mail/spamprobe/options.mk index d4ae2b4772e..cafd1f44a78 100644 --- a/mail/spamprobe/options.mk +++ b/mail/spamprobe/options.mk @@ -1,8 +1,8 @@ -# $NetBSD: options.mk,v 1.4 2007/02/22 19:26:44 wiz Exp $ +# $NetBSD: options.mk,v 1.5 2007/10/25 16:00:05 ghen Exp $ PKG_OPTIONS_VAR= PKG_OPTIONS.spamprobe -PKG_SUPPORTED_OPTIONS= bdb gif -PKG_SUGGESTED_OPTIONS= gif +PKG_SUPPORTED_OPTIONS= bdb gif png jpeg +PKG_SUGGESTED_OPTIONS= gif png jpeg .include "../../mk/bsd.options.mk" @@ -15,3 +15,11 @@ CONFIGURE_ARGS+= --with-db=${BDBBASE:Q} .if !empty(PKG_OPTIONS:Mgif) .include "../../graphics/libungif/buildlink3.mk" .endif + +.if !empty(PKG_OPTIONS:Mpng) +.include "../../graphics/png/buildlink3.mk" +.endif + +.if !empty(PKG_OPTIONS:Mjpg) +.include "../../graphics/jpeg/buildlink3.mk" +.endif diff --git a/mail/spamprobe/patches/patch-aa b/mail/spamprobe/patches/patch-aa deleted file mode 100644 index 20b6b46cbc6..00000000000 --- a/mail/spamprobe/patches/patch-aa +++ /dev/null @@ -1,12 +0,0 @@ -$NetBSD: patch-aa,v 1.3 2006/08/13 10:13:42 wiz Exp $ - ---- src/spamprobe/Command_import.cc.orig 2006-01-04 14:32:17.000000000 +0000 -+++ src/spamprobe/Command_import.cc -@@ -28,6 +28,7 @@ - // http://www.cooldevtools.com/qpl.html - // - -+#include - #include - #include "LineReader.h" - #include "IstreamCharReader.h" -- cgit v1.2.3