> -----Original Message----- > From: Mark Martinec [mailto:[EMAIL PROTECTED] > Sent: Tuesday, March 20, 2007 8:20 PM > To: users@spamassassin.apache.org > Subject: Re: patches for FREEBSD sa-update > > > > Perhaps the closest thing is /usr/local/libdata/, intended > for 'miscellaneous utility data files'. > Ok, found it, looks good, maybe that's best. Thanks, this is exactly why I posted this.
> The change will cause some confusion with current practices, > with talks on the mailing list, and a mismatch in documentation. Always ;-) Also patched the pkg-message to inform users what happened. > > If doing the change, don't forget to patch the default for > LOCALSTATEDIR in Makefile.PL (which ends up as > LOCAL_STATE_DIR option default). There is a corresponding > default in amavisd-new (but is only needed with versions of > SA older than 3.1.5). > Yes, did, found it, also edited/patched pkg-list to get rid of old ones on deinstall. A portupgrade or deinstall, reinstall cleans everything up. CONFIGURE_ARGS= SYSCONFDIR="${PREFIX}/etc" \ CONTACT_ADDRESS="${CONTACT_ADDRESS}" \ LOCALSTATEDIR="${PREFIX}/libdata/spamassassin" > > The reason its important, is if you do use something like > 'sa-update > > --updatedir /usr/local/share/spamassassin or > > ../etc/mail/spamassassin, THREE sets of plugins are loaded: > > Don't assume anybody is using --updatedir > /usr/local/share/spamassassin. It is plain wrong, and this > was discussed when sa-update became popular, both on the > SA-user list a number of times, as well as on the amavis-user > ML, so I hope nobody does it anymore. It is a waste of effort > catering for such a misuse. Again, only reason is that sa-update is REALLY documented poorly, and when I first use sa-update without options, it trashed the SA install because the ../lib/{version} directory was missing files, and I tried something else. (seems find now, must have been just a one time bad update, bad timing) Confused the heck out of me, and I consider myself reasonably intellegent. Still is. --------------------------------------------------------------------------- This email has been scanned and certified safe by SpammerTrap(tm) For Information please see http://www.spammertrap.com ---------------------------------------------------------------------------