--- rpms/smeserver-automysqlbackup/contribs10/smeserver-automysqlbackup.spec 2021/01/28 13:51:12 1.1 +++ rpms/smeserver-automysqlbackup/contribs10/smeserver-automysqlbackup.spec 2022/05/30 12:45:18 1.5 @@ -1,6 +1,6 @@ %define name smeserver-automysqlbackup %define version 3.0.RC6 -%define release 16 +%define release 20 %define rpmver 3.0.RC6 epoch: 2 @@ -14,7 +14,7 @@ Source: %{name}-%{version}.t URL: http://sourceforge.net/projects/automysqlbackup/ BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot BuildArchitectures: noarch -Requires: e-smith-base, e-smith-release >= 9 +Requires: e-smith-base, e-smith-release >= 10 Requires: pax Requires: automysqlbackup BuildRequires: e-smith-devtools @@ -24,16 +24,33 @@ Patch2: smeserver-automysqlbackup-fix-ru Patch3: smeserver-automysqlbackup-update-permission-change.patch Patch4: smeserver-automysqlbackup-3.0.RC6-bz10806.errorsAndCreateUsers.patch Patch5: smeserver-automysqlbackup-3.0.RC6-Update-MySQL-Init-for-Mariadb.patch +Patch6: smeserver-automysqlbackup-3.0.RC6-bz11561.patch +Patch7: smeserver-automysqlbackup-3.0.RC6-bz11622.patch +Patch8: smeserver-automysqlbackup-3.0.RC6-bz11970.Add-Maria-10x-support.patch +Patch9: smeserver-automysqlbackup-3.0.RC6-bz11970.Add-Maria-10x-rename-templates.patch %description -This RPM is an unofficial addon for the SME Server 9.x. +This RPM is an unofficial addon for the SME Server 10.x. The target audience is the Linux/E-smith administrator who wants to backup their mysql databases with an automatic way. This script is based on automysqlbackup V3.0 - %changelog +* Mon May 30 2022 John Crisp 3.0.RC6-20.sme +- Correct template names +- Add enable instructions + +* Mon May 09 2022 John Crisp 3.0.RC6-19.sme +- Add Maria DB 10.x support [SME: 11970] +- Requires Koozali SME Server v10.x + +* Sat Jun 05 2021 Terry Fage 3.0.RC6-18.sme +- mariadb should not backup information_schema [SME: 11622] + +* Fri Apr 16 2021 Jean-Philippe Pialasse 3.0.RC6-17.sme +- fix automysql freeze server on reboot after post-upgrade event [SME: 11561] + * Mon Oct 19 2020 Brian Read 3.0-RC6-16.sme - Initial Import to SME10 tree [SME: 11042] - Update-MySQL-Init-for-Mariadb @@ -94,6 +111,10 @@ rm -rf $RPM_BUILD_ROOT %patch3 -p1 %patch4 -p1 %patch5 -p1 +%patch6 -p1 +%patch7 -p1 +%patch8 -p1 +%patch9 -p1 %build perl createlinks @@ -144,7 +165,7 @@ echo " delete mysql user and revoke all mysql -u root -e "REVOKE ALL PRIVILEGES ON *.* FROM '$MYSQLUSER'@'localhost';" mysql -u root -e "DROP USER $MYSQLUSER@localhost;" echo " " -echo "Do that for each DB - e.g mysq55, mysql57 etc" +echo "Do that for each DB - e.g mysq55, mysql57, mariadb101, maria105 etc" echo " " # Delete custom template fragment echo " delete db configuration automysqlbackup"