ports/110728: mail/py-spambayes should load config file from a standard location
Torfinn Ingolfsen
torfinn.ingolfsen at broadpark.no
Fri Mar 23 19:40:03 UTC 2007
>Number: 110728
>Category: ports
>Synopsis: mail/py-spambayes should load config file from a standard location
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Fri Mar 23 19:40:02 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator: Torfinn Ingolfsen
>Release: FreeBSD 6.2-STABLE i386
>Organization:
LNSF
>Environment:
System: FreeBSD 6.2-STABLE #2: Sat Jan 20 17:26:43 CET 2007
root at kg-work.kg4.no:/usr/obj/usr/src/sys/SS51G
py24-spambayes-1.0.4_1
>Description:
I upgraded py-spambayes and found out that it now has a startup script in /usr/local/etc/rc.d/pyspamd.
It also had adapted a standard directory for its files: /var/db/spambayes.
Great!
However, it still loads the config file (bayescustomize.ini) from the directory it was started from, or from ~ ($HOME).
IMHO, it should load bayescustomize.ini from /usr/local/etc, and perhaps with a variable in /usr/local/etc/rc.d/pyspamd to set the default location of the config file.
>How-To-Repeat:
1) upgrade spambayes
2) copy ddatabase files and cache files into new directories
3) copy the config file to say, /usr/local/etc/bayescustomize.ini
3) start spambayes
>Fix:
I had a quick look, but I don't know Python, so I didn't figure out how to make the necessary changes.
No fix from submitter, sorry.
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list