From 36e65eff707682054de9d718f93b095e157396da Mon Sep 17 00:00:00 2001 From: Makoto Matsushita Date: Sat, 23 Oct 2004 19:02:51 +0000 Subject: Since popfile 0.22.0 doesn't work with DBD::SQLite 1.x, switch to SQLite2. CAUTION: for existing users, edit your ${HOME}/.popfile/popfile.cfg (or whatever popfile configuration file) as follows: before: bayes_dbconnect dbi:SQLite:dbname=$dbname after: bayes_dbconnect dbi:SQLite2:dbname=$dbname (change the word "SQLite" to "SQLite2") files/patch-Bayes.pm also added, to use dbi:SQLite2 by default. Since the contents is changed, bump PORTREVISION. --- mail/popfile/files/patch-Bayes.pm | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 mail/popfile/files/patch-Bayes.pm (limited to 'mail/popfile/files/patch-Bayes.pm') diff --git a/mail/popfile/files/patch-Bayes.pm b/mail/popfile/files/patch-Bayes.pm new file mode 100644 index 000000000000..104cdf7cf2da --- /dev/null +++ b/mail/popfile/files/patch-Bayes.pm @@ -0,0 +1,11 @@ +--- Classifier/Bayes.pm.dist Fri Sep 3 07:16:08 2004 ++++ Classifier/Bayes.pm Sun Oct 24 03:41:07 2004 +@@ -211,7 +211,7 @@ + # it resolves to the full path to the database named in the + # database parameter above. + +- $self->config_( 'dbconnect', 'dbi:SQLite:dbname=$dbname' ); ++ $self->config_( 'dbconnect', 'dbi:SQLite2:dbname=$dbname' ); + $self->config_( 'dbuser', '' ); $self->config_( 'dbauth', '' ); + + # No default unclassified weight is the number of times more sure POPFile -- cgit v1.2.3