1 |
# $Id: e-smith-backup.spec,v 1.2 2016/04/13 15:22:05 unnilennium Exp $ |
# $Id: e-smith-backup.spec,v 1.21 2021/01/30 20:30:15 chrissn 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 3 |
%define release 21 |
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 |
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 |
|
Patch7: e-smith-backup-2.6.0-bz9550.fixconsolerestore.patch |
21 |
|
Patch8: e-smith-backup-2.6.0-bz9299-consoleBackupBlockDevice.patch |
22 |
|
Patch9: e-smith-backup-2.6.0-bz9127-add_lock_feature.patch |
23 |
|
Patch10: e-smith-backup-2.6.0-add_ai_to_delete_incomplete.patch |
24 |
|
Patch11: e-smith-backup-2.6.0-blockdev.patch |
25 |
|
Patch12: e-smith-backup-2.6.0-restore_rewrite.patch |
26 |
|
Patch13: e-smith-backup-2.6.0-addinclude.patch |
27 |
|
Patch14: e-smith-backup-2.6.0-bz11124.patch |
28 |
|
Patch15: e-smith-backup-2.6.0-replacehal.patch |
29 |
|
|
30 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
31 |
BuildRequires: e-smith-devtools >= 1.11.0-03 |
BuildRequires: e-smith-devtools >= 1.11.0-03 |
32 |
BuildRequires: gettext |
BuildRequires: gettext |
48 |
Requires: nfs-utils |
Requires: nfs-utils |
49 |
|
|
50 |
%changelog |
%changelog |
51 |
|
* Tue Feb 9 2021 Chris Sansom-Ninnes <chris@sansom.ninnes.net> 2.6.0-21.sme |
52 |
|
- Revert BlockDevices.pm and backup call to not filter to removable drives |
53 |
|
|
54 |
|
* Sat Jan 30 2021 Chris Sansom-Ninnes <chris@sansom.ninnes.net> 2.6.0-20.sme |
55 |
|
- Replace hal-* calls with BlockDevices [SME: 11319] |
56 |
|
|
57 |
|
* Fri Jan 08 2021 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-19.sme |
58 |
|
- add update event [SME: 11124] |
59 |
|
|
60 |
|
* Sun Jun 7 2020 Chris Sansom-Ninnes <chris@sansom.ninnes.net> 2.6.0-17.sme |
61 |
|
- Added /etc/backup-data.d to backup paths [SME:10245] |
62 |
|
|
63 |
|
* Sun May 3 2020 Chris Sansom-Ninnes <chris@sansom.ninnes.net> 2.6.0-16.sme |
64 |
|
- Added error handling to restore using pipe pattern from perform_backup [SME:3139] |
65 |
|
- Made reboot optional after console restore |
66 |
|
- Fixed bootstrap restore not activating config changes [SME:10921] |
67 |
|
- Manually added ext2 and ext3 to Block Device file system check where ext4 present |
68 |
|
|
69 |
|
* Fri Apr 3 2020 Chris Sansom-Ninnes <chris@sansom.ninnes.net> 2.6.0-14.sme |
70 |
|
- updated Block Device discovery to fix recovery from console [SME:8244] |
71 |
|
- Credit to Catton Durbrow |
72 |
|
|
73 |
|
* Mon Mar 16 2020 John Crisp <jcrisp@safeandsoundit.co.uk 2.6.0-13.sme |
74 |
|
- added the '-ai' flag to clean up incomplete files on fail [SME:9159] |
75 |
|
- Credit to Chris Sansom-Ninnes |
76 |
|
|
77 |
|
* Tue Jul 18 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-12.sme |
78 |
|
- added patch for workstation backup lock [SME: 9127] |
79 |
|
- code from Stefano Zamboni <zamboni@mind-at-work.it> |
80 |
|
|
81 |
|
* Wed Apr 26 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-11.sme |
82 |
|
- added lock during backup to avoid multiple instance running [SME: 9127] |
83 |
|
- code from Stefano Zamboni <zamboni@mind-at-work.it> |
84 |
|
|
85 |
|
* Fri Apr 14 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-9.sme |
86 |
|
- added support back to ext2 and ext3 [SME: 9299] |
87 |
|
|
88 |
|
* Wed Apr 12 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-8.sme |
89 |
|
- fix removable device detection [SME: 9299] |
90 |
|
|
91 |
|
* Fri Feb 17 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-7.sme |
92 |
|
- console restoration can be launched again from console [SME: 9550] |
93 |
|
|
94 |
|
* Wed Aug 10 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 2.6.0-6.sme |
95 |
|
- fixed bug on the dar catalog when backups are not added in it [SME: 9563] |
96 |
|
- Added e-smith-backup-2.6.0.bz9563.UpdateDarCatalogFollowingBackups.patch |
97 |
|
|
98 |
|
* Tue Aug 02 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 2.6.0-5.sme |
99 |
|
- Remove the dar exclusion message in the email if there is no exclusion. |
100 |
|
- Modified e-smith-backup-2.6.0.Do_Dar_Exclusion.patch [SME: 9633] |
101 |
|
- Added two commented files backup.{include,exclude} in /etc/backup-data.d |
102 |
|
- Modified e-smith-backup-2.6.0.Add_Or_Remove_Path_In_Backup.patch [SME: 9607] |
103 |
|
|
104 |
|
* Sun Jul 31 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 2.6.0-4.sme |
105 |
|
- Add or remove path in your backup by a file *.include and *.exclude |
106 |
|
- Added e-smith-backup-2.6.0.Add_Or_Remove_Path_In_Backup.patch [SME: 9607] |
107 |
|
- Test if the remote host (cifs/nfs) is up, else save and display a warning. |
108 |
|
- Added e-smith-backup-2.6.0.bz9090.Testing_the_remote_host_parameters.patch [SME: 9090] |
109 |
|
- The 'tar backup to desktop' of the backup panel takes consideration of exclusion |
110 |
|
- Added e-smith-backup-2.6.0.Do_Tar_Exclusion_In_Panel.patch [SME: 9635] |
111 |
|
- The 'dar workstation backup' of the backup panel takes consideration of exclusion |
112 |
|
- Added e-smith-backup-2.6.0.Do_Dar_Exclusion.patch [SME: 9633] |
113 |
|
- The 'tar backup' of the console takes consideration of exclusion and display a page with the exclusion content |
114 |
|
- e-smith-backup-2.6.0.Do_Tar_Exclusion_In_the_console.patch [SME: 9635] |
115 |
|
|
116 |
* Thu May 12 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-3.sme |
* Thu May 12 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-3.sme |
117 |
- Rebuild for [SME: 9393] |
- Rebuild for [SME: 9393] |
118 |
|
|
1475 |
%prep |
%prep |
1476 |
%setup |
%setup |
1477 |
%patch0 -p1 |
%patch0 -p1 |
1478 |
|
%patch1 -p1 |
1479 |
|
%patch2 -p1 |
1480 |
|
%patch3 -p1 |
1481 |
|
%patch4 -p1 |
1482 |
|
%patch5 -p1 |
1483 |
|
%patch6 -p1 |
1484 |
|
%patch7 -p1 |
1485 |
|
%patch8 -p1 |
1486 |
|
%patch9 -p1 |
1487 |
|
%patch10 -p1 |
1488 |
|
%patch11 -p1 |
1489 |
|
%patch12 -p1 |
1490 |
|
%patch13 -p1 |
1491 |
|
%patch14 -p1 |
1492 |
|
%patch15 -p1 |
1493 |
|
|
1494 |
|
|
1495 |
%build |
%build |
1496 |
/sbin/e-smith/buildtests 10e-smith-backup |
/sbin/e-smith/buildtests 10e-smith-backup |
1497 |
|
%{__mkdir} -p root/etc/backup-data.d |
1498 |
perl createlinks |
perl createlinks |
1499 |
|
|
1500 |
# 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 |