This fixes 2 warnings shown when checking the source-package with
lintian:
* package-depends-on-hardcoded-libc
* debhelper-but-no-misc-depends
Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
the build target gets invoked as regular user without 'fakeroot'. Running
SpamAssassin's tests as root (or via fakeroot) leads to a
non-deterministically failing testcase ('t/spamc_optC.t') - I couldn't find
the root-cause, but running the tests as regular user did work consistently.
Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
while upgrading spamassassin from 3.4.2 to 3.4.3 users were initially asked
to confirm a changed '/etc/mail/spamassassin/init.pre', due to the differences
between the file in the shipped new upstream and the version rendered by the
templateing system of pmg.
This was mitigated by c0e5b8043c.
Not shipping the files in the first place removes the need to adapt changed
upstream files to old versions, which get replaced by the templating system
anyways
Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
as apt ask the user about the change, but we rewrite it anyway, as
it's effectively under direct PMG control.
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
people normally want gpg verified updates, and PMG actually relies on
it. While pmg can install it in it's own environments (ISO, CT
appliance) directly a recommendation should be still added, if only
fo those installing on top of plain Debian.
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Adding a dependency to ${SA_UPDATE_GPG_DIR}/.prepared caused make to
run the sa-updates.tgz recipe unless you had a ${SA_UPDATE_GPG_DIR} from
a previous run.
Since updating the spamassassin rules shipped with the package should probably
be only updated explicitly changing the dependency to an order-only one, stops
the extra sa-update buildstep.
Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
`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>