pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mail/spamprobe Update to 1.4d (previous 1.4.2 was 1.4b...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5b1c1dce8e8e
branches:  trunk
changeset: 534518:5b1c1dce8e8e
user:      ghen <ghen%pkgsrc.org@localhost>
date:      Thu Oct 25 16:00:05 2007 +0000

description:
Update to 1.4d (previous 1.4.2 was 1.4b).  Take MAINTAINERship.

2006-11-16  Brian Burton  <brian%burton-computer.com@localhost>

* 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 <cassert> include.

* src/parser/PngParser.cc (tokenizeImage): added basic tokens from
  PNG images.

2006-11-16  Brian Burton  <brian@localhost.localdomain>

* 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  <brian%burton-computer.com@localhost>

* 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.

diffstat:

 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(-)

diffs (75 lines):

diff -r cb5dc0be31f4 -r 5b1c1dce8e8e mail/spamprobe/Makefile
--- a/mail/spamprobe/Makefile   Thu Oct 25 14:58:47 2007 +0000
+++ b/mail/spamprobe/Makefile   Thu Oct 25 16:00:05 2007 +0000
@@ -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@localhost
+MAINTAINER=    ghen%NetBSD.org@localhost
 HOMEPAGE=      http://spamprobe.sourceforge.net/
 COMMENT=       Spam detector using Bayesian analysis of word counts
 
diff -r cb5dc0be31f4 -r 5b1c1dce8e8e mail/spamprobe/distinfo
--- a/mail/spamprobe/distinfo   Thu Oct 25 14:58:47 2007 +0000
+++ b/mail/spamprobe/distinfo   Thu Oct 25 16:00:05 2007 +0000
@@ -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 -r cb5dc0be31f4 -r 5b1c1dce8e8e mail/spamprobe/options.mk
--- a/mail/spamprobe/options.mk Thu Oct 25 14:58:47 2007 +0000
+++ b/mail/spamprobe/options.mk Thu Oct 25 16:00:05 2007 +0000
@@ -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 @@
 .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 -r cb5dc0be31f4 -r 5b1c1dce8e8e mail/spamprobe/patches/patch-aa
--- a/mail/spamprobe/patches/patch-aa   Thu Oct 25 14:58:47 2007 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -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 <assert.h>
- #include <fstream>
- #include "LineReader.h"
- #include "IstreamCharReader.h"



Home | Main Index | Thread Index | Old Index