/[smecontribs]/rpms/smeserver-automysqlbackup/contribs10/smeserver-automysqlbackup.spec
ViewVC logotype

Diff of /rpms/smeserver-automysqlbackup/contribs10/smeserver-automysqlbackup.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

Revision 1.1 by brianr, Thu Jan 28 13:51:12 2021 UTC Revision 1.6 by jcrisp, Tue May 31 11:23:29 2022 UTC
# Line 1  Line 1 
1  %define name smeserver-automysqlbackup  %define name smeserver-automysqlbackup
2  %define version 3.0.RC6  %define version 3.0.RC6
3  %define release 16  %define release 21
4  %define rpmver   3.0.RC6  %define rpmver   3.0.RC6
5    
6  epoch: 2  epoch: 2
# Line 14  Source:             %{name}-%{version}.t Line 14  Source:             %{name}-%{version}.t
14  URL:                http://sourceforge.net/projects/automysqlbackup/  URL:                http://sourceforge.net/projects/automysqlbackup/
15  BuildRoot:          /var/tmp/%{name}-%{version}-%{release}-buildroot  BuildRoot:          /var/tmp/%{name}-%{version}-%{release}-buildroot
16  BuildArchitectures: noarch  BuildArchitectures: noarch
17  Requires:           e-smith-base, e-smith-release >= 9  Requires:           e-smith-base, e-smith-release >= 10
18  Requires:               pax  Requires:               pax
19  Requires: automysqlbackup  Requires: automysqlbackup
20  BuildRequires:      e-smith-devtools  BuildRequires:      e-smith-devtools
# Line 24  Patch2: smeserver-automysqlbackup-fix-ru Line 24  Patch2: smeserver-automysqlbackup-fix-ru
24  Patch3: smeserver-automysqlbackup-update-permission-change.patch  Patch3: smeserver-automysqlbackup-update-permission-change.patch
25  Patch4: smeserver-automysqlbackup-3.0.RC6-bz10806.errorsAndCreateUsers.patch  Patch4: smeserver-automysqlbackup-3.0.RC6-bz10806.errorsAndCreateUsers.patch
26  Patch5: smeserver-automysqlbackup-3.0.RC6-Update-MySQL-Init-for-Mariadb.patch  Patch5: smeserver-automysqlbackup-3.0.RC6-Update-MySQL-Init-for-Mariadb.patch
27    Patch6: smeserver-automysqlbackup-3.0.RC6-bz11561.patch
28    Patch7: smeserver-automysqlbackup-3.0.RC6-bz11622.patch
29    Patch8: smeserver-automysqlbackup-3.0.RC6-bz11970.Add-Maria-10x-support.patch
30    Patch9: smeserver-automysqlbackup-3.0.RC6-bz11970.Add-Maria-10x-rename-templates.patch
31    
32  %description  %description
33  This RPM is an unofficial addon for the SME Server 9.x.    This RPM is an unofficial addon for the SME Server 10.x.  
34  The target audience is the Linux/E-smith administrator  The target audience is the Linux/E-smith administrator
35  who wants to backup their mysql databases with an automatic way.  who wants to backup their mysql databases with an automatic way.
36  This script is based on automysqlbackup V3.0  This script is based on automysqlbackup V3.0
37    
38    
   
39  %changelog  %changelog
40    * Tue May 31 2022 John Crisp <jcrisp@safeandsoundit.co.uk> 3.0.RC6-21.sme
41    - Fix typos in templates [SME: 11970]
42    
43    * Mon May 30 2022 John Crisp <jcrisp@safeandsoundit.co.uk> 3.0.RC6-20.sme
44    - Correct template names [SME: 11970]
45    - Add enable instructions
46    
47    * Mon May 09 2022 John Crisp <jcrisp@safeandsoundit.co.uk> 3.0.RC6-19.sme
48    - Add Maria DB 10.x support [SME: 11970]
49    - Requires Koozali SME Server v10.x
50    
51    * Sat Jun 05 2021 Terry Fage <terryf@ozemail.com.au> 3.0.RC6-18.sme
52    -  mariadb should not backup information_schema [SME: 11622]
53    
54    * Fri Apr 16 2021 Jean-Philippe Pialasse <tests@pialasse.com> 3.0.RC6-17.sme
55    - fix automysql freeze server on reboot after post-upgrade event [SME: 11561]
56    
57  * Mon Oct 19 2020 Brian Read <brianr@bjsystems.co.uk> 3.0-RC6-16.sme  * Mon Oct 19 2020 Brian Read <brianr@bjsystems.co.uk> 3.0-RC6-16.sme
58  - Initial Import to SME10 tree [SME: 11042]  - Initial Import to SME10 tree [SME: 11042]
59  - Update-MySQL-Init-for-Mariadb  - Update-MySQL-Init-for-Mariadb
# Line 94  rm -rf $RPM_BUILD_ROOT Line 114  rm -rf $RPM_BUILD_ROOT
114  %patch3 -p1  %patch3 -p1
115  %patch4 -p1  %patch4 -p1
116  %patch5 -p1  %patch5 -p1
117    %patch6 -p1
118    %patch7 -p1
119    %patch8 -p1
120    %patch9 -p1
121    
122  %build  %build
123  perl createlinks  perl createlinks
# Line 144  echo " delete mysql user and revoke all Line 168  echo " delete mysql user and revoke all
168  mysql -u root -e "REVOKE ALL PRIVILEGES ON *.* FROM '$MYSQLUSER'@'localhost';"  mysql -u root -e "REVOKE ALL PRIVILEGES ON *.* FROM '$MYSQLUSER'@'localhost';"
169  mysql -u root -e "DROP USER $MYSQLUSER@localhost;"  mysql -u root -e "DROP USER $MYSQLUSER@localhost;"
170  echo "  "  echo "  "
171  echo "Do that for each DB - e.g mysq55, mysql57 etc"  echo "Do that for each DB - e.g mysq55, mysql57, mariadb101, maria105 etc"
172  echo "  "  echo "  "
173  # Delete custom template fragment  # Delete custom template fragment
174  echo "  delete db configuration automysqlbackup"  echo "  delete db configuration automysqlbackup"


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed