From owner-freebsd-perl@FreeBSD.ORG Mon Mar 19 22:50:08 2007 Return-Path: X-Original-To: perl@hub.freebsd.org Delivered-To: freebsd-perl@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C79A416A402 for ; Mon, 19 Mar 2007 22:50:08 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id B75CE13C4DA for ; Mon, 19 Mar 2007 22:50:08 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id l2JMo8PF061921 for ; Mon, 19 Mar 2007 22:50:08 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l2JMo8ev061917; Mon, 19 Mar 2007 22:50:08 GMT (envelope-from gnats) Date: Mon, 19 Mar 2007 22:50:08 GMT Message-Id: <200703192250.l2JMo8ev061917@freefall.freebsd.org> To: perl@FreeBSD.org From: Michael Scheidell Cc: Subject: Re: ports/108934: mail/p5-Mail-SpamAssassin: spamassassin uses /var/lib/spamassassin directory but /var/lib doesn't exist on FreeBSD X-BeenThere: freebsd-perl@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Michael Scheidell List-Id: maintainer of a number of perl-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Mar 2007 22:50:08 -0000 The following reply was made to PR ports/108934; it has been noted by GNATS. From: Michael Scheidell To: Matus UHLAR - fantomas Cc: bug-followup@FreeBSD.org Subject: Re: ports/108934: mail/p5-Mail-SpamAssassin: spamassassin uses /var/lib/spamassassin directory but /var/lib doesn't exist on FreeBSD Date: Mon, 19 Mar 2007 18:44:07 -0400 Matus UHLAR - fantomas wrote: > actually, I don't mind have /var/lib/spamassassin on my filesystem, I just > think that's not good idea because of FreeBSD's different directory layout. > for ports, you could just specify localstatedir when configuring > SpamAssassin. However as I said, I would prefer different directory for > updates than the one in /usr/local/... > > I am looking at this again (I want to patch dependencies for gnupg) When sa-update first came out, and I let it use the default /var/lib/spamassassin, SA broke (since sa looks for: localrules, state dir, then site dir. if it finds state dir (var/lib) it doesn't even load site dir (/usr/local/share) This cause problems originally. (missing files, missing rules, etc) however, by using my method (--updatedir /usr/local/share/spamassassin). it seems to load BOTH sets (uses too much ram) patching will need to be made, looking into it now. Do you suggest /usr/local/lib/spamassassin ?? I think I should also do a postinstall, ifexists /var/lib and move it to /usr/local/lib. do you think that would work? do you want to test out the patches before I commit them? ----------------------------------------------------------------- This email has been scanned and certified safe by SpammerTrap(tm) For Information please see http://www.spammertrap.com -----------------------------------------------------------------