diff options
| author | Marcus Alves Grando <mnag@FreeBSD.org> | 2005-11-11 12:24:37 +0000 |
|---|---|---|
| committer | Marcus Alves Grando <mnag@FreeBSD.org> | 2005-11-11 12:24:37 +0000 |
| commit | 07a08f5dae81e728c6e9de53017a2b83d9f24ba6 (patch) | |
| tree | 6c40ed465ebe45887210904c303b49567130b5bf /mail/dspam-devel/files/patch-scripts_train.pl | |
| parent | Changes: (diff) | |
Update to 3.6.1
Add TRAIN_SCRIPT in OPTIONS
Use USE_DBD and USE_SQLITE
Add SHA256
PR: 88688
Submitted by: "Ion-Mihai "IOnut" Tetcu" <itetcu@people.tecnik93.com> (maintainer)
Diffstat (limited to 'mail/dspam-devel/files/patch-scripts_train.pl')
| -rw-r--r-- | mail/dspam-devel/files/patch-scripts_train.pl | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/mail/dspam-devel/files/patch-scripts_train.pl b/mail/dspam-devel/files/patch-scripts_train.pl new file mode 100644 index 000000000000..3550e64474f5 --- /dev/null +++ b/mail/dspam-devel/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 ### |
