generated from smedev/Template-for-SMEServer-Core-Package
Compare commits
2 Commits
1_6-9_el8_
...
1_6-11_el8
| Author | SHA1 | Date | |
|---|---|---|---|
| 9d90a0763c | |||
| 17f861165f |
@@ -5,25 +5,18 @@
|
||||
$OUT .= <<END
|
||||
#!/bin/sh
|
||||
|
||||
|
||||
if [ ! -d /var/lib/mysql/$db ]; then
|
||||
#if you need to add plugins:
|
||||
# /usr/bin/mariadb $db < /usr/share/roundcubemail/plugins/calendar/drivers/database/SQL/mysql.initial.sql
|
||||
# /usr/bin/mariadb $db < /usr/share/roundcubemail/plugins/calendar/drivers/kolab/SQL/mysql.initial.sql
|
||||
# /usr/bin/mariadb $db < /usr/share/roundcubemail/plugins/tasklist/drivers/database/SQL/mysql.initial.sql
|
||||
|
||||
/usr/bin/mariadb <<EOF
|
||||
CREATE DATABASE $db DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;
|
||||
use $db;
|
||||
source /usr/share/roundcubemail/SQL/mysql.initial.sql;
|
||||
EOF
|
||||
fi
|
||||
/usr/bin/mariadb <<EOF
|
||||
CREATE DATABASE IF NOT EXISTS $db DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;
|
||||
use mysql;
|
||||
GRANT ALL PRIVILEGES ON $db.* TO $user\@localhost
|
||||
IDENTIFIED BY '$pass';
|
||||
flush privileges;
|
||||
EOF
|
||||
|
||||
if [ ! -f /var/lib/mysql/$db/users.ibd ] ; then
|
||||
cat /usr/share/roundcubemail/SQL/mysql.initial.sql | /usr/bin/mariadb $db
|
||||
fi
|
||||
|
||||
exit 0
|
||||
END
|
||||
}
|
||||
|
||||
@@ -145,7 +145,7 @@ $config['mail_domain'] = '{$DomainName}';
|
||||
// Password charset.
|
||||
// Use it if your authentication backend doesn't support UTF-8.
|
||||
// Defaults to ISO-8859-1 for backward compatibility
|
||||
$config['password_charset'] = 'ISO-8859-1';
|
||||
$config['password_charset'] = 'UTF-8';
|
||||
|
||||
// How many seconds must pass between emails sent by a user
|
||||
$config['sendmail_delay'] = 0;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
%define name smeserver-roundcube
|
||||
%define version 1.6
|
||||
%define release 9
|
||||
%define release 11
|
||||
|
||||
Summary: smeserver rpm to setup roundcube, an IMAP mail client
|
||||
Name: %{name}
|
||||
@@ -85,7 +85,10 @@ fi
|
||||
%attr(755,root,root) /usr/bin/rcplugin_update.sh
|
||||
|
||||
%changelog
|
||||
* Tue Apr 08 2025 Jean-Philippe Pialasse <jpp@koozali.org> 1.6-9.sme
|
||||
* Mon Nov 03 2025 Jean-Philippe Pialasse <jpp@koozali.org> 1.6-11.sme
|
||||
- set password_charset to UTF-8 [SME: 13256]
|
||||
|
||||
* Thu Apr 10 2025 Jean-Philippe Pialasse <jpp@koozali.org> 1.6-10.sme
|
||||
- fix login to roundcube after restore [SME: 12981]
|
||||
|
||||
* Sun Mar 30 2025 Jean-Philippe Pialasse <jpp@koozali.org> 1.6-8.sme
|
||||
|
||||
Reference in New Issue
Block a user