Date: Fri, 23 Mar 2007 20:32:47 +0100 From: Torfinn Ingolfsen <torfinn.ingolfsen@broadpark.no> To: FreeBSD gnats submit <FreeBSD-gnats-submit@FreeBSD.org> Subject: ports/110728: mail/py-spambayes should load config file from a standard location Message-ID: <1174678367.48520@kg-work.kg4.no> Resent-Message-ID: <200703231940.l2NJe22I097268@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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@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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1174678367.48520>