--- rpms/smeserver-mysql/sme10/smeserver-mysql.spec 2022/03/13 23:19:14 1.4 +++ rpms/smeserver-mysql/sme10/smeserver-mysql.spec 2022/03/14 02:34:45 1.9 @@ -2,7 +2,7 @@ Summary: Koozali SME Server specific mys %define name smeserver-mysql Name: %{name} %define version 2.7.0 -%define release 3 +%define release 4 Version: %{version} Release: %{release}%{?dist} License: GPL @@ -50,7 +50,7 @@ do # default values from /etc/opt/rh/rh-mariadb101/my.cnf.d/mariadb-server.cnf basedir="/opt/rh/rh-mariadb$ver/root/usr" datadir="/var/opt/rh/rh-mariadb$ver/lib/mysql" -socket="/var/lib/mysql/maradb$ver.sock" +socket="/var/lib/mysql/mariadb$ver.sock" logerror="/var//log/mariadb$ver/mariadb.log" #"/var/opt/rh/rh-mariadb$ver/log/mariadb/mariadb.log" pidfile="/var/run/rh-mariadb$ver-mariadb/mariadb.pid" @@ -192,8 +192,10 @@ do done #phpMyAdmin template +mkdir -p root$ver/etc/e-smith/templates/etc/phpMyAdmin/config.inc.php/ sed rootscl/etc/e-smith/templates/etc/phpMyAdmin/config.inc.php/11configMysql_VER_ \ - -e "s_!!!VER!!!_${ver}_g" > rootscl/etc/e-smith/templates/etc/phpMyAdmin/config.inc.php/11configMysql${ver} + -e "s_!!!SOCKET!!!_$socket _g" \ + -e "s_!!!VER!!!_${ver}_g" > root$ver/etc/e-smith/templates/etc/phpMyAdmin/config.inc.php/11configMysql${ver} done @@ -305,7 +307,7 @@ Requires: rh-mariadb105 Requires: rh-mariadb105-mariadb Requires: rh-mariadb105-mariadb-server BuildRequires: e-smith-devtools >= 1.13.1-03 - +Requires: smeserver-mysql >= 2.7.0-4 %description -n smeserver-mariadb105 Koozali SME Server configuration package for mariadb105 RH SCLo @@ -317,8 +319,12 @@ Koozali SME Server configuration package %changelog +* Sun Mar 13 2022 Jean-Philippe Pialasse 2.7.0-4.sme +- fix typo in socket, seen with phpmyadmin [SME: 11899] +- fix permissions for mariadb105 [SME: 11899] + * Sun Mar 13 2022 Jean-Philippe Pialasse 2.7.0-3.sme -- fix [SME: ] +- missing phpMyAdmin fragments [SME: 11899] * Sun Mar 13 2022 Jean-Philippe Pialasse 2.7.0-2.sme - fix few sclo issues [SME: 11899]