--- rpms/smeserver-mysql/sme10/smeserver-mysql.spec 2022/03/13 06:33:44 1.3 +++ rpms/smeserver-mysql/sme10/smeserver-mysql.spec 2022/03/14 01:15:56 1.8 @@ -2,7 +2,7 @@ Summary: Koozali SME Server specific mys %define name smeserver-mysql Name: %{name} %define version 2.7.0 -%define release 2 +%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" @@ -190,6 +190,13 @@ for i in mysql mysqlshow mysqladmin mys do echo "/opt/rh/rh-mariadb${ver}/root/usr/bin/$i --socket=/var/lib/mysql/maradb${ver}.sock \"\$@\"" >root$ver/usr/bin/$i${ver} 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_!!!SOCKET!!!_$socket _g" \ + -e "s_!!!VER!!!_${ver}_g" > root$ver/etc/e-smith/templates/etc/phpMyAdmin/config.inc.php/11configMysql${ver} + done ################################################### @@ -312,6 +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] + +* Sun Mar 13 2022 Jean-Philippe Pialasse 2.7.0-3.sme +- missing phpMyAdmin fragments [SME: 11899] + * Sun Mar 13 2022 Jean-Philippe Pialasse 2.7.0-2.sme - fix few sclo issues [SME: 11899] missing +x for binaries shortcut