From 55dea32fc13f4a89d58a87e8f87a879f983aa4e8 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Pialasse Date: Wed, 5 Mar 2025 23:19:51 -0500 Subject: [PATCH] * Wed Mar 05 2025 Jean-Philippe Pialasse 11.0.0-6.sme - change key type from service to configuration [SME: 11367] --- contriborbase | 1 - root/etc/e-smith/db/configuration/defaults/statusreport/type | 2 +- root/etc/e-smith/db/configuration/migrate/20StatusReport | 4 +++- smeserver-support.spec | 5 ++++- 4 files changed, 8 insertions(+), 4 deletions(-) delete mode 100644 contriborbase 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/statusreport/type b/root/etc/e-smith/db/configuration/defaults/statusreport/type index 24e1098..f92f363 100644 --- a/root/etc/e-smith/db/configuration/defaults/statusreport/type +++ b/root/etc/e-smith/db/configuration/defaults/statusreport/type @@ -1 +1 @@ -service +configuration diff --git a/root/etc/e-smith/db/configuration/migrate/20StatusReport b/root/etc/e-smith/db/configuration/migrate/20StatusReport index 5626d91..d46a521 100644 --- a/root/etc/e-smith/db/configuration/migrate/20StatusReport +++ b/root/etc/e-smith/db/configuration/migrate/20StatusReport @@ -1,6 +1,6 @@ { my $rec = $DB->get('statusreport') - || $DB->new_record('statusreport', { type => 'service' }); + || $DB->new_record('statusreport', { type => 'configuration' }); my %props = $rec->props; @@ -8,4 +8,6 @@ exists $props{Hour} or $props{Hour} = int(rand(24)); exists $props{Minute} or $props{Minute} = int(rand(60)); $rec->merge_props(%props); + + $DB->set_prop('statusreport', "type", "configuration") if ${'statusreport'}{type} eq "service"; } diff --git a/smeserver-support.spec b/smeserver-support.spec index 4d05b2b..08fe27b 100644 --- a/smeserver-support.spec +++ b/smeserver-support.spec @@ -4,7 +4,7 @@ Summary: SME Server module to display support and licensing information %define name smeserver-support Name: %{name} %define version 11.0.0 -%define release 5 +%define release 6 Version: %{version} Release: %{release}%{?dist} @@ -88,6 +88,9 @@ Requires: mc Requires: psacct %changelog +* Wed Mar 05 2025 Jean-Philippe Pialasse 11.0.0-6.sme +- change key type from service to configuration [SME: 11367] + * Thu Apr 04 2024 Brian Read 11.0.0-5.sme - Set license file to GPL2.0 [SME: 12577]