mail-filter/spamassassin: new revision that lets spamd run as root (openrc).
authorMichael Orlitzky <mjo@gentoo.org>
Wed, 1 Nov 2017 03:05:53 +0000 (23:05 -0400)
committerMichael Orlitzky <mjo@gentoo.org>
Wed, 1 Nov 2017 18:54:56 +0000 (14:54 -0400)
commit2d55bc8f1afb8dc8f712ba139a860c828f52eb17
tree47afed08e1239f08df9b6abe5cba8607802aaf99
parent7c925b49c0ac1bb08fb4e3f7666a571b9e076343
mail-filter/spamassassin: new revision that lets spamd run as root (openrc).

The r13 revision of spamassassin came with a new init script (and
systemd service file) that runs spamd as the "spamd" user by default,
and that choice is not configurable. There is however a legitimate use
case for running spamd as root; namely, when local users have their
configurations or bayes databases stored in their home directories on
the local filesystem.

This new revision adds back the ability to run spamd as root, through
the SPAMD_RUN_AS_ROOT variable in the OpenRC service configuration
file. This should suffice for the users who have reported problems so
far, and a similar fix for the systemd service is on its way.

The pkg_postinst phase of the ebuild alerts users to the new
configuration variable.

Bug: https://bugs.gentoo.org/635790
Package-Manager: Portage-2.3.8, Repoman-2.3.3
mail-filter/spamassassin/files/3.4.1-spamd.conf-r1 [new file with mode: 0644]
mail-filter/spamassassin/files/3.4.1-spamd.init-r2 [new file with mode: 0644]
mail-filter/spamassassin/spamassassin-3.4.1-r18.ebuild [moved from mail-filter/spamassassin/spamassassin-3.4.1-r17.ebuild with 95% similarity]