Compare commits
3 Commits
11_0_0-10_
...
master
Author | SHA1 | Date | |
---|---|---|---|
b0d33d1017 | |||
5047976085 | |||
2710d9f93d |
@@ -24,6 +24,7 @@ use Errno;
|
|||||||
use DirHandle;
|
use DirHandle;
|
||||||
|
|
||||||
my $event = shift || die "must give event name parameter";
|
my $event = shift || die "must give event name parameter";
|
||||||
|
exit(0) if ( grep( /^$event$/, qw(post-upgrade bootstrap-console-save) ));
|
||||||
chdir "/etc/e-smith/events/$event" or die "Couldn't chdir to event directory /etc/e-smith/events/$event: $!";
|
chdir "/etc/e-smith/events/$event" or die "Couldn't chdir to event directory /etc/e-smith/events/$event: $!";
|
||||||
my $dh = DirHandle->new("services2adjust");
|
my $dh = DirHandle->new("services2adjust");
|
||||||
|
|
||||||
|
22
root/usr/share/perl5/vendor_perl/esmith/AccountsDB/UTF8.pm
Normal file
22
root/usr/share/perl5/vendor_perl/esmith/AccountsDB/UTF8.pm
Normal file
@@ -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;
|
||||||
|
|
@@ -1,5 +1,6 @@
|
|||||||
#----------------------------------------------------------------------
|
#----------------------------------------------------------------------
|
||||||
# Copyright 1999-2008 Mitel Networks Corporation
|
# Copyright 1999-2008 Mitel Networks Corporation
|
||||||
|
# Copyright 2013-2025 Koozali Foundationi inc.
|
||||||
# This program is free software; you can redistribute it and/or
|
# This program is free software; you can redistribute it and/or
|
||||||
# modify it under the same terms as Perl itself.
|
# modify it under the same terms as Perl itself.
|
||||||
#----------------------------------------------------------------------
|
#----------------------------------------------------------------------
|
||||||
@@ -9,9 +10,9 @@ package esmith::ConfigDB::UTF8;
|
|||||||
use strict;
|
use strict;
|
||||||
use warnings;
|
use warnings;
|
||||||
|
|
||||||
use esmith::DB::db;
|
use esmith::ConfigDB;
|
||||||
use esmith::config::utf8;
|
use esmith::config::utf8;
|
||||||
our @ISA = qw( esmith::DB::db );
|
our @ISA = qw( esmith::ConfigDB );
|
||||||
|
|
||||||
sub tie_class
|
sub tie_class
|
||||||
{
|
{
|
||||||
|
22
root/usr/share/perl5/vendor_perl/esmith/DomainsDB/UTF8.pm
Normal file
22
root/usr/share/perl5/vendor_perl/esmith/DomainsDB/UTF8.pm
Normal file
@@ -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;
|
||||||
|
|
22
root/usr/share/perl5/vendor_perl/esmith/HostsDB/UTF8.pm
Normal file
22
root/usr/share/perl5/vendor_perl/esmith/HostsDB/UTF8.pm
Normal file
@@ -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;
|
||||||
|
|
22
root/usr/share/perl5/vendor_perl/esmith/NetworksDB/UTF8.pm
Normal file
22
root/usr/share/perl5/vendor_perl/esmith/NetworksDB/UTF8.pm
Normal file
@@ -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;
|
||||||
|
|
@@ -573,7 +573,7 @@ sub validatePassword($$)
|
|||||||
$strength ||= 'normal';
|
$strength ||= 'normal';
|
||||||
|
|
||||||
my $length = 12;
|
my $length = 12;
|
||||||
my $db = esmith::ConfigDB->open("/tmp/toto") || undef;
|
my $db = esmith::ConfigDB->open() || undef;
|
||||||
my $sysconfig = $db->get("passwordstrength")|| undef if $db ;
|
my $sysconfig = $db->get("passwordstrength")|| undef if $db ;
|
||||||
$length = $sysconfig->prop("length") || "12" if $sysconfig;
|
$length = $sysconfig->prop("length") || "12" if $sysconfig;
|
||||||
|
|
||||||
|
@@ -6,7 +6,7 @@ Summary: smeserver server and gateway - library module
|
|||||||
%define name smeserver-lib
|
%define name smeserver-lib
|
||||||
Name: %{name}
|
Name: %{name}
|
||||||
%define version 11.0.0
|
%define version 11.0.0
|
||||||
%define release 10
|
%define release 13
|
||||||
Version: %{version}
|
Version: %{version}
|
||||||
Release: %{release}%{?dist}
|
Release: %{release}%{?dist}
|
||||||
License: Artistic
|
License: Artistic
|
||||||
@@ -33,7 +33,16 @@ Provides: e-smith-lib
|
|||||||
smeserver server and gateway software - library module.
|
smeserver server and gateway software - library module.
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Thu Feb 20 2025 Jean-Philippe Pialasse <jpp@koozali.org> 11.0.0-10.sme
|
* Sun Jun 08 2025 Jean-Philippe Pialasse <jpp@koozali.org> 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 <jpp@koozali.org> 11.0.0-12.sme
|
||||||
|
- prevent service handling in bootstrap and post-upgrade [SME: 13002]
|
||||||
|
|
||||||
|
* Thu Feb 20 2025 Jean-Philippe Pialasse <jpp@koozali.org> 11.0.0-11.sme
|
||||||
- remove pptpd reference [SME: 11417]
|
- remove pptpd reference [SME: 11417]
|
||||||
- move template-begin-ini [SME: 12211]
|
- move template-begin-ini [SME: 12211]
|
||||||
- passwordstrength{length} default to 12 [SME: 12383]
|
- passwordstrength{length} default to 12 [SME: 12383]
|
||||||
|
Reference in New Issue
Block a user