]> git.proxmox.com Git - proxmox-spamassassin.git/commit
buildsys: import sa-update key from tarball
authorStoiko Ivanov <s.ivanov@proxmox.com>
Tue, 4 Jun 2019 14:12:02 +0000 (16:12 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 4 Jun 2019 16:14:56 +0000 (18:14 +0200)
commitae1e4fd86228276fd20eb319e0309bd818a9090d
treea56bddc4e61f1d2bd410d55fb2f052cbe1fd7572
parent5c391e88fb70c13011b6591f8581b1b1edb5fb35
buildsys: import sa-update key from tarball

`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>
.gitignore [new file with mode: 0644]
Makefile