1 |
%define name smeserver-automysqlbackup |
%define name smeserver-automysqlbackup |
2 |
%define version 3.0.RC6 |
%define version 3.0.RC6 |
3 |
%define release 24 |
%define release 28 |
4 |
%define rpmver 3.0.RC6 |
%define rpmver 3.0.RC6 |
5 |
|
|
6 |
epoch: 2 |
epoch: 2 |
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 |
Patch9: smeserver-automysqlbackup-3.0.RC6-bz11970.Add-Maria-10x-rename-templates.patch |
31 |
Patch10: smeserver-automysqlbackup-3.0.RC6-bz11970.update-cron.patch |
Patch10: smeserver-automysqlbackup-3.0.RC6-bz11970.update-cron.patch |
32 |
|
Patch11: smeserver-automysqlbackup-3.0.RC6-bz11970.Add-Maria-10x-fix-typos.patch |
33 |
|
Patch12: smeserver-automysqlbackup-3.0.RC6-bz11970.Add-Maria-10x-rename-cron-directories.patch |
34 |
|
Patch13: smeserver-automysqlbackup-3.0.RC6-bz11970.update-cron.2.patch |
35 |
|
Patch14: smeserver-automysqlbackup-3.0.RC6-bz11970.Add.Debug.patch |
36 |
|
|
37 |
%description |
%description |
38 |
This RPM is an unofficial addon for the SME Server 10.x. |
This RPM is an unofficial addon for the SME Server 10.x. |
42 |
|
|
43 |
|
|
44 |
%changelog |
%changelog |
45 |
|
* Mon Aug 15 2022 John Crisp <jcrisp@safeandsoundit.co.uk> 3.0.RC6-28.sme |
46 |
|
- Add debug patch to conf files |
47 |
|
|
48 |
|
* Mon Aug 15 2022 John Crisp <jcrisp@safeandsoundit.co.uk> 3.0.RC6-27.sme |
49 |
|
- Modify cron line again to add -bc option [SME: 11970] |
50 |
|
- Modify runmysqlbackup to add option and conf input from cron |
51 |
|
|
52 |
|
* Mon Aug 08 2022 John Crisp <jcrisp@safeandsoundit.co.uk> 3.0.RC6-26.sme |
53 |
|
- Change cron directories to match templates [SME:11970] |
54 |
|
|
55 |
|
* Mon Aug 08 2022 John Crisp <jcrisp@safeandsoundit.co.uk> 3.0.RC6-25.sme |
56 |
|
- Change rc2 to RC6 in config templates [SME:11970] |
57 |
|
- Fix DONT'T typo |
58 |
|
|
59 |
* Tue Jun 07 2022 John Crisp <jcrisp@safeandsoundit.co.uk> 3.0.RC6-24.sme |
* Tue Jun 07 2022 John Crisp <jcrisp@safeandsoundit.co.uk> 3.0.RC6-24.sme |
60 |
- Update cron [SME:11970] |
- Update cron [SME:11970] |
61 |
- Fix SQL in Maria 105 |
- Fix SQL in Maria 105 |
151 |
%patch8 -p1 |
%patch8 -p1 |
152 |
%patch9 -p1 |
%patch9 -p1 |
153 |
%patch10 -p1 |
%patch10 -p1 |
154 |
|
%patch11 -p1 |
155 |
|
%patch12 -p1 |
156 |
|
%patch13 -p1 |
157 |
|
%patch14 -p1 |
158 |
|
|
159 |
%build |
%build |
160 |
perl createlinks |
perl createlinks |
192 |
|
|
193 |
#protect the backup folder |
#protect the backup folder |
194 |
chmod -R 700 /root/backup |
chmod -R 700 /root/backup |
195 |
|
|
196 |
%preun |
%preun |
197 |
%postun |
%postun |
198 |
if [ $1 = 0 ] ; then |
if [ $1 = 0 ] ; then |