mirror of
https://git.proxmox.com/git/proxmox-spamassassin
synced 2025-04-28 10:30:00 +00:00

`make sa-updates.tgz` runs sa-update with a temporary directory and packs the gathered rules into a tarball, which gets extracted during dpkg-buildpackage. This patch creates a gpg-homedir and imports the sa-update-key distributed with the upstream tarball, and changes the call to sa-update to use this directory instead of the default '/etc/mail/spamassassin/sa-update-keys'. In addition to being a bit more self-contained this also enables running `make sa-updates.tgz` without being root. The temporary gpg-homedir is added to '.gitignore' Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
2 lines
19 B
Plaintext
2 lines
19 B
Plaintext
.sa-update-gpghome
|