Re: Alternative to SpamAssassin's sa-update tool?

From: Michael Grimm <trashcan_at_ellael.org>
Date: Sat, 04 May 2024 20:48:46 UTC
Dan Langille <dan@langille.org> wrote:
> On Sat, Apr 27, 2024, at 2:52 PM, Michael Grimm wrote:

>> I am using 'sa-update' for updating both frequently adapted rulesets.
>> Working fine.
>> 
>> But, in order to be able to use that tool, I do have to install 
>> 'mail/spamassassin'.
> 
> What is the concern regarding installation? Perhaps if we know that, we can
> better help.

See below.

> I'll start by guessing size of the package and dependencies. The script
> itself is about 2300 lines.

Bingo. It is, from my point of view, too much overhead for just downloading some rulesets, again, downloading only.

> What you could try: install, copy /usr/local/bin/sa-update away somewhere else,
> delete the package, see if the script still runs. Repeat until you know the
> files require to run.

Been there, done that, but too many Perl modules to load, from my point of view.

I was hoping for a simple shell script to do so ...

> If you report back that it's just a handful of files (out of the ~ 270 files
> installed), it might be feasible to create a new port / flavor for just
> sa-update.

… but that might be the way to go. I will investigate.

Regards,
Michael