1 |
%define name smeserver-automysqlbackup |
%define name smeserver-automysqlbackup |
2 |
%define version 3.0.RC6 |
%define version 3.0.RC6 |
3 |
%define release 31 |
%define release 32 |
4 |
%define rpmver 3.0.RC6 |
%define rpmver 3.0.RC6 |
5 |
|
|
6 |
epoch: 2 |
epoch: 2 |
34 |
Patch13: smeserver-automysqlbackup-3.0.RC6-bz11970.update-cron.2.patch |
Patch13: smeserver-automysqlbackup-3.0.RC6-bz11970.update-cron.2.patch |
35 |
Patch14: smeserver-automysqlbackup-3.0.RC6-bz11970.Add.Debug.patch |
Patch14: smeserver-automysqlbackup-3.0.RC6-bz11970.Add.Debug.patch |
36 |
Patch15: smeserver-automysqlbackup-3.0.RC6-remove-myserver-conf-template.patch |
Patch15: smeserver-automysqlbackup-3.0.RC6-remove-myserver-conf-template.patch |
37 |
|
Patch16: smeserver-automysqlbackup-3.0.RC6-bz12368-add-create-database.patch |
38 |
|
|
39 |
%description |
%description |
40 |
This RPM is an unofficial addon for the SME Server 10.x. |
This RPM is an unofficial addon for the SME Server 10.x. |
43 |
This script is based on automysqlbackup V3.0 |
This script is based on automysqlbackup V3.0 |
44 |
|
|
45 |
%changelog |
%changelog |
46 |
|
* Wed Jun 14 2023 John Crisp <jcrisp@safeandsoundit.co.uk> 3.0.RC6-32.sme |
47 |
|
- Add create_database to backups |
48 |
|
|
49 |
* Tue Oct 04 2022 John Crisp <jcrisp@safeandsoundit.co.uk> 3.0.RC6-31.sme |
* Tue Oct 04 2022 John Crisp <jcrisp@safeandsoundit.co.uk> 3.0.RC6-31.sme |
50 |
- Remove myserver.conf template expansion as template no longer exists |
- Remove myserver.conf template expansion as template no longer exists |
51 |
|
|
169 |
%patch13 -p1 |
%patch13 -p1 |
170 |
%patch14 -p1 |
%patch14 -p1 |
171 |
%patch15 -p1 |
%patch15 -p1 |
172 |
|
%patch16 -p1 |
173 |
|
|
174 |
%build |
%build |
175 |
perl createlinks |
perl createlinks |
204 |
%pre |
%pre |
205 |
|
|
206 |
%post |
%post |
|
|
|
207 |
#protect the backup folder |
#protect the backup folder |
208 |
chmod -R 700 /root/backup |
chmod -R 700 /root/backup |
209 |
|
echo "=======================================================================" |
210 |
|
echo " " |
211 |
|
echo " To update your templates please run" |
212 |
|
echo " 'signal-event smeserver-automysqlbackup-update'" |
213 |
|
echo " " |
214 |
|
echo "=======================================================================" |
215 |
|
|
216 |
%preun |
%preun |
217 |
%postun |
%postun |