INN2 on a Raspberry Pi 4? | Migrating between instances of INN2

Julien ÉLIE julien at trigofacile.com
Thu Feb 8 12:53:51 UTC 2024


Adding to my previous message:

> If you think adding native support for xz compression would be useful, 
> the program could be searched for in m4/compress.m4 and, if you build 
> INN with the --with-log-compress=xz flag, it would normally do the trick 
> (not personally tested though).
> Wouldn't it correspond to your local change? (if that's the case, such a 
> change could easily be merged upstream, and usable for your needs as 
> well as other people's needs)
> 
> BTW, I see that this --with-log-compress configure flag is not 
> documented (it is only mentioned in the output of "./configure --help").
> I'll mention it in the relevant manual pages (at least INSTALL, newslog, 
> news.daily and scanlogs).  Current supported methods are gzip, bzip2, 
> compress and cat (meaning no compression at all).

Wouldn't it be enough to just document that you could add in pathetc a 
file named innshellvars.local, executable, containing:

LOG_COMPRESS='/usr/bin/xz'
Z='.xz'


Doesn't the log compression feature with xz work out of the box with 
just that change?

-- 
Julien ÉLIE

« Vina bibant homines, animantia cetera fontes. »


More information about the inn-workers mailing list