head 1.35; access; symbols pkgsrc-2023Q4:1.35.0.30 pkgsrc-2023Q4-base:1.35 pkgsrc-2023Q3:1.35.0.28 pkgsrc-2023Q3-base:1.35 pkgsrc-2023Q2:1.35.0.26 pkgsrc-2023Q2-base:1.35 pkgsrc-2023Q1:1.35.0.24 pkgsrc-2023Q1-base:1.35 pkgsrc-2022Q4:1.35.0.22 pkgsrc-2022Q4-base:1.35 pkgsrc-2022Q3:1.35.0.20 pkgsrc-2022Q3-base:1.35 pkgsrc-2022Q2:1.35.0.18 pkgsrc-2022Q2-base:1.35 pkgsrc-2022Q1:1.35.0.16 pkgsrc-2022Q1-base:1.35 pkgsrc-2021Q4:1.35.0.14 pkgsrc-2021Q4-base:1.35 pkgsrc-2021Q3:1.35.0.12 pkgsrc-2021Q3-base:1.35 pkgsrc-2021Q2:1.35.0.10 pkgsrc-2021Q2-base:1.35 pkgsrc-2021Q1:1.35.0.8 pkgsrc-2021Q1-base:1.35 pkgsrc-2020Q4:1.35.0.6 pkgsrc-2020Q4-base:1.35 pkgsrc-2020Q3:1.35.0.4 pkgsrc-2020Q3-base:1.35 pkgsrc-2020Q2:1.35.0.2 pkgsrc-2020Q2-base:1.35 pkgsrc-2020Q1:1.34.0.2 pkgsrc-2020Q1-base:1.34 pkgsrc-2019Q4:1.32.0.46 pkgsrc-2019Q4-base:1.32 pkgsrc-2019Q3:1.32.0.42 pkgsrc-2019Q3-base:1.32 pkgsrc-2019Q2:1.32.0.40 pkgsrc-2019Q2-base:1.32 pkgsrc-2019Q1:1.32.0.38 pkgsrc-2019Q1-base:1.32 pkgsrc-2018Q4:1.32.0.36 pkgsrc-2018Q4-base:1.32 pkgsrc-2018Q3:1.32.0.34 pkgsrc-2018Q3-base:1.32 pkgsrc-2018Q2:1.32.0.32 pkgsrc-2018Q2-base:1.32 pkgsrc-2018Q1:1.32.0.30 pkgsrc-2018Q1-base:1.32 pkgsrc-2017Q4:1.32.0.28 pkgsrc-2017Q4-base:1.32 pkgsrc-2017Q3:1.32.0.26 pkgsrc-2017Q3-base:1.32 pkgsrc-2017Q2:1.32.0.22 pkgsrc-2017Q2-base:1.32 pkgsrc-2017Q1:1.32.0.20 pkgsrc-2017Q1-base:1.32 pkgsrc-2016Q4:1.32.0.18 pkgsrc-2016Q4-base:1.32 pkgsrc-2016Q3:1.32.0.16 pkgsrc-2016Q3-base:1.32 pkgsrc-2016Q2:1.32.0.14 pkgsrc-2016Q2-base:1.32 pkgsrc-2016Q1:1.32.0.12 pkgsrc-2016Q1-base:1.32 pkgsrc-2015Q4:1.32.0.10 pkgsrc-2015Q4-base:1.32 pkgsrc-2015Q3:1.32.0.8 pkgsrc-2015Q3-base:1.32 pkgsrc-2015Q2:1.32.0.6 pkgsrc-2015Q2-base:1.32 pkgsrc-2015Q1:1.32.0.4 pkgsrc-2015Q1-base:1.32 pkgsrc-2014Q4:1.32.0.2 pkgsrc-2014Q4-base:1.32 pkgsrc-2014Q3:1.31.0.4 pkgsrc-2014Q3-base:1.31 pkgsrc-2014Q2:1.31.0.2 pkgsrc-2014Q2-base:1.31 pkgsrc-2014Q1:1.28.0.8 pkgsrc-2014Q1-base:1.28 pkgsrc-2013Q4:1.28.0.6 pkgsrc-2013Q4-base:1.28 pkgsrc-2013Q3:1.28.0.4 pkgsrc-2013Q3-base:1.28 pkgsrc-2013Q2:1.28.0.2 pkgsrc-2013Q2-base:1.28 pkgsrc-2013Q1:1.27.0.2 pkgsrc-2013Q1-base:1.27 pkgsrc-2012Q4:1.26.0.2 pkgsrc-2012Q4-base:1.26 pkgsrc-2012Q3:1.25.0.14 pkgsrc-2012Q3-base:1.25 pkgsrc-2012Q2:1.25.0.12 pkgsrc-2012Q2-base:1.25 pkgsrc-2012Q1:1.25.0.10 pkgsrc-2012Q1-base:1.25 pkgsrc-2011Q4:1.25.0.8 pkgsrc-2011Q4-base:1.25 pkgsrc-2011Q3:1.25.0.6 pkgsrc-2011Q3-base:1.25 pkgsrc-2011Q2:1.25.0.4 pkgsrc-2011Q2-base:1.25 pkgsrc-2011Q1:1.25.0.2 pkgsrc-2011Q1-base:1.25 pkgsrc-2010Q4:1.24.0.4 pkgsrc-2010Q4-base:1.24 pkgsrc-2010Q3:1.24.0.2 pkgsrc-2010Q3-base:1.24 pkgsrc-2010Q2:1.23.0.2 pkgsrc-2010Q2-base:1.23 pkgsrc-2010Q1:1.21.0.2 pkgsrc-2010Q1-base:1.21 pkgsrc-2009Q4:1.20.0.4 pkgsrc-2009Q4-base:1.20 pkgsrc-2009Q3:1.20.0.2 pkgsrc-2009Q3-base:1.20 pkgsrc-2009Q2:1.19.0.18 pkgsrc-2009Q2-base:1.19 pkgsrc-2009Q1:1.19.0.16 pkgsrc-2009Q1-base:1.19 pkgsrc-2008Q4:1.19.0.14 pkgsrc-2008Q4-base:1.19 pkgsrc-2008Q3:1.19.0.12 pkgsrc-2008Q3-base:1.19 cube-native-xorg:1.19.0.10 cube-native-xorg-base:1.19 pkgsrc-2008Q2:1.19.0.8 pkgsrc-2008Q2-base:1.19 cwrapper:1.19.0.6 pkgsrc-2008Q1:1.19.0.4 pkgsrc-2008Q1-base:1.19 pkgsrc-2007Q4:1.19.0.2 pkgsrc-2007Q4-base:1.19 pkgsrc-2007Q3:1.17.0.10 pkgsrc-2007Q3-base:1.17 pkgsrc-2007Q2:1.17.0.8 pkgsrc-2007Q2-base:1.17 pkgsrc-2007Q1:1.17.0.6 pkgsrc-2007Q1-base:1.17 pkgsrc-2006Q4:1.17.0.4 pkgsrc-2006Q4-base:1.17 pkgsrc-2006Q3:1.17.0.2 pkgsrc-2006Q3-base:1.17 pkgsrc-2006Q2:1.16.0.4 pkgsrc-2006Q2-base:1.16 pkgsrc-2006Q1:1.16.0.2 pkgsrc-2006Q1-base:1.16 pkgsrc-2005Q4:1.14.0.4 pkgsrc-2005Q4-base:1.14 pkgsrc-2005Q3:1.14.0.2 pkgsrc-2005Q3-base:1.14 pkgsrc-2005Q2:1.13.0.2 pkgsrc-2005Q2-base:1.13 pkgsrc-2005Q1:1.11.0.4 pkgsrc-2005Q1-base:1.11 pkgsrc-2004Q4:1.11.0.2 pkgsrc-2004Q4-base:1.11 pkgsrc-2004Q3:1.9.0.4 pkgsrc-2004Q3-base:1.9 pkgsrc-2004Q2:1.9.0.2 pkgsrc-2004Q2-base:1.9 pkgsrc-2004Q1:1.8.0.2 pkgsrc-2004Q1-base:1.8 pkgsrc-2003Q4:1.4.0.2 pkgsrc-2003Q4-base:1.4 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.35 date 2020.06.05.12.49.09; author jperkin; state Exp; branches; next 1.34; commitid pgIAzOApZQche2bC; 1.34 date 2020.03.20.11.58.00; author nia; state Exp; branches; next 1.33; commitid XgzioScE8x0eq81C; 1.33 date 2020.01.18.23.32.50; author rillig; state Exp; branches; next 1.32; commitid shGUwZfkr7sleeTB; 1.32 date 2014.10.09.14.06.41; author wiz; state Exp; branches; next 1.31; commitid fBDATFVmQ3454xTx; 1.31 date 2014.05.31.15.56.27; author wiz; state Exp; branches; next 1.30; commitid TwWauuYi4Q3JSHCx; 1.30 date 2014.05.25.08.51.05; author obache; state Exp; branches; next 1.29; commitid h0jUHfqnnZbkJTBx; 1.29 date 2014.05.25.08.03.38; author obache; state Exp; branches; next 1.28; commitid 1jJlaXWdQK6MsTBx; 1.28 date 2013.04.13.07.55.05; author ghen; state Exp; branches; next 1.27; 1.27 date 2013.02.16.11.23.01; author wiz; state Exp; branches; next 1.26; 1.26 date 2012.10.08.12.19.32; author asau; state Exp; branches; next 1.25; 1.25 date 2011.01.13.13.53.29; author wiz; state Exp; branches; next 1.24; 1.24 date 2010.09.16.08.04.15; author adam; state Exp; branches; next 1.23; 1.23 date 2010.06.14.15.33.13; author wiz; state Exp; branches; next 1.22; 1.22 date 2010.06.02.13.17.22; author adam; state Exp; branches; next 1.21; 1.21 date 2010.01.24.13.26.11; author wiz; state Exp; branches; next 1.20; 1.20 date 2009.08.26.19.58.45; author sno; state Exp; branches; next 1.19; 1.19 date 2007.10.25.17.52.17; author heinz; state Exp; branches; next 1.18; 1.18 date 2007.10.25.16.00.05; author ghen; state Exp; branches; next 1.17; 1.17 date 2006.08.04.20.12.31; author ghen; state Exp; branches; next 1.16; 1.16 date 2006.01.07.10.27.51; author hubertf; state Exp; branches; next 1.15; 1.15 date 2006.01.06.15.10.05; author wiz; state Exp; branches; next 1.14; 1.14 date 2005.06.29.00.06.58; author hubertf; state Exp; branches; next 1.13; 1.13 date 2005.06.12.08.59.32; author jlam; state Exp; branches; next 1.12; 1.12 date 2005.04.11.21.46.27; author tv; state Exp; branches; next 1.11; 1.11 date 2004.11.18.12.46.53; author hubertf; state Exp; branches; next 1.10; 1.10 date 2004.10.03.00.12.54; author tv; state Exp; branches; next 1.9; 1.9 date 2004.06.17.11.54.40; author grant; state Exp; branches; next 1.8; 1.8 date 2004.02.03.20.49.34; author hubertf; state Exp; branches; next 1.7; 1.7 date 2004.01.20.23.47.23; author hubertf; state Exp; branches; next 1.6; 1.6 date 2004.01.05.22.11.15; author hubertf; state Exp; branches; next 1.5; 1.5 date 2003.12.01.12.16.14; author grant; state Exp; branches; next 1.4; 1.4 date 2003.07.17.21.47.03; author grant; state Exp; branches; next 1.3; 1.3 date 2003.06.10.09.56.17; author wiz; state Exp; branches; next 1.2; 1.2 date 2003.06.02.01.18.37; author jschauma; state Exp; branches; next 1.1; 1.1 date 2003.02.17.13.53.08; author zuntum; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2003.02.17.13.53.08; author zuntum; state Exp; branches; next ; desc @@ 1.35 log @*: Apply revbump for graphics/giflib API change. @ text @# $NetBSD: Makefile,v 1.34 2020/03/20 11:58:00 nia Exp $ DISTNAME= spamprobe-1.4d PKGREVISION= 10 CATEGORIES= mail MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=spamprobe/} MAINTAINER= pkgsrc-users@@NetBSD.org HOMEPAGE= http://spamprobe.sourceforge.net/ COMMENT= Spam detector using Bayesian analysis of word counts LICENSE= qpl-v1.0 USE_LANGUAGES= c c++ GNU_CONFIGURE= yes CONFIGURE_ARGS+= --enable-default-8bit .include "options.mk" .include "../../mk/bsd.pkg.mk" @ 1.34 log @*: Convert broken sourceforge HOMEPAGEs back to http @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.33 2020/01/18 23:32:50 rillig Exp $ d4 1 a4 1 PKGREVISION= 9 @ 1.33 log @all: migrate several HOMEPAGEs to https pkglint --only "https instead of http" -r -F With manual adjustments afterwards since pkglint 19.4.4 fixed a few indentations in unrelated lines. This mainly affects projects hosted at SourceForce, as well as freedesktop.org, CTAN and GNU. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.32 2014/10/09 14:06:41 wiz Exp $ d9 1 a9 1 HOMEPAGE= https://spamprobe.sourceforge.net/ @ 1.32 log @Remove pkgviews: don't set PKG_INSTALLATION_TYPES in Makefiles. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.31 2014/05/31 15:56:27 wiz Exp $ d9 1 a9 1 HOMEPAGE= http://spamprobe.sourceforge.net/ @ 1.31 log @libungif is not relevant any longer since the GIF relevant patents expired (about 10 years ago). Unconditionally switch to libgif. As discussed on tech-pkg without dissent. Bump PKGREVISION. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.30 2014/05/25 08:51:05 obache Exp $ a12 2 PKG_INSTALLATION_TYPES= overwrite pkgviews @ 1.30 log @Revbump after updating graphics/giflib @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.29 2014/05/25 08:03:38 obache Exp $ d4 1 a4 1 PKGREVISION= 8 @ 1.29 log @As LICENSE.txt, LICENSE=qpl-v1.0 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.28 2013/04/13 07:55:05 ghen Exp $ d4 1 a4 1 PKGREVISION= 7 @ 1.28 log @Hand in maintainership. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.27 2013/02/16 11:23:01 wiz Exp $ d11 1 @ 1.27 log @Recursive bump for png-1.6. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.26 2012/10/08 12:19:32 asau Exp $ d8 1 a8 1 MAINTAINER= ghen@@NetBSD.org @ 1.26 log @Drop PKG_DESTDIR_SUPPORT setting, "user-destdir" is default these days. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.25 2011/01/13 13:53:29 wiz Exp $ d4 1 a4 1 PKGREVISION= 6 @ 1.25 log @png shlib name changed for png>=1.5.0, so bump PKGREVISIONs. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.24 2010/09/16 08:04:15 adam Exp $ a11 1 PKG_DESTDIR_SUPPORT= user-destdir @ 1.24 log @Revbump after updating databases/db5 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.23 2010/06/14 15:33:13 wiz Exp $ d4 1 a4 1 PKGREVISION= 5 @ 1.23 log @PKGREVISION bump for png-1.4.x shlib change. (missed those and *emacs* the first time round because they pull in their png dependencies via default-on options; they were included in the test bulk build though) @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.22 2010/06/02 13:17:22 adam Exp $ d4 1 a4 1 PKGREVISION= 4 @ 1.22 log @Fix building with db5; revision bump for db4 update @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.21 2010/01/24 13:26:11 wiz Exp $ d4 1 a4 1 PKGREVISION= 3 @ 1.21 log @More PKGREVISION bumps of jpeg dependencies. Identified by parsing the NetBSD-i386-5.0.1/2009Q3 pkg_summary files and Robert Elz. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.20 2009/08/26 19:58:45 sno Exp $ d4 1 a4 1 PKGREVISION= 2 d15 3 a17 4 USE_LANGUAGES= c c++ GNU_CONFIGURE= YES CONFIGURE_ARGS+= --enable-default-8bit @ 1.20 log @bump revision because of graphics/jpeg update @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.19 2007/10/25 17:52:17 heinz Exp $ d4 1 a4 1 PKGREVISION= 1 @ 1.19 log @The package supports installation to DESTDIR. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.18 2007/10/25 16:00:05 ghen Exp $ d4 1 @ 1.18 log @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. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.17 2006/08/04 20:12:31 ghen Exp $ d11 1 @ 1.17 log @Update spamprobe to 1.4b (PKGNAME changed to 1.4.2). Changes in 1.4a: This release fixes a bug in decoding malformed base64 encoded data that manifested itself in some architectures. Also corrects a typo in the online help. Some code cleanup and minor performance tweaks were added as well. Changes in 1.4b: This release fixes pair of bugs related to messages with no lines in their bodies. No new features were added. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.16 2006/01/07 10:27:51 hubertf Exp $ d3 1 a3 2 DISTNAME= spamprobe-1.4b PKGNAME= spamprobe-1.4.2 d7 1 a7 1 MAINTAINER= oherrala@@ee.oulu.fi @ 1.16 log @Update spamprobe to version 1.4. Submitted by Ossi 'ohub' Herrala in private mail as discussed on IRCnet #NetBSD. Changes to software: * Spamprobe has a config file! * Added comprehensive command line option help. * Added support for maildir directories to all file based commands. * Added support for auto-purge (-P command line option). * Commands create-db and create-config to greate database and config file. * Added gif parser support using libungif to analyzes image attachments and derive useful information from them. Changes to package: * bdb is not in SUGGESTED_OPTIONS anymore. * added depency to graphics/libungif and gif is in SUGGESTED_OPTIONS. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.15 2006/01/06 15:10:05 wiz Exp $ d3 2 a4 1 DISTNAME= spamprobe-1.4 @ 1.15 log @DEPENDS and PKGREVISION bumps because db4's library name changed. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.14 2005/06/29 00:06:58 hubertf Exp $ d3 1 a3 2 DISTNAME= spamprobe-1.2a PKGREVISION= 1 @ 1.14 log @Update spamprobe to 1.2a. SpamProbe changes: - New email parsing implementation - New hash database, in addition to Berkeley DB (bdb/db4) (=> Hopefully no more "caught runtime exception: get: DB_PAGE_NOTFOUND: Requested page not found" on Linux every other day!) - And much more, check the ChangeLog for accurate information pkgsrc changes: - Added db4 database backend to be optional (not requirement anymore) Patches sent by the maintainer Ossi Herrala in private mail. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.13 2005/06/12 08:59:32 jlam Exp $ d4 1 @ 1.13 log @Pass the correct path to the installed db4 files. Also, transform "-ldb" to "-ldb4" so that the configure script doesn't use a system libdb.so instead of the pkgsrc libdb4.so. This fixes PR pkg/23615. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.12 2005/04/11 21:46:27 tv Exp $ d3 1 a3 1 DISTNAME= spamprobe-1.0a a16 1 CONFIGURE_ARGS+= --with-db=${BUILDLINK_PREFIX.db4} d18 1 a18 1 BUILDLINK_TRANSFORM+= l:db:db4 a19 1 .include "../../databases/db4/buildlink3.mk" @ 1.12 log @Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.11 2004/11/18 12:46:53 hubertf Exp $ d17 3 a19 1 CONFIGURE_ARGS+= --with-db=${BUILDLINK_PREFIX.db4}/include/db4 @ 1.11 log @Update spamprobe to 1.0a, patch sent via IRC by the maintainer. Changes: * MimeLineReader.cc: 1.0 branch - fixed MBX record header regex * spamprobe.cc (main): Added exec and exec-shared commands. (import_words): modified import command to allow negative values to be specified in the import file. * Applied patches for configure.in and aclocal.m4 contributed by Siggy Brentrup for debian compatibility. * FrequencyDBImpl_pbl.cc: Invokes new WordData methods to allow storing data in big endian format. * WordData.h: Added optional support for storing counts/flags in big endian order for data portability. * MimeLineReader.cc (readMBXFileHeader): UW IMAP MBX file format is now auto detected from the first line of the mailbox file. * spamprobe.cc (process_extended_options): Removed -o imap-mbx option. * spamprobe.cc (process_extended_options): Added -o imap-mbx option to process files as WU-IMAP MBX files rather than mbox files. * MimeLineReader.cc (readLine): Added support for WU-IMAP MBX file format. * spamprobe.cc (process_stream): Added -o tokenized option to allow people to use an external tokenizer with spamprobe. * SpamFilter.cc (scoreToken): Reduced sorting overhead by pre-computing and integer sort value with sorting priorities reflected in the value. This eliminates several calculations inside of the sort routine. * SpamFilter.cc (computeRatio): Capped ratios in calculations to within MIN_PROB and MAX_PROB. Widened that range. This avoids problems with div/0 and makes it easier to sort terms. * spamprobe.cc (dump_words): dump command can now optionally accept a regular expression as an argument and will only dump terms matching the regular expression. (purge_terms): Added purge-terms command to purge from the database all terms matching a regular expression. * spamprobe.cc (main): Fixed bug in command line processing. Thanks to Jem for bug report. * spamprobe.cc (train_on_message): Code simplified. Eliminated redundant recalculation of scores. (train_on_message): Timestamps are now longer updated by train-spam and train-good commands. They are still updated by train command. (main): Fixed assertion if -P option is specified in a read only operation. * spamprobe.cc (main): Added -C command line option to allow users to specify their own min word count. * SpamFilter.cc (SpamFilter): Set default minimum word count back to 5 (was 3). * spamprobe.cc (process_extended_options): Removed "alt-score" from -o options list because it distributes scores poorly. New formula achieves the same end with better accuracy. Added "orig-score" option to allow people to continue using the old formula. Added "honor-xstatus-header" option for people whose mail server uses X-Status: rather than Status: for the deleted flag. (main): Added -l command line option to allow people to set their own spam threshold if they don't like the default value. * SpamFilter.cc (scoreMessage): Added a new scoring formula based on Paul's but taking the nth root of spam and good probabilities to produce more evenly distributed scores. Lowered the spam threshold to 0.6 to keep accuracy about the same as the original formula. Highest score seen for a ham so far in tests is 0.44 so 0.6 seems safe. Made the new formula the default instead of Paul's. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.10 2004/10/03 00:12:54 tv Exp $ a12 1 USE_BUILDLINK3= YES @ 1.10 log @Libtool fix for PR pkg/26633, and other issues. Update libtool to 1.5.10 in the process. (More information on tech-pkg.) Bump PKGREVISION and BUILDLINK_DEPENDS of all packages using libtool and installing .la files. Bump PKGREVISION (only) of all packages depending directly on the above via a buildlink3 include. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.9 2004/06/17 11:54:40 grant Exp $ d3 1 a3 2 DISTNAME= spamprobe-0.9h PKGREVISION= 1 @ 1.9 log @this needs a c and c++ compiler. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.8 2004/02/03 20:49:34 hubertf Exp $ d4 1 @ 1.8 log @Update spamprobe to 0.9h. ChangeLog: * New manual page * spamprobe.cc (process_stream): Added -o tokenized option to allow people to use an external tokenizer with spamprobe. * SpamFilter.cc (scoreToken): Reduced sorting overhead by pre-computing and integer sort value with sorting priorities reflected in the value. This eliminates several calculations inside of the sort routine. * SpamFilter.cc (computeRatio): Capped ratios in calculations to within MIN_PROB and MAX_PROB. Widened that range. This avoids problems with div/0 and makes it easier to sort terms. * spamprobe.cc (dump_words): dump command can now optionally accept a regular expression as an argument and will only dump terms matching the regular expression. (purge_terms): Added purge-terms command to purge from the database all terms matching a regular expression. Patch submitted by Ossi Herrala in private email. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.7 2004/01/20 23:47:23 hubertf Exp $ d14 1 @ 1.7 log @Update spamprobe to 0.9g2. Patch provided by Ossi Herrala <$MAINTAINER> in private mail. CHANGED: * This release moves from Paul's original formula to a slightly modified one that yields more evenly distributed scores. To continue using old formula, use -o orig-score command line option. ADDED: * -C command line option. This tells SpamProbe to assign a default, somewhat neutral, probability to any term that does not have a weighted (good count doubled) count of at least specified number in the database. This prevents terms which have been seen only a few times from having an unreasonable influence on the score of an email containing them. Default count have changed. It is now 5. Old was 3. * Added -o command line option to specify alternate way of scoring. Consult README.txt for more info. * Added -l command line option. Changes the spam probability threshold for emails from the default (0.7) to . * Added tokenize command. Prints the tokens found in the file one word per line in human readable format with spam probability, good count, spam count, message count, and word in columns separated by whitespace. IMPROVED: * -H command line option to add more headers to scan. * Improved performance by removing some redundant calculations and reducing the amount of I/O in train-* mode. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.6 2004/01/05 22:11:15 hubertf Exp $ d3 1 a3 1 DISTNAME= spamprobe-0.9g2 @ 1.6 log @Update to spamprobe-0.9e. Too many changes to list, the old pkg was from 2002(!) Update probided by ohub @@ #NetBSD/IRCnet, buildlink3 code OK'd by jlam. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.5 2003/12/01 12:16:14 grant Exp $ d3 1 a3 1 DISTNAME= spamprobe-0.9e d16 1 @ 1.5 log @reorder lines to appease pkglint (hi, zuntum!) @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.4 2003/07/17 21:47:03 grant Exp $ d3 1 a3 2 DISTNAME= spamprobe-0.8b PKGREVISION= 1 d7 1 a7 1 MAINTAINER= tech-pkg@@NetBSD.org d11 3 a13 1 USE_BUILDLINK2= YES d18 1 a18 1 .include "../../databases/db4/buildlink2.mk" @ 1.4 log @s/netbsd.org/NetBSD.org/ @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.3 2003/06/10 09:56:17 wiz Exp $ a3 1 COMMENT= Spam detector using Bayesian analysis of word counts d6 2 d10 1 a10 1 MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=spamprobe/} @ 1.3 log @Bump PKGREVISION because of db4 shlib major bump. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.2 2003/06/02 01:18:37 jschauma Exp $ d7 1 a7 1 MAINTAINER= tech-pkg@@netbsd.org @ 1.2 log @Use tech-pkg@@ in favor of packages@@ as MAINTAINER for orphaned packages. Should anybody feel like they could be the maintainer for any of thewe packages, please adjust. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.1.1.1 2003/02/17 13:53:08 zuntum Exp $ d5 1 @ 1.1 log @Initial revision @ text @d1 1 a1 1 # $NetBSD$ d6 1 a6 1 MAINTAINER= packages@@netbsd.org @ 1.1.1.1 log @Initial import of mail/spamprobe (version 0.8b) Spamprobe is a fast, intelligent, automatic spam detector using Bayesian analysis of terms contained in emails. Works with procmail, maildrop or a similar tool to produce a complete server or client side spam filtering system. Provided by Daniel Farrugia in PR#20286, buildlinkified by me. @ text @@