/[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.4 by jcrisp, Mon May 9 15:08:17 2022 UTC Revision 1.5 by jcrisp, Mon May 30 12:45:18 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 19  %define release 20
4  %define rpmver   3.0.RC6  %define rpmver   3.0.RC6
5    
6  epoch: 2  epoch: 2
# Line 27  Patch5: smeserver-automysqlbackup-3.0.RC Line 27  Patch5: smeserver-automysqlbackup-3.0.RC
27  Patch6: smeserver-automysqlbackup-3.0.RC6-bz11561.patch  Patch6: smeserver-automysqlbackup-3.0.RC6-bz11561.patch
28  Patch7: smeserver-automysqlbackup-3.0.RC6-bz11622.patch  Patch7: smeserver-automysqlbackup-3.0.RC6-bz11622.patch
29  Patch8: smeserver-automysqlbackup-3.0.RC6-bz11970.Add-Maria-10x-support.patch  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 10.x.    This RPM is an unofficial addon for the SME Server 10.x.  
# Line 36  This script is based on automysqlbackup Line 37  This script is based on automysqlbackup
37    
38    
39  %changelog  %changelog
40  * Mon May 09 2022 John Crisp <jcrisp@safeandsoundit.co.uk>  * Mon May 30 2022 John Crisp <jcrisp@safeandsoundit.co.uk>  3.0.RC6-20.sme
41    - Correct template names
42    - Add enable instructions
43    
44    * Mon May 09 2022 John Crisp <jcrisp@safeandsoundit.co.uk>  3.0.RC6-19.sme
45  - Add Maria DB 10.x support [SME: 11970]  - Add Maria DB 10.x support [SME: 11970]
46  - Requires Koozali SME Server v10.x  - Requires Koozali SME Server v10.x
47    
# Line 109  rm -rf $RPM_BUILD_ROOT Line 114  rm -rf $RPM_BUILD_ROOT
114  %patch6 -p1  %patch6 -p1
115  %patch7 -p1  %patch7 -p1
116  %patch8 -p1  %patch8 -p1
117    %patch9 -p1
118    
119  %build  %build
120  perl createlinks  perl createlinks
# Line 159  echo " delete mysql user and revoke all Line 165  echo " delete mysql user and revoke all
165  mysql -u root -e "REVOKE ALL PRIVILEGES ON *.* FROM '$MYSQLUSER'@'localhost';"  mysql -u root -e "REVOKE ALL PRIVILEGES ON *.* FROM '$MYSQLUSER'@'localhost';"
166  mysql -u root -e "DROP USER $MYSQLUSER@localhost;"  mysql -u root -e "DROP USER $MYSQLUSER@localhost;"
167  echo "  "  echo "  "
168  echo "Do that for each DB - e.g mysq55, mysql57 etc"  echo "Do that for each DB - e.g mysq55, mysql57, mariadb101, maria105 etc"
169  echo "  "  echo "  "
170  # Delete custom template fragment  # Delete custom template fragment
171  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