Bug 80 - DEF_RULES_DIR/LOCAL_RULES_DIR changes in Makefile.PL not propigated
Summary: DEF_RULES_DIR/LOCAL_RULES_DIR changes in Makefile.PL not propigated
Alias: None
Product: Spamassassin
Classification: Unclassified
Component: spamassassin (show other bugs)
Version: unspecified
Hardware: All All
: P2 minor
Target Milestone: ---
Assignee: Craig Hughes
: 25 (view as bug list)
Depends on:
Reported: 2002-03-04 09:25 UTC by David N. Blank-Edelman
Modified: 2002-04-01 02:06 UTC (History)
1 user (show)

Attachment Type Modified Status Actions Submitter/CLA Status

Note You need to log in before you can comment on or make changes to this bug.
Description David N. Blank-Edelman 2002-03-04 09:25:02 UTC
  Justin agreed that this was a "bug" right before he split. Short summary:

if you want to install the rule files some place else besides the default, you
might think that (undocumented) changes to Makefile.PL should do it.
Unfortunately this just controls where rules are installed. To actually make SA
look for them in the new spot, you need to hand-edit the lists in

Suggested fix:

useplaceholder variables in Spamassassin.pm ala:

@default_rules_path = qw(

and then have something like fixpath substitute the contents of that variable
from Makefile.PL. (then add this to the README doc's install section).

   -- dNb
Comment 1 Craig Hughes 2002-03-19 14:33:21 UTC
Patched with fix by Bart Schaefer
Comment 2 Craig Hughes 2002-04-01 11:06:34 UTC
*** Bug 25 has been marked as a duplicate of this bug. ***