#1140026 razor: please "rm -rf /var/cache/razor/" on postrm:purge

Package:
razor
Source:
razor
Description:
spam-catcher using a collaborative filtering network
Submitter:
Alexandre Detiste
Date:
2026-06-14 22:11:00 UTC
Severity:
normal
#1140026#5
Date:
2026-06-14 21:42:26 UTC
From:
To:
Hi Santiago,

I noticed while browsing Debian Code Search that
this package creates /var/cache/razor with debian/dirs.

This makes it piuparts compliant; but I guess that
after some real world usage of this package there
would be some files in /var/cache/razor.

Please ensure that:
 *) /var/cache/razor is needed
 *) /var/cache/razor is cleansed on purge,
    this can be any way you like with a full-blown .postrm script
    or with a sigle-line debian/purge file +
    dependecy on dh-sequence-cruft

Greetings

Alexandre

#1140026#10
Date:
2026-06-14 22:08:55 UTC
From:
To:
Thanks for the report.

When I rgrep for /var/cache I get this:

debian/dirs:var/cache/razor
debian/changelog:  *   Moved /.razor.lst to /var/cache/razor/.razor.lst

There are no traces of .razor.lst in the code, but my oldest still-living
computer where I installed razor has a $HOME/.razor and several
very small *.lst files inside.

I adopted razor recently (in Debian time). My medium-term plan for
razor is to reconstruct Debian git history in a linear way, then I
will be able to confirm if /var/cache/razor is still needed or not.

Thanks.