1 |
# $Id: e-smith-backup.spec,v 1.46 2015/11/28 22:18:12 stephdl Exp $ |
# $Id: e-smith-backup.spec,v 1.6 2016/08/02 20:45:19 stephdl Exp $ |
2 |
|
|
3 |
Summary: e-smith module to provide the backup panel |
Summary: e-smith module to provide the backup panel |
4 |
%define name e-smith-backup |
%define name e-smith-backup |
5 |
Name: %{name} |
Name: %{name} |
6 |
%define version 2.6.0 |
%define version 2.6.0 |
7 |
%define release 1 |
%define release 6 |
8 |
Version: %{version} |
Version: %{version} |
9 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
10 |
License: Artistic |
License: Artistic |
11 |
Group: Networking/Daemons |
Group: Networking/Daemons |
12 |
Source: %{name}-%{version}.tar.xz |
Source: %{name}-%{version}.tar.xz |
13 |
|
Patch0: e-smith-backup-2.6.0-normalreboot.patch |
14 |
|
Patch1: e-smith-backup-2.6.0.Add_Or_Remove_Path_In_Backup.patch |
15 |
|
Patch2: e-smith-backup-2.6.0.bz9090.Testing_the_remote_host_parameters.patch |
16 |
|
Patch3: e-smith-backup-2.6.0.Do_Tar_Exclusion_In_Panel.patch |
17 |
|
Patch4: e-smith-backup-2.6.0.Do_Dar_Exclusion.patch |
18 |
|
Patch5: e-smith-backup-2.6.0.Do_Tar_Exclusion_In_the_console.patch |
19 |
|
Patch6: e-smith-backup-2.6.0.bz9563.UpdateDarCatalogFollowingBackups.patch |
20 |
|
|
21 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
22 |
BuildRequires: e-smith-devtools >= 1.11.0-03 |
BuildRequires: e-smith-devtools >= 1.11.0-03 |
23 |
BuildRequires: gettext |
BuildRequires: gettext |
39 |
Requires: nfs-utils |
Requires: nfs-utils |
40 |
|
|
41 |
%changelog |
%changelog |
42 |
|
* Wed Aug 10 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 2.6.0-6.sme |
43 |
|
- fixed bug on the dar catalog when backups are not added in it [SME: 9563] |
44 |
|
- Added e-smith-backup-2.6.0.bz9563.UpdateDarCatalogFollowingBackups.patch |
45 |
|
|
46 |
|
* Tue Aug 02 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 2.6.0-5.sme |
47 |
|
- Remove the dar exclusion message in the email if there is no exclusion. |
48 |
|
- Modified e-smith-backup-2.6.0.Do_Dar_Exclusion.patch [SME: 9633] |
49 |
|
- Added two commented files backup.{include,exclude} in /etc/backup-data.d |
50 |
|
- Modified e-smith-backup-2.6.0.Add_Or_Remove_Path_In_Backup.patch [SME: 9607] |
51 |
|
|
52 |
|
* Sun Jul 31 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 2.6.0-4.sme |
53 |
|
- Add or remove path in your backup by a file *.include and *.exclude |
54 |
|
- Added e-smith-backup-2.6.0.Add_Or_Remove_Path_In_Backup.patch [SME: 9607] |
55 |
|
- Test if the remote host (cifs/nfs) is up, else save and display a warning. |
56 |
|
- Added e-smith-backup-2.6.0.bz9090.Testing_the_remote_host_parameters.patch [SME: 9090] |
57 |
|
- The 'tar backup to desktop' of the backup panel takes consideration of exclusion |
58 |
|
- Added e-smith-backup-2.6.0.Do_Tar_Exclusion_In_Panel.patch [SME: 9635] |
59 |
|
- The 'dar workstation backup' of the backup panel takes consideration of exclusion |
60 |
|
- Added e-smith-backup-2.6.0.Do_Dar_Exclusion.patch [SME: 9633] |
61 |
|
- The 'tar backup' of the console takes consideration of exclusion and display a page with the exclusion content |
62 |
|
- e-smith-backup-2.6.0.Do_Tar_Exclusion_In_the_console.patch [SME: 9635] |
63 |
|
|
64 |
|
* Thu May 12 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-3.sme |
65 |
|
- Rebuild for [SME: 9393] |
66 |
|
|
67 |
|
* Wed Apr 13 2016 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-2.sme |
68 |
|
- avoid restoration on every reboot[SME: 9436] |
69 |
|
- Eliminated rpmbuild "bogus date" warnings due to inconsistent weekday, |
70 |
|
by assuming the date is correct and changing the weekday. |
71 |
|
Thu Feb 14 2001 --> Thu Feb 08 2001 or Wed Feb 14 2001 or Thu Feb 15 2001 or .... |
72 |
|
Sat Dec 25 2005 --> Sat Dec 24 2005 or Sun Dec 25 2005 or Sat Dec 31 2005 or .... |
73 |
|
Sat Mar 07 2008 --> Sat Mar 01 2008 or Fri Mar 07 2008 or Sat Mar 08 2008 or .... |
74 |
|
Sat Oct 10 2010 --> Sat Oct 09 2010 or Sun Oct 10 2010 or Sat Oct 16 2010 or .... |
75 |
|
Tue Dec 02 2013 --> Tue Nov 26 2013 or Mon Dec 02 2013 or Tue Dec 03 2013 or .... |
76 |
|
Thu Mar 10 2014 --> Thu Mar 06 2014 or Mon Mar 10 2014 or Thu Mar 13 2014 or .... |
77 |
|
Fri Mar 11 2014 --> Fri Mar 07 2014 or Tue Mar 11 2014 or Fri Mar 14 2014 or .... |
78 |
|
|
79 |
* Fri Feb 5 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-1.sme |
* Fri Feb 5 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-1.sme |
80 |
- Roll new stream for sme10 |
- Roll new stream for sme10 |
81 |
|
|
119 |
- Update to the latest version of perform_restore [SME: 8259] |
- Update to the latest version of perform_restore [SME: 8259] |
120 |
- Boostrap console should only offer restore if no password set. |
- Boostrap console should only offer restore if no password set. |
121 |
|
|
122 |
* Fri Mar 11 2014 Ian Wells <esmith@wellsi.com> 2.4.0-30.sme |
* Tue Mar 11 2014 Ian Wells <esmith@wellsi.com> 2.4.0-30.sme |
123 |
|
Fri Mar 11 2014 --> Fri Mar 07 2014 or Tue Mar 11 2014 or Fri Mar 14 2014 or .... |
124 |
- Delete items from dar catalog in descending order [SME: 8129] |
- Delete items from dar catalog in descending order [SME: 8129] |
125 |
- Minor non-functional updates based on PerlCritic and review comments |
- Minor non-functional updates based on PerlCritic and review comments |
126 |
|
|
127 |
* Thu Mar 10 2014 Ian Wells <esmith@wellsi.com> 2.4.0-29.sme |
* Mon Mar 10 2014 Ian Wells <esmith@wellsi.com> 2.4.0-29.sme |
128 |
|
Thu Mar 10 2014 --> Thu Mar 06 2014 or Mon Mar 10 2014 or Thu Mar 13 2014 or .... |
129 |
- Move console backup to e-smith-backup [SME: 3324] |
- Move console backup to e-smith-backup [SME: 3324] |
130 |
|
|
131 |
* Sun Feb 9 2014 Ian Wells <esmith@wellsi.com> 2.4.0-28.sme |
* Sun Feb 9 2014 Ian Wells <esmith@wellsi.com> 2.4.0-28.sme |
172 |
- Workstation Backup, new method to show files being restored is needed |
- Workstation Backup, new method to show files being restored is needed |
173 |
when using dar 2.4 [SME: 8058] |
when using dar 2.4 [SME: 8058] |
174 |
|
|
175 |
* Tue Dec 02 2013 Ian Wells <esmith@wellsi.com> 2.4.0-16.sme |
* Mon Dec 02 2013 Ian Wells <esmith@wellsi.com> 2.4.0-16.sme |
176 |
|
Tue Dec 02 2013 --> Tue Nov 26 2013 or Mon Dec 02 2013 or Tue Dec 03 2013 or .... |
177 |
- Allow more time for cifs mounts before reporting errors [SME: 8034] |
- Allow more time for cifs mounts before reporting errors [SME: 8034] |
178 |
|
|
179 |
* Sat Nov 30 2013 Ian Wells <esmith@wellsi.com> 2.4.0-15.sme |
* Sat Nov 30 2013 Ian Wells <esmith@wellsi.com> 2.4.0-15.sme |
275 |
* Sun Nov 21 2010 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-46 |
* Sun Nov 21 2010 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-46 |
276 |
- Do not convert case of SmbShare on database migration [SME: 6387] |
- Do not convert case of SmbShare on database migration [SME: 6387] |
277 |
|
|
278 |
* Sat Oct 10 2010 Ian Wells <esmith@wellsi.com> 2.2.0-45.sme |
* Sun Oct 10 2010 Ian Wells <esmith@wellsi.com> 2.2.0-45.sme |
279 |
|
Sat Oct 10 2010 --> Sat Oct 09 2010 or Sun Oct 10 2010 or Sat Oct 16 2010 or .... |
280 |
- Include disk usage in Workstation Backup email [SME: 6143] |
- Include disk usage in Workstation Backup email [SME: 6143] |
281 |
|
|
282 |
* Mon Jul 19 2010 Ian Wells <esmith@wellsi.com> 2.2.0-44.sme |
* Mon Jul 19 2010 Ian Wells <esmith@wellsi.com> 2.2.0-44.sme |
309 |
* Tue May 11 2010 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-35.sme |
* Tue May 11 2010 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-35.sme |
310 |
- Fix removal of leading slash in storage location [SME: 5928] |
- Fix removal of leading slash in storage location [SME: 5928] |
311 |
|
|
312 |
* Thu May 9 2010 Ian Wells <esmith@wellsi.com> 2.2.0-34.sme |
* Sun May 9 2010 Ian Wells <esmith@wellsi.com> 2.2.0-34.sme |
313 |
- Add system name in Workstation Backups email [SME: 5706] |
- Add system name in Workstation Backups email [SME: 5706] |
314 |
|
|
315 |
* Thu May 6 2010 Ian Wells <esmith@wellsi.com> 2.2.0-33.sme |
* Thu May 6 2010 Ian Wells <esmith@wellsi.com> 2.2.0-33.sme |
427 |
* Sat Jul 26 2008 Shad L. Lords <slords@mail.com> 1.15.0-19 |
* Sat Jul 26 2008 Shad L. Lords <slords@mail.com> 1.15.0-19 |
428 |
- Fix redirect to stderr on check tape cronjob [SME: 4458] |
- Fix redirect to stderr on check tape cronjob [SME: 4458] |
429 |
|
|
430 |
* Sun Jul 7 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.15.0-18 |
* Mon Jul 7 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.15.0-18 |
431 |
- Add common <base> tags to e-smith-formmagick's general [SME: 4286] |
- Add common <base> tags to e-smith-formmagick's general [SME: 4286] |
432 |
|
|
433 |
* Sat May 31 2008 Gavin Weight <gweight@gmail.com> 1.15.0-17 |
* Sat May 31 2008 Gavin Weight <gweight@gmail.com> 1.15.0-17 |
445 |
* Tue Mar 25 2008 Shad L. Lords <slords@mail.com> 1.15.0-13 |
* Tue Mar 25 2008 Shad L. Lords <slords@mail.com> 1.15.0-13 |
446 |
- Fix localization in restore routine [SME: 3989] |
- Fix localization in restore routine [SME: 3989] |
447 |
|
|
448 |
* Sat Mar 07 2008 Stephen Noble <support@dungog.net> 1.15.0-12 |
* Fri Mar 07 2008 Stephen Noble <support@dungog.net> 1.15.0-12 |
449 |
|
Sat Mar 07 2008 --> Sat Mar 01 2008 or Fri Mar 07 2008 or Sat Mar 08 2008 or .... |
450 |
- Remove <br> tag from error msg [SME: 3989] |
- Remove <br> tag from error msg [SME: 3989] |
451 |
|
|
452 |
* Sat Mar 07 2008 Stephen Noble <support@dungog.net> 1.15.0-11 |
* Fri Mar 07 2008 Stephen Noble <support@dungog.net> 1.15.0-11 |
453 |
|
Sat Mar 07 2008 --> Sat Mar 01 2008 or Fri Mar 07 2008 or Sat Mar 08 2008 or .... |
454 |
- Move/copy Backup_Desc to Backup_Desc_Dar for 1.15 rel [SME: 4024] |
- Move/copy Backup_Desc to Backup_Desc_Dar for 1.15 rel [SME: 4024] |
455 |
|
|
456 |
* Wed Feb 13 2008 Stephen Noble <support@dungog.net> 1.15.0-10 |
* Wed Feb 13 2008 Stephen Noble <support@dungog.net> 1.15.0-10 |
557 |
* Wed Feb 01 2006 Charlie Brady <charlie_brady@mitel.com> 1.13.4-07 |
* Wed Feb 01 2006 Charlie Brady <charlie_brady@mitel.com> 1.13.4-07 |
558 |
- Add restore-from-disk script. [SME: 615] |
- Add restore-from-disk script. [SME: 615] |
559 |
|
|
560 |
* Sat Dec 25 2005 Gordon Rowell <gordonr@gormand.com.au> 1.13.4-06 |
* Sun Dec 25 2005 Gordon Rowell <gordonr@gormand.com.au> 1.13.4-06 |
561 |
|
Sat Dec 25 2005 --> Sat Dec 24 2005 or Sun Dec 25 2005 or Sat Dec 31 2005 or .... |
562 |
- Don't delete config dbs in pre-restore [SME: 229] |
- Don't delete config dbs in pre-restore [SME: 229] |
563 |
|
|
564 |
* Tue Dec 06 2005 Filippo Carletti <carletti@mobilia.it> 1.13.4-05 |
* Tue Dec 06 2005 Filippo Carletti <carletti@mobilia.it> 1.13.4-05 |
1272 |
- Now rewinds tape before zeroing tape. |
- Now rewinds tape before zeroing tape. |
1273 |
- Writes 32k of zeroes instead of 10k. |
- Writes 32k of zeroes instead of 10k. |
1274 |
|
|
1275 |
* Thu Feb 14 2001 Charlie Brady <charlieb@e-smith.com> |
* Wed Feb 14 2001 Charlie Brady <charlieb@e-smith.com> |
1276 |
|
Thu Feb 14 2001 --> Thu Feb 08 2001 or Wed Feb 14 2001 or Thu Feb 15 2001 or .... |
1277 |
- [1.2.0-09] |
- [1.2.0-09] |
1278 |
- Add conf-backup to bootstrap-console-save. |
- Add conf-backup to bootstrap-console-save. |
1279 |
- Don't need templates-user-custom directory now, it's in e-smith-base RPM. |
- Don't need templates-user-custom directory now, it's in e-smith-base RPM. |
1422 |
|
|
1423 |
%prep |
%prep |
1424 |
%setup |
%setup |
1425 |
|
%patch0 -p1 |
1426 |
|
%patch1 -p1 |
1427 |
|
%patch2 -p1 |
1428 |
|
%patch3 -p1 |
1429 |
|
%patch4 -p1 |
1430 |
|
%patch5 -p1 |
1431 |
|
%patch6 -p1 |
1432 |
|
|
1433 |
%build |
%build |
1434 |
/sbin/e-smith/buildtests 10e-smith-backup |
/sbin/e-smith/buildtests 10e-smith-backup |
1435 |
|
%{__mkdir} -p root/etc/backup-data.d |
1436 |
perl createlinks |
perl createlinks |
1437 |
|
|
1438 |
# Extract a new copy of the English .po, though we won't use it for this build |
# Extract a new copy of the English .po, though we won't use it for this build |