From b0d33d101750b4d00fdcbb8dc68fb97aee666c9c Mon Sep 17 00:00:00 2001 From: Jean-Philippe Pialasse Date: Mon, 9 Jun 2025 00:03:49 -0400 Subject: [PATCH] * Sun Jun 08 2025 Jean-Philippe Pialasse 11.0.0-13.sme - add esmith::AccountsDB::UTF8 support [SME: 13029] also esmith::DomainsDB::UTF8, esmith::HostsDB::UTF8, esmith::NetworksDB::UTF8 - improve esmith::ConfigDB::UTF8 support [SME: 13028] --- .../vendor_perl/esmith/AccountsDB/UTF8.pm | 22 +++++++++++++++++++ .../perl5/vendor_perl/esmith/ConfigDB/UTF8.pm | 5 +++-- .../vendor_perl/esmith/DomainsDB/UTF8.pm | 22 +++++++++++++++++++ .../perl5/vendor_perl/esmith/HostsDB/UTF8.pm | 22 +++++++++++++++++++ .../vendor_perl/esmith/NetworksDB/UTF8.pm | 22 +++++++++++++++++++ smeserver-lib.spec | 8 ++++++- 6 files changed, 98 insertions(+), 3 deletions(-) create mode 100644 root/usr/share/perl5/vendor_perl/esmith/AccountsDB/UTF8.pm create mode 100644 root/usr/share/perl5/vendor_perl/esmith/DomainsDB/UTF8.pm create mode 100644 root/usr/share/perl5/vendor_perl/esmith/HostsDB/UTF8.pm create mode 100644 root/usr/share/perl5/vendor_perl/esmith/NetworksDB/UTF8.pm diff --git a/root/usr/share/perl5/vendor_perl/esmith/AccountsDB/UTF8.pm b/root/usr/share/perl5/vendor_perl/esmith/AccountsDB/UTF8.pm new file mode 100644 index 0000000..e77a0a8 --- /dev/null +++ b/root/usr/share/perl5/vendor_perl/esmith/AccountsDB/UTF8.pm @@ -0,0 +1,22 @@ +#---------------------------------------------------------------------- +# Copyright 2013-2025 Koozali Foundation inc. +# This program is free software; you can redistribute it and/or +# modify it under the same terms as Perl itself. +#---------------------------------------------------------------------- + +package esmith::AccountsDB::UTF8; + +use strict; +use warnings; + +use esmith::AccountsDB; +use esmith::config::utf8; +our @ISA = qw(esmith::AccountsDB); + +sub tie_class +{ + return 'esmith::config::utf8'; +} + +1; + diff --git a/root/usr/share/perl5/vendor_perl/esmith/ConfigDB/UTF8.pm b/root/usr/share/perl5/vendor_perl/esmith/ConfigDB/UTF8.pm index 5d450af..e810602 100644 --- a/root/usr/share/perl5/vendor_perl/esmith/ConfigDB/UTF8.pm +++ b/root/usr/share/perl5/vendor_perl/esmith/ConfigDB/UTF8.pm @@ -1,5 +1,6 @@ #---------------------------------------------------------------------- # Copyright 1999-2008 Mitel Networks Corporation +# Copyright 2013-2025 Koozali Foundationi inc. # This program is free software; you can redistribute it and/or # modify it under the same terms as Perl itself. #---------------------------------------------------------------------- @@ -9,9 +10,9 @@ package esmith::ConfigDB::UTF8; use strict; use warnings; -use esmith::DB::db; +use esmith::ConfigDB; use esmith::config::utf8; -our @ISA = qw( esmith::DB::db ); +our @ISA = qw( esmith::ConfigDB ); sub tie_class { diff --git a/root/usr/share/perl5/vendor_perl/esmith/DomainsDB/UTF8.pm b/root/usr/share/perl5/vendor_perl/esmith/DomainsDB/UTF8.pm new file mode 100644 index 0000000..babec23 --- /dev/null +++ b/root/usr/share/perl5/vendor_perl/esmith/DomainsDB/UTF8.pm @@ -0,0 +1,22 @@ +#---------------------------------------------------------------------- +# Copyright 2013-2025 Koozali Foundation inc. +# This program is free software; you can redistribute it and/or +# modify it under the same terms as Perl itself. +#---------------------------------------------------------------------- + +package esmith::DomainsDB::UTF8; + +use strict; +use warnings; + +use esmith::DomainsDB; +use esmith::config::utf8; +our @ISA = qw(esmith::DomainsDB); + +sub tie_class +{ + return 'esmith::config::utf8'; +} + +1; + diff --git a/root/usr/share/perl5/vendor_perl/esmith/HostsDB/UTF8.pm b/root/usr/share/perl5/vendor_perl/esmith/HostsDB/UTF8.pm new file mode 100644 index 0000000..65dd8a9 --- /dev/null +++ b/root/usr/share/perl5/vendor_perl/esmith/HostsDB/UTF8.pm @@ -0,0 +1,22 @@ +#---------------------------------------------------------------------- +# Copyright 2013-2025 Koozali Foundation inc. +# This program is free software; you can redistribute it and/or +# modify it under the same terms as Perl itself. +#---------------------------------------------------------------------- + +package esmith::HostsDB::UTF8; + +use strict; +use warnings; + +use esmith::HostsDB; +use esmith::config::utf8; +our @ISA = qw(esmith::HostsDB); + +sub tie_class +{ + return 'esmith::config::utf8'; +} + +1; + diff --git a/root/usr/share/perl5/vendor_perl/esmith/NetworksDB/UTF8.pm b/root/usr/share/perl5/vendor_perl/esmith/NetworksDB/UTF8.pm new file mode 100644 index 0000000..d9206f0 --- /dev/null +++ b/root/usr/share/perl5/vendor_perl/esmith/NetworksDB/UTF8.pm @@ -0,0 +1,22 @@ +#---------------------------------------------------------------------- +# Copyright 2013-2025 Koozali Foundation inc. +# This program is free software; you can redistribute it and/or +# modify it under the same terms as Perl itself. +#---------------------------------------------------------------------- + +package esmith::NetworksDB::UTF8; + +use strict; +use warnings; + +use esmith::NetworksDB; +use esmith::config::utf8; +our @ISA = qw(esmith::NetworksDB); + +sub tie_class +{ + return 'esmith::config::utf8'; +} + +1; + diff --git a/smeserver-lib.spec b/smeserver-lib.spec index 0a517db..64c0c09 100644 --- a/smeserver-lib.spec +++ b/smeserver-lib.spec @@ -6,7 +6,7 @@ Summary: smeserver server and gateway - library module %define name smeserver-lib Name: %{name} %define version 11.0.0 -%define release 12 +%define release 13 Version: %{version} Release: %{release}%{?dist} License: Artistic @@ -33,6 +33,12 @@ Provides: e-smith-lib smeserver server and gateway software - library module. %changelog +* Sun Jun 08 2025 Jean-Philippe Pialasse 11.0.0-13.sme +- add esmith::AccountsDB::UTF8 support [SME: 13029] + also esmith::DomainsDB::UTF8, esmith::HostsDB::UTF8, + esmith::NetworksDB::UTF8 +- improve esmith::ConfigDB::UTF8 support [SME: 13028] + * Wed May 28 2025 Jean-Philippe Pialasse 11.0.0-12.sme - prevent service handling in bootstrap and post-upgrade [SME: 13002]