From 0017726fa9c973d4bf8d3fb9a0f63db33bb48eb2 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Pialasse Date: Wed, 5 Mar 2025 19:01:39 -0500 Subject: [PATCH] * Wed Mar 05 2025 Jean-Philippe Pialasse 11.0.0-5.sme - change key type from service to configuration [SME: 11367] --- contriborbase | 1 - root/etc/e-smith/db/configuration/defaults/clamav/type | 2 +- root/etc/e-smith/db/configuration/migrate/clamavconfig | 6 ++++++ smeserver-clamav.spec | 5 ++++- 4 files changed, 11 insertions(+), 3 deletions(-) delete mode 100644 contriborbase create mode 100644 root/etc/e-smith/db/configuration/migrate/clamavconfig diff --git a/contriborbase b/contriborbase deleted file mode 100644 index ef36a67..0000000 --- a/contriborbase +++ /dev/null @@ -1 +0,0 @@ -sme10 diff --git a/root/etc/e-smith/db/configuration/defaults/clamav/type b/root/etc/e-smith/db/configuration/defaults/clamav/type index 24e1098..f92f363 100644 --- a/root/etc/e-smith/db/configuration/defaults/clamav/type +++ b/root/etc/e-smith/db/configuration/defaults/clamav/type @@ -1 +1 @@ -service +configuration diff --git a/root/etc/e-smith/db/configuration/migrate/clamavconfig b/root/etc/e-smith/db/configuration/migrate/clamavconfig new file mode 100644 index 0000000..8593030 --- /dev/null +++ b/root/etc/e-smith/db/configuration/migrate/clamavconfig @@ -0,0 +1,6 @@ + +{ + foreach my $sservice (qw(clamav)) { + $DB->set_prop($sservice, "type", "configuration") if ${$sservice}{type} eq "service"; + } +} diff --git a/smeserver-clamav.spec b/smeserver-clamav.spec index a4c0ee9..dfe6a66 100644 --- a/smeserver-clamav.spec +++ b/smeserver-clamav.spec @@ -4,7 +4,7 @@ Summary: SME Server module to configure clamav %define name smeserver-clamav Name: %{name} %define version 11.0.0 -%define release 4 +%define release 5 Version: %{version} Release: %{release}%{?dist} License: GPL @@ -32,6 +32,9 @@ BuildRequires: smeserver-devtools SME Server enhancement to configure and run clamd and freshclam %changelog +* Wed Mar 05 2025 Jean-Philippe Pialasse 11.0.0-5.sme +- change key type from service to configuration [SME: 11367] + * Sat Apr 13 2024 Jean-Philippe Pialasse 11.0.0-4.sme - move post-transaction-actions script [SME: 12533]