SpamAssassin's sa-update requires GNU wget
Running sa-update without having the wget package installed returns the following:
/usr/bin/wget: unrecognized option: max-redirect=2
BusyBox v1.26.2 (2017-06-11 06:38:32 GMT) multi-call binary.
Usage: wget [-c|--continue] [--spider] [-q|--quiet] [-O|--output-document FILE]
[--header 'header: value'] [-Y|--proxy on/off] [-P DIR]
[-U|--user-agent AGENT] [-T SEC] URL...
Retrieve files via HTTP or FTP
--spider Spider mode - only check file existence
-c Continue retrieval of aborted transfer
-q Quiet
-P DIR Save to DIR (default .)
-T SEC Network read timeout is SEC seconds
-O FILE Save to FILE ('-' for stdout)
-U STR Use STR for User-Agent header
-Y on/off Use proxy
error: no mirror data available for channel updates.spamassassin.org
channel: MIRRORED.BY file contents were missing, channel failed
sa-update is a perl script which uses GNU wget’s --max-redirect
option, which BusyBox wget doesn’t recognize. Maybe SpamAssassin should
depend on the wget package then?
(from redmine: issue id 7610, created on 2017-07-29, closed on 2019-05-03)
- Changesets:
- Revision c2adebbb by Francesco Colista on 2017-08-09T15:37:51Z:
main/spamassassin: sa-update needs curl or gnu wget. Fixes #7610