diff options
author | Makoto Matsushita <matusita@FreeBSD.org> | 2004-10-23 19:02:51 +0000 |
---|---|---|
committer | Makoto Matsushita <matusita@FreeBSD.org> | 2004-10-23 19:02:51 +0000 |
commit | 36e65eff707682054de9d718f93b095e157396da (patch) | |
tree | 180174692c8cffaa2ae16c3f79b91f691aec1be9 /mail/popfile | |
parent | Add gresolver, a graphical DNS query tool using GTK+. It allows system (diff) |
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.
Notes
Notes:
svn path=/head/; revision=120043
Diffstat (limited to 'mail/popfile')
-rw-r--r-- | mail/popfile/Makefile | 6 | ||||
-rw-r--r-- | mail/popfile/files/patch-Bayes.pm | 11 |
2 files changed, 14 insertions, 3 deletions
diff --git a/mail/popfile/Makefile b/mail/popfile/Makefile index 46e93958bac9..efbb774b59f1 100644 --- a/mail/popfile/Makefile +++ b/mail/popfile/Makefile @@ -7,7 +7,7 @@ PORTNAME= popfile PORTVERSION= 0.22.0 -#PORTREVISION= 0 +PORTREVISION= 1 CATEGORIES= mail MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} @@ -16,9 +16,9 @@ DIST_SUBDIR= ${PORTNAME} MAINTAINER= matusita@FreeBSD.org COMMENT=Automatic mail classification tool, acts as a POP3 proxy -# Since 1) DBD::SQLite RUN_DEPENDS on DBI and 2) Date::TimeDate is also +# Since 1) DBD::SQLite2 RUN_DEPENDS on DBI and 2) Date::TimeDate is also # included in devel/p5-TimeDate, these modules is NOT listed here. -RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/DBD/SQLite.pm:${PORTSDIR}/databases/p5-DBD-SQLite \ +RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/DBD/SQLite2.pm:${PORTSDIR}/databases/p5-DBD-SQLite2 \ ${SITE_PERL}/HTML/Tagset.pm:${PORTSDIR}/www/p5-HTML-Tagset \ ${SITE_PERL}/HTML/Template.pm:${PORTSDIR}/www/p5-HTML-Template \ ${SITE_PERL}/Date/Parse.pm:${PORTSDIR}/devel/p5-TimeDate 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 |