aboutsummaryrefslogtreecommitdiffstats
path: root/mail/dspam-devel/files/patch-scripts_train.pl
diff options
context:
space:
mode:
Diffstat (limited to 'mail/dspam-devel/files/patch-scripts_train.pl')
-rw-r--r--mail/dspam-devel/files/patch-scripts_train.pl17
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 ###