2 |
%define name smeserver-mysql |
%define name smeserver-mysql |
3 |
Name: %{name} |
Name: %{name} |
4 |
%define version 2.7.0 |
%define version 2.7.0 |
5 |
%define release 3 |
%define release 4 |
6 |
Version: %{version} |
Version: %{version} |
7 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
8 |
License: GPL |
License: GPL |
50 |
# default values from /etc/opt/rh/rh-mariadb101/my.cnf.d/mariadb-server.cnf |
# default values from /etc/opt/rh/rh-mariadb101/my.cnf.d/mariadb-server.cnf |
51 |
basedir="/opt/rh/rh-mariadb$ver/root/usr" |
basedir="/opt/rh/rh-mariadb$ver/root/usr" |
52 |
datadir="/var/opt/rh/rh-mariadb$ver/lib/mysql" |
datadir="/var/opt/rh/rh-mariadb$ver/lib/mysql" |
53 |
socket="/var/lib/mysql/maradb$ver.sock" |
socket="/var/lib/mysql/mariadb$ver.sock" |
54 |
logerror="/var//log/mariadb$ver/mariadb.log" |
logerror="/var//log/mariadb$ver/mariadb.log" |
55 |
#"/var/opt/rh/rh-mariadb$ver/log/mariadb/mariadb.log" |
#"/var/opt/rh/rh-mariadb$ver/log/mariadb/mariadb.log" |
56 |
pidfile="/var/run/rh-mariadb$ver-mariadb/mariadb.pid" |
pidfile="/var/run/rh-mariadb$ver-mariadb/mariadb.pid" |
192 |
done |
done |
193 |
|
|
194 |
#phpMyAdmin template |
#phpMyAdmin template |
195 |
|
mkdir -p root$ver/etc/e-smith/templates/etc/phpMyAdmin/config.inc.php/ |
196 |
sed rootscl/etc/e-smith/templates/etc/phpMyAdmin/config.inc.php/11configMysql_VER_ \ |
sed rootscl/etc/e-smith/templates/etc/phpMyAdmin/config.inc.php/11configMysql_VER_ \ |
197 |
|
-e "s_!!!SOCKET!!!_$socket _g" \ |
198 |
-e "s_!!!VER!!!_${ver}_g" > root$ver/etc/e-smith/templates/etc/phpMyAdmin/config.inc.php/11configMysql${ver} |
-e "s_!!!VER!!!_${ver}_g" > root$ver/etc/e-smith/templates/etc/phpMyAdmin/config.inc.php/11configMysql${ver} |
199 |
|
|
200 |
done |
done |
319 |
|
|
320 |
|
|
321 |
%changelog |
%changelog |
322 |
|
* Sun Mar 13 2022 Jean-Philippe Pialasse <tests@pialasse.com> 2.7.0-4.sme |
323 |
|
- fix typo in socket, seen with phpmyadmin [SME: 11899] |
324 |
|
|
325 |
* Sun Mar 13 2022 Jean-Philippe Pialasse <tests@pialasse.com> 2.7.0-3.sme |
* Sun Mar 13 2022 Jean-Philippe Pialasse <tests@pialasse.com> 2.7.0-3.sme |
326 |
- missing phpMyAdmin fragments [SME: 11899] |
- missing phpMyAdmin fragments [SME: 11899] |
327 |
|
|