[pmg-devel] [PATCH pmg-api] add depdends on gpg

Stoiko Ivanov s.ivanov at proxmox.com
Tue Sep 3 12:21:54 CEST 2019


running `sa-update` without explicitly specifying '--no-gpg' invokes the `gpg`
binary. PMG::API2::Spamassassin uses `sa-update` for updating spamassassin
rulesets.

Since the functionality is broken when gpg is not installed (and we don't want
to disable gpg-verification by default) this patch adds gpg as Depends.

Signed-off-by: Stoiko Ivanov <s.ivanov at proxmox.com>
---
reported via form and also affects our current appliance-template:
https://forum.proxmox.com/threads/error-gpg-required-but-not-found-it-is-not-recommended-but-you-can-use-sa-update-with-the-no-gpg-to-skip-the-verification.57565/

 debian/control | 1 +
 1 file changed, 1 insertion(+)

diff --git a/debian/control b/debian/control
index 1b19b9f..8751fa6 100644
--- a/debian/control
+++ b/debian/control
@@ -41,6 +41,7 @@ Depends: apt,
          clamdscan,
          fetchmail,
          fonts-font-awesome,
+         gpg,
          libapt-pkg-perl,
          libarchive-perl,
          libarchive-zip-perl,
-- 
2.20.1




More information about the pmg-devel mailing list