[pmg-devel] [PATCH proxmox-mailgateway 0/4] packaging adaptations and fixing a glitch for the container metapackage

Dietmar Maurer dietmar at proxmox.com
Mon Dec 30 10:27:14 CET 2019


applied patches 1-3, sot sure about 4/4

> On 27 December 2019 19:36 Stoiko Ivanov <s.ivanov at proxmox.com> wrote:
> 
>  
> While testing the container template for PMG 6.1 I noticed that after the first
> boot clamav-daemon was not running. It did not start, because the
> virus-definitions were not present. This happens because they are usually
> downloaded by 'freshclam' upon its package installation.
> 
> The glitch was addressed by adding the 'initial-freshclam.service', which adds
> a dependency on itself to clamav-(daemon|freshclam) and blocks while downloading
> them on first boot
> 
> While adding the file I adapted the packaging to use debhelper for all targets
> 
> 
> Stoiko Ivanov (4):
>   bump debian compat level to 12
>   use debhelper for all targets
>   add package specific lintian overrides
>   add initial-freshclam.service to pmg-container
> 
>  debian/changelog                              |  6 +++++
>  debian/compat                                 |  2 +-
>  debian/control                                |  2 +-
>  debian/lintian-overrides                      |  1 -
>  ...ateway-container.initial-freshclam.service | 18 ++++++++++++++
>  ...ox-mailgateway-container.lintian-overrides |  2 ++
>  debian/rules                                  | 24 ++++---------------
>  7 files changed, 32 insertions(+), 23 deletions(-)
>  create mode 100644 debian/proxmox-mailgateway-container.initial-freshclam.service
>  create mode 100644 debian/proxmox-mailgateway-container.lintian-overrides
> 
> -- 
> 2.20.1
> 
> 
> _______________________________________________
> pmg-devel mailing list
> pmg-devel at pve.proxmox.com
> https://pve.proxmox.com/cgi-bin/mailman/listinfo/pmg-devel



More information about the pmg-devel mailing list