diff options
author | Renato Botelho <garga@FreeBSD.org> | 2006-02-04 13:26:43 +0000 |
---|---|---|
committer | Renato Botelho <garga@FreeBSD.org> | 2006-02-04 13:26:43 +0000 |
commit | a9d04cbc4861d146bc088e058119f5db051fcdcb (patch) | |
tree | 6e914b15ebb3098ee401bff38184110905da3335 /mail/dspam/files | |
parent | - Update to 20060203 (diff) |
- files/patch-scripts_train.pl was missed in the last commit.
- Small Makefile cleanup.
- Insist dspam.conf should be updated to include the new directives.
- Fix typo in files/UPDATING [1]
PR: ports/92762
Submitted by: maintainer
Obtained from: edwin [1]
Notes
Notes:
svn path=/head/; revision=155196
Diffstat (limited to 'mail/dspam/files')
-rw-r--r-- | mail/dspam/files/UPDATING | 9 | ||||
-rw-r--r-- | mail/dspam/files/dspam.sh.in | 2 | ||||
-rw-r--r-- | mail/dspam/files/patch-scripts_train.pl | 17 |
3 files changed, 23 insertions, 5 deletions
diff --git a/mail/dspam/files/UPDATING b/mail/dspam/files/UPDATING index 8f3367787853..a0220779f887 100644 --- a/mail/dspam/files/UPDATING +++ b/mail/dspam/files/UPDATING @@ -1,5 +1,5 @@ # $FreeBSD$ -# $Tecnik: ports/mail/dspam/files/UPDATING,v 1.3 2006/02/01 02:15:42 itetcu Exp $ +# $Tecnik: ports/mail/dspam/files/UPDATING,v 1.6 2006/02/03 10:18:25 itetcu Exp $ # # for each PKGNAME or user option change an entry should be added in this file # each entry @@ -16,13 +16,14 @@ also the UPGRADING enclosed in the dspam distribution. You can see it by doing in the port directory: make extract; more `find . -type f -maxdepth 2 -name UPGRADING` - ########################################################################### # dspam-3.6.3 # -To manny things to note here, please see mail-dspam-devel/UPDATING and read -UPGRADING and CHANGELOG and adjust your dspam.conf accordingly +To manny things to note here, please see mail/dsapm-devel/UPDATING and read +UPGRADING and CHANGELOG and adjust your dspam.conf accordingly; there are +NEW DIRECTIVES (see dspam.conf.sample) so if you miss this dspam will have +bad accuracy or could (possibly) crash. - you can now have the database drivers dynamically loaded at run time so you can select multiple drivers in the OPTIONS screen; see dspam.conf. - also algorithm selection is done exclusively via dspam.conf diff --git a/mail/dspam/files/dspam.sh.in b/mail/dspam/files/dspam.sh.in index 8ae583f12a41..290f7ce602bf 100644 --- a/mail/dspam/files/dspam.sh.in +++ b/mail/dspam/files/dspam.sh.in @@ -1,7 +1,7 @@ #!/bin/sh # $FreeBSD$ # formerly $ FreeBSD: ports/mail/dspam/files/dspam,v 1.1 2005/05/05 21:03:37 pav Exp $ -# $Tecnik: ports/mail/dspam/files/dspam.sh.in,v 1.3 2006/02/01 02:15:42 itetcu Exp $ +# $Tecnik: ports/mail/dspam/files/dspam.sh.in,v 1.5 2006/02/03 10:13:00 itetcu Exp $ # # PROVIDE: dspam diff --git a/mail/dspam/files/patch-scripts_train.pl b/mail/dspam/files/patch-scripts_train.pl new file mode 100644 index 000000000000..3550e64474f5 --- /dev/null +++ b/mail/dspam/files/patch-scripts_train.pl @@ -0,0 +1,17 @@ +--- scripts/train.pl.dist Tue Nov 8 14:34:38 2005 ++++ scripts/train.pl Tue Nov 8 14:36:06 2005 +@@ -1,4 +1,4 @@ +-#!/usr/bin/perl ++#!%%PERL%% + + # train.pl + # This tool trains a corpus of messages (a directory containing a nonspam and +@@ -14,7 +14,7 @@ + use vars qw { $USER $PATH $REPORTING_WINDOW $CORPUS $TRAINING_MODE }; + + $REPORTING_WINDOW = 250; # How often to summarize +-$PATH = "/usr/local/dspam/bin"; # Path to dspam binaries ++$PATH = "%%DSPAM_PATH%%"; # Path to dspam binaries + $TRAINING_MODE = "teft"; # Training mode + + ### DO NOT CONFIGURE BELOW THIS LINE ### |