You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@spamassassin.apache.org by bu...@bugzilla.spamassassin.org on 2009/01/02 22:14:14 UTC

[Bug 5752] Let's get rid of the default rules dir and make sa-update mandatory

https://issues.apache.org/SpamAssassin/show_bug.cgi?id=5752





--- Comment #28 from Justin Mason <jm...@jmason.org>  2009-01-02 13:14:13 PST ---
I did this a while back, then lost the pending commit due to hosed laptop :( 
not making the same mistake again!

So this checkin is an implementation of what's described in comment 11 -- the
rules are no longer part of the main "make dist" tarball.  That is created (and
can pass its tests) with no rules.

: 92...; svn commit -m "bug 5752: MAJOR CHANGE FOR 3.3.0: we no longer install
the rules to /usr/share/spamassassin along with the code; admins must run
'sa-update' immediately after installing"
Sending        MANIFEST
Sending        MANIFEST.SKIP
Sending        Makefile.PL
Sending        t/SATest.pm
Sending        t/data/01_test_rules.cf
Adding         t/data/01_test_rules.pre
Sending        t/dcc.t
Transmitting file data .......
Committed revision 730843 ( https://svn.apache.org/viewcvs.cgi?view=rev&rev=730843 ).


Here's what's left in /usr/share/spamassassin after make install --

: 39...; l /usr/local/share/spamassassin/
languages             sa-update-pubkey.txt  user_prefs.template

if you run spamassassin:


: 57...; spamassassin --lint
config: no rules were found!  Do you need to run 'sa-update'?


We now need to add a way to make a rules-dist tarball; ie. a .tgz containing
just the rules, in sa-update --install format.  or at least a way to generate
one of these at release time, and put it up on
www.apache.org/dist/spamassassin/ alongside the code tarball.


-- 
Configure bugmail: https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.